ERC-721
Overview
Max Total Supply
145 YOK
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 YOKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Yokai
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.15; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Yokai is ERC721Enumerable, Ownable, ERC2981 { using Counters for Counters.Counter; using Strings for uint256; uint256 public constant MAX_TO_MINT = 9000; uint256 public MINT_PER_PERS = 3; uint256 public tokenPrice; bytes32 public merkleRoot = 0x56c8a2401993ccf614e155850a863b661359bdddc20fec427cc2be813397f19f; string public URI; address payable saleReceiver; bool public REVEAL = false; bool public public_sale = false; constructor( string memory initialURI, address royaltyReceiver ) ERC721("Yokai", "YOK") { URI = initialURI; setPrice(190000000000000000); setDefaultRoyalty(royaltyReceiver, 1000); updateSaleReceiver(0x0630BA0486a8d85086ED2446D4A9aeB389AA6bdB); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } /// @dev seul l’admin du contrat peut l’appeler, pour changer la racine /// de l'arbre de merkel de la whitelist function setWhitelistRoot(bytes32 _root) public onlyOwner { merkleRoot = _root; } /// @dev return token URI function tokenURI(uint256 tokenId) public view override returns (string memory) { if (REVEAL) { return string(abi.encodePacked(URI, tokenId.toString())); } return URI; } /// @dev make reveal function toggleReveal(string memory updatedURI) public onlyOwner { REVEAL = !REVEAL; URI = updatedURI; } /// @dev switch from private to public sale, or public to private function switchSaleType() public onlyOwner { public_sale = !public_sale; } function updateSaleReceiver(address receiver) public onlyOwner { saleReceiver = payable(receiver); } function setPrice(uint256 price) public onlyOwner { tokenPrice = price; } function setMaxMintPerPerson(uint256 numberMax) public onlyOwner { MINT_PER_PERS = numberMax; } /// @dev private mint sale, only for whitelisted function whitelistMint(bytes32[] calldata _merkleProof, uint256 num) public payable { require(!public_sale, "Not private sale"); require(msg.value >= tokenPrice * num, "Insufficient funds"); require(totalSupply() + num < MAX_TO_MINT, "Exceeds max supply"); require(msg.sender == tx.origin, "Bots not allowed"); require(balanceOf(msg.sender) + num <= MINT_PER_PERS, "Can't min't that much NFTs"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof"); uint256 tokenId = totalSupply(); for(uint256 i=0; i < num; i++) { tokenId += 1; _safeMint(msg.sender, tokenId); } saleReceiver.transfer(msg.value); } /// @dev public mint sale function mint(uint256 num) public payable { require(public_sale, "Not public sale"); require(msg.value >= tokenPrice * num, "Insufficient funds"); require(totalSupply() + num <= MAX_TO_MINT, "Exceeds max supply"); require(msg.sender == tx.origin, "Bots not allowed"); require(balanceOf(msg.sender) + num <= MINT_PER_PERS, "Can't min't that much NFTs"); uint256 tokenId = totalSupply(); for(uint256 i=0; i < num; i++) { tokenId += 1; _safeMint(msg.sender, tokenId); } saleReceiver.transfer(msg.value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initialURI","type":"string"},{"internalType":"address","name":"royaltyReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PER_PERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[],"name":"public_sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberMax","type":"uint256"}],"name":"setMaxMintPerPerson","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistRoot","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":"switchSaleType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"updatedURI","type":"string"}],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"updateSaleReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526003600d557f56c8a2401993ccf614e155850a863b661359bdddc20fec427cc2be813397f19f60001b600f556000601160146101000a81548160ff0219169083151502179055506000601160156101000a81548160ff0219169083151502179055503480156200007357600080fd5b5060405162005e7838038062005e7883398181016040528101906200009991906200086f565b6040518060400160405280600581526020017f596f6b61690000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f594f4b0000000000000000000000000000000000000000000000000000000000815250816000908162000116919062000b20565b50806001908162000128919062000b20565b5050506200014b6200013f620001b760201b60201c565b620001bf60201b60201c565b81601090816200015c919062000b20565b50620001766702a303fe4b5300006200028560201b60201c565b6200018a816103e86200031e60201b60201c565b620001af730630ba0486a8d85086ed2446d4a9aeb389aa6bdb620003c360201b60201c565b505062000d94565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000295620001b760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002bb6200049660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000314576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030b9062000c68565b60405180910390fd5b80600e8190555050565b6200032e620001b760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003546200049660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a49062000c68565b60405180910390fd5b620003bf8282620004c060201b60201c565b5050565b620003d3620001b760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003f96200049660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004499062000c68565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004d06200066360201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000531576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005289062000d00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200059a9062000d72565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006d6826200068b565b810181811067ffffffffffffffff82111715620006f857620006f76200069c565b5b80604052505050565b60006200070d6200066d565b90506200071b8282620006cb565b919050565b600067ffffffffffffffff8211156200073e576200073d6200069c565b5b62000749826200068b565b9050602081019050919050565b60005b838110156200077657808201518184015260208101905062000759565b8381111562000786576000848401525b50505050565b6000620007a36200079d8462000720565b62000701565b905082815260208101848484011115620007c257620007c162000686565b5b620007cf84828562000756565b509392505050565b600082601f830112620007ef57620007ee62000681565b5b8151620008018482602086016200078c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000837826200080a565b9050919050565b62000849816200082a565b81146200085557600080fd5b50565b60008151905062000869816200083e565b92915050565b6000806040838503121562000889576200088862000677565b5b600083015167ffffffffffffffff811115620008aa57620008a96200067c565b5b620008b885828601620007d7565b9250506020620008cb8582860162000858565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200092857607f821691505b6020821081036200093e576200093d620008e0565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009a87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000969565b620009b4868362000969565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000a01620009fb620009f584620009cc565b620009d6565b620009cc565b9050919050565b6000819050919050565b62000a1d83620009e0565b62000a3562000a2c8262000a08565b84845462000976565b825550505050565b600090565b62000a4c62000a3d565b62000a5981848462000a12565b505050565b5b8181101562000a815762000a7560008262000a42565b60018101905062000a5f565b5050565b601f82111562000ad05762000a9a8162000944565b62000aa58462000959565b8101602085101562000ab5578190505b62000acd62000ac48562000959565b83018262000a5e565b50505b505050565b600082821c905092915050565b600062000af56000198460080262000ad5565b1980831691505092915050565b600062000b10838362000ae2565b9150826002028217905092915050565b62000b2b82620008d5565b67ffffffffffffffff81111562000b475762000b466200069c565b5b62000b5382546200090f565b62000b6082828562000a85565b600060209050601f83116001811462000b98576000841562000b83578287015190505b62000b8f858262000b02565b86555062000bff565b601f19841662000ba88662000944565b60005b8281101562000bd25784890151825560018201915060208501945060208101905062000bab565b8683101562000bf2578489015162000bee601f89168262000ae2565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000c5060208362000c07565b915062000c5d8262000c18565b602082019050919050565b6000602082019050818103600083015262000c838162000c41565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000ce8602a8362000c07565b915062000cf58262000c8a565b604082019050919050565b6000602082019050818103600083015262000d1b8162000cd9565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000d5a60198362000c07565b915062000d678262000d22565b602082019050919050565b6000602082019050818103600083015262000d8d8162000d4b565b9050919050565b6150d48062000da46000396000f3fe60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063c66677ac1161006f578063c66677ac1461076e578063c87b56dd14610799578063e985e9c5146107d6578063f2fde38b14610813578063f5aa406d1461083c5761020f565b806395d89b41146106d5578063a0712d6814610700578063a22cb4651461071c578063b88d4fde146107455761020f565b806382651bd0116100e757806382651bd0146106025780638da5cb5b1461062d57806391b7f5ed1461065857806391ed094d1461068157806395bd19c2146106ac5761020f565b80636352211e1461054657806370a0823114610583578063715018a6146105c05780637ff9b596146105d75761020f565b80632904e6d91161019b5780633caf54591161016a5780633caf54591461046357806342842e0e1461048c57806348c6e8a1146104b55780634f6ccce7146104e05780635d8c2efd1461051d5761020f565b80632904e6d9146103a15780632a55205a146103bd5780632eb4a7ab146103fb5780632f745c59146104265761020f565b8063095ea7b3116101e2578063095ea7b3146102e25780631141d7de1461030b57806318160ddd146103365780631f815d5c1461036157806323b872dd146103785761020f565b806301ffc9a71461021457806304634d8d1461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906133c6565b610865565b604051610248919061340e565b60405180910390f35b34801561025d57600080fd5b50610278600480360381019061027391906134cb565b610877565b005b34801561028657600080fd5b5061028f610901565b60405161029c91906135a4565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906135fc565b610993565b6040516102d99190613638565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190613653565b610a18565b005b34801561031757600080fd5b50610320610b2f565b60405161032d91906135a4565b60405180910390f35b34801561034257600080fd5b5061034b610bbd565b60405161035891906136a2565b60405180910390f35b34801561036d57600080fd5b50610376610bca565b005b34801561038457600080fd5b5061039f600480360381019061039a91906136bd565b610c72565b005b6103bb60048036038101906103b69190613775565b610cd2565b005b3480156103c957600080fd5b506103e460048036038101906103df91906137d5565b610ffa565b6040516103f2929190613815565b60405180910390f35b34801561040757600080fd5b506104106111e4565b60405161041d9190613857565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613653565b6111ea565b60405161045a91906136a2565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190613872565b61128f565b005b34801561049857600080fd5b506104b360048036038101906104ae91906136bd565b61134f565b005b3480156104c157600080fd5b506104ca61136f565b6040516104d791906136a2565b60405180910390f35b3480156104ec57600080fd5b50610507600480360381019061050291906135fc565b611375565b60405161051491906136a2565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f91906139cf565b6113e6565b005b34801561055257600080fd5b5061056d600480360381019061056891906135fc565b61149f565b60405161057a9190613638565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190613872565b611550565b6040516105b791906136a2565b60405180910390f35b3480156105cc57600080fd5b506105d5611607565b005b3480156105e357600080fd5b506105ec61168f565b6040516105f991906136a2565b60405180910390f35b34801561060e57600080fd5b50610617611695565b604051610624919061340e565b60405180910390f35b34801561063957600080fd5b506106426116a8565b60405161064f9190613638565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a91906135fc565b6116d2565b005b34801561068d57600080fd5b50610696611758565b6040516106a3919061340e565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce91906135fc565b61176b565b005b3480156106e157600080fd5b506106ea6117f1565b6040516106f791906135a4565b60405180910390f35b61071a600480360381019061071591906135fc565b611883565b005b34801561072857600080fd5b50610743600480360381019061073e9190613a44565b611af0565b005b34801561075157600080fd5b5061076c60048036038101906107679190613b25565b611b06565b005b34801561077a57600080fd5b50610783611b68565b60405161079091906136a2565b60405180910390f35b3480156107a557600080fd5b506107c060048036038101906107bb91906135fc565b611b6e565b6040516107cd91906135a4565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190613ba8565b611c4a565b60405161080a919061340e565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190613872565b611cde565b005b34801561084857600080fd5b50610863600480360381019061085e9190613c14565b611dd5565b005b600061087082611e5b565b9050919050565b61087f611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661089d6116a8565b73ffffffffffffffffffffffffffffffffffffffff16146108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90613c8d565b60405180910390fd5b6108fd8282611edd565b5050565b60606000805461091090613cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90613cdc565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b600061099e82612072565b6109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613d7f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a238261149f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90613e11565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab2611ed5565b73ffffffffffffffffffffffffffffffffffffffff161480610ae15750610ae081610adb611ed5565b611c4a565b5b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613ea3565b60405180910390fd5b610b2a83836120de565b505050565b60108054610b3c90613cdc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6890613cdc565b8015610bb55780601f10610b8a57610100808354040283529160200191610bb5565b820191906000526020600020905b815481529060010190602001808311610b9857829003601f168201915b505050505081565b6000600880549050905090565b610bd2611ed5565b73ffffffffffffffffffffffffffffffffffffffff16610bf06116a8565b73ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d90613c8d565b60405180910390fd5b601160159054906101000a900460ff1615601160156101000a81548160ff021916908315150217905550565b610c83610c7d611ed5565b82612197565b610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613f35565b60405180910390fd5b610ccd838383612275565b505050565b601160159054906101000a900460ff1615610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990613fa1565b60405180910390fd5b80600e54610d309190613ff0565b341015610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990614096565b60405180910390fd5b61232881610d7e610bbd565b610d8891906140b6565b10610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90614158565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906141c4565b60405180910390fd5b600d5481610e4333611550565b610e4d91906140b6565b1115610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614230565b60405180910390fd5b600033604051602001610ea19190614298565b604051602081830303815290604052805190602001209050610f07848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124db565b610f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3d906142ff565b60405180910390fd5b6000610f50610bbd565b905060005b83811015610f8957600182610f6a91906140b6565b9150610f7633836124f2565b8080610f819061431f565b915050610f55565b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff2573d6000803e3d6000fd5b505050505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361118f57600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611199612510565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111c59190613ff0565b6111cf9190614396565b90508160000151819350935050509250929050565b600f5481565b60006111f583611550565b8210611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614439565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611297611ed5565b73ffffffffffffffffffffffffffffffffffffffff166112b56116a8565b73ffffffffffffffffffffffffffffffffffffffff161461130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290613c8d565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61136a83838360405180602001604052806000815250611b06565b505050565b600d5481565b600061137f610bbd565b82106113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906144cb565b60405180910390fd5b600882815481106113d4576113d36144eb565b5b90600052602060002001549050919050565b6113ee611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661140c6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990613c8d565b60405180910390fd5b601160149054906101000a900460ff1615601160146101000a81548160ff021916908315150217905550806010908161149b91906146c6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e9061480a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b79061489c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61160f611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661162d6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90613c8d565b60405180910390fd5b61168d600061251a565b565b600e5481565b601160149054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116da611ed5565b73ffffffffffffffffffffffffffffffffffffffff166116f86116a8565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174590613c8d565b60405180910390fd5b80600e8190555050565b601160159054906101000a900460ff1681565b611773611ed5565b73ffffffffffffffffffffffffffffffffffffffff166117916116a8565b73ffffffffffffffffffffffffffffffffffffffff16146117e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117de90613c8d565b60405180910390fd5b80600d8190555050565b60606001805461180090613cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461182c90613cdc565b80156118795780601f1061184e57610100808354040283529160200191611879565b820191906000526020600020905b81548152906001019060200180831161185c57829003601f168201915b5050505050905090565b601160159054906101000a900460ff166118d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c990614908565b60405180910390fd5b80600e546118e09190613ff0565b341015611922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990614096565b60405180910390fd5b6123288161192e610bbd565b61193891906140b6565b1115611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090614158565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906141c4565b60405180910390fd5b600d54816119f433611550565b6119fe91906140b6565b1115611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3690614230565b60405180910390fd5b6000611a49610bbd565b905060005b82811015611a8257600182611a6391906140b6565b9150611a6f33836124f2565b8080611a7a9061431f565b915050611a4e565b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611aeb573d6000803e3d6000fd5b505050565b611b02611afb611ed5565b83836125e0565b5050565b611b17611b11611ed5565b83612197565b611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90613f35565b60405180910390fd5b611b628484848461274c565b50505050565b61232881565b6060601160149054906101000a900460ff1615611bb7576010611b90836127a8565b604051602001611ba19291906149e7565b6040516020818303038152906040529050611c45565b60108054611bc490613cdc565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf090613cdc565b8015611c3d5780601f10611c1257610100808354040283529160200191611c3d565b820191906000526020600020905b815481529060010190602001808311611c2057829003601f168201915b505050505090505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ce6611ed5565b73ffffffffffffffffffffffffffffffffffffffff16611d046116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190613c8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc090614a7d565b60405180910390fd5b611dd28161251a565b50565b611ddd611ed5565b73ffffffffffffffffffffffffffffffffffffffff16611dfb6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4890613c8d565b60405180910390fd5b80600f8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ece5750611ecd82612908565b5b9050919050565b600033905090565b611ee5612510565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90614b0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614b7b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121518361149f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121a282612072565b6121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d890614c0d565b60405180910390fd5b60006121ec8361149f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061222e575061222d8185611c4a565b5b8061226c57508373ffffffffffffffffffffffffffffffffffffffff1661225484610993565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122958261149f565b73ffffffffffffffffffffffffffffffffffffffff16146122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e290614c9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361235a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235190614d31565b60405180910390fd5b612365838383612982565b6123706000826120de565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c09190614d51565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241791906140b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d6838383612a94565b505050565b6000826124e88584612a99565b1490509392505050565b61250c828260405180602001604052806000815250612b0e565b5050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590614dd1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161273f919061340e565b60405180910390a3505050565b612757848484612275565b61276384848484612b69565b6127a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279990614e63565b60405180910390fd5b50505050565b6060600082036127ef576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612903565b600082905060005b6000821461282157808061280a9061431f565b915050600a8261281a9190614396565b91506127f7565b60008167ffffffffffffffff81111561283d5761283c6138a4565b5b6040519080825280601f01601f19166020018201604052801561286f5781602001600182028036833780820191505090505b5090505b600085146128fc576001826128889190614d51565b9150600a856128979190614e83565b60306128a391906140b6565b60f81b8183815181106128b9576128b86144eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128f59190614396565b9450612873565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297b575061297a82612cf0565b5b9050919050565b61298d838383612dd2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129cf576129ca81612dd7565b612a0e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0d57612a0c8382612e20565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a5057612a4b81612f8d565b612a8f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8e57612a8d828261305e565b5b5b505050565b505050565b60008082905060005b8451811015612b03576000858281518110612ac057612abf6144eb565b5b60200260200101519050808311612ae257612adb83826130dd565b9250612aef565b612aec81846130dd565b92505b508080612afb9061431f565b915050612aa2565b508091505092915050565b612b1883836130f4565b612b256000848484612b69565b612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b90614e63565b60405180910390fd5b505050565b6000612b8a8473ffffffffffffffffffffffffffffffffffffffff166132cd565b15612ce3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bb3611ed5565b8786866040518563ffffffff1660e01b8152600401612bd59493929190614f09565b6020604051808303816000875af1925050508015612c1157506040513d601f19601f82011682018060405250810190612c0e9190614f6a565b60015b612c93573d8060008114612c41576040519150601f19603f3d011682016040523d82523d6000602084013e612c46565b606091505b506000815103612c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8290614e63565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ce8565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dbb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dcb5750612dca826132f0565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e2d84611550565b612e379190614d51565b9050600060076000848152602001908152602001600020549050818114612f1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fa19190614d51565b9050600060096000848152602001908152602001600020549050600060088381548110612fd157612fd06144eb565b5b906000526020600020015490508060088381548110612ff357612ff26144eb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061304257613041614f97565b5b6001900381819060005260206000200160009055905550505050565b600061306983611550565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90615012565b60405180910390fd5b61316c81612072565b156131ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a39061507e565b60405180910390fd5b6131b860008383612982565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461320891906140b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132c960008383612a94565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133a38161336e565b81146133ae57600080fd5b50565b6000813590506133c08161339a565b92915050565b6000602082840312156133dc576133db613364565b5b60006133ea848285016133b1565b91505092915050565b60008115159050919050565b613408816133f3565b82525050565b600060208201905061342360008301846133ff565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061345482613429565b9050919050565b61346481613449565b811461346f57600080fd5b50565b6000813590506134818161345b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6134a881613487565b81146134b357600080fd5b50565b6000813590506134c58161349f565b92915050565b600080604083850312156134e2576134e1613364565b5b60006134f085828601613472565b9250506020613501858286016134b6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354557808201518184015260208101905061352a565b83811115613554576000848401525b50505050565b6000601f19601f8301169050919050565b60006135768261350b565b6135808185613516565b9350613590818560208601613527565b6135998161355a565b840191505092915050565b600060208201905081810360008301526135be818461356b565b905092915050565b6000819050919050565b6135d9816135c6565b81146135e457600080fd5b50565b6000813590506135f6816135d0565b92915050565b60006020828403121561361257613611613364565b5b6000613620848285016135e7565b91505092915050565b61363281613449565b82525050565b600060208201905061364d6000830184613629565b92915050565b6000806040838503121561366a57613669613364565b5b600061367885828601613472565b9250506020613689858286016135e7565b9150509250929050565b61369c816135c6565b82525050565b60006020820190506136b76000830184613693565b92915050565b6000806000606084860312156136d6576136d5613364565b5b60006136e486828701613472565b93505060206136f586828701613472565b9250506040613706868287016135e7565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261373557613734613710565b5b8235905067ffffffffffffffff81111561375257613751613715565b5b60208301915083602082028301111561376e5761376d61371a565b5b9250929050565b60008060006040848603121561378e5761378d613364565b5b600084013567ffffffffffffffff8111156137ac576137ab613369565b5b6137b88682870161371f565b935093505060206137cb868287016135e7565b9150509250925092565b600080604083850312156137ec576137eb613364565b5b60006137fa858286016135e7565b925050602061380b858286016135e7565b9150509250929050565b600060408201905061382a6000830185613629565b6138376020830184613693565b9392505050565b6000819050919050565b6138518161383e565b82525050565b600060208201905061386c6000830184613848565b92915050565b60006020828403121561388857613887613364565b5b600061389684828501613472565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138dc8261355a565b810181811067ffffffffffffffff821117156138fb576138fa6138a4565b5b80604052505050565b600061390e61335a565b905061391a82826138d3565b919050565b600067ffffffffffffffff82111561393a576139396138a4565b5b6139438261355a565b9050602081019050919050565b82818337600083830152505050565b600061397261396d8461391f565b613904565b90508281526020810184848401111561398e5761398d61389f565b5b613999848285613950565b509392505050565b600082601f8301126139b6576139b5613710565b5b81356139c684826020860161395f565b91505092915050565b6000602082840312156139e5576139e4613364565b5b600082013567ffffffffffffffff811115613a0357613a02613369565b5b613a0f848285016139a1565b91505092915050565b613a21816133f3565b8114613a2c57600080fd5b50565b600081359050613a3e81613a18565b92915050565b60008060408385031215613a5b57613a5a613364565b5b6000613a6985828601613472565b9250506020613a7a85828601613a2f565b9150509250929050565b600067ffffffffffffffff821115613a9f57613a9e6138a4565b5b613aa88261355a565b9050602081019050919050565b6000613ac8613ac384613a84565b613904565b905082815260208101848484011115613ae457613ae361389f565b5b613aef848285613950565b509392505050565b600082601f830112613b0c57613b0b613710565b5b8135613b1c848260208601613ab5565b91505092915050565b60008060008060808587031215613b3f57613b3e613364565b5b6000613b4d87828801613472565b9450506020613b5e87828801613472565b9350506040613b6f878288016135e7565b925050606085013567ffffffffffffffff811115613b9057613b8f613369565b5b613b9c87828801613af7565b91505092959194509250565b60008060408385031215613bbf57613bbe613364565b5b6000613bcd85828601613472565b9250506020613bde85828601613472565b9150509250929050565b613bf18161383e565b8114613bfc57600080fd5b50565b600081359050613c0e81613be8565b92915050565b600060208284031215613c2a57613c29613364565b5b6000613c3884828501613bff565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c77602083613516565b9150613c8282613c41565b602082019050919050565b60006020820190508181036000830152613ca681613c6a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cf457607f821691505b602082108103613d0757613d06613cad565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d69602c83613516565b9150613d7482613d0d565b604082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfb602183613516565b9150613e0682613d9f565b604082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e8d603883613516565b9150613e9882613e31565b604082019050919050565b60006020820190508181036000830152613ebc81613e80565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f1f603183613516565b9150613f2a82613ec3565b604082019050919050565b60006020820190508181036000830152613f4e81613f12565b9050919050565b7f4e6f7420707269766174652073616c6500000000000000000000000000000000600082015250565b6000613f8b601083613516565b9150613f9682613f55565b602082019050919050565b60006020820190508181036000830152613fba81613f7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ffb826135c6565b9150614006836135c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561403f5761403e613fc1565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614080601283613516565b915061408b8261404a565b602082019050919050565b600060208201905081810360008301526140af81614073565b9050919050565b60006140c1826135c6565b91506140cc836135c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561410157614100613fc1565b5b828201905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000614142601283613516565b915061414d8261410c565b602082019050919050565b6000602082019050818103600083015261417181614135565b9050919050565b7f426f7473206e6f7420616c6c6f77656400000000000000000000000000000000600082015250565b60006141ae601083613516565b91506141b982614178565b602082019050919050565b600060208201905081810360008301526141dd816141a1565b9050919050565b7f43616e2774206d696e27742074686174206d756368204e465473000000000000600082015250565b600061421a601a83613516565b9150614225826141e4565b602082019050919050565b600060208201905081810360008301526142498161420d565b9050919050565b60008160601b9050919050565b600061426882614250565b9050919050565b600061427a8261425d565b9050919050565b61429261428d82613449565b61426f565b82525050565b60006142a48284614281565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b60006142e9600d83613516565b91506142f4826142b3565b602082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b600061432a826135c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361435c5761435b613fc1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a1826135c6565b91506143ac836135c6565b9250826143bc576143bb614367565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614423602b83613516565b915061442e826143c7565b604082019050919050565b6000602082019050818103600083015261445281614416565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006144b5602c83613516565b91506144c082614459565b604082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261457c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261453f565b614586868361453f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006145c36145be6145b9846135c6565b61459e565b6135c6565b9050919050565b6000819050919050565b6145dd836145a8565b6145f16145e9826145ca565b84845461454c565b825550505050565b600090565b6146066145f9565b6146118184846145d4565b505050565b5b818110156146355761462a6000826145fe565b600181019050614617565b5050565b601f82111561467a5761464b8161451a565b6146548461452f565b81016020851015614663578190505b61467761466f8561452f565b830182614616565b50505b505050565b600082821c905092915050565b600061469d6000198460080261467f565b1980831691505092915050565b60006146b6838361468c565b9150826002028217905092915050565b6146cf8261350b565b67ffffffffffffffff8111156146e8576146e76138a4565b5b6146f28254613cdc565b6146fd828285614639565b600060209050601f831160018114614730576000841561471e578287015190505b61472885826146aa565b865550614790565b601f19841661473e8661451a565b60005b8281101561476657848901518255600182019150602085019450602081019050614741565b86831015614783578489015161477f601f89168261468c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006147f4602983613516565b91506147ff82614798565b604082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614886602a83613516565b91506148918261482a565b604082019050919050565b600060208201905081810360008301526148b581614879565b9050919050565b7f4e6f74207075626c69632073616c650000000000000000000000000000000000600082015250565b60006148f2600f83613516565b91506148fd826148bc565b602082019050919050565b60006020820190508181036000830152614921816148e5565b9050919050565b600081905092915050565b6000815461494081613cdc565b61494a8186614928565b94506001821660008114614965576001811461497a576149ad565b60ff19831686528115158202860193506149ad565b6149838561451a565b60005b838110156149a557815481890152600182019150602081019050614986565b838801955050505b50505092915050565b60006149c18261350b565b6149cb8185614928565b93506149db818560208601613527565b80840191505092915050565b60006149f38285614933565b91506149ff82846149b6565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a67602683613516565b9150614a7282614a0b565b604082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614af9602a83613516565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614b65601983613516565b9150614b7082614b2f565b602082019050919050565b60006020820190508181036000830152614b9481614b58565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf7602c83613516565b9150614c0282614b9b565b604082019050919050565b60006020820190508181036000830152614c2681614bea565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c89602583613516565b9150614c9482614c2d565b604082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d1b602483613516565b9150614d2682614cbf565b604082019050919050565b60006020820190508181036000830152614d4a81614d0e565b9050919050565b6000614d5c826135c6565b9150614d67836135c6565b925082821015614d7a57614d79613fc1565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614dbb601983613516565b9150614dc682614d85565b602082019050919050565b60006020820190508181036000830152614dea81614dae565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614e4d603283613516565b9150614e5882614df1565b604082019050919050565b60006020820190508181036000830152614e7c81614e40565b9050919050565b6000614e8e826135c6565b9150614e99836135c6565b925082614ea957614ea8614367565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614edb82614eb4565b614ee58185614ebf565b9350614ef5818560208601613527565b614efe8161355a565b840191505092915050565b6000608082019050614f1e6000830187613629565b614f2b6020830186613629565b614f386040830185613693565b8181036060830152614f4a8184614ed0565b905095945050505050565b600081519050614f648161339a565b92915050565b600060208284031215614f8057614f7f613364565b5b6000614f8e84828501614f55565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ffc602083613516565b915061500782614fc6565b602082019050919050565b6000602082019050818103600083015261502b81614fef565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615068601c83613516565b915061507382615032565b602082019050919050565b600060208201905081810360008301526150978161505b565b905091905056fea2646970667358221220b2a7b064487c6a08e849862e075cb5df0bf651692487c6668bfe48faf5cadf2064736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000aa396a2330b2ad268bb95b89928f9496c028285b000000000000000000000000000000000000000000000000000000000000002e516d627555314864576a34664872454d636b564d6a55685374343658596465526a474a76424766504b3665324436000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063c66677ac1161006f578063c66677ac1461076e578063c87b56dd14610799578063e985e9c5146107d6578063f2fde38b14610813578063f5aa406d1461083c5761020f565b806395d89b41146106d5578063a0712d6814610700578063a22cb4651461071c578063b88d4fde146107455761020f565b806382651bd0116100e757806382651bd0146106025780638da5cb5b1461062d57806391b7f5ed1461065857806391ed094d1461068157806395bd19c2146106ac5761020f565b80636352211e1461054657806370a0823114610583578063715018a6146105c05780637ff9b596146105d75761020f565b80632904e6d91161019b5780633caf54591161016a5780633caf54591461046357806342842e0e1461048c57806348c6e8a1146104b55780634f6ccce7146104e05780635d8c2efd1461051d5761020f565b80632904e6d9146103a15780632a55205a146103bd5780632eb4a7ab146103fb5780632f745c59146104265761020f565b8063095ea7b3116101e2578063095ea7b3146102e25780631141d7de1461030b57806318160ddd146103365780631f815d5c1461036157806323b872dd146103785761020f565b806301ffc9a71461021457806304634d8d1461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906133c6565b610865565b604051610248919061340e565b60405180910390f35b34801561025d57600080fd5b50610278600480360381019061027391906134cb565b610877565b005b34801561028657600080fd5b5061028f610901565b60405161029c91906135a4565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906135fc565b610993565b6040516102d99190613638565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190613653565b610a18565b005b34801561031757600080fd5b50610320610b2f565b60405161032d91906135a4565b60405180910390f35b34801561034257600080fd5b5061034b610bbd565b60405161035891906136a2565b60405180910390f35b34801561036d57600080fd5b50610376610bca565b005b34801561038457600080fd5b5061039f600480360381019061039a91906136bd565b610c72565b005b6103bb60048036038101906103b69190613775565b610cd2565b005b3480156103c957600080fd5b506103e460048036038101906103df91906137d5565b610ffa565b6040516103f2929190613815565b60405180910390f35b34801561040757600080fd5b506104106111e4565b60405161041d9190613857565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613653565b6111ea565b60405161045a91906136a2565b60405180910390f35b34801561046f57600080fd5b5061048a60048036038101906104859190613872565b61128f565b005b34801561049857600080fd5b506104b360048036038101906104ae91906136bd565b61134f565b005b3480156104c157600080fd5b506104ca61136f565b6040516104d791906136a2565b60405180910390f35b3480156104ec57600080fd5b50610507600480360381019061050291906135fc565b611375565b60405161051491906136a2565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f91906139cf565b6113e6565b005b34801561055257600080fd5b5061056d600480360381019061056891906135fc565b61149f565b60405161057a9190613638565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190613872565b611550565b6040516105b791906136a2565b60405180910390f35b3480156105cc57600080fd5b506105d5611607565b005b3480156105e357600080fd5b506105ec61168f565b6040516105f991906136a2565b60405180910390f35b34801561060e57600080fd5b50610617611695565b604051610624919061340e565b60405180910390f35b34801561063957600080fd5b506106426116a8565b60405161064f9190613638565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a91906135fc565b6116d2565b005b34801561068d57600080fd5b50610696611758565b6040516106a3919061340e565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce91906135fc565b61176b565b005b3480156106e157600080fd5b506106ea6117f1565b6040516106f791906135a4565b60405180910390f35b61071a600480360381019061071591906135fc565b611883565b005b34801561072857600080fd5b50610743600480360381019061073e9190613a44565b611af0565b005b34801561075157600080fd5b5061076c60048036038101906107679190613b25565b611b06565b005b34801561077a57600080fd5b50610783611b68565b60405161079091906136a2565b60405180910390f35b3480156107a557600080fd5b506107c060048036038101906107bb91906135fc565b611b6e565b6040516107cd91906135a4565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190613ba8565b611c4a565b60405161080a919061340e565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190613872565b611cde565b005b34801561084857600080fd5b50610863600480360381019061085e9190613c14565b611dd5565b005b600061087082611e5b565b9050919050565b61087f611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661089d6116a8565b73ffffffffffffffffffffffffffffffffffffffff16146108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90613c8d565b60405180910390fd5b6108fd8282611edd565b5050565b60606000805461091090613cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90613cdc565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b600061099e82612072565b6109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613d7f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a238261149f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90613e11565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab2611ed5565b73ffffffffffffffffffffffffffffffffffffffff161480610ae15750610ae081610adb611ed5565b611c4a565b5b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613ea3565b60405180910390fd5b610b2a83836120de565b505050565b60108054610b3c90613cdc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6890613cdc565b8015610bb55780601f10610b8a57610100808354040283529160200191610bb5565b820191906000526020600020905b815481529060010190602001808311610b9857829003601f168201915b505050505081565b6000600880549050905090565b610bd2611ed5565b73ffffffffffffffffffffffffffffffffffffffff16610bf06116a8565b73ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d90613c8d565b60405180910390fd5b601160159054906101000a900460ff1615601160156101000a81548160ff021916908315150217905550565b610c83610c7d611ed5565b82612197565b610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613f35565b60405180910390fd5b610ccd838383612275565b505050565b601160159054906101000a900460ff1615610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990613fa1565b60405180910390fd5b80600e54610d309190613ff0565b341015610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990614096565b60405180910390fd5b61232881610d7e610bbd565b610d8891906140b6565b10610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90614158565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906141c4565b60405180910390fd5b600d5481610e4333611550565b610e4d91906140b6565b1115610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614230565b60405180910390fd5b600033604051602001610ea19190614298565b604051602081830303815290604052805190602001209050610f07848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124db565b610f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3d906142ff565b60405180910390fd5b6000610f50610bbd565b905060005b83811015610f8957600182610f6a91906140b6565b9150610f7633836124f2565b8080610f819061431f565b915050610f55565b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff2573d6000803e3d6000fd5b505050505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361118f57600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611199612510565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111c59190613ff0565b6111cf9190614396565b90508160000151819350935050509250929050565b600f5481565b60006111f583611550565b8210611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614439565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611297611ed5565b73ffffffffffffffffffffffffffffffffffffffff166112b56116a8565b73ffffffffffffffffffffffffffffffffffffffff161461130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290613c8d565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61136a83838360405180602001604052806000815250611b06565b505050565b600d5481565b600061137f610bbd565b82106113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906144cb565b60405180910390fd5b600882815481106113d4576113d36144eb565b5b90600052602060002001549050919050565b6113ee611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661140c6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990613c8d565b60405180910390fd5b601160149054906101000a900460ff1615601160146101000a81548160ff021916908315150217905550806010908161149b91906146c6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e9061480a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b79061489c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61160f611ed5565b73ffffffffffffffffffffffffffffffffffffffff1661162d6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90613c8d565b60405180910390fd5b61168d600061251a565b565b600e5481565b601160149054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116da611ed5565b73ffffffffffffffffffffffffffffffffffffffff166116f86116a8565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174590613c8d565b60405180910390fd5b80600e8190555050565b601160159054906101000a900460ff1681565b611773611ed5565b73ffffffffffffffffffffffffffffffffffffffff166117916116a8565b73ffffffffffffffffffffffffffffffffffffffff16146117e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117de90613c8d565b60405180910390fd5b80600d8190555050565b60606001805461180090613cdc565b80601f016020809104026020016040519081016040528092919081815260200182805461182c90613cdc565b80156118795780601f1061184e57610100808354040283529160200191611879565b820191906000526020600020905b81548152906001019060200180831161185c57829003601f168201915b5050505050905090565b601160159054906101000a900460ff166118d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c990614908565b60405180910390fd5b80600e546118e09190613ff0565b341015611922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990614096565b60405180910390fd5b6123288161192e610bbd565b61193891906140b6565b1115611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090614158565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906141c4565b60405180910390fd5b600d54816119f433611550565b6119fe91906140b6565b1115611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3690614230565b60405180910390fd5b6000611a49610bbd565b905060005b82811015611a8257600182611a6391906140b6565b9150611a6f33836124f2565b8080611a7a9061431f565b915050611a4e565b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611aeb573d6000803e3d6000fd5b505050565b611b02611afb611ed5565b83836125e0565b5050565b611b17611b11611ed5565b83612197565b611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90613f35565b60405180910390fd5b611b628484848461274c565b50505050565b61232881565b6060601160149054906101000a900460ff1615611bb7576010611b90836127a8565b604051602001611ba19291906149e7565b6040516020818303038152906040529050611c45565b60108054611bc490613cdc565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf090613cdc565b8015611c3d5780601f10611c1257610100808354040283529160200191611c3d565b820191906000526020600020905b815481529060010190602001808311611c2057829003601f168201915b505050505090505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ce6611ed5565b73ffffffffffffffffffffffffffffffffffffffff16611d046116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190613c8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc090614a7d565b60405180910390fd5b611dd28161251a565b50565b611ddd611ed5565b73ffffffffffffffffffffffffffffffffffffffff16611dfb6116a8565b73ffffffffffffffffffffffffffffffffffffffff1614611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4890613c8d565b60405180910390fd5b80600f8190555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ece5750611ecd82612908565b5b9050919050565b600033905090565b611ee5612510565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90614b0f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614b7b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121518361149f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121a282612072565b6121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d890614c0d565b60405180910390fd5b60006121ec8361149f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061222e575061222d8185611c4a565b5b8061226c57508373ffffffffffffffffffffffffffffffffffffffff1661225484610993565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122958261149f565b73ffffffffffffffffffffffffffffffffffffffff16146122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e290614c9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361235a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235190614d31565b60405180910390fd5b612365838383612982565b6123706000826120de565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c09190614d51565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241791906140b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d6838383612a94565b505050565b6000826124e88584612a99565b1490509392505050565b61250c828260405180602001604052806000815250612b0e565b5050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590614dd1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161273f919061340e565b60405180910390a3505050565b612757848484612275565b61276384848484612b69565b6127a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279990614e63565b60405180910390fd5b50505050565b6060600082036127ef576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612903565b600082905060005b6000821461282157808061280a9061431f565b915050600a8261281a9190614396565b91506127f7565b60008167ffffffffffffffff81111561283d5761283c6138a4565b5b6040519080825280601f01601f19166020018201604052801561286f5781602001600182028036833780820191505090505b5090505b600085146128fc576001826128889190614d51565b9150600a856128979190614e83565b60306128a391906140b6565b60f81b8183815181106128b9576128b86144eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128f59190614396565b9450612873565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297b575061297a82612cf0565b5b9050919050565b61298d838383612dd2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129cf576129ca81612dd7565b612a0e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0d57612a0c8382612e20565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a5057612a4b81612f8d565b612a8f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8e57612a8d828261305e565b5b5b505050565b505050565b60008082905060005b8451811015612b03576000858281518110612ac057612abf6144eb565b5b60200260200101519050808311612ae257612adb83826130dd565b9250612aef565b612aec81846130dd565b92505b508080612afb9061431f565b915050612aa2565b508091505092915050565b612b1883836130f4565b612b256000848484612b69565b612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b90614e63565b60405180910390fd5b505050565b6000612b8a8473ffffffffffffffffffffffffffffffffffffffff166132cd565b15612ce3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bb3611ed5565b8786866040518563ffffffff1660e01b8152600401612bd59493929190614f09565b6020604051808303816000875af1925050508015612c1157506040513d601f19601f82011682018060405250810190612c0e9190614f6a565b60015b612c93573d8060008114612c41576040519150601f19603f3d011682016040523d82523d6000602084013e612c46565b606091505b506000815103612c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8290614e63565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ce8565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dbb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dcb5750612dca826132f0565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e2d84611550565b612e379190614d51565b9050600060076000848152602001908152602001600020549050818114612f1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fa19190614d51565b9050600060096000848152602001908152602001600020549050600060088381548110612fd157612fd06144eb565b5b906000526020600020015490508060088381548110612ff357612ff26144eb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061304257613041614f97565b5b6001900381819060005260206000200160009055905550505050565b600061306983611550565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90615012565b60405180910390fd5b61316c81612072565b156131ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a39061507e565b60405180910390fd5b6131b860008383612982565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461320891906140b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132c960008383612a94565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133a38161336e565b81146133ae57600080fd5b50565b6000813590506133c08161339a565b92915050565b6000602082840312156133dc576133db613364565b5b60006133ea848285016133b1565b91505092915050565b60008115159050919050565b613408816133f3565b82525050565b600060208201905061342360008301846133ff565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061345482613429565b9050919050565b61346481613449565b811461346f57600080fd5b50565b6000813590506134818161345b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6134a881613487565b81146134b357600080fd5b50565b6000813590506134c58161349f565b92915050565b600080604083850312156134e2576134e1613364565b5b60006134f085828601613472565b9250506020613501858286016134b6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354557808201518184015260208101905061352a565b83811115613554576000848401525b50505050565b6000601f19601f8301169050919050565b60006135768261350b565b6135808185613516565b9350613590818560208601613527565b6135998161355a565b840191505092915050565b600060208201905081810360008301526135be818461356b565b905092915050565b6000819050919050565b6135d9816135c6565b81146135e457600080fd5b50565b6000813590506135f6816135d0565b92915050565b60006020828403121561361257613611613364565b5b6000613620848285016135e7565b91505092915050565b61363281613449565b82525050565b600060208201905061364d6000830184613629565b92915050565b6000806040838503121561366a57613669613364565b5b600061367885828601613472565b9250506020613689858286016135e7565b9150509250929050565b61369c816135c6565b82525050565b60006020820190506136b76000830184613693565b92915050565b6000806000606084860312156136d6576136d5613364565b5b60006136e486828701613472565b93505060206136f586828701613472565b9250506040613706868287016135e7565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261373557613734613710565b5b8235905067ffffffffffffffff81111561375257613751613715565b5b60208301915083602082028301111561376e5761376d61371a565b5b9250929050565b60008060006040848603121561378e5761378d613364565b5b600084013567ffffffffffffffff8111156137ac576137ab613369565b5b6137b88682870161371f565b935093505060206137cb868287016135e7565b9150509250925092565b600080604083850312156137ec576137eb613364565b5b60006137fa858286016135e7565b925050602061380b858286016135e7565b9150509250929050565b600060408201905061382a6000830185613629565b6138376020830184613693565b9392505050565b6000819050919050565b6138518161383e565b82525050565b600060208201905061386c6000830184613848565b92915050565b60006020828403121561388857613887613364565b5b600061389684828501613472565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138dc8261355a565b810181811067ffffffffffffffff821117156138fb576138fa6138a4565b5b80604052505050565b600061390e61335a565b905061391a82826138d3565b919050565b600067ffffffffffffffff82111561393a576139396138a4565b5b6139438261355a565b9050602081019050919050565b82818337600083830152505050565b600061397261396d8461391f565b613904565b90508281526020810184848401111561398e5761398d61389f565b5b613999848285613950565b509392505050565b600082601f8301126139b6576139b5613710565b5b81356139c684826020860161395f565b91505092915050565b6000602082840312156139e5576139e4613364565b5b600082013567ffffffffffffffff811115613a0357613a02613369565b5b613a0f848285016139a1565b91505092915050565b613a21816133f3565b8114613a2c57600080fd5b50565b600081359050613a3e81613a18565b92915050565b60008060408385031215613a5b57613a5a613364565b5b6000613a6985828601613472565b9250506020613a7a85828601613a2f565b9150509250929050565b600067ffffffffffffffff821115613a9f57613a9e6138a4565b5b613aa88261355a565b9050602081019050919050565b6000613ac8613ac384613a84565b613904565b905082815260208101848484011115613ae457613ae361389f565b5b613aef848285613950565b509392505050565b600082601f830112613b0c57613b0b613710565b5b8135613b1c848260208601613ab5565b91505092915050565b60008060008060808587031215613b3f57613b3e613364565b5b6000613b4d87828801613472565b9450506020613b5e87828801613472565b9350506040613b6f878288016135e7565b925050606085013567ffffffffffffffff811115613b9057613b8f613369565b5b613b9c87828801613af7565b91505092959194509250565b60008060408385031215613bbf57613bbe613364565b5b6000613bcd85828601613472565b9250506020613bde85828601613472565b9150509250929050565b613bf18161383e565b8114613bfc57600080fd5b50565b600081359050613c0e81613be8565b92915050565b600060208284031215613c2a57613c29613364565b5b6000613c3884828501613bff565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c77602083613516565b9150613c8282613c41565b602082019050919050565b60006020820190508181036000830152613ca681613c6a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cf457607f821691505b602082108103613d0757613d06613cad565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d69602c83613516565b9150613d7482613d0d565b604082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfb602183613516565b9150613e0682613d9f565b604082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e8d603883613516565b9150613e9882613e31565b604082019050919050565b60006020820190508181036000830152613ebc81613e80565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f1f603183613516565b9150613f2a82613ec3565b604082019050919050565b60006020820190508181036000830152613f4e81613f12565b9050919050565b7f4e6f7420707269766174652073616c6500000000000000000000000000000000600082015250565b6000613f8b601083613516565b9150613f9682613f55565b602082019050919050565b60006020820190508181036000830152613fba81613f7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ffb826135c6565b9150614006836135c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561403f5761403e613fc1565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614080601283613516565b915061408b8261404a565b602082019050919050565b600060208201905081810360008301526140af81614073565b9050919050565b60006140c1826135c6565b91506140cc836135c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561410157614100613fc1565b5b828201905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000614142601283613516565b915061414d8261410c565b602082019050919050565b6000602082019050818103600083015261417181614135565b9050919050565b7f426f7473206e6f7420616c6c6f77656400000000000000000000000000000000600082015250565b60006141ae601083613516565b91506141b982614178565b602082019050919050565b600060208201905081810360008301526141dd816141a1565b9050919050565b7f43616e2774206d696e27742074686174206d756368204e465473000000000000600082015250565b600061421a601a83613516565b9150614225826141e4565b602082019050919050565b600060208201905081810360008301526142498161420d565b9050919050565b60008160601b9050919050565b600061426882614250565b9050919050565b600061427a8261425d565b9050919050565b61429261428d82613449565b61426f565b82525050565b60006142a48284614281565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b60006142e9600d83613516565b91506142f4826142b3565b602082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b600061432a826135c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361435c5761435b613fc1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a1826135c6565b91506143ac836135c6565b9250826143bc576143bb614367565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614423602b83613516565b915061442e826143c7565b604082019050919050565b6000602082019050818103600083015261445281614416565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006144b5602c83613516565b91506144c082614459565b604082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261457c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261453f565b614586868361453f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006145c36145be6145b9846135c6565b61459e565b6135c6565b9050919050565b6000819050919050565b6145dd836145a8565b6145f16145e9826145ca565b84845461454c565b825550505050565b600090565b6146066145f9565b6146118184846145d4565b505050565b5b818110156146355761462a6000826145fe565b600181019050614617565b5050565b601f82111561467a5761464b8161451a565b6146548461452f565b81016020851015614663578190505b61467761466f8561452f565b830182614616565b50505b505050565b600082821c905092915050565b600061469d6000198460080261467f565b1980831691505092915050565b60006146b6838361468c565b9150826002028217905092915050565b6146cf8261350b565b67ffffffffffffffff8111156146e8576146e76138a4565b5b6146f28254613cdc565b6146fd828285614639565b600060209050601f831160018114614730576000841561471e578287015190505b61472885826146aa565b865550614790565b601f19841661473e8661451a565b60005b8281101561476657848901518255600182019150602085019450602081019050614741565b86831015614783578489015161477f601f89168261468c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006147f4602983613516565b91506147ff82614798565b604082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614886602a83613516565b91506148918261482a565b604082019050919050565b600060208201905081810360008301526148b581614879565b9050919050565b7f4e6f74207075626c69632073616c650000000000000000000000000000000000600082015250565b60006148f2600f83613516565b91506148fd826148bc565b602082019050919050565b60006020820190508181036000830152614921816148e5565b9050919050565b600081905092915050565b6000815461494081613cdc565b61494a8186614928565b94506001821660008114614965576001811461497a576149ad565b60ff19831686528115158202860193506149ad565b6149838561451a565b60005b838110156149a557815481890152600182019150602081019050614986565b838801955050505b50505092915050565b60006149c18261350b565b6149cb8185614928565b93506149db818560208601613527565b80840191505092915050565b60006149f38285614933565b91506149ff82846149b6565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a67602683613516565b9150614a7282614a0b565b604082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614af9602a83613516565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614b65601983613516565b9150614b7082614b2f565b602082019050919050565b60006020820190508181036000830152614b9481614b58565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf7602c83613516565b9150614c0282614b9b565b604082019050919050565b60006020820190508181036000830152614c2681614bea565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c89602583613516565b9150614c9482614c2d565b604082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d1b602483613516565b9150614d2682614cbf565b604082019050919050565b60006020820190508181036000830152614d4a81614d0e565b9050919050565b6000614d5c826135c6565b9150614d67836135c6565b925082821015614d7a57614d79613fc1565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614dbb601983613516565b9150614dc682614d85565b602082019050919050565b60006020820190508181036000830152614dea81614dae565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614e4d603283613516565b9150614e5882614df1565b604082019050919050565b60006020820190508181036000830152614e7c81614e40565b9050919050565b6000614e8e826135c6565b9150614e99836135c6565b925082614ea957614ea8614367565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614edb82614eb4565b614ee58185614ebf565b9350614ef5818560208601613527565b614efe8161355a565b840191505092915050565b6000608082019050614f1e6000830187613629565b614f2b6020830186613629565b614f386040830185613693565b8181036060830152614f4a8184614ed0565b905095945050505050565b600081519050614f648161339a565b92915050565b600060208284031215614f8057614f7f613364565b5b6000614f8e84828501614f55565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ffc602083613516565b915061500782614fc6565b602082019050919050565b6000602082019050818103600083015261502b81614fef565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615068601c83613516565b915061507382615032565b602082019050919050565b600060208201905081810360008301526150978161505b565b905091905056fea2646970667358221220b2a7b064487c6a08e849862e075cb5df0bf651692487c6668bfe48faf5cadf2064736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000aa396a2330b2ad268bb95b89928f9496c028285b000000000000000000000000000000000000000000000000000000000000002e516d627555314864576a34664872454d636b564d6a55685374343658596465526a474a76424766504b3665324436000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialURI (string): QmbuU1HdWj4fHrEMckVMjUhSt46XYdeRjGJvBGfPK6e2D6
Arg [1] : royaltyReceiver (address): 0xAa396A2330b2AD268bB95B89928F9496C028285B
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000aa396a2330b2ad268bb95b89928f9496c028285b
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [3] : 516d627555314864576a34664872454d636b564d6a5568537434365859646552
Arg [4] : 6a474a76424766504b3665324436000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.