ERC-721
Overview
Max Total Supply
2,774 HAPFP
Holders
927
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HAPFPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PortraitToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface IAvatar { function ownerOf(uint256 tokenId) external view returns (address owner); function tokensOfOwner(address owner) external view returns (uint256[] memory); function totalSupply() external view returns (uint total); } contract PortraitToken is ERC721URIStorage, ERC721Enumerable, Ownable, ERC721Pausable { using Strings for uint256; // ID for ERC-2981 Royalty fee standard bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; // File extension for metadata file string constant Extension = ".json"; // The base domain for the tokenURI string private _baseTokenURI; // The avatar contract address address private _avatarContractAddr; // Royalty percentage fee uint96 private _royaltyPercent; // minting limit uint96 private _mintLimit; // minting paused - the tokens still can be traded bool private _mintPaused; string public constant APPLICABLE_LICENSING_TERMS = "https://nft.habbo.com/terms/"; /** * name: the token's name * token: the token symbol * baseTokenURI: the base domain for each token URI * limit: the maximum number of profile pictures can be minted */ constructor(string memory name, string memory token, string memory baseTokenURI, address avatarContractAddr) ERC721(name, token) { _baseTokenURI = baseTokenURI; _avatarContractAddr = avatarContractAddr; // initial default values _royaltyPercent = 500; _mintLimit = 100; _mintPaused = false; } /** Return the mintable tokens for the user */ function getMintableTokens() public view returns (uint[] memory tokens) { IAvatar avatar = IAvatar(_avatarContractAddr); uint256[] memory ownerTokens = avatar.tokensOfOwner(msg.sender); uint size = ownerTokens.length; // calculate the length of non-exist tokens for (uint i = 0; i < ownerTokens.length; i++) { if (_exists(ownerTokens[i])) { size--; } } uint[] memory mintableTokens = new uint[](size); uint j = 0; for (uint i = 0; i < ownerTokens.length; i++) { if (!_exists(ownerTokens[i])) { mintableTokens[j++] = ownerTokens[i]; } } return mintableTokens; } /** Check if a profile picture can be mint */ function isMintable(uint tokenId) public view returns (bool mintable) { IAvatar avatar = IAvatar(_avatarContractAddr); uint tokenLimit = avatar.totalSupply(); return tokenId > 0 && tokenId <= tokenLimit && !_exists(tokenId); } /** Mint a profile picture with tokenId */ function mintPFP(uint tokenId) public { require(!paused(), "Token mint while paused"); require(!_mintPaused, "Token minting is paused"); IAvatar avatar = IAvatar(_avatarContractAddr); // this ensures token does exist address tokenOwner = avatar.ownerOf(tokenId); // only token owner can mint this and token is not minted require(!_exists(tokenId), "Token was minted"); require(msg.sender == tokenOwner, "Not the token owner"); _mintToken(msg.sender, tokenId); } /** Mint all profile pictures that mintable to the user */ function mintAllPFP(uint limit) public { require(!paused(), "Token mint while paused"); require(!_mintPaused, "Token minting is paused"); require(limit <= _mintLimit, "Limit exceed"); IAvatar avatar = IAvatar(_avatarContractAddr); // owner's tokens uint256[] memory tokens = avatar.tokensOfOwner(msg.sender); uint len = tokens.length; uint count = 0; for (uint i = 0; i < len; i++) { uint tokenId = tokens[i]; // only mint new token if (!_exists(tokenId) && count < limit) { _mintToken(msg.sender, tokenId); count++; } } } function _mintToken(address user, uint tokenId) internal { _safeMint(user, tokenId); _setTokenURI(tokenId, string(abi.encodePacked(tokenId.toString(), Extension))); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Pausable, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } // Return the list of tokenIds of an owner function tokensOfOwner(address owner) external view returns (uint256[] memory) { uint size = balanceOf(owner); uint[] memory tokens = new uint[](size); for (uint i = 0; i < size; i++) { tokens[i] = tokenOfOwnerByIndex(owner, i); } return tokens; } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { super._burn(tokenId); } // ERC-2981 interface method function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { // all tokens have the same royalty fee tokenId = tokenId; return (owner(), (salePrice * _royaltyPercent) / 10000); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } /// ONLY OWNER FUNCTIONS /// // Withdraw all money to sender's account, only owner can call this function withdrawMoney() public onlyOwner { address payable to = payable(msg.sender); to.transfer(address(this).balance); } // Pause the contract function setPaused(bool pause) public onlyOwner { if (pause && !paused()) { _pause(); } if (!pause && paused()) { _unpause(); } } // Get the current royalty fee function getRoyaltyPercent() public view onlyOwner returns (uint) { return _royaltyPercent; } // Update the base URI for token function updateBaseTokenURI(string memory baseTokenURI) public onlyOwner { _baseTokenURI = baseTokenURI; } // Update the royalty fee function updateRoyaltyPercent(uint96 royaltyPercent) public onlyOwner { _royaltyPercent = royaltyPercent; } // Update the minting limit function updateMintLimit(uint96 limit) public onlyOwner { _mintLimit = limit; } function setMintPaused(bool paused) public onlyOwner { _mintPaused = paused; } function isMintPaused() public view onlyOwner returns (bool) { return _mintPaused; } function applicableLicensingTerms() public pure returns (string memory) { return APPLICABLE_LICENSING_TERMS; } }
// SPDX-License-Identifier: MIT 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 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 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 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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 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 tokenId); /** * @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 pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { 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":"name","type":"string"},{"internalType":"string","name":"token","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"avatarContractAddr","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"APPLICABLE_LICENSING_TERMS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"applicableLicensingTerms","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":[],"name":"getMintableTokens","outputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isMintable","outputs":[{"internalType":"bool","name":"mintable","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"mintAllPFP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintPFP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","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":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"bool","name":"paused","type":"bool"}],"name":"setMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"string","name":"baseTokenURI","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"limit","type":"uint96"}],"name":"updateMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"royaltyPercent","type":"uint96"}],"name":"updateRoyaltyPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620058f7380380620058f783398181016040528101906200003791906200050c565b83838160009080519060200190620000519291906200025a565b5080600190805190602001906200006a9291906200025a565b5050506200008d620000816200018c60201b60201c565b6200019460201b60201c565b6000600b60146101000a81548160ff02191690831515021790555081600c9080519060200190620000c09291906200025a565b5080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101f4600d60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506064600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506000600e600c6101000a81548160ff0219169083151502179055505050505062000640565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000268906200060a565b90600052602060002090601f0160209004810192826200028c5760008555620002d8565b82601f10620002a757805160ff1916838001178555620002d8565b82800160010185558215620002d8579182015b82811115620002d7578251825591602001919060010190620002ba565b5b509050620002e79190620002eb565b5090565b5b8082111562000306576000816000905550600101620002ec565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003738262000328565b810181811067ffffffffffffffff8211171562000395576200039462000339565b5b80604052505050565b6000620003aa6200030a565b9050620003b8828262000368565b919050565b600067ffffffffffffffff821115620003db57620003da62000339565b5b620003e68262000328565b9050602081019050919050565b60005b8381101562000413578082015181840152602081019050620003f6565b8381111562000423576000848401525b50505050565b6000620004406200043a84620003bd565b6200039e565b9050828152602081018484840111156200045f576200045e62000323565b5b6200046c848285620003f3565b509392505050565b600082601f8301126200048c576200048b6200031e565b5b81516200049e84826020860162000429565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004d482620004a7565b9050919050565b620004e681620004c7565b8114620004f257600080fd5b50565b6000815190506200050681620004db565b92915050565b6000806000806080858703121562000529576200052862000314565b5b600085015167ffffffffffffffff8111156200054a576200054962000319565b5b620005588782880162000474565b945050602085015167ffffffffffffffff8111156200057c576200057b62000319565b5b6200058a8782880162000474565b935050604085015167ffffffffffffffff811115620005ae57620005ad62000319565b5b620005bc8782880162000474565b9250506060620005cf87828801620004f5565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062357607f821691505b602082108114156200063a5762000639620005db565b5b50919050565b6152a780620006506000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80636352211e11610125578063a22cb465116100ad578063b88d4fde1161007c578063b88d4fde1461062a578063c87b56dd14610646578063e0e4c0b914610676578063e985e9c514610692578063f2fde38b146106c25761021c565b8063a22cb465146105cc578063a750786e146105e8578063ac44600214610604578063b69355011461060e5761021c565b806370a08231116100f457806370a0823114610526578063715018a6146105565780638462151c146105605780638da5cb5b1461059057806395d89b41146105ae5761021c565b80636352211e146104a0578063655391c9146104d05780636b8d67ae146104ec5780636c5d24c41461050a5761021c565b806323b872dd116101a85780634f6ccce7116101775780634f6ccce7146103e65780635b31cb36146104165780635b62e6c5146104465780635c975abb1461046457806362adec70146104825761021c565b806323b872dd1461034d5780632a55205a146103695780632f745c591461039a57806342842e0e146103ca5761021c565b8063095ea7b3116101ef578063095ea7b3146102bb5780630bc8273b146102d757806315839b30146102f557806316c38b3c1461031357806318160ddd1461032f5761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f5780630819c6c51461029f575b600080fd5b61023b60048036038101906102369190613645565b6106de565b604051610248919061368d565b60405180910390f35b610259610747565b6040516102669190613741565b60405180910390f35b61028960048036038101906102849190613799565b6107d9565b6040516102969190613807565b60405180910390f35b6102b960048036038101906102b49190613866565b61085e565b005b6102d560048036038101906102d091906138bf565b61090e565b005b6102df610a26565b6040516102ec91906139bd565b60405180910390f35b6102fd610c25565b60405161030a919061368d565b60405180910390f35b61032d60048036038101906103289190613a0b565b610cb8565b005b610337610d77565b6040516103449190613a47565b60405180910390f35b61036760048036038101906103629190613a62565b610d84565b005b610383600480360381019061037e9190613ab5565b610de4565b604051610391929190613af5565b60405180910390f35b6103b460048036038101906103af91906138bf565b610e3b565b6040516103c19190613a47565b60405180910390f35b6103e460048036038101906103df9190613a62565b610ee0565b005b61040060048036038101906103fb9190613799565b610f00565b60405161040d9190613a47565b60405180910390f35b610430600480360381019061042b9190613799565b610f71565b60405161043d919061368d565b60405180910390f35b61044e611046565b60405161045b9190613741565b60405180910390f35b61046c611083565b604051610479919061368d565b60405180910390f35b61048a61109a565b6040516104979190613a47565b60405180910390f35b6104ba60048036038101906104b59190613799565b611146565b6040516104c79190613807565b60405180910390f35b6104ea60048036038101906104e59190613c53565b6111f8565b005b6104f461128e565b6040516105019190613741565b60405180910390f35b610524600480360381019061051f9190613866565b6112c7565b005b610540600480360381019061053b9190613c9c565b611377565b60405161054d9190613a47565b60405180910390f35b61055e61142f565b005b61057a60048036038101906105759190613c9c565b6114b7565b60405161058791906139bd565b60405180910390f35b610598611565565b6040516105a59190613807565b60405180910390f35b6105b661158f565b6040516105c39190613741565b60405180910390f35b6105e660048036038101906105e19190613cc9565b611621565b005b61060260048036038101906105fd9190613799565b6117a2565b005b61060c6119b4565b005b61062860048036038101906106239190613a0b565b611a7f565b005b610644600480360381019061063f9190613daa565b611b18565b005b610660600480360381019061065b9190613799565b611b7a565b60405161066d9190613741565b60405180910390f35b610690600480360381019061068b9190613799565b611b8c565b005b6106ac60048036038101906106a79190613e2d565b611dc8565b6040516106b9919061368d565b60405180910390f35b6106dc60048036038101906106d79190613c9c565b611e5c565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156107365760019050610742565b61073f82611f54565b90505b919050565b60606000805461075690613e9c565b80601f016020809104026020016040519081016040528092919081815260200182805461078290613e9c565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e482611fce565b610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081a90613f40565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61086661203a565b73ffffffffffffffffffffffffffffffffffffffff16610884611565565b73ffffffffffffffffffffffffffffffffffffffff16146108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190613fac565b60405180910390fd5b80600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b600061091982611146565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109819061403e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a961203a565b73ffffffffffffffffffffffffffffffffffffffff1614806109d857506109d7816109d261203a565b611dc8565b5b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e906140d0565b60405180910390fd5b610a218383612042565b505050565b60606000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16638462151c336040518263ffffffff1660e01b8152600401610a8a9190613807565b60006040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610adf91906141cd565b905060008151905060005b8251811015610b3d57610b16838281518110610b0957610b08614216565b5b6020026020010151611fce565b15610b2a578180610b2690614274565b9250505b8080610b359061429e565b915050610aea565b5060008167ffffffffffffffff811115610b5a57610b59613b28565b5b604051908082528060200260200182016040528015610b885781602001602082028036833780820191505090505b5090506000805b8451811015610c1957610bbb858281518110610bae57610bad614216565b5b6020026020010151611fce565b610c0657848181518110610bd257610bd1614216565b5b6020026020010151838380610be69061429e565b945081518110610bf957610bf8614216565b5b6020026020010181815250505b8080610c119061429e565b915050610b8f565b50819550505050505090565b6000610c2f61203a565b73ffffffffffffffffffffffffffffffffffffffff16610c4d611565565b73ffffffffffffffffffffffffffffffffffffffff1614610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a90613fac565b60405180910390fd5b600e600c9054906101000a900460ff16905090565b610cc061203a565b73ffffffffffffffffffffffffffffffffffffffff16610cde611565565b73ffffffffffffffffffffffffffffffffffffffff1614610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90613fac565b60405180910390fd5b808015610d465750610d44611083565b155b15610d5457610d536120fb565b5b80158015610d665750610d65611083565b5b15610d7457610d7361219e565b5b50565b6000600980549050905090565b610d95610d8f61203a565b82612240565b610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614359565b60405180910390fd5b610ddf83838361231e565b505050565b600080610def611565565b612710600d60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1685610e269190614379565b610e309190614402565b915091509250929050565b6000610e4683611377565b8210610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906144a5565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610efb83838360405180602001604052806000815250611b18565b505050565b6000610f0a610d77565b8210610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614537565b60405180910390fd5b60098281548110610f5f57610f5e614216565b5b90600052602060002001549050919050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190614557565b905060008411801561102b5750808411155b801561103d575061103b84611fce565b155b92505050919050565b60606040518060400160405280601c81526020017f68747470733a2f2f6e66742e686162626f2e636f6d2f7465726d732f00000000815250905090565b6000600b60149054906101000a900460ff16905090565b60006110a461203a565b73ffffffffffffffffffffffffffffffffffffffff166110c2611565565b73ffffffffffffffffffffffffffffffffffffffff1614611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90613fac565b60405180910390fd5b600d60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e6906145f6565b60405180910390fd5b80915050919050565b61120061203a565b73ffffffffffffffffffffffffffffffffffffffff1661121e611565565b73ffffffffffffffffffffffffffffffffffffffff1614611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b90613fac565b60405180910390fd5b80600c908051906020019061128a929190613536565b5050565b6040518060400160405280601c81526020017f68747470733a2f2f6e66742e686162626f2e636f6d2f7465726d732f0000000081525081565b6112cf61203a565b73ffffffffffffffffffffffffffffffffffffffff166112ed611565565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90613fac565b60405180910390fd5b80600d60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df90614688565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61143761203a565b73ffffffffffffffffffffffffffffffffffffffff16611455611565565b73ffffffffffffffffffffffffffffffffffffffff16146114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290613fac565b60405180910390fd5b6114b5600061257a565b565b606060006114c483611377565b905060008167ffffffffffffffff8111156114e2576114e1613b28565b5b6040519080825280602002602001820160405280156115105781602001602082028036833780820191505090505b50905060005b8281101561155a576115288582610e3b565b82828151811061153b5761153a614216565b5b60200260200101818152505080806115529061429e565b915050611516565b508092505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461159e90613e9c565b80601f01602080910402602001604051908101604052809291908181526020018280546115ca90613e9c565b80156116175780601f106115ec57610100808354040283529160200191611617565b820191906000526020600020905b8154815290600101906020018083116115fa57829003601f168201915b5050505050905090565b61162961203a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906146f4565b60405180910390fd5b80600560006116a461203a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661175161203a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611796919061368d565b60405180910390a35050565b6117aa611083565b156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614760565b60405180910390fd5b600e600c9054906101000a900460ff161561183a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611831906147cc565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161189c9190613a47565b60206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190614801565b90506118f783611fce565b15611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e9061487a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c906148e6565b60405180910390fd5b6119af3384612640565b505050565b6119bc61203a565b73ffffffffffffffffffffffffffffffffffffffff166119da611565565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790613fac565b60405180910390fd5b60003390508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611a7b573d6000803e3d6000fd5b5050565b611a8761203a565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611565565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613fac565b60405180910390fd5b80600e600c6101000a81548160ff02191690831515021790555050565b611b29611b2361203a565b83612240565b611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614359565b60405180910390fd5b611b74848484846126b6565b50505050565b6060611b8582612712565b9050919050565b611b94611083565b15611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90614760565b60405180910390fd5b600e600c9054906101000a900460ff1615611c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1b906147cc565b60405180910390fd5b600e60009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16811115611c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8690614952565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16638462151c336040518263ffffffff1660e01b8152600401611cf19190613807565b60006040518083038186803b158015611d0957600080fd5b505afa158015611d1d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4691906141cd565b90506000815190506000805b82811015611dc0576000848281518110611d6f57611d6e614216565b5b60200260200101519050611d8281611fce565b158015611d8e57508683105b15611dac57611d9d3382612640565b8280611da89061429e565b9350505b508080611db89061429e565b915050611d52565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e6461203a565b73ffffffffffffffffffffffffffffffffffffffff16611e82611565565b73ffffffffffffffffffffffffffffffffffffffff1614611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613fac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f906149e4565b60405180910390fd5b611f518161257a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fc75750611fc682612864565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120b583611146565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612103611083565b15612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614a50565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861218761203a565b6040516121949190613807565b60405180910390a1565b6121a6611083565b6121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614abc565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61222961203a565b6040516122369190613807565b60405180910390a1565b600061224b82611fce565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228190614b4e565b60405180910390fd5b600061229583611146565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230457508373ffffffffffffffffffffffffffffffffffffffff166122ec846107d9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231557506123148185611dc8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661233e82611146565b73ffffffffffffffffffffffffffffffffffffffff1614612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614be0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614c72565b60405180910390fd5b61240f838383612946565b61241a600082612042565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246a9190614c92565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c19190614cc6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61264a8282612956565b6126b28161265783612974565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161269e929190614d58565b604051602081830303815290604052612ad5565b5050565b6126c184848461231e565b6126cd84848484612b49565b61270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614dee565b60405180910390fd5b50505050565b606061271d82611fce565b61275c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275390614e80565b60405180910390fd5b600060066000848152602001908152602001600020805461277c90613e9c565b80601f01602080910402602001604051908101604052809291908181526020018280546127a890613e9c565b80156127f55780601f106127ca576101008083540402835291602001916127f5565b820191906000526020600020905b8154815290600101906020018083116127d857829003601f168201915b505050505090506000612806612ce0565b905060008151141561281c57819250505061285f565b600082511115612851578082604051602001612839929190614d58565b6040516020818303038152906040529250505061285f565b61285a84612d72565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293f575061293e82612e19565b5b9050919050565b612951838383612e83565b505050565b612970828260405180602001604052806000815250612edb565b5050565b606060008214156129bc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ad0565b600082905060005b600082146129ee5780806129d79061429e565b915050600a826129e79190614402565b91506129c4565b60008167ffffffffffffffff811115612a0a57612a09613b28565b5b6040519080825280601f01601f191660200182016040528015612a3c5781602001600182028036833780820191505090505b5090505b60008514612ac957600182612a559190614c92565b9150600a85612a649190614ea0565b6030612a709190614cc6565b60f81b818381518110612a8657612a85614216565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ac29190614402565b9450612a40565b8093505050505b919050565b612ade82611fce565b612b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1490614f43565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612b44929190613536565b505050565b6000612b6a8473ffffffffffffffffffffffffffffffffffffffff16612f36565b15612cd3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b9361203a565b8786866040518563ffffffff1660e01b8152600401612bb59493929190614fb8565b602060405180830381600087803b158015612bcf57600080fd5b505af1925050508015612c0057506040513d601f19601f82011682018060405250810190612bfd9190615019565b60015b612c83573d8060008114612c30576040519150601f19603f3d011682016040523d82523d6000602084013e612c35565b606091505b50600081511415612c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7290614dee565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cd8565b600190505b949350505050565b6060600c8054612cef90613e9c565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1b90613e9c565b8015612d685780601f10612d3d57610100808354040283529160200191612d68565b820191906000526020600020905b815481529060010190602001808311612d4b57829003601f168201915b5050505050905090565b6060612d7d82611fce565b612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db3906150b8565b60405180910390fd5b6000612dc6612ce0565b90506000815111612de65760405180602001604052806000815250612e11565b80612df084612974565b604051602001612e01929190614d58565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e8e838383612f49565b612e96611083565b15612ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecd9061514a565b60405180910390fd5b505050565b612ee5838361305d565b612ef26000848484612b49565b612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890614dee565b60405180910390fd5b505050565b600080823b905060008111915050919050565b612f5483838361322b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f9757612f9281613230565b612fd6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fd557612fd48382613279565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561301957613014816133e6565b613058565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130575761305682826134b7565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c4906151b6565b60405180910390fd5b6130d681611fce565b15613116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310d90615222565b60405180910390fd5b61312260008383612946565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131729190614cc6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161328684611377565b6132909190614c92565b9050600060086000848152602001908152602001600020549050818114613375576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506133fa9190614c92565b90506000600a600084815260200190815260200160002054905060006009838154811061342a57613429614216565b5b90600052602060002001549050806009838154811061344c5761344b614216565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061349b5761349a615242565b5b6001900381819060005260206000200160009055905550505050565b60006134c283611377565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461354290613e9c565b90600052602060002090601f01602090048101928261356457600085556135ab565b82601f1061357d57805160ff19168380011785556135ab565b828001600101855582156135ab579182015b828111156135aa57825182559160200191906001019061358f565b5b5090506135b891906135bc565b5090565b5b808211156135d55760008160009055506001016135bd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613622816135ed565b811461362d57600080fd5b50565b60008135905061363f81613619565b92915050565b60006020828403121561365b5761365a6135e3565b5b600061366984828501613630565b91505092915050565b60008115159050919050565b61368781613672565b82525050565b60006020820190506136a2600083018461367e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136e25780820151818401526020810190506136c7565b838111156136f1576000848401525b50505050565b6000601f19601f8301169050919050565b6000613713826136a8565b61371d81856136b3565b935061372d8185602086016136c4565b613736816136f7565b840191505092915050565b6000602082019050818103600083015261375b8184613708565b905092915050565b6000819050919050565b61377681613763565b811461378157600080fd5b50565b6000813590506137938161376d565b92915050565b6000602082840312156137af576137ae6135e3565b5b60006137bd84828501613784565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f1826137c6565b9050919050565b613801816137e6565b82525050565b600060208201905061381c60008301846137f8565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61384381613822565b811461384e57600080fd5b50565b6000813590506138608161383a565b92915050565b60006020828403121561387c5761387b6135e3565b5b600061388a84828501613851565b91505092915050565b61389c816137e6565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b600080604083850312156138d6576138d56135e3565b5b60006138e4858286016138aa565b92505060206138f585828601613784565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61393481613763565b82525050565b6000613946838361392b565b60208301905092915050565b6000602082019050919050565b600061396a826138ff565b613974818561390a565b935061397f8361391b565b8060005b838110156139b0578151613997888261393a565b97506139a283613952565b925050600181019050613983565b5085935050505092915050565b600060208201905081810360008301526139d7818461395f565b905092915050565b6139e881613672565b81146139f357600080fd5b50565b600081359050613a05816139df565b92915050565b600060208284031215613a2157613a206135e3565b5b6000613a2f848285016139f6565b91505092915050565b613a4181613763565b82525050565b6000602082019050613a5c6000830184613a38565b92915050565b600080600060608486031215613a7b57613a7a6135e3565b5b6000613a89868287016138aa565b9350506020613a9a868287016138aa565b9250506040613aab86828701613784565b9150509250925092565b60008060408385031215613acc57613acb6135e3565b5b6000613ada85828601613784565b9250506020613aeb85828601613784565b9150509250929050565b6000604082019050613b0a60008301856137f8565b613b176020830184613a38565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b60826136f7565b810181811067ffffffffffffffff82111715613b7f57613b7e613b28565b5b80604052505050565b6000613b926135d9565b9050613b9e8282613b57565b919050565b600067ffffffffffffffff821115613bbe57613bbd613b28565b5b613bc7826136f7565b9050602081019050919050565b82818337600083830152505050565b6000613bf6613bf184613ba3565b613b88565b905082815260208101848484011115613c1257613c11613b23565b5b613c1d848285613bd4565b509392505050565b600082601f830112613c3a57613c39613b1e565b5b8135613c4a848260208601613be3565b91505092915050565b600060208284031215613c6957613c686135e3565b5b600082013567ffffffffffffffff811115613c8757613c866135e8565b5b613c9384828501613c25565b91505092915050565b600060208284031215613cb257613cb16135e3565b5b6000613cc0848285016138aa565b91505092915050565b60008060408385031215613ce057613cdf6135e3565b5b6000613cee858286016138aa565b9250506020613cff858286016139f6565b9150509250929050565b600067ffffffffffffffff821115613d2457613d23613b28565b5b613d2d826136f7565b9050602081019050919050565b6000613d4d613d4884613d09565b613b88565b905082815260208101848484011115613d6957613d68613b23565b5b613d74848285613bd4565b509392505050565b600082601f830112613d9157613d90613b1e565b5b8135613da1848260208601613d3a565b91505092915050565b60008060008060808587031215613dc457613dc36135e3565b5b6000613dd2878288016138aa565b9450506020613de3878288016138aa565b9350506040613df487828801613784565b925050606085013567ffffffffffffffff811115613e1557613e146135e8565b5b613e2187828801613d7c565b91505092959194509250565b60008060408385031215613e4457613e436135e3565b5b6000613e52858286016138aa565b9250506020613e63858286016138aa565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613eb457607f821691505b60208210811415613ec857613ec7613e6d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f2a602c836136b3565b9150613f3582613ece565b604082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f966020836136b3565b9150613fa182613f60565b602082019050919050565b60006020820190508181036000830152613fc581613f89565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140286021836136b3565b915061403382613fcc565b604082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140ba6038836136b3565b91506140c58261405e565b604082019050919050565b600060208201905081810360008301526140e9816140ad565b9050919050565b600067ffffffffffffffff82111561410b5761410a613b28565b5b602082029050602081019050919050565b600080fd5b6000815190506141308161376d565b92915050565b6000614149614144846140f0565b613b88565b9050808382526020820190506020840283018581111561416c5761416b61411c565b5b835b8181101561419557806141818882614121565b84526020840193505060208101905061416e565b5050509392505050565b600082601f8301126141b4576141b3613b1e565b5b81516141c4848260208601614136565b91505092915050565b6000602082840312156141e3576141e26135e3565b5b600082015167ffffffffffffffff811115614201576142006135e8565b5b61420d8482850161419f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061427f82613763565b9150600082141561429357614292614245565b5b600182039050919050565b60006142a982613763565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142dc576142db614245565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006143436031836136b3565b915061434e826142e7565b604082019050919050565b6000602082019050818103600083015261437281614336565b9050919050565b600061438482613763565b915061438f83613763565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143c8576143c7614245565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061440d82613763565b915061441883613763565b925082614428576144276143d3565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061448f602b836136b3565b915061449a82614433565b604082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614521602c836136b3565b915061452c826144c5565b604082019050919050565b6000602082019050818103600083015261455081614514565b9050919050565b60006020828403121561456d5761456c6135e3565b5b600061457b84828501614121565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006145e06029836136b3565b91506145eb82614584565b604082019050919050565b6000602082019050818103600083015261460f816145d3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614672602a836136b3565b915061467d82614616565b604082019050919050565b600060208201905081810360008301526146a181614665565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006146de6019836136b3565b91506146e9826146a8565b602082019050919050565b6000602082019050818103600083015261470d816146d1565b9050919050565b7f546f6b656e206d696e74207768696c6520706175736564000000000000000000600082015250565b600061474a6017836136b3565b915061475582614714565b602082019050919050565b600060208201905081810360008301526147798161473d565b9050919050565b7f546f6b656e206d696e74696e6720697320706175736564000000000000000000600082015250565b60006147b66017836136b3565b91506147c182614780565b602082019050919050565b600060208201905081810360008301526147e5816147a9565b9050919050565b6000815190506147fb81613893565b92915050565b600060208284031215614817576148166135e3565b5b6000614825848285016147ec565b91505092915050565b7f546f6b656e20776173206d696e74656400000000000000000000000000000000600082015250565b60006148646010836136b3565b915061486f8261482e565b602082019050919050565b6000602082019050818103600083015261489381614857565b9050919050565b7f4e6f742074686520746f6b656e206f776e657200000000000000000000000000600082015250565b60006148d06013836136b3565b91506148db8261489a565b602082019050919050565b600060208201905081810360008301526148ff816148c3565b9050919050565b7f4c696d6974206578636565640000000000000000000000000000000000000000600082015250565b600061493c600c836136b3565b915061494782614906565b602082019050919050565b6000602082019050818103600083015261496b8161492f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149ce6026836136b3565b91506149d982614972565b604082019050919050565b600060208201905081810360008301526149fd816149c1565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614a3a6010836136b3565b9150614a4582614a04565b602082019050919050565b60006020820190508181036000830152614a6981614a2d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614aa66014836136b3565b9150614ab182614a70565b602082019050919050565b60006020820190508181036000830152614ad581614a99565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b38602c836136b3565b9150614b4382614adc565b604082019050919050565b60006020820190508181036000830152614b6781614b2b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614bca6029836136b3565b9150614bd582614b6e565b604082019050919050565b60006020820190508181036000830152614bf981614bbd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c5c6024836136b3565b9150614c6782614c00565b604082019050919050565b60006020820190508181036000830152614c8b81614c4f565b9050919050565b6000614c9d82613763565b9150614ca883613763565b925082821015614cbb57614cba614245565b5b828203905092915050565b6000614cd182613763565b9150614cdc83613763565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d1157614d10614245565b5b828201905092915050565b600081905092915050565b6000614d32826136a8565b614d3c8185614d1c565b9350614d4c8185602086016136c4565b80840191505092915050565b6000614d648285614d27565b9150614d708284614d27565b91508190509392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614dd86032836136b3565b9150614de382614d7c565b604082019050919050565b60006020820190508181036000830152614e0781614dcb565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614e6a6031836136b3565b9150614e7582614e0e565b604082019050919050565b60006020820190508181036000830152614e9981614e5d565b9050919050565b6000614eab82613763565b9150614eb683613763565b925082614ec657614ec56143d3565b5b828206905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614f2d602e836136b3565b9150614f3882614ed1565b604082019050919050565b60006020820190508181036000830152614f5c81614f20565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f8a82614f63565b614f948185614f6e565b9350614fa48185602086016136c4565b614fad816136f7565b840191505092915050565b6000608082019050614fcd60008301876137f8565b614fda60208301866137f8565b614fe76040830185613a38565b8181036060830152614ff98184614f7f565b905095945050505050565b60008151905061501381613619565b92915050565b60006020828403121561502f5761502e6135e3565b5b600061503d84828501615004565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006150a2602f836136b3565b91506150ad82615046565b604082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000615134602b836136b3565b915061513f826150d8565b604082019050919050565b6000602082019050818103600083015261516381615127565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151a06020836136b3565b91506151ab8261516a565b602082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061520c601c836136b3565b9150615217826151d6565b602082019050919050565b6000602082019050818103600083015261523b816151ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220342413467caa4aa8cc568358b08f07be36cdf76fdb528ea47380a5343d8fbfbd64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000008a1bbef259b00ced668a8c69e50d92619c672176000000000000000000000000000000000000000000000000000000000000000f486162626f20506f72747261697473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054841504650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f706f727472616974732f6d657461646174612f00000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80636352211e11610125578063a22cb465116100ad578063b88d4fde1161007c578063b88d4fde1461062a578063c87b56dd14610646578063e0e4c0b914610676578063e985e9c514610692578063f2fde38b146106c25761021c565b8063a22cb465146105cc578063a750786e146105e8578063ac44600214610604578063b69355011461060e5761021c565b806370a08231116100f457806370a0823114610526578063715018a6146105565780638462151c146105605780638da5cb5b1461059057806395d89b41146105ae5761021c565b80636352211e146104a0578063655391c9146104d05780636b8d67ae146104ec5780636c5d24c41461050a5761021c565b806323b872dd116101a85780634f6ccce7116101775780634f6ccce7146103e65780635b31cb36146104165780635b62e6c5146104465780635c975abb1461046457806362adec70146104825761021c565b806323b872dd1461034d5780632a55205a146103695780632f745c591461039a57806342842e0e146103ca5761021c565b8063095ea7b3116101ef578063095ea7b3146102bb5780630bc8273b146102d757806315839b30146102f557806316c38b3c1461031357806318160ddd1461032f5761021c565b806301ffc9a71461022157806306fdde0314610251578063081812fc1461026f5780630819c6c51461029f575b600080fd5b61023b60048036038101906102369190613645565b6106de565b604051610248919061368d565b60405180910390f35b610259610747565b6040516102669190613741565b60405180910390f35b61028960048036038101906102849190613799565b6107d9565b6040516102969190613807565b60405180910390f35b6102b960048036038101906102b49190613866565b61085e565b005b6102d560048036038101906102d091906138bf565b61090e565b005b6102df610a26565b6040516102ec91906139bd565b60405180910390f35b6102fd610c25565b60405161030a919061368d565b60405180910390f35b61032d60048036038101906103289190613a0b565b610cb8565b005b610337610d77565b6040516103449190613a47565b60405180910390f35b61036760048036038101906103629190613a62565b610d84565b005b610383600480360381019061037e9190613ab5565b610de4565b604051610391929190613af5565b60405180910390f35b6103b460048036038101906103af91906138bf565b610e3b565b6040516103c19190613a47565b60405180910390f35b6103e460048036038101906103df9190613a62565b610ee0565b005b61040060048036038101906103fb9190613799565b610f00565b60405161040d9190613a47565b60405180910390f35b610430600480360381019061042b9190613799565b610f71565b60405161043d919061368d565b60405180910390f35b61044e611046565b60405161045b9190613741565b60405180910390f35b61046c611083565b604051610479919061368d565b60405180910390f35b61048a61109a565b6040516104979190613a47565b60405180910390f35b6104ba60048036038101906104b59190613799565b611146565b6040516104c79190613807565b60405180910390f35b6104ea60048036038101906104e59190613c53565b6111f8565b005b6104f461128e565b6040516105019190613741565b60405180910390f35b610524600480360381019061051f9190613866565b6112c7565b005b610540600480360381019061053b9190613c9c565b611377565b60405161054d9190613a47565b60405180910390f35b61055e61142f565b005b61057a60048036038101906105759190613c9c565b6114b7565b60405161058791906139bd565b60405180910390f35b610598611565565b6040516105a59190613807565b60405180910390f35b6105b661158f565b6040516105c39190613741565b60405180910390f35b6105e660048036038101906105e19190613cc9565b611621565b005b61060260048036038101906105fd9190613799565b6117a2565b005b61060c6119b4565b005b61062860048036038101906106239190613a0b565b611a7f565b005b610644600480360381019061063f9190613daa565b611b18565b005b610660600480360381019061065b9190613799565b611b7a565b60405161066d9190613741565b60405180910390f35b610690600480360381019061068b9190613799565b611b8c565b005b6106ac60048036038101906106a79190613e2d565b611dc8565b6040516106b9919061368d565b60405180910390f35b6106dc60048036038101906106d79190613c9c565b611e5c565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156107365760019050610742565b61073f82611f54565b90505b919050565b60606000805461075690613e9c565b80601f016020809104026020016040519081016040528092919081815260200182805461078290613e9c565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e482611fce565b610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081a90613f40565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61086661203a565b73ffffffffffffffffffffffffffffffffffffffff16610884611565565b73ffffffffffffffffffffffffffffffffffffffff16146108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190613fac565b60405180910390fd5b80600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b600061091982611146565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109819061403e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a961203a565b73ffffffffffffffffffffffffffffffffffffffff1614806109d857506109d7816109d261203a565b611dc8565b5b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e906140d0565b60405180910390fd5b610a218383612042565b505050565b60606000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16638462151c336040518263ffffffff1660e01b8152600401610a8a9190613807565b60006040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610adf91906141cd565b905060008151905060005b8251811015610b3d57610b16838281518110610b0957610b08614216565b5b6020026020010151611fce565b15610b2a578180610b2690614274565b9250505b8080610b359061429e565b915050610aea565b5060008167ffffffffffffffff811115610b5a57610b59613b28565b5b604051908082528060200260200182016040528015610b885781602001602082028036833780820191505090505b5090506000805b8451811015610c1957610bbb858281518110610bae57610bad614216565b5b6020026020010151611fce565b610c0657848181518110610bd257610bd1614216565b5b6020026020010151838380610be69061429e565b945081518110610bf957610bf8614216565b5b6020026020010181815250505b8080610c119061429e565b915050610b8f565b50819550505050505090565b6000610c2f61203a565b73ffffffffffffffffffffffffffffffffffffffff16610c4d611565565b73ffffffffffffffffffffffffffffffffffffffff1614610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a90613fac565b60405180910390fd5b600e600c9054906101000a900460ff16905090565b610cc061203a565b73ffffffffffffffffffffffffffffffffffffffff16610cde611565565b73ffffffffffffffffffffffffffffffffffffffff1614610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90613fac565b60405180910390fd5b808015610d465750610d44611083565b155b15610d5457610d536120fb565b5b80158015610d665750610d65611083565b5b15610d7457610d7361219e565b5b50565b6000600980549050905090565b610d95610d8f61203a565b82612240565b610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614359565b60405180910390fd5b610ddf83838361231e565b505050565b600080610def611565565b612710600d60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1685610e269190614379565b610e309190614402565b915091509250929050565b6000610e4683611377565b8210610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906144a5565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610efb83838360405180602001604052806000815250611b18565b505050565b6000610f0a610d77565b8210610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614537565b60405180910390fd5b60098281548110610f5f57610f5e614216565b5b90600052602060002001549050919050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe157600080fd5b505afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190614557565b905060008411801561102b5750808411155b801561103d575061103b84611fce565b155b92505050919050565b60606040518060400160405280601c81526020017f68747470733a2f2f6e66742e686162626f2e636f6d2f7465726d732f00000000815250905090565b6000600b60149054906101000a900460ff16905090565b60006110a461203a565b73ffffffffffffffffffffffffffffffffffffffff166110c2611565565b73ffffffffffffffffffffffffffffffffffffffff1614611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90613fac565b60405180910390fd5b600d60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e6906145f6565b60405180910390fd5b80915050919050565b61120061203a565b73ffffffffffffffffffffffffffffffffffffffff1661121e611565565b73ffffffffffffffffffffffffffffffffffffffff1614611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b90613fac565b60405180910390fd5b80600c908051906020019061128a929190613536565b5050565b6040518060400160405280601c81526020017f68747470733a2f2f6e66742e686162626f2e636f6d2f7465726d732f0000000081525081565b6112cf61203a565b73ffffffffffffffffffffffffffffffffffffffff166112ed611565565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90613fac565b60405180910390fd5b80600d60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df90614688565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61143761203a565b73ffffffffffffffffffffffffffffffffffffffff16611455611565565b73ffffffffffffffffffffffffffffffffffffffff16146114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290613fac565b60405180910390fd5b6114b5600061257a565b565b606060006114c483611377565b905060008167ffffffffffffffff8111156114e2576114e1613b28565b5b6040519080825280602002602001820160405280156115105781602001602082028036833780820191505090505b50905060005b8281101561155a576115288582610e3b565b82828151811061153b5761153a614216565b5b60200260200101818152505080806115529061429e565b915050611516565b508092505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461159e90613e9c565b80601f01602080910402602001604051908101604052809291908181526020018280546115ca90613e9c565b80156116175780601f106115ec57610100808354040283529160200191611617565b820191906000526020600020905b8154815290600101906020018083116115fa57829003601f168201915b5050505050905090565b61162961203a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906146f4565b60405180910390fd5b80600560006116a461203a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661175161203a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611796919061368d565b60405180910390a35050565b6117aa611083565b156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614760565b60405180910390fd5b600e600c9054906101000a900460ff161561183a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611831906147cc565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161189c9190613a47565b60206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190614801565b90506118f783611fce565b15611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e9061487a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c906148e6565b60405180910390fd5b6119af3384612640565b505050565b6119bc61203a565b73ffffffffffffffffffffffffffffffffffffffff166119da611565565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790613fac565b60405180910390fd5b60003390508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611a7b573d6000803e3d6000fd5b5050565b611a8761203a565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611565565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613fac565b60405180910390fd5b80600e600c6101000a81548160ff02191690831515021790555050565b611b29611b2361203a565b83612240565b611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614359565b60405180910390fd5b611b74848484846126b6565b50505050565b6060611b8582612712565b9050919050565b611b94611083565b15611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90614760565b60405180910390fd5b600e600c9054906101000a900460ff1615611c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1b906147cc565b60405180910390fd5b600e60009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16811115611c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8690614952565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16638462151c336040518263ffffffff1660e01b8152600401611cf19190613807565b60006040518083038186803b158015611d0957600080fd5b505afa158015611d1d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4691906141cd565b90506000815190506000805b82811015611dc0576000848281518110611d6f57611d6e614216565b5b60200260200101519050611d8281611fce565b158015611d8e57508683105b15611dac57611d9d3382612640565b8280611da89061429e565b9350505b508080611db89061429e565b915050611d52565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e6461203a565b73ffffffffffffffffffffffffffffffffffffffff16611e82611565565b73ffffffffffffffffffffffffffffffffffffffff1614611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613fac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f906149e4565b60405180910390fd5b611f518161257a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fc75750611fc682612864565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120b583611146565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612103611083565b15612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614a50565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861218761203a565b6040516121949190613807565b60405180910390a1565b6121a6611083565b6121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614abc565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61222961203a565b6040516122369190613807565b60405180910390a1565b600061224b82611fce565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228190614b4e565b60405180910390fd5b600061229583611146565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230457508373ffffffffffffffffffffffffffffffffffffffff166122ec846107d9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231557506123148185611dc8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661233e82611146565b73ffffffffffffffffffffffffffffffffffffffff1614612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614be0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614c72565b60405180910390fd5b61240f838383612946565b61241a600082612042565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246a9190614c92565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c19190614cc6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61264a8282612956565b6126b28161265783612974565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161269e929190614d58565b604051602081830303815290604052612ad5565b5050565b6126c184848461231e565b6126cd84848484612b49565b61270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614dee565b60405180910390fd5b50505050565b606061271d82611fce565b61275c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275390614e80565b60405180910390fd5b600060066000848152602001908152602001600020805461277c90613e9c565b80601f01602080910402602001604051908101604052809291908181526020018280546127a890613e9c565b80156127f55780601f106127ca576101008083540402835291602001916127f5565b820191906000526020600020905b8154815290600101906020018083116127d857829003601f168201915b505050505090506000612806612ce0565b905060008151141561281c57819250505061285f565b600082511115612851578082604051602001612839929190614d58565b6040516020818303038152906040529250505061285f565b61285a84612d72565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293f575061293e82612e19565b5b9050919050565b612951838383612e83565b505050565b612970828260405180602001604052806000815250612edb565b5050565b606060008214156129bc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ad0565b600082905060005b600082146129ee5780806129d79061429e565b915050600a826129e79190614402565b91506129c4565b60008167ffffffffffffffff811115612a0a57612a09613b28565b5b6040519080825280601f01601f191660200182016040528015612a3c5781602001600182028036833780820191505090505b5090505b60008514612ac957600182612a559190614c92565b9150600a85612a649190614ea0565b6030612a709190614cc6565b60f81b818381518110612a8657612a85614216565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ac29190614402565b9450612a40565b8093505050505b919050565b612ade82611fce565b612b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1490614f43565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612b44929190613536565b505050565b6000612b6a8473ffffffffffffffffffffffffffffffffffffffff16612f36565b15612cd3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b9361203a565b8786866040518563ffffffff1660e01b8152600401612bb59493929190614fb8565b602060405180830381600087803b158015612bcf57600080fd5b505af1925050508015612c0057506040513d601f19601f82011682018060405250810190612bfd9190615019565b60015b612c83573d8060008114612c30576040519150601f19603f3d011682016040523d82523d6000602084013e612c35565b606091505b50600081511415612c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7290614dee565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cd8565b600190505b949350505050565b6060600c8054612cef90613e9c565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1b90613e9c565b8015612d685780601f10612d3d57610100808354040283529160200191612d68565b820191906000526020600020905b815481529060010190602001808311612d4b57829003601f168201915b5050505050905090565b6060612d7d82611fce565b612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db3906150b8565b60405180910390fd5b6000612dc6612ce0565b90506000815111612de65760405180602001604052806000815250612e11565b80612df084612974565b604051602001612e01929190614d58565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e8e838383612f49565b612e96611083565b15612ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecd9061514a565b60405180910390fd5b505050565b612ee5838361305d565b612ef26000848484612b49565b612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890614dee565b60405180910390fd5b505050565b600080823b905060008111915050919050565b612f5483838361322b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f9757612f9281613230565b612fd6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fd557612fd48382613279565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561301957613014816133e6565b613058565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130575761305682826134b7565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c4906151b6565b60405180910390fd5b6130d681611fce565b15613116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310d90615222565b60405180910390fd5b61312260008383612946565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131729190614cc6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161328684611377565b6132909190614c92565b9050600060086000848152602001908152602001600020549050818114613375576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506133fa9190614c92565b90506000600a600084815260200190815260200160002054905060006009838154811061342a57613429614216565b5b90600052602060002001549050806009838154811061344c5761344b614216565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061349b5761349a615242565b5b6001900381819060005260206000200160009055905550505050565b60006134c283611377565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461354290613e9c565b90600052602060002090601f01602090048101928261356457600085556135ab565b82601f1061357d57805160ff19168380011785556135ab565b828001600101855582156135ab579182015b828111156135aa57825182559160200191906001019061358f565b5b5090506135b891906135bc565b5090565b5b808211156135d55760008160009055506001016135bd565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613622816135ed565b811461362d57600080fd5b50565b60008135905061363f81613619565b92915050565b60006020828403121561365b5761365a6135e3565b5b600061366984828501613630565b91505092915050565b60008115159050919050565b61368781613672565b82525050565b60006020820190506136a2600083018461367e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136e25780820151818401526020810190506136c7565b838111156136f1576000848401525b50505050565b6000601f19601f8301169050919050565b6000613713826136a8565b61371d81856136b3565b935061372d8185602086016136c4565b613736816136f7565b840191505092915050565b6000602082019050818103600083015261375b8184613708565b905092915050565b6000819050919050565b61377681613763565b811461378157600080fd5b50565b6000813590506137938161376d565b92915050565b6000602082840312156137af576137ae6135e3565b5b60006137bd84828501613784565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f1826137c6565b9050919050565b613801816137e6565b82525050565b600060208201905061381c60008301846137f8565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61384381613822565b811461384e57600080fd5b50565b6000813590506138608161383a565b92915050565b60006020828403121561387c5761387b6135e3565b5b600061388a84828501613851565b91505092915050565b61389c816137e6565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b600080604083850312156138d6576138d56135e3565b5b60006138e4858286016138aa565b92505060206138f585828601613784565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61393481613763565b82525050565b6000613946838361392b565b60208301905092915050565b6000602082019050919050565b600061396a826138ff565b613974818561390a565b935061397f8361391b565b8060005b838110156139b0578151613997888261393a565b97506139a283613952565b925050600181019050613983565b5085935050505092915050565b600060208201905081810360008301526139d7818461395f565b905092915050565b6139e881613672565b81146139f357600080fd5b50565b600081359050613a05816139df565b92915050565b600060208284031215613a2157613a206135e3565b5b6000613a2f848285016139f6565b91505092915050565b613a4181613763565b82525050565b6000602082019050613a5c6000830184613a38565b92915050565b600080600060608486031215613a7b57613a7a6135e3565b5b6000613a89868287016138aa565b9350506020613a9a868287016138aa565b9250506040613aab86828701613784565b9150509250925092565b60008060408385031215613acc57613acb6135e3565b5b6000613ada85828601613784565b9250506020613aeb85828601613784565b9150509250929050565b6000604082019050613b0a60008301856137f8565b613b176020830184613a38565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b60826136f7565b810181811067ffffffffffffffff82111715613b7f57613b7e613b28565b5b80604052505050565b6000613b926135d9565b9050613b9e8282613b57565b919050565b600067ffffffffffffffff821115613bbe57613bbd613b28565b5b613bc7826136f7565b9050602081019050919050565b82818337600083830152505050565b6000613bf6613bf184613ba3565b613b88565b905082815260208101848484011115613c1257613c11613b23565b5b613c1d848285613bd4565b509392505050565b600082601f830112613c3a57613c39613b1e565b5b8135613c4a848260208601613be3565b91505092915050565b600060208284031215613c6957613c686135e3565b5b600082013567ffffffffffffffff811115613c8757613c866135e8565b5b613c9384828501613c25565b91505092915050565b600060208284031215613cb257613cb16135e3565b5b6000613cc0848285016138aa565b91505092915050565b60008060408385031215613ce057613cdf6135e3565b5b6000613cee858286016138aa565b9250506020613cff858286016139f6565b9150509250929050565b600067ffffffffffffffff821115613d2457613d23613b28565b5b613d2d826136f7565b9050602081019050919050565b6000613d4d613d4884613d09565b613b88565b905082815260208101848484011115613d6957613d68613b23565b5b613d74848285613bd4565b509392505050565b600082601f830112613d9157613d90613b1e565b5b8135613da1848260208601613d3a565b91505092915050565b60008060008060808587031215613dc457613dc36135e3565b5b6000613dd2878288016138aa565b9450506020613de3878288016138aa565b9350506040613df487828801613784565b925050606085013567ffffffffffffffff811115613e1557613e146135e8565b5b613e2187828801613d7c565b91505092959194509250565b60008060408385031215613e4457613e436135e3565b5b6000613e52858286016138aa565b9250506020613e63858286016138aa565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613eb457607f821691505b60208210811415613ec857613ec7613e6d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f2a602c836136b3565b9150613f3582613ece565b604082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f966020836136b3565b9150613fa182613f60565b602082019050919050565b60006020820190508181036000830152613fc581613f89565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140286021836136b3565b915061403382613fcc565b604082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140ba6038836136b3565b91506140c58261405e565b604082019050919050565b600060208201905081810360008301526140e9816140ad565b9050919050565b600067ffffffffffffffff82111561410b5761410a613b28565b5b602082029050602081019050919050565b600080fd5b6000815190506141308161376d565b92915050565b6000614149614144846140f0565b613b88565b9050808382526020820190506020840283018581111561416c5761416b61411c565b5b835b8181101561419557806141818882614121565b84526020840193505060208101905061416e565b5050509392505050565b600082601f8301126141b4576141b3613b1e565b5b81516141c4848260208601614136565b91505092915050565b6000602082840312156141e3576141e26135e3565b5b600082015167ffffffffffffffff811115614201576142006135e8565b5b61420d8482850161419f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061427f82613763565b9150600082141561429357614292614245565b5b600182039050919050565b60006142a982613763565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142dc576142db614245565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006143436031836136b3565b915061434e826142e7565b604082019050919050565b6000602082019050818103600083015261437281614336565b9050919050565b600061438482613763565b915061438f83613763565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143c8576143c7614245565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061440d82613763565b915061441883613763565b925082614428576144276143d3565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061448f602b836136b3565b915061449a82614433565b604082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614521602c836136b3565b915061452c826144c5565b604082019050919050565b6000602082019050818103600083015261455081614514565b9050919050565b60006020828403121561456d5761456c6135e3565b5b600061457b84828501614121565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006145e06029836136b3565b91506145eb82614584565b604082019050919050565b6000602082019050818103600083015261460f816145d3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614672602a836136b3565b915061467d82614616565b604082019050919050565b600060208201905081810360008301526146a181614665565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006146de6019836136b3565b91506146e9826146a8565b602082019050919050565b6000602082019050818103600083015261470d816146d1565b9050919050565b7f546f6b656e206d696e74207768696c6520706175736564000000000000000000600082015250565b600061474a6017836136b3565b915061475582614714565b602082019050919050565b600060208201905081810360008301526147798161473d565b9050919050565b7f546f6b656e206d696e74696e6720697320706175736564000000000000000000600082015250565b60006147b66017836136b3565b91506147c182614780565b602082019050919050565b600060208201905081810360008301526147e5816147a9565b9050919050565b6000815190506147fb81613893565b92915050565b600060208284031215614817576148166135e3565b5b6000614825848285016147ec565b91505092915050565b7f546f6b656e20776173206d696e74656400000000000000000000000000000000600082015250565b60006148646010836136b3565b915061486f8261482e565b602082019050919050565b6000602082019050818103600083015261489381614857565b9050919050565b7f4e6f742074686520746f6b656e206f776e657200000000000000000000000000600082015250565b60006148d06013836136b3565b91506148db8261489a565b602082019050919050565b600060208201905081810360008301526148ff816148c3565b9050919050565b7f4c696d6974206578636565640000000000000000000000000000000000000000600082015250565b600061493c600c836136b3565b915061494782614906565b602082019050919050565b6000602082019050818103600083015261496b8161492f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149ce6026836136b3565b91506149d982614972565b604082019050919050565b600060208201905081810360008301526149fd816149c1565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614a3a6010836136b3565b9150614a4582614a04565b602082019050919050565b60006020820190508181036000830152614a6981614a2d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614aa66014836136b3565b9150614ab182614a70565b602082019050919050565b60006020820190508181036000830152614ad581614a99565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b38602c836136b3565b9150614b4382614adc565b604082019050919050565b60006020820190508181036000830152614b6781614b2b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614bca6029836136b3565b9150614bd582614b6e565b604082019050919050565b60006020820190508181036000830152614bf981614bbd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c5c6024836136b3565b9150614c6782614c00565b604082019050919050565b60006020820190508181036000830152614c8b81614c4f565b9050919050565b6000614c9d82613763565b9150614ca883613763565b925082821015614cbb57614cba614245565b5b828203905092915050565b6000614cd182613763565b9150614cdc83613763565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d1157614d10614245565b5b828201905092915050565b600081905092915050565b6000614d32826136a8565b614d3c8185614d1c565b9350614d4c8185602086016136c4565b80840191505092915050565b6000614d648285614d27565b9150614d708284614d27565b91508190509392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614dd86032836136b3565b9150614de382614d7c565b604082019050919050565b60006020820190508181036000830152614e0781614dcb565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614e6a6031836136b3565b9150614e7582614e0e565b604082019050919050565b60006020820190508181036000830152614e9981614e5d565b9050919050565b6000614eab82613763565b9150614eb683613763565b925082614ec657614ec56143d3565b5b828206905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614f2d602e836136b3565b9150614f3882614ed1565b604082019050919050565b60006020820190508181036000830152614f5c81614f20565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f8a82614f63565b614f948185614f6e565b9350614fa48185602086016136c4565b614fad816136f7565b840191505092915050565b6000608082019050614fcd60008301876137f8565b614fda60208301866137f8565b614fe76040830185613a38565b8181036060830152614ff98184614f7f565b905095945050505050565b60008151905061501381613619565b92915050565b60006020828403121561502f5761502e6135e3565b5b600061503d84828501615004565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006150a2602f836136b3565b91506150ad82615046565b604082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000615134602b836136b3565b915061513f826150d8565b604082019050919050565b6000602082019050818103600083015261516381615127565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151a06020836136b3565b91506151ab8261516a565b602082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061520c601c836136b3565b9150615217826151d6565b602082019050919050565b6000602082019050818103600083015261523b816151ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220342413467caa4aa8cc568358b08f07be36cdf76fdb528ea47380a5343d8fbfbd64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000008a1bbef259b00ced668a8c69e50d92619c672176000000000000000000000000000000000000000000000000000000000000000f486162626f20506f72747261697473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054841504650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f706f727472616974732f6d657461646174612f00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Habbo Portraits
Arg [1] : token (string): HAPFP
Arg [2] : baseTokenURI (string): https://nft-tokens.habbo.com/portraits/metadata/
Arg [3] : avatarContractAddr (address): 0x8a1BbEf259B00cEd668A8c69e50D92619C672176
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000008a1bbef259b00ced668a8c69e50d92619c672176
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 486162626f20506f727472616974730000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4841504650000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [9] : 68747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f706f72
Arg [10] : 7472616974732f6d657461646174612f00000000000000000000000000000000
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.