ERC-721
Overview
Max Total Supply
2,222 OPTPIG
Holders
1,120
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
QuixoticLaunchpadERC721
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Sources flattened with hardhat v2.8.4 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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(); } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File Contracts/LaunchpadNFT.sol pragma solidity ^0.8.1; contract QuixoticLaunchpadERC721 is ERC721("OptiPigs", "OPTPIG"), ERC721Enumerable, Ownable, ReentrancyGuard { string private _baseURIextended; string private _baseURISuffix = ""; bool public frozenMetadata = false; uint256 public MAX_TOKENS = 2222; bool public saleIsActive = false; bool public greenListSaleIsActive = false; mapping(address => uint256) addressToGreenListNumberMinted; mapping(address => uint256) addressToNumberMinted; address private bouncer = 0xd47257ee6cD0a80Ed1ba7bDdC722Ef8eE44a8d7d; bool private _baseUriIncludeTokenId = true; function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipGreenListSaleState() public onlyOwner { greenListSaleIsActive = !greenListSaleIsActive; } function setBaseURI(string memory baseURI_, bool includeTokenId, string memory suffix) external onlyOwner() { require(!frozenMetadata, "The metadata URI is frozen. You can no longer set the baseURI"); _baseUriIncludeTokenId = includeTokenId; _baseURIextended = baseURI_; _baseURISuffix = suffix; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function freezeMetadata() external onlyOwner { frozenMetadata = true; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); if (_baseUriIncludeTokenId) { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId), _baseURISuffix)) : ""; } else { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI)) : ""; } } function mintToken(uint numberOfTokens) public payable nonReentrant { require(tx.origin == _msgSender(), "This function is only callable from an EOA."); require(saleIsActive, "Sale must be active to mint Tokens"); require(numberOfTokens + addressToNumberMinted[_msgSender()] <= 2, "Exceeded max token purchase"); require(totalSupply() + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of tokens"); require(0 * numberOfTokens <= msg.value, "Ether value sent is not correct"); for (uint i = 0; i < numberOfTokens; i++) { uint mintIndex = totalSupply(); if (totalSupply() < MAX_TOKENS) { addressToNumberMinted[_msgSender()] += 1; _safeMint(_msgSender(), mintIndex); } } } function greenListMintToken(uint numberOfTokens, bytes memory signature) public payable nonReentrant { require(tx.origin == _msgSender(), "This function is only callable from an EOA."); require(greenListSaleIsActive, "Sale must be active to mint Tokens"); require(numberOfTokens + addressToGreenListNumberMinted[_msgSender()] <= 50, "Exceeded max token purchase"); require(totalSupply() + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of tokens"); require(0 * numberOfTokens <= msg.value, "Ether value sent is not correct"); bytes32 hashedMinter = ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(_msgSender()))); address recoveredBouncer = ECDSA.recover(hashedMinter, signature); require(recoveredBouncer == bouncer, "The signature for the greenlist is invalid"); for (uint i = 0; i < numberOfTokens; i++) { uint mintIndex = totalSupply(); if (totalSupply() < MAX_TOKENS) { addressToGreenListNumberMinted[_msgSender()] += 1; _safeMint(_msgSender(), mintIndex); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipGreenListSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozenMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"greenListMintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"greenListSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bool","name":"includeTokenId","type":"bool"},{"internalType":"string","name":"suffix","type":"string"}],"name":"setBaseURI","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":[],"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"}]
Contract Creation Code
608060405260405180602001604052806000815250600d90805190602001906200002b9291906200029d565b506000600e60006101000a81548160ff0219169083151502179055506108ae600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff02191690831515021790555073d47257ee6cd0a80ed1ba7bddc722ef8ee44a8d7d601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601360146101000a81548160ff0219169083151502179055503480156200010057600080fd5b506040518060400160405280600881526020017f4f707469506967730000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4f505450494700000000000000000000000000000000000000000000000000008152508160009080519060200190620001859291906200029d565b5080600190805190602001906200019e9291906200029d565b505050620001c1620001b5620001cf60201b60201c565b620001d760201b60201c565b6001600b81905550620003b2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ab906200034d565b90600052602060002090601f016020900481019282620002cf57600085556200031b565b82601f10620002ea57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031a578251825591602001919060010190620002fd565b5b5090506200032a91906200032e565b5090565b5b80821115620003495760008160009055506001016200032f565b5090565b600060028204905060018216806200036657607f821691505b602082108114156200037d576200037c62000383565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614fc380620003c26000396000f3fe6080604052600436106101c25760003560e01c8063715018a6116100f7578063c634d03211610095578063eb8d244411610064578063eb8d24441461061f578063f2fde38b1461064a578063f47c84c514610673578063f7f7bf7b1461069e576101c2565b8063c634d03214610572578063c87b56dd1461058e578063d111515d146105cb578063e985e9c5146105e2576101c2565b806393b15295116100d157806393b15295146104cc57806395d89b41146104f5578063a22cb46514610520578063b88d4fde14610549576101c2565b8063715018a61461045f5780638529ccad146104765780638da5cb5b146104a1576101c2565b80632da435f71161016457806342842e0e1161013e57806342842e0e1461037f5780634f6ccce7146103a85780636352211e146103e557806370a0823114610422576101c2565b80632da435f7146103145780632f745c591461032b57806334918dfd14610368576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632541865c146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190613542565b6106ba565b6040516101fb9190613d78565b60405180910390f35b34801561021057600080fd5b506102196106cc565b6040516102269190613dd8565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613627565b61075e565b6040516102639190613d11565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190613502565b6107e3565b005b3480156102a157600080fd5b506102aa6108fb565b6040516102b791906141ba565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906133ec565b610908565b005b3480156102f557600080fd5b506102fe610968565b60405161030b9190613d78565b60405180910390f35b34801561032057600080fd5b5061032961097b565b005b34801561033757600080fd5b50610352600480360381019061034d9190613502565b610a23565b60405161035f91906141ba565b60405180910390f35b34801561037457600080fd5b5061037d610ac8565b005b34801561038b57600080fd5b506103a660048036038101906103a191906133ec565b610b70565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190613627565b610b90565b6040516103dc91906141ba565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190613627565b610c01565b6040516104199190613d11565b60405180910390f35b34801561042e57600080fd5b506104496004803603810190610444919061337f565b610cb3565b60405161045691906141ba565b60405180910390f35b34801561046b57600080fd5b50610474610d6b565b005b34801561048257600080fd5b5061048b610df3565b6040516104989190613d78565b60405180910390f35b3480156104ad57600080fd5b506104b6610e06565b6040516104c39190613d11565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee919061359c565b610e30565b005b34801561050157600080fd5b5061050a610f49565b6040516105179190613dd8565b60405180910390f35b34801561052c57600080fd5b50610547600480360381019061054291906134c2565b610fdb565b005b34801561055557600080fd5b50610570600480360381019061056b919061343f565b610ff1565b005b61058c60048036038101906105879190613627565b611053565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613627565b611358565b6040516105c29190613dd8565b60405180910390f35b3480156105d757600080fd5b506105e061145f565b005b3480156105ee57600080fd5b50610609600480360381019061060491906133ac565b6114f8565b6040516106169190613d78565b60405180910390f35b34801561062b57600080fd5b5061063461158c565b6040516106419190613d78565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c919061337f565b61159f565b005b34801561067f57600080fd5b50610688611697565b60405161069591906141ba565b60405180910390f35b6106b860048036038101906106b39190613654565b61169d565b005b60006106c582611a7d565b9050919050565b6060600080546106db90614496565b80601f016020809104026020016040519081016040528092919081815260200182805461070790614496565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b5050505050905090565b600061076982611af7565b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f9061409a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ee82610c01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561085f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610856906140fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661087e611b63565b73ffffffffffffffffffffffffffffffffffffffff1614806108ad57506108ac816108a7611b63565b6114f8565b5b6108ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e390613fba565b60405180910390fd5b6108f68383611b6b565b505050565b6000600880549050905090565b610919610913611b63565b82611c24565b610958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094f9061413a565b60405180910390fd5b610963838383611d02565b505050565b601060019054906101000a900460ff1681565b610983611b63565b73ffffffffffffffffffffffffffffffffffffffff166109a1610e06565b73ffffffffffffffffffffffffffffffffffffffff16146109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee906140ba565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6000610a2e83610cb3565b8210610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690613e5a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ad0611b63565b73ffffffffffffffffffffffffffffffffffffffff16610aee610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b906140ba565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b610b8b83838360405180602001604052806000815250610ff1565b505050565b6000610b9a6108fb565b8210610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd29061415a565b60405180910390fd5b60088281548110610bef57610bee61468c565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca190613ffa565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613fda565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d73611b63565b73ffffffffffffffffffffffffffffffffffffffff16610d91610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906140ba565b60405180910390fd5b610df16000611f69565b565b600e60009054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e38611b63565b73ffffffffffffffffffffffffffffffffffffffff16610e56610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906140ba565b60405180910390fd5b600e60009054906101000a900460ff1615610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef39061407a565b60405180910390fd5b81601360146101000a81548160ff02191690831515021790555082600c9080519060200190610f2c929190613193565b5080600d9080519060200190610f43929190613193565b50505050565b606060018054610f5890614496565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8490614496565b8015610fd15780601f10610fa657610100808354040283529160200191610fd1565b820191906000526020600020905b815481529060010190602001808311610fb457829003601f168201915b5050505050905090565b610fed610fe6611b63565b838361202f565b5050565b611002610ffc611b63565b83611c24565b611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061413a565b60405180910390fd5b61104d8484848461219c565b50505050565b6002600b541415611099576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110909061419a565b60405180910390fd5b6002600b819055506110a9611b63565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110d90613e3a565b60405180910390fd5b601060009054906101000a900460ff16611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613f5a565b60405180910390fd5b600260126000611173611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111b991906142b4565b11156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f19061411a565b60405180910390fd5b600f54816112066108fb565b61121091906142b4565b1115611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061401a565b60405180910390fd5b3481600061125f919061433b565b11156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790613f3a565b60405180910390fd5b60005b8181101561134c5760006112b56108fb565b9050600f546112c26108fb565b1015611338576001601260006112d6611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131f91906142b4565b92505081905550611337611331611b63565b826121f8565b5b508080611344906144f9565b9150506112a3565b506001600b8190555050565b606061136382611af7565b6113a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611399906140da565b60405180910390fd5b60006113ac612216565b9050601360149054906101000a900460ff16156114175760008151116113e1576040518060200160405280600081525061140f565b806113eb846122a8565b600d6040516020016113ff93929190613cba565b6040516020818303038152906040525b91505061145a565b60008151116114355760405180602001604052806000815250611456565b806040516020016114469190613ca3565b6040516020818303038152906040525b9150505b919050565b611467611b63565b73ffffffffffffffffffffffffffffffffffffffff16611485610e06565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d2906140ba565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b6115a7611b63565b73ffffffffffffffffffffffffffffffffffffffff166115c5610e06565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611612906140ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613e9a565b60405180910390fd5b61169481611f69565b50565b600f5481565b6002600b5414156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da9061419a565b60405180910390fd5b6002600b819055506116f3611b63565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790613e3a565b60405180910390fd5b601060019054906101000a900460ff166117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690613f5a565b60405180910390fd5b6032601160006117bd611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361180391906142b4565b1115611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b9061411a565b60405180910390fd5b600f54826118506108fb565b61185a91906142b4565b111561189b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118929061401a565b60405180910390fd5b348260006118a9919061433b565b11156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190613f3a565b60405180910390fd5b60006119226118f7611b63565b6040516020016119079190613c88565b60405160208183030381529060405280519060200120612409565b905060006119308284612439565b9050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b99061417a565b60405180910390fd5b60005b84811015611a6e5760006119d76108fb565b9050600f546119e46108fb565b1015611a5a576001601160006119f8611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a4191906142b4565b92505081905550611a59611a53611b63565b826121f8565b5b508080611a66906144f9565b9150506119c5565b5050506001600b819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611af05750611aef82612460565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bde83610c01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c2f82611af7565b611c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6590613f9a565b60405180910390fd5b6000611c7983610c01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ce857508373ffffffffffffffffffffffffffffffffffffffff16611cd08461075e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611cf95750611cf881856114f8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d2282610c01565b73ffffffffffffffffffffffffffffffffffffffff1614611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613efa565b60405180910390fd5b611df3838383612542565b611dfe600082611b6b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4e9190614395565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ea591906142b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f64838383612552565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590613f1a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161218f9190613d78565b60405180910390a3505050565b6121a7848484611d02565b6121b384848484612557565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e990613e7a565b60405180910390fd5b50505050565b6122128282604051806020016040528060008152506126ee565b5050565b6060600c805461222590614496565b80601f016020809104026020016040519081016040528092919081815260200182805461225190614496565b801561229e5780601f106122735761010080835404028352916020019161229e565b820191906000526020600020905b81548152906001019060200180831161228157829003601f168201915b5050505050905090565b606060008214156122f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612404565b600082905060005b6000821461232257808061230b906144f9565b915050600a8261231b919061430a565b91506122f8565b60008167ffffffffffffffff81111561233e5761233d6146bb565b5b6040519080825280601f01601f1916602001820160405280156123705781602001600182028036833780820191505090505b5090505b600085146123fd576001826123899190614395565b9150600a856123989190614570565b60306123a491906142b4565b60f81b8183815181106123ba576123b961468c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123f6919061430a565b9450612374565b8093505050505b919050565b60008160405160200161241c9190613ceb565b604051602081830303815290604052805190602001209050919050565b60008060006124488585612749565b91509150612455816127cc565b819250505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061253b575061253a826129a1565b5b9050919050565b61254d838383612a0b565b505050565b505050565b60006125788473ffffffffffffffffffffffffffffffffffffffff16612b1f565b156126e1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125a1611b63565b8786866040518563ffffffff1660e01b81526004016125c39493929190613d2c565b602060405180830381600087803b1580156125dd57600080fd5b505af192505050801561260e57506040513d601f19601f8201168201806040525081019061260b919061356f565b60015b612691573d806000811461263e576040519150601f19603f3d011682016040523d82523d6000602084013e612643565b606091505b50600081511415612689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268090613e7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126e6565b600190505b949350505050565b6126f88383612b42565b6127056000848484612557565b612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90613e7a565b60405180910390fd5b505050565b60008060418351141561278b5760008060006020860151925060408601519150606086015160001a905061277f87828585612d1c565b945094505050506127c5565b6040835114156127bc5760008060208501519150604085015190506127b1868383612e29565b9350935050506127c5565b60006002915091505b9250929050565b600060048111156127e0576127df6145ff565b5b8160048111156127f3576127f26145ff565b5b14156127fe5761299e565b60016004811115612812576128116145ff565b5b816004811115612825576128246145ff565b5b1415612866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285d90613dfa565b60405180910390fd5b6002600481111561287a576128796145ff565b5b81600481111561288d5761288c6145ff565b5b14156128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590613e1a565b60405180910390fd5b600360048111156128e2576128e16145ff565b5b8160048111156128f5576128f46145ff565b5b1415612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d90613f7a565b60405180910390fd5b600480811115612949576129486145ff565b5b81600481111561295c5761295b6145ff565b5b141561299d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129949061403a565b60405180910390fd5b5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a16838383612e88565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a5957612a5481612e8d565b612a98565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a9757612a968382612ed6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adb57612ad681613043565b612b1a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b1957612b188282613114565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba99061405a565b60405180910390fd5b612bbb81611af7565b15612bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf290613eda565b60405180910390fd5b612c0760008383612542565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5791906142b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d1860008383612552565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d57576000600391509150612e20565b601b8560ff1614158015612d6f5750601c8560ff1614155b15612d81576000600491509150612e20565b600060018787878760405160008152602001604052604051612da69493929190613d93565b6020604051602081039080840390855afa158015612dc8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e1757600060019250925050612e20565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612e6c91906142b4565b9050612e7a87828885612d1c565b935093505050935093915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ee384610cb3565b612eed9190614395565b9050600060076000848152602001908152602001600020549050818114612fd2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130579190614395565b90506000600960008481526020019081526020016000205490506000600883815481106130875761308661468c565b5b9060005260206000200154905080600883815481106130a9576130a861468c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130f8576130f761465d565b5b6001900381819060005260206000200160009055905550505050565b600061311f83610cb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461319f90614496565b90600052602060002090601f0160209004810192826131c15760008555613208565b82601f106131da57805160ff1916838001178555613208565b82800160010185558215613208579182015b828111156132075782518255916020019190600101906131ec565b5b5090506132159190613219565b5090565b5b8082111561323257600081600090555060010161321a565b5090565b6000613249613244846141fa565b6141d5565b905082815260208101848484011115613265576132646146ef565b5b613270848285614454565b509392505050565b600061328b6132868461422b565b6141d5565b9050828152602081018484840111156132a7576132a66146ef565b5b6132b2848285614454565b509392505050565b6000813590506132c981614f31565b92915050565b6000813590506132de81614f48565b92915050565b6000813590506132f381614f5f565b92915050565b60008151905061330881614f5f565b92915050565b600082601f830112613323576133226146ea565b5b8135613333848260208601613236565b91505092915050565b600082601f830112613351576133506146ea565b5b8135613361848260208601613278565b91505092915050565b60008135905061337981614f76565b92915050565b600060208284031215613395576133946146f9565b5b60006133a3848285016132ba565b91505092915050565b600080604083850312156133c3576133c26146f9565b5b60006133d1858286016132ba565b92505060206133e2858286016132ba565b9150509250929050565b600080600060608486031215613405576134046146f9565b5b6000613413868287016132ba565b9350506020613424868287016132ba565b92505060406134358682870161336a565b9150509250925092565b60008060008060808587031215613459576134586146f9565b5b6000613467878288016132ba565b9450506020613478878288016132ba565b93505060406134898782880161336a565b925050606085013567ffffffffffffffff8111156134aa576134a96146f4565b5b6134b68782880161330e565b91505092959194509250565b600080604083850312156134d9576134d86146f9565b5b60006134e7858286016132ba565b92505060206134f8858286016132cf565b9150509250929050565b60008060408385031215613519576135186146f9565b5b6000613527858286016132ba565b92505060206135388582860161336a565b9150509250929050565b600060208284031215613558576135576146f9565b5b6000613566848285016132e4565b91505092915050565b600060208284031215613585576135846146f9565b5b6000613593848285016132f9565b91505092915050565b6000806000606084860312156135b5576135b46146f9565b5b600084013567ffffffffffffffff8111156135d3576135d26146f4565b5b6135df8682870161333c565b93505060206135f0868287016132cf565b925050604084013567ffffffffffffffff811115613611576136106146f4565b5b61361d8682870161333c565b9150509250925092565b60006020828403121561363d5761363c6146f9565b5b600061364b8482850161336a565b91505092915050565b6000806040838503121561366b5761366a6146f9565b5b60006136798582860161336a565b925050602083013567ffffffffffffffff81111561369a576136996146f4565b5b6136a68582860161330e565b9150509250929050565b6136b9816143c9565b82525050565b6136d06136cb826143c9565b614542565b82525050565b6136df816143db565b82525050565b6136ee816143e7565b82525050565b613705613700826143e7565b614554565b82525050565b600061371682614271565b6137208185614287565b9350613730818560208601614463565b613739816146fe565b840191505092915050565b600061374f8261427c565b6137598185614298565b9350613769818560208601614463565b613772816146fe565b840191505092915050565b60006137888261427c565b61379281856142a9565b93506137a2818560208601614463565b80840191505092915050565b600081546137bb81614496565b6137c581866142a9565b945060018216600081146137e057600181146137f157613824565b60ff19831686528186019350613824565b6137fa8561425c565b60005b8381101561381c578154818901526001820191506020810190506137fd565b838801955050505b50505092915050565b600061383a601883614298565b91506138458261471c565b602082019050919050565b600061385d601f83614298565b915061386882614745565b602082019050919050565b6000613880602b83614298565b915061388b8261476e565b604082019050919050565b60006138a3601c836142a9565b91506138ae826147bd565b601c82019050919050565b60006138c6602b83614298565b91506138d1826147e6565b604082019050919050565b60006138e9603283614298565b91506138f482614835565b604082019050919050565b600061390c602683614298565b915061391782614884565b604082019050919050565b600061392f602583614298565b915061393a826148d3565b604082019050919050565b6000613952601c83614298565b915061395d82614922565b602082019050919050565b6000613975602483614298565b91506139808261494b565b604082019050919050565b6000613998601983614298565b91506139a38261499a565b602082019050919050565b60006139bb601f83614298565b91506139c6826149c3565b602082019050919050565b60006139de602283614298565b91506139e9826149ec565b604082019050919050565b6000613a01602283614298565b9150613a0c82614a3b565b604082019050919050565b6000613a24602c83614298565b9150613a2f82614a8a565b604082019050919050565b6000613a47603883614298565b9150613a5282614ad9565b604082019050919050565b6000613a6a602a83614298565b9150613a7582614b28565b604082019050919050565b6000613a8d602983614298565b9150613a9882614b77565b604082019050919050565b6000613ab0602a83614298565b9150613abb82614bc6565b604082019050919050565b6000613ad3602283614298565b9150613ade82614c15565b604082019050919050565b6000613af6602083614298565b9150613b0182614c64565b602082019050919050565b6000613b19603d83614298565b9150613b2482614c8d565b604082019050919050565b6000613b3c602c83614298565b9150613b4782614cdc565b604082019050919050565b6000613b5f602083614298565b9150613b6a82614d2b565b602082019050919050565b6000613b82602f83614298565b9150613b8d82614d54565b604082019050919050565b6000613ba5602183614298565b9150613bb082614da3565b604082019050919050565b6000613bc8601b83614298565b9150613bd382614df2565b602082019050919050565b6000613beb603183614298565b9150613bf682614e1b565b604082019050919050565b6000613c0e602c83614298565b9150613c1982614e6a565b604082019050919050565b6000613c31602a83614298565b9150613c3c82614eb9565b604082019050919050565b6000613c54601f83614298565b9150613c5f82614f08565b602082019050919050565b613c738161443d565b82525050565b613c8281614447565b82525050565b6000613c9482846136bf565b60148201915081905092915050565b6000613caf828461377d565b915081905092915050565b6000613cc6828661377d565b9150613cd2828561377d565b9150613cde82846137ae565b9150819050949350505050565b6000613cf682613896565b9150613d0282846136f4565b60208201915081905092915050565b6000602082019050613d2660008301846136b0565b92915050565b6000608082019050613d4160008301876136b0565b613d4e60208301866136b0565b613d5b6040830185613c6a565b8181036060830152613d6d818461370b565b905095945050505050565b6000602082019050613d8d60008301846136d6565b92915050565b6000608082019050613da860008301876136e5565b613db56020830186613c79565b613dc260408301856136e5565b613dcf60608301846136e5565b95945050505050565b60006020820190508181036000830152613df28184613744565b905092915050565b60006020820190508181036000830152613e138161382d565b9050919050565b60006020820190508181036000830152613e3381613850565b9050919050565b60006020820190508181036000830152613e5381613873565b9050919050565b60006020820190508181036000830152613e73816138b9565b9050919050565b60006020820190508181036000830152613e93816138dc565b9050919050565b60006020820190508181036000830152613eb3816138ff565b9050919050565b60006020820190508181036000830152613ed381613922565b9050919050565b60006020820190508181036000830152613ef381613945565b9050919050565b60006020820190508181036000830152613f1381613968565b9050919050565b60006020820190508181036000830152613f338161398b565b9050919050565b60006020820190508181036000830152613f53816139ae565b9050919050565b60006020820190508181036000830152613f73816139d1565b9050919050565b60006020820190508181036000830152613f93816139f4565b9050919050565b60006020820190508181036000830152613fb381613a17565b9050919050565b60006020820190508181036000830152613fd381613a3a565b9050919050565b60006020820190508181036000830152613ff381613a5d565b9050919050565b6000602082019050818103600083015261401381613a80565b9050919050565b6000602082019050818103600083015261403381613aa3565b9050919050565b6000602082019050818103600083015261405381613ac6565b9050919050565b6000602082019050818103600083015261407381613ae9565b9050919050565b6000602082019050818103600083015261409381613b0c565b9050919050565b600060208201905081810360008301526140b381613b2f565b9050919050565b600060208201905081810360008301526140d381613b52565b9050919050565b600060208201905081810360008301526140f381613b75565b9050919050565b6000602082019050818103600083015261411381613b98565b9050919050565b6000602082019050818103600083015261413381613bbb565b9050919050565b6000602082019050818103600083015261415381613bde565b9050919050565b6000602082019050818103600083015261417381613c01565b9050919050565b6000602082019050818103600083015261419381613c24565b9050919050565b600060208201905081810360008301526141b381613c47565b9050919050565b60006020820190506141cf6000830184613c6a565b92915050565b60006141df6141f0565b90506141eb82826144c8565b919050565b6000604051905090565b600067ffffffffffffffff821115614215576142146146bb565b5b61421e826146fe565b9050602081019050919050565b600067ffffffffffffffff821115614246576142456146bb565b5b61424f826146fe565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006142bf8261443d565b91506142ca8361443d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ff576142fe6145a1565b5b828201905092915050565b60006143158261443d565b91506143208361443d565b9250826143305761432f6145d0565b5b828204905092915050565b60006143468261443d565b91506143518361443d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561438a576143896145a1565b5b828202905092915050565b60006143a08261443d565b91506143ab8361443d565b9250828210156143be576143bd6145a1565b5b828203905092915050565b60006143d48261441d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614481578082015181840152602081019050614466565b83811115614490576000848401525b50505050565b600060028204905060018216806144ae57607f821691505b602082108114156144c2576144c161462e565b5b50919050565b6144d1826146fe565b810181811067ffffffffffffffff821117156144f0576144ef6146bb565b5b80604052505050565b60006145048261443d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614537576145366145a1565b5b600182019050919050565b600061454d8261455e565b9050919050565b6000819050919050565b60006145698261470f565b9050919050565b600061457b8261443d565b91506145868361443d565b925082614596576145956145d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f546869732066756e6374696f6e206973206f6e6c792063616c6c61626c65206660008201527f726f6d20616e20454f412e000000000000000000000000000000000000000000602082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546865206d65746164617461205552492069732066726f7a656e2e20596f752060008201527f63616e206e6f206c6f6e67657220736574207468652062617365555249000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546865207369676e617475726520666f722074686520677265656e6c6973742060008201527f697320696e76616c696400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614f3a816143c9565b8114614f4557600080fd5b50565b614f51816143db565b8114614f5c57600080fd5b50565b614f68816143f1565b8114614f7357600080fd5b50565b614f7f8161443d565b8114614f8a57600080fd5b5056fea2646970667358221220a9e5afc8825f24492394ad2a1b6b1dbcadbd736bde513961752be49de480900864736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c8063715018a6116100f7578063c634d03211610095578063eb8d244411610064578063eb8d24441461061f578063f2fde38b1461064a578063f47c84c514610673578063f7f7bf7b1461069e576101c2565b8063c634d03214610572578063c87b56dd1461058e578063d111515d146105cb578063e985e9c5146105e2576101c2565b806393b15295116100d157806393b15295146104cc57806395d89b41146104f5578063a22cb46514610520578063b88d4fde14610549576101c2565b8063715018a61461045f5780638529ccad146104765780638da5cb5b146104a1576101c2565b80632da435f71161016457806342842e0e1161013e57806342842e0e1461037f5780634f6ccce7146103a85780636352211e146103e557806370a0823114610422576101c2565b80632da435f7146103145780632f745c591461032b57806334918dfd14610368576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c05780632541865c146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190613542565b6106ba565b6040516101fb9190613d78565b60405180910390f35b34801561021057600080fd5b506102196106cc565b6040516102269190613dd8565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613627565b61075e565b6040516102639190613d11565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190613502565b6107e3565b005b3480156102a157600080fd5b506102aa6108fb565b6040516102b791906141ba565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906133ec565b610908565b005b3480156102f557600080fd5b506102fe610968565b60405161030b9190613d78565b60405180910390f35b34801561032057600080fd5b5061032961097b565b005b34801561033757600080fd5b50610352600480360381019061034d9190613502565b610a23565b60405161035f91906141ba565b60405180910390f35b34801561037457600080fd5b5061037d610ac8565b005b34801561038b57600080fd5b506103a660048036038101906103a191906133ec565b610b70565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190613627565b610b90565b6040516103dc91906141ba565b60405180910390f35b3480156103f157600080fd5b5061040c60048036038101906104079190613627565b610c01565b6040516104199190613d11565b60405180910390f35b34801561042e57600080fd5b506104496004803603810190610444919061337f565b610cb3565b60405161045691906141ba565b60405180910390f35b34801561046b57600080fd5b50610474610d6b565b005b34801561048257600080fd5b5061048b610df3565b6040516104989190613d78565b60405180910390f35b3480156104ad57600080fd5b506104b6610e06565b6040516104c39190613d11565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee919061359c565b610e30565b005b34801561050157600080fd5b5061050a610f49565b6040516105179190613dd8565b60405180910390f35b34801561052c57600080fd5b50610547600480360381019061054291906134c2565b610fdb565b005b34801561055557600080fd5b50610570600480360381019061056b919061343f565b610ff1565b005b61058c60048036038101906105879190613627565b611053565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613627565b611358565b6040516105c29190613dd8565b60405180910390f35b3480156105d757600080fd5b506105e061145f565b005b3480156105ee57600080fd5b50610609600480360381019061060491906133ac565b6114f8565b6040516106169190613d78565b60405180910390f35b34801561062b57600080fd5b5061063461158c565b6040516106419190613d78565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c919061337f565b61159f565b005b34801561067f57600080fd5b50610688611697565b60405161069591906141ba565b60405180910390f35b6106b860048036038101906106b39190613654565b61169d565b005b60006106c582611a7d565b9050919050565b6060600080546106db90614496565b80601f016020809104026020016040519081016040528092919081815260200182805461070790614496565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b5050505050905090565b600061076982611af7565b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f9061409a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ee82610c01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561085f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610856906140fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661087e611b63565b73ffffffffffffffffffffffffffffffffffffffff1614806108ad57506108ac816108a7611b63565b6114f8565b5b6108ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e390613fba565b60405180910390fd5b6108f68383611b6b565b505050565b6000600880549050905090565b610919610913611b63565b82611c24565b610958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094f9061413a565b60405180910390fd5b610963838383611d02565b505050565b601060019054906101000a900460ff1681565b610983611b63565b73ffffffffffffffffffffffffffffffffffffffff166109a1610e06565b73ffffffffffffffffffffffffffffffffffffffff16146109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee906140ba565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6000610a2e83610cb3565b8210610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690613e5a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ad0611b63565b73ffffffffffffffffffffffffffffffffffffffff16610aee610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b906140ba565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b610b8b83838360405180602001604052806000815250610ff1565b505050565b6000610b9a6108fb565b8210610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd29061415a565b60405180910390fd5b60088281548110610bef57610bee61468c565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca190613ffa565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613fda565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d73611b63565b73ffffffffffffffffffffffffffffffffffffffff16610d91610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906140ba565b60405180910390fd5b610df16000611f69565b565b600e60009054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e38611b63565b73ffffffffffffffffffffffffffffffffffffffff16610e56610e06565b73ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906140ba565b60405180910390fd5b600e60009054906101000a900460ff1615610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef39061407a565b60405180910390fd5b81601360146101000a81548160ff02191690831515021790555082600c9080519060200190610f2c929190613193565b5080600d9080519060200190610f43929190613193565b50505050565b606060018054610f5890614496565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8490614496565b8015610fd15780601f10610fa657610100808354040283529160200191610fd1565b820191906000526020600020905b815481529060010190602001808311610fb457829003601f168201915b5050505050905090565b610fed610fe6611b63565b838361202f565b5050565b611002610ffc611b63565b83611c24565b611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061413a565b60405180910390fd5b61104d8484848461219c565b50505050565b6002600b541415611099576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110909061419a565b60405180910390fd5b6002600b819055506110a9611b63565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110d90613e3a565b60405180910390fd5b601060009054906101000a900460ff16611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613f5a565b60405180910390fd5b600260126000611173611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111b991906142b4565b11156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f19061411a565b60405180910390fd5b600f54816112066108fb565b61121091906142b4565b1115611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061401a565b60405180910390fd5b3481600061125f919061433b565b11156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790613f3a565b60405180910390fd5b60005b8181101561134c5760006112b56108fb565b9050600f546112c26108fb565b1015611338576001601260006112d6611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131f91906142b4565b92505081905550611337611331611b63565b826121f8565b5b508080611344906144f9565b9150506112a3565b506001600b8190555050565b606061136382611af7565b6113a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611399906140da565b60405180910390fd5b60006113ac612216565b9050601360149054906101000a900460ff16156114175760008151116113e1576040518060200160405280600081525061140f565b806113eb846122a8565b600d6040516020016113ff93929190613cba565b6040516020818303038152906040525b91505061145a565b60008151116114355760405180602001604052806000815250611456565b806040516020016114469190613ca3565b6040516020818303038152906040525b9150505b919050565b611467611b63565b73ffffffffffffffffffffffffffffffffffffffff16611485610e06565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d2906140ba565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b6115a7611b63565b73ffffffffffffffffffffffffffffffffffffffff166115c5610e06565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611612906140ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613e9a565b60405180910390fd5b61169481611f69565b50565b600f5481565b6002600b5414156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da9061419a565b60405180910390fd5b6002600b819055506116f3611b63565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790613e3a565b60405180910390fd5b601060019054906101000a900460ff166117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690613f5a565b60405180910390fd5b6032601160006117bd611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361180391906142b4565b1115611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b9061411a565b60405180910390fd5b600f54826118506108fb565b61185a91906142b4565b111561189b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118929061401a565b60405180910390fd5b348260006118a9919061433b565b11156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190613f3a565b60405180910390fd5b60006119226118f7611b63565b6040516020016119079190613c88565b60405160208183030381529060405280519060200120612409565b905060006119308284612439565b9050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b99061417a565b60405180910390fd5b60005b84811015611a6e5760006119d76108fb565b9050600f546119e46108fb565b1015611a5a576001601160006119f8611b63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a4191906142b4565b92505081905550611a59611a53611b63565b826121f8565b5b508080611a66906144f9565b9150506119c5565b5050506001600b819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611af05750611aef82612460565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bde83610c01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c2f82611af7565b611c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6590613f9a565b60405180910390fd5b6000611c7983610c01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ce857508373ffffffffffffffffffffffffffffffffffffffff16611cd08461075e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611cf95750611cf881856114f8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d2282610c01565b73ffffffffffffffffffffffffffffffffffffffff1614611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613efa565b60405180910390fd5b611df3838383612542565b611dfe600082611b6b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4e9190614395565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ea591906142b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f64838383612552565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590613f1a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161218f9190613d78565b60405180910390a3505050565b6121a7848484611d02565b6121b384848484612557565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e990613e7a565b60405180910390fd5b50505050565b6122128282604051806020016040528060008152506126ee565b5050565b6060600c805461222590614496565b80601f016020809104026020016040519081016040528092919081815260200182805461225190614496565b801561229e5780601f106122735761010080835404028352916020019161229e565b820191906000526020600020905b81548152906001019060200180831161228157829003601f168201915b5050505050905090565b606060008214156122f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612404565b600082905060005b6000821461232257808061230b906144f9565b915050600a8261231b919061430a565b91506122f8565b60008167ffffffffffffffff81111561233e5761233d6146bb565b5b6040519080825280601f01601f1916602001820160405280156123705781602001600182028036833780820191505090505b5090505b600085146123fd576001826123899190614395565b9150600a856123989190614570565b60306123a491906142b4565b60f81b8183815181106123ba576123b961468c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123f6919061430a565b9450612374565b8093505050505b919050565b60008160405160200161241c9190613ceb565b604051602081830303815290604052805190602001209050919050565b60008060006124488585612749565b91509150612455816127cc565b819250505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061253b575061253a826129a1565b5b9050919050565b61254d838383612a0b565b505050565b505050565b60006125788473ffffffffffffffffffffffffffffffffffffffff16612b1f565b156126e1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125a1611b63565b8786866040518563ffffffff1660e01b81526004016125c39493929190613d2c565b602060405180830381600087803b1580156125dd57600080fd5b505af192505050801561260e57506040513d601f19601f8201168201806040525081019061260b919061356f565b60015b612691573d806000811461263e576040519150601f19603f3d011682016040523d82523d6000602084013e612643565b606091505b50600081511415612689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268090613e7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126e6565b600190505b949350505050565b6126f88383612b42565b6127056000848484612557565b612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90613e7a565b60405180910390fd5b505050565b60008060418351141561278b5760008060006020860151925060408601519150606086015160001a905061277f87828585612d1c565b945094505050506127c5565b6040835114156127bc5760008060208501519150604085015190506127b1868383612e29565b9350935050506127c5565b60006002915091505b9250929050565b600060048111156127e0576127df6145ff565b5b8160048111156127f3576127f26145ff565b5b14156127fe5761299e565b60016004811115612812576128116145ff565b5b816004811115612825576128246145ff565b5b1415612866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285d90613dfa565b60405180910390fd5b6002600481111561287a576128796145ff565b5b81600481111561288d5761288c6145ff565b5b14156128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590613e1a565b60405180910390fd5b600360048111156128e2576128e16145ff565b5b8160048111156128f5576128f46145ff565b5b1415612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d90613f7a565b60405180910390fd5b600480811115612949576129486145ff565b5b81600481111561295c5761295b6145ff565b5b141561299d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129949061403a565b60405180910390fd5b5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a16838383612e88565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a5957612a5481612e8d565b612a98565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a9757612a968382612ed6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adb57612ad681613043565b612b1a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b1957612b188282613114565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba99061405a565b60405180910390fd5b612bbb81611af7565b15612bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf290613eda565b60405180910390fd5b612c0760008383612542565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5791906142b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d1860008383612552565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d57576000600391509150612e20565b601b8560ff1614158015612d6f5750601c8560ff1614155b15612d81576000600491509150612e20565b600060018787878760405160008152602001604052604051612da69493929190613d93565b6020604051602081039080840390855afa158015612dc8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e1757600060019250925050612e20565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612e6c91906142b4565b9050612e7a87828885612d1c565b935093505050935093915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ee384610cb3565b612eed9190614395565b9050600060076000848152602001908152602001600020549050818114612fd2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130579190614395565b90506000600960008481526020019081526020016000205490506000600883815481106130875761308661468c565b5b9060005260206000200154905080600883815481106130a9576130a861468c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130f8576130f761465d565b5b6001900381819060005260206000200160009055905550505050565b600061311f83610cb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461319f90614496565b90600052602060002090601f0160209004810192826131c15760008555613208565b82601f106131da57805160ff1916838001178555613208565b82800160010185558215613208579182015b828111156132075782518255916020019190600101906131ec565b5b5090506132159190613219565b5090565b5b8082111561323257600081600090555060010161321a565b5090565b6000613249613244846141fa565b6141d5565b905082815260208101848484011115613265576132646146ef565b5b613270848285614454565b509392505050565b600061328b6132868461422b565b6141d5565b9050828152602081018484840111156132a7576132a66146ef565b5b6132b2848285614454565b509392505050565b6000813590506132c981614f31565b92915050565b6000813590506132de81614f48565b92915050565b6000813590506132f381614f5f565b92915050565b60008151905061330881614f5f565b92915050565b600082601f830112613323576133226146ea565b5b8135613333848260208601613236565b91505092915050565b600082601f830112613351576133506146ea565b5b8135613361848260208601613278565b91505092915050565b60008135905061337981614f76565b92915050565b600060208284031215613395576133946146f9565b5b60006133a3848285016132ba565b91505092915050565b600080604083850312156133c3576133c26146f9565b5b60006133d1858286016132ba565b92505060206133e2858286016132ba565b9150509250929050565b600080600060608486031215613405576134046146f9565b5b6000613413868287016132ba565b9350506020613424868287016132ba565b92505060406134358682870161336a565b9150509250925092565b60008060008060808587031215613459576134586146f9565b5b6000613467878288016132ba565b9450506020613478878288016132ba565b93505060406134898782880161336a565b925050606085013567ffffffffffffffff8111156134aa576134a96146f4565b5b6134b68782880161330e565b91505092959194509250565b600080604083850312156134d9576134d86146f9565b5b60006134e7858286016132ba565b92505060206134f8858286016132cf565b9150509250929050565b60008060408385031215613519576135186146f9565b5b6000613527858286016132ba565b92505060206135388582860161336a565b9150509250929050565b600060208284031215613558576135576146f9565b5b6000613566848285016132e4565b91505092915050565b600060208284031215613585576135846146f9565b5b6000613593848285016132f9565b91505092915050565b6000806000606084860312156135b5576135b46146f9565b5b600084013567ffffffffffffffff8111156135d3576135d26146f4565b5b6135df8682870161333c565b93505060206135f0868287016132cf565b925050604084013567ffffffffffffffff811115613611576136106146f4565b5b61361d8682870161333c565b9150509250925092565b60006020828403121561363d5761363c6146f9565b5b600061364b8482850161336a565b91505092915050565b6000806040838503121561366b5761366a6146f9565b5b60006136798582860161336a565b925050602083013567ffffffffffffffff81111561369a576136996146f4565b5b6136a68582860161330e565b9150509250929050565b6136b9816143c9565b82525050565b6136d06136cb826143c9565b614542565b82525050565b6136df816143db565b82525050565b6136ee816143e7565b82525050565b613705613700826143e7565b614554565b82525050565b600061371682614271565b6137208185614287565b9350613730818560208601614463565b613739816146fe565b840191505092915050565b600061374f8261427c565b6137598185614298565b9350613769818560208601614463565b613772816146fe565b840191505092915050565b60006137888261427c565b61379281856142a9565b93506137a2818560208601614463565b80840191505092915050565b600081546137bb81614496565b6137c581866142a9565b945060018216600081146137e057600181146137f157613824565b60ff19831686528186019350613824565b6137fa8561425c565b60005b8381101561381c578154818901526001820191506020810190506137fd565b838801955050505b50505092915050565b600061383a601883614298565b91506138458261471c565b602082019050919050565b600061385d601f83614298565b915061386882614745565b602082019050919050565b6000613880602b83614298565b915061388b8261476e565b604082019050919050565b60006138a3601c836142a9565b91506138ae826147bd565b601c82019050919050565b60006138c6602b83614298565b91506138d1826147e6565b604082019050919050565b60006138e9603283614298565b91506138f482614835565b604082019050919050565b600061390c602683614298565b915061391782614884565b604082019050919050565b600061392f602583614298565b915061393a826148d3565b604082019050919050565b6000613952601c83614298565b915061395d82614922565b602082019050919050565b6000613975602483614298565b91506139808261494b565b604082019050919050565b6000613998601983614298565b91506139a38261499a565b602082019050919050565b60006139bb601f83614298565b91506139c6826149c3565b602082019050919050565b60006139de602283614298565b91506139e9826149ec565b604082019050919050565b6000613a01602283614298565b9150613a0c82614a3b565b604082019050919050565b6000613a24602c83614298565b9150613a2f82614a8a565b604082019050919050565b6000613a47603883614298565b9150613a5282614ad9565b604082019050919050565b6000613a6a602a83614298565b9150613a7582614b28565b604082019050919050565b6000613a8d602983614298565b9150613a9882614b77565b604082019050919050565b6000613ab0602a83614298565b9150613abb82614bc6565b604082019050919050565b6000613ad3602283614298565b9150613ade82614c15565b604082019050919050565b6000613af6602083614298565b9150613b0182614c64565b602082019050919050565b6000613b19603d83614298565b9150613b2482614c8d565b604082019050919050565b6000613b3c602c83614298565b9150613b4782614cdc565b604082019050919050565b6000613b5f602083614298565b9150613b6a82614d2b565b602082019050919050565b6000613b82602f83614298565b9150613b8d82614d54565b604082019050919050565b6000613ba5602183614298565b9150613bb082614da3565b604082019050919050565b6000613bc8601b83614298565b9150613bd382614df2565b602082019050919050565b6000613beb603183614298565b9150613bf682614e1b565b604082019050919050565b6000613c0e602c83614298565b9150613c1982614e6a565b604082019050919050565b6000613c31602a83614298565b9150613c3c82614eb9565b604082019050919050565b6000613c54601f83614298565b9150613c5f82614f08565b602082019050919050565b613c738161443d565b82525050565b613c8281614447565b82525050565b6000613c9482846136bf565b60148201915081905092915050565b6000613caf828461377d565b915081905092915050565b6000613cc6828661377d565b9150613cd2828561377d565b9150613cde82846137ae565b9150819050949350505050565b6000613cf682613896565b9150613d0282846136f4565b60208201915081905092915050565b6000602082019050613d2660008301846136b0565b92915050565b6000608082019050613d4160008301876136b0565b613d4e60208301866136b0565b613d5b6040830185613c6a565b8181036060830152613d6d818461370b565b905095945050505050565b6000602082019050613d8d60008301846136d6565b92915050565b6000608082019050613da860008301876136e5565b613db56020830186613c79565b613dc260408301856136e5565b613dcf60608301846136e5565b95945050505050565b60006020820190508181036000830152613df28184613744565b905092915050565b60006020820190508181036000830152613e138161382d565b9050919050565b60006020820190508181036000830152613e3381613850565b9050919050565b60006020820190508181036000830152613e5381613873565b9050919050565b60006020820190508181036000830152613e73816138b9565b9050919050565b60006020820190508181036000830152613e93816138dc565b9050919050565b60006020820190508181036000830152613eb3816138ff565b9050919050565b60006020820190508181036000830152613ed381613922565b9050919050565b60006020820190508181036000830152613ef381613945565b9050919050565b60006020820190508181036000830152613f1381613968565b9050919050565b60006020820190508181036000830152613f338161398b565b9050919050565b60006020820190508181036000830152613f53816139ae565b9050919050565b60006020820190508181036000830152613f73816139d1565b9050919050565b60006020820190508181036000830152613f93816139f4565b9050919050565b60006020820190508181036000830152613fb381613a17565b9050919050565b60006020820190508181036000830152613fd381613a3a565b9050919050565b60006020820190508181036000830152613ff381613a5d565b9050919050565b6000602082019050818103600083015261401381613a80565b9050919050565b6000602082019050818103600083015261403381613aa3565b9050919050565b6000602082019050818103600083015261405381613ac6565b9050919050565b6000602082019050818103600083015261407381613ae9565b9050919050565b6000602082019050818103600083015261409381613b0c565b9050919050565b600060208201905081810360008301526140b381613b2f565b9050919050565b600060208201905081810360008301526140d381613b52565b9050919050565b600060208201905081810360008301526140f381613b75565b9050919050565b6000602082019050818103600083015261411381613b98565b9050919050565b6000602082019050818103600083015261413381613bbb565b9050919050565b6000602082019050818103600083015261415381613bde565b9050919050565b6000602082019050818103600083015261417381613c01565b9050919050565b6000602082019050818103600083015261419381613c24565b9050919050565b600060208201905081810360008301526141b381613c47565b9050919050565b60006020820190506141cf6000830184613c6a565b92915050565b60006141df6141f0565b90506141eb82826144c8565b919050565b6000604051905090565b600067ffffffffffffffff821115614215576142146146bb565b5b61421e826146fe565b9050602081019050919050565b600067ffffffffffffffff821115614246576142456146bb565b5b61424f826146fe565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006142bf8261443d565b91506142ca8361443d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ff576142fe6145a1565b5b828201905092915050565b60006143158261443d565b91506143208361443d565b9250826143305761432f6145d0565b5b828204905092915050565b60006143468261443d565b91506143518361443d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561438a576143896145a1565b5b828202905092915050565b60006143a08261443d565b91506143ab8361443d565b9250828210156143be576143bd6145a1565b5b828203905092915050565b60006143d48261441d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614481578082015181840152602081019050614466565b83811115614490576000848401525b50505050565b600060028204905060018216806144ae57607f821691505b602082108114156144c2576144c161462e565b5b50919050565b6144d1826146fe565b810181811067ffffffffffffffff821117156144f0576144ef6146bb565b5b80604052505050565b60006145048261443d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614537576145366145a1565b5b600182019050919050565b600061454d8261455e565b9050919050565b6000819050919050565b60006145698261470f565b9050919050565b600061457b8261443d565b91506145868361443d565b925082614596576145956145d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f546869732066756e6374696f6e206973206f6e6c792063616c6c61626c65206660008201527f726f6d20616e20454f412e000000000000000000000000000000000000000000602082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546865206d65746164617461205552492069732066726f7a656e2e20596f752060008201527f63616e206e6f206c6f6e67657220736574207468652062617365555249000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546865207369676e617475726520666f722074686520677265656e6c6973742060008201527f697320696e76616c696400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614f3a816143c9565b8114614f4557600080fd5b50565b614f51816143db565b8114614f5c57600080fd5b50565b614f68816143f1565b8114614f7357600080fd5b50565b614f7f8161443d565b8114614f8a57600080fd5b5056fea2646970667358221220a9e5afc8825f24492394ad2a1b6b1dbcadbd736bde513961752be49de480900864736f6c63430008070033
[ 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.