ERC-721
Overview
Max Total Supply
1,970 KFA
Holders
478
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 KFALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KungFuApes
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)
// SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/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/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/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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/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/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/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/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/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/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/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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/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/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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity >=0.7.0 <0.9.0; contract KungFuApes is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 0.035 ether; uint256 public maxSupply = 5000; uint256 public maxMintAmount = 10; uint256 public nftPerAddressLimit = 5; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; address[] public whitelistedAddresses; mapping(address => uint256) public addressMintedBalance; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri ) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { require(!paused, "the contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(_mintAmount <= maxMintAmount, "max mint amount per session exceeded"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { if(onlyWhitelisted == true) { require(isWhitelisted(msg.sender), "user is not whitelisted"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); } require(msg.value >= cost * _mintAmount, "insufficient funds"); } for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function isWhitelisted(address _user) public view returns (bool) { for (uint i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } return false; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } //only owner function reveal() public onlyOwner() { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner() { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner() { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function whitelistUsers(address[] calldata _users) public onlyOwner { delete whitelistedAddresses; whitelistedAddresses = _users; } function withdraw() public payable onlyOwner { (bool a, ) = payable(0xdB196A3E115FCCD9485AAcC81918fc3d6605451F).call{value: address(this).balance * 50 / 100}(""); require(a); (bool b, ) = payable(0xc7813203FbdF686f53d3Ad7DF071D7437db5A474).call{value: address(this).balance}(""); require(b); } }
{ "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
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908051906020019062000051929190620003c1565b50667c585087238000600e55611388600f55600a60105560056011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506001601260026101000a81548160ff021916908315150217905550348015620000cb57600080fd5b50604051620058f6380380620058f68339818101604052810190620000f19190620004ef565b838381600090805190602001906200010b929190620003c1565b50806001908051906020019062000124929190620003c1565b505050620001476200013b6200017360201b60201c565b6200017b60201b60201c565b62000158826200024160201b60201c565b6200016981620002ec60201b60201c565b50505050620007e4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002516200017360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002776200039760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002d0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c79062000604565b60405180910390fd5b80600b9080519060200190620002e8929190620003c1565b5050565b620002fc6200017360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003226200039760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200037b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003729062000604565b60405180910390fd5b80600d908051906020019062000393929190620003c1565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003cf90620006cc565b90600052602060002090601f016020900481019282620003f357600085556200043f565b82601f106200040e57805160ff19168380011785556200043f565b828001600101855582156200043f579182015b828111156200043e57825182559160200191906001019062000421565b5b5090506200044e919062000452565b5090565b5b808211156200046d57600081600090555060010162000453565b5090565b60006200048862000482846200064f565b62000626565b905082815260208101848484011115620004a757620004a66200079b565b5b620004b484828562000696565b509392505050565b600082601f830112620004d457620004d362000796565b5b8151620004e684826020860162000471565b91505092915050565b600080600080608085870312156200050c576200050b620007a5565b5b600085015167ffffffffffffffff8111156200052d576200052c620007a0565b5b6200053b87828801620004bc565b945050602085015167ffffffffffffffff8111156200055f576200055e620007a0565b5b6200056d87828801620004bc565b935050604085015167ffffffffffffffff811115620005915762000590620007a0565b5b6200059f87828801620004bc565b925050606085015167ffffffffffffffff811115620005c357620005c2620007a0565b5b620005d187828801620004bc565b91505092959194509250565b6000620005ec60208362000685565b9150620005f982620007bb565b602082019050919050565b600060208201905081810360008301526200061f81620005dd565b9050919050565b60006200063262000645565b905062000640828262000702565b919050565b6000604051905090565b600067ffffffffffffffff8211156200066d576200066c62000767565b5b6200067882620007aa565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620006b657808201518184015260208101905062000699565b83811115620006c6576000848401525b50505050565b60006002820490506001821680620006e557607f821691505b60208210811415620006fc57620006fb62000738565b5b50919050565b6200070d82620007aa565b810181811067ffffffffffffffff821117156200072f576200072e62000767565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61510280620007f46000396000f3fe6080604052600436106102725760003560e01c80636352211e1161014f578063b88d4fde116100c1578063d5abeb011161007a578063d5abeb011461095c578063da3ef23f14610987578063e985e9c5146109b0578063edec5f27146109ed578063f2c4ce1e14610a16578063f2fde38b14610a3f57610272565b8063b88d4fde1461083a578063ba4e5c4914610863578063ba7d2c76146108a0578063c6682862146108cb578063c87b56dd146108f6578063d0eb26b01461093357610272565b80638da5cb5b116101135780638da5cb5b1461075d57806395d89b41146107885780639c70b512146107b3578063a0712d68146107de578063a22cb465146107fa578063a475b5dd1461082357610272565b80636352211e146106785780636c0360eb146106b557806370a08231146106e0578063715018a61461071d5780637f00c7a61461073457610272565b80632f745c59116101e8578063438b6300116101ac578063438b63001461055657806344a0d68a146105935780634f6ccce7146105bc57806351830227146105f957806355f804b3146106245780635c975abb1461064d57610272565b80632f745c59146104805780633af32abf146104bd5780633c952764146104fa5780633ccfd60b1461052357806342842e0e1461052d57610272565b8063095ea7b31161023a578063095ea7b31461037057806313faede61461039957806318160ddd146103c457806318cae269146103ef578063239c70ae1461042c57806323b872dd1461045757610272565b806301ffc9a71461027757806302329a29146102b457806306fdde03146102dd578063081812fc14610308578063081c8c4414610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613aa5565b610a68565b6040516102ab91906141a6565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613a78565b610ae2565b005b3480156102e957600080fd5b506102f2610b7b565b6040516102ff91906141c1565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613b48565b610c0d565b60405161033c919061411d565b60405180910390f35b34801561035157600080fd5b5061035a610c92565b60405161036791906141c1565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906139eb565b610d20565b005b3480156103a557600080fd5b506103ae610e38565b6040516103bb9190614503565b60405180910390f35b3480156103d057600080fd5b506103d9610e3e565b6040516103e69190614503565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613868565b610e4b565b6040516104239190614503565b60405180910390f35b34801561043857600080fd5b50610441610e63565b60405161044e9190614503565b60405180910390f35b34801561046357600080fd5b5061047e600480360381019061047991906138d5565b610e69565b005b34801561048c57600080fd5b506104a760048036038101906104a291906139eb565b610ec9565b6040516104b49190614503565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df9190613868565b610f6e565b6040516104f191906141a6565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613a78565b61101d565b005b61052b6110b6565b005b34801561053957600080fd5b50610554600480360381019061054f91906138d5565b611262565b005b34801561056257600080fd5b5061057d60048036038101906105789190613868565b611282565b60405161058a9190614184565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190613b48565b611330565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613b48565b6113b6565b6040516105f09190614503565b60405180910390f35b34801561060557600080fd5b5061060e611427565b60405161061b91906141a6565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613aff565b61143a565b005b34801561065957600080fd5b506106626114d0565b60405161066f91906141a6565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a9190613b48565b6114e3565b6040516106ac919061411d565b60405180910390f35b3480156106c157600080fd5b506106ca611595565b6040516106d791906141c1565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190613868565b611623565b6040516107149190614503565b60405180910390f35b34801561072957600080fd5b506107326116db565b005b34801561074057600080fd5b5061075b60048036038101906107569190613b48565b611763565b005b34801561076957600080fd5b506107726117e9565b60405161077f919061411d565b60405180910390f35b34801561079457600080fd5b5061079d611813565b6040516107aa91906141c1565b60405180910390f35b3480156107bf57600080fd5b506107c86118a5565b6040516107d591906141a6565b60405180910390f35b6107f860048036038101906107f39190613b48565b6118b8565b005b34801561080657600080fd5b50610821600480360381019061081c91906139ab565b611c01565b005b34801561082f57600080fd5b50610838611d82565b005b34801561084657600080fd5b50610861600480360381019061085c9190613928565b611e1b565b005b34801561086f57600080fd5b5061088a60048036038101906108859190613b48565b611e7d565b604051610897919061411d565b60405180910390f35b3480156108ac57600080fd5b506108b5611ebc565b6040516108c29190614503565b60405180910390f35b3480156108d757600080fd5b506108e0611ec2565b6040516108ed91906141c1565b60405180910390f35b34801561090257600080fd5b5061091d60048036038101906109189190613b48565b611f50565b60405161092a91906141c1565b60405180910390f35b34801561093f57600080fd5b5061095a60048036038101906109559190613b48565b6120a9565b005b34801561096857600080fd5b5061097161212f565b60405161097e9190614503565b60405180910390f35b34801561099357600080fd5b506109ae60048036038101906109a99190613aff565b612135565b005b3480156109bc57600080fd5b506109d760048036038101906109d29190613895565b6121cb565b6040516109e491906141a6565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613a2b565b61225f565b005b348015610a2257600080fd5b50610a3d6004803603810190610a389190613aff565b6122ff565b005b348015610a4b57600080fd5b50610a666004803603810190610a619190613868565b612395565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610adb5750610ada8261248d565b5b9050919050565b610aea61256f565b73ffffffffffffffffffffffffffffffffffffffff16610b086117e9565b73ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b55906143c3565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b606060008054610b8a9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb69061480c565b8015610c035780601f10610bd857610100808354040283529160200191610c03565b820191906000526020600020905b815481529060010190602001808311610be657829003601f168201915b5050505050905090565b6000610c1882612577565b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906143a3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610c9f9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccb9061480c565b8015610d185780601f10610ced57610100808354040283529160200191610d18565b820191906000526020600020905b815481529060010190602001808311610cfb57829003601f168201915b505050505081565b6000610d2b826114e3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390614443565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dbb61256f565b73ffffffffffffffffffffffffffffffffffffffff161480610dea5750610de981610de461256f565b6121cb565b5b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906142e3565b60405180910390fd5b610e3383836125e3565b505050565b600e5481565b6000600880549050905090565b60146020528060005260406000206000915090505481565b60105481565b610e7a610e7461256f565b8261269c565b610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090614483565b60405180910390fd5b610ec483838361277a565b505050565b6000610ed483611623565b8210610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c906141e3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600090505b601380549050811015611012578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610fae57610fad6149a5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fff576001915050611018565b808061100a9061486f565b915050610f76565b50600090505b919050565b61102561256f565b73ffffffffffffffffffffffffffffffffffffffff166110436117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611090906143c3565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6110be61256f565b73ffffffffffffffffffffffffffffffffffffffff166110dc6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906143c3565b60405180910390fd5b600073db196a3e115fccd9485aacc81918fc3d6605451f73ffffffffffffffffffffffffffffffffffffffff16606460324761116e91906146c8565b6111789190614697565b60405161118490614108565b60006040518083038185875af1925050503d80600081146111c1576040519150601f19603f3d011682016040523d82523d6000602084013e6111c6565b606091505b50509050806111d457600080fd5b600073c7813203fbdf686f53d3ad7df071d7437db5a47473ffffffffffffffffffffffffffffffffffffffff164760405161120e90614108565b60006040518083038185875af1925050503d806000811461124b576040519150601f19603f3d011682016040523d82523d6000602084013e611250565b606091505b505090508061125e57600080fd5b5050565b61127d83838360405180602001604052806000815250611e1b565b505050565b6060600061128f83611623565b905060008167ffffffffffffffff8111156112ad576112ac6149d4565b5b6040519080825280602002602001820160405280156112db5781602001602082028036833780820191505090505b50905060005b82811015611325576112f38582610ec9565b828281518110611306576113056149a5565b5b602002602001018181525050808061131d9061486f565b9150506112e1565b508092505050919050565b61133861256f565b73ffffffffffffffffffffffffffffffffffffffff166113566117e9565b73ffffffffffffffffffffffffffffffffffffffff16146113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906143c3565b60405180910390fd5b80600e8190555050565b60006113c0610e3e565b8210611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f8906144a3565b60405180910390fd5b60088281548110611415576114146149a5565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b61144261256f565b73ffffffffffffffffffffffffffffffffffffffff166114606117e9565b73ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad906143c3565b60405180910390fd5b80600b90805190602001906114cc929190613565565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390614323565b60405180910390fd5b80915050919050565b600b80546115a29061480c565b80601f01602080910402602001604051908101604052809291908181526020018280546115ce9061480c565b801561161b5780601f106115f05761010080835404028352916020019161161b565b820191906000526020600020905b8154815290600101906020018083116115fe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90614303565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116e361256f565b73ffffffffffffffffffffffffffffffffffffffff166117016117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174e906143c3565b60405180910390fd5b61176160006129d6565b565b61176b61256f565b73ffffffffffffffffffffffffffffffffffffffff166117896117e9565b73ffffffffffffffffffffffffffffffffffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906143c3565b60405180910390fd5b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118229061480c565b80601f016020809104026020016040519081016040528092919081815260200182805461184e9061480c565b801561189b5780601f106118705761010080835404028352916020019161189b565b820191906000526020600020905b81548152906001019060200180831161187e57829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b601260009054906101000a900460ff1615611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906143e3565b60405180910390fd5b6000611912610e3e565b905060008211611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e906144e3565b60405180910390fd5b60105482111561199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390614363565b60405180910390fd5b600f5482826119ab9190614641565b11156119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e390614343565b60405180910390fd5b6119f46117e9565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b715760011515601260029054906101000a900460ff1615151415611b2057611a4b33610f6e565b611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906144c3565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506011548382611add9190614641565b1115611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590614263565b60405180910390fd5b505b81600e54611b2e91906146c8565b341015611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790614463565b60405180910390fd5b5b6000600190505b828111611bfc57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611bcf9061486f565b9190505550611be9338284611be49190614641565b612a9c565b8080611bf49061486f565b915050611b78565b505050565b611c0961256f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e906142a3565b60405180910390fd5b8060056000611c8461256f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d3161256f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d7691906141a6565b60405180910390a35050565b611d8a61256f565b73ffffffffffffffffffffffffffffffffffffffff16611da86117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df5906143c3565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b611e2c611e2661256f565b8361269c565b611e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6290614483565b60405180910390fd5b611e7784848484612aba565b50505050565b60138181548110611e8d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c8054611ecf9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054611efb9061480c565b8015611f485780601f10611f1d57610100808354040283529160200191611f48565b820191906000526020600020905b815481529060010190602001808311611f2b57829003601f168201915b505050505081565b6060611f5b82612577565b611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9190614423565b60405180910390fd5b60001515601260019054906101000a900460ff161515141561204857600d8054611fc39061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054611fef9061480c565b801561203c5780601f106120115761010080835404028352916020019161203c565b820191906000526020600020905b81548152906001019060200180831161201f57829003601f168201915b505050505090506120a4565b6000612052612b16565b9050600081511161207257604051806020016040528060008152506120a0565b8061207c84612ba8565b600c604051602001612090939291906140d7565b6040516020818303038152906040525b9150505b919050565b6120b161256f565b73ffffffffffffffffffffffffffffffffffffffff166120cf6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c906143c3565b60405180910390fd5b8060118190555050565b600f5481565b61213d61256f565b73ffffffffffffffffffffffffffffffffffffffff1661215b6117e9565b73ffffffffffffffffffffffffffffffffffffffff16146121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a8906143c3565b60405180910390fd5b80600c90805190602001906121c7929190613565565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61226761256f565b73ffffffffffffffffffffffffffffffffffffffff166122856117e9565b73ffffffffffffffffffffffffffffffffffffffff16146122db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d2906143c3565b60405180910390fd5b601360006122e991906135eb565b8181601391906122fa92919061360c565b505050565b61230761256f565b73ffffffffffffffffffffffffffffffffffffffff166123256117e9565b73ffffffffffffffffffffffffffffffffffffffff161461237b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612372906143c3565b60405180910390fd5b80600d9080519060200190612391929190613565565b5050565b61239d61256f565b73ffffffffffffffffffffffffffffffffffffffff166123bb6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614612411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612408906143c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247890614223565b60405180910390fd5b61248a816129d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612568575061256782612d09565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612656836114e3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126a782612577565b6126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd906142c3565b60405180910390fd5b60006126f1836114e3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061276057508373ffffffffffffffffffffffffffffffffffffffff1661274884610c0d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612771575061277081856121cb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661279a826114e3565b73ffffffffffffffffffffffffffffffffffffffff16146127f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e790614403565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614283565b60405180910390fd5b61286b838383612d73565b6128766000826125e3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128c69190614722565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461291d9190614641565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ab6828260405180602001604052806000815250612e87565b5050565b612ac584848461277a565b612ad184848484612ee2565b612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790614203565b60405180910390fd5b50505050565b6060600b8054612b259061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054612b519061480c565b8015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b5050505050905090565b60606000821415612bf0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d04565b600082905060005b60008214612c22578080612c0b9061486f565b915050600a82612c1b9190614697565b9150612bf8565b60008167ffffffffffffffff811115612c3e57612c3d6149d4565b5b6040519080825280601f01601f191660200182016040528015612c705781602001600182028036833780820191505090505b5090505b60008514612cfd57600182612c899190614722565b9150600a85612c9891906148b8565b6030612ca49190614641565b60f81b818381518110612cba57612cb96149a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf69190614697565b9450612c74565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612d7e838383613079565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612dc157612dbc8161307e565b612e00565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dff57612dfe83826130c7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e4357612e3e81613234565b612e82565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e8157612e808282613305565b5b5b505050565b612e918383613384565b612e9e6000848484612ee2565b612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed490614203565b60405180910390fd5b505050565b6000612f038473ffffffffffffffffffffffffffffffffffffffff16613552565b1561306c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f2c61256f565b8786866040518563ffffffff1660e01b8152600401612f4e9493929190614138565b602060405180830381600087803b158015612f6857600080fd5b505af1925050508015612f9957506040513d601f19601f82011682018060405250810190612f969190613ad2565b60015b61301c573d8060008114612fc9576040519150601f19603f3d011682016040523d82523d6000602084013e612fce565b606091505b50600081511415613014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b90614203565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613071565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d484611623565b6130de9190614722565b90506000600760008481526020019081526020016000205490508181146131c3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132489190614722565b9050600060096000848152602001908152602001600020549050600060088381548110613278576132776149a5565b5b90600052602060002001549050806008838154811061329a576132996149a5565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132e9576132e8614976565b5b6001900381819060005260206000200160009055905550505050565b600061331083611623565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614383565b60405180910390fd5b6133fd81612577565b1561343d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343490614243565b60405180910390fd5b61344960008383612d73565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134999190614641565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546135719061480c565b90600052602060002090601f01602090048101928261359357600085556135da565b82601f106135ac57805160ff19168380011785556135da565b828001600101855582156135da579182015b828111156135d95782518255916020019190600101906135be565b5b5090506135e791906136ac565b5090565b508054600082559060005260206000209081019061360991906136ac565b50565b82805482825590600052602060002090810192821561369b579160200282015b8281111561369a57823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061362c565b5b5090506136a891906136ac565b5090565b5b808211156136c55760008160009055506001016136ad565b5090565b60006136dc6136d784614543565b61451e565b9050828152602081018484840111156136f8576136f7614a12565b5b6137038482856147ca565b509392505050565b600061371e61371984614574565b61451e565b90508281526020810184848401111561373a57613739614a12565b5b6137458482856147ca565b509392505050565b60008135905061375c81615070565b92915050565b60008083601f84011261377857613777614a08565b5b8235905067ffffffffffffffff81111561379557613794614a03565b5b6020830191508360208202830111156137b1576137b0614a0d565b5b9250929050565b6000813590506137c781615087565b92915050565b6000813590506137dc8161509e565b92915050565b6000815190506137f18161509e565b92915050565b600082601f83011261380c5761380b614a08565b5b813561381c8482602086016136c9565b91505092915050565b600082601f83011261383a57613839614a08565b5b813561384a84826020860161370b565b91505092915050565b600081359050613862816150b5565b92915050565b60006020828403121561387e5761387d614a1c565b5b600061388c8482850161374d565b91505092915050565b600080604083850312156138ac576138ab614a1c565b5b60006138ba8582860161374d565b92505060206138cb8582860161374d565b9150509250929050565b6000806000606084860312156138ee576138ed614a1c565b5b60006138fc8682870161374d565b935050602061390d8682870161374d565b925050604061391e86828701613853565b9150509250925092565b6000806000806080858703121561394257613941614a1c565b5b60006139508782880161374d565b94505060206139618782880161374d565b935050604061397287828801613853565b925050606085013567ffffffffffffffff81111561399357613992614a17565b5b61399f878288016137f7565b91505092959194509250565b600080604083850312156139c2576139c1614a1c565b5b60006139d08582860161374d565b92505060206139e1858286016137b8565b9150509250929050565b60008060408385031215613a0257613a01614a1c565b5b6000613a108582860161374d565b9250506020613a2185828601613853565b9150509250929050565b60008060208385031215613a4257613a41614a1c565b5b600083013567ffffffffffffffff811115613a6057613a5f614a17565b5b613a6c85828601613762565b92509250509250929050565b600060208284031215613a8e57613a8d614a1c565b5b6000613a9c848285016137b8565b91505092915050565b600060208284031215613abb57613aba614a1c565b5b6000613ac9848285016137cd565b91505092915050565b600060208284031215613ae857613ae7614a1c565b5b6000613af6848285016137e2565b91505092915050565b600060208284031215613b1557613b14614a1c565b5b600082013567ffffffffffffffff811115613b3357613b32614a17565b5b613b3f84828501613825565b91505092915050565b600060208284031215613b5e57613b5d614a1c565b5b6000613b6c84828501613853565b91505092915050565b6000613b8183836140b9565b60208301905092915050565b613b9681614756565b82525050565b6000613ba7826145ca565b613bb181856145f8565b9350613bbc836145a5565b8060005b83811015613bed578151613bd48882613b75565b9750613bdf836145eb565b925050600181019050613bc0565b5085935050505092915050565b613c0381614768565b82525050565b6000613c14826145d5565b613c1e8185614609565b9350613c2e8185602086016147d9565b613c3781614a21565b840191505092915050565b6000613c4d826145e0565b613c578185614625565b9350613c678185602086016147d9565b613c7081614a21565b840191505092915050565b6000613c86826145e0565b613c908185614636565b9350613ca08185602086016147d9565b80840191505092915050565b60008154613cb98161480c565b613cc38186614636565b94506001821660008114613cde5760018114613cef57613d22565b60ff19831686528186019350613d22565b613cf8856145b5565b60005b83811015613d1a57815481890152600182019150602081019050613cfb565b838801955050505b50505092915050565b6000613d38602b83614625565b9150613d4382614a32565b604082019050919050565b6000613d5b603283614625565b9150613d6682614a81565b604082019050919050565b6000613d7e602683614625565b9150613d8982614ad0565b604082019050919050565b6000613da1601c83614625565b9150613dac82614b1f565b602082019050919050565b6000613dc4601c83614625565b9150613dcf82614b48565b602082019050919050565b6000613de7602483614625565b9150613df282614b71565b604082019050919050565b6000613e0a601983614625565b9150613e1582614bc0565b602082019050919050565b6000613e2d602c83614625565b9150613e3882614be9565b604082019050919050565b6000613e50603883614625565b9150613e5b82614c38565b604082019050919050565b6000613e73602a83614625565b9150613e7e82614c87565b604082019050919050565b6000613e96602983614625565b9150613ea182614cd6565b604082019050919050565b6000613eb9601683614625565b9150613ec482614d25565b602082019050919050565b6000613edc602483614625565b9150613ee782614d4e565b604082019050919050565b6000613eff602083614625565b9150613f0a82614d9d565b602082019050919050565b6000613f22602c83614625565b9150613f2d82614dc6565b604082019050919050565b6000613f45602083614625565b9150613f5082614e15565b602082019050919050565b6000613f68601683614625565b9150613f7382614e3e565b602082019050919050565b6000613f8b602983614625565b9150613f9682614e67565b604082019050919050565b6000613fae602f83614625565b9150613fb982614eb6565b604082019050919050565b6000613fd1602183614625565b9150613fdc82614f05565b604082019050919050565b6000613ff460008361461a565b9150613fff82614f54565b600082019050919050565b6000614017601283614625565b915061402282614f57565b602082019050919050565b600061403a603183614625565b915061404582614f80565b604082019050919050565b600061405d602c83614625565b915061406882614fcf565b604082019050919050565b6000614080601783614625565b915061408b8261501e565b602082019050919050565b60006140a3601b83614625565b91506140ae82615047565b602082019050919050565b6140c2816147c0565b82525050565b6140d1816147c0565b82525050565b60006140e38286613c7b565b91506140ef8285613c7b565b91506140fb8284613cac565b9150819050949350505050565b600061411382613fe7565b9150819050919050565b60006020820190506141326000830184613b8d565b92915050565b600060808201905061414d6000830187613b8d565b61415a6020830186613b8d565b61416760408301856140c8565b81810360608301526141798184613c09565b905095945050505050565b6000602082019050818103600083015261419e8184613b9c565b905092915050565b60006020820190506141bb6000830184613bfa565b92915050565b600060208201905081810360008301526141db8184613c42565b905092915050565b600060208201905081810360008301526141fc81613d2b565b9050919050565b6000602082019050818103600083015261421c81613d4e565b9050919050565b6000602082019050818103600083015261423c81613d71565b9050919050565b6000602082019050818103600083015261425c81613d94565b9050919050565b6000602082019050818103600083015261427c81613db7565b9050919050565b6000602082019050818103600083015261429c81613dda565b9050919050565b600060208201905081810360008301526142bc81613dfd565b9050919050565b600060208201905081810360008301526142dc81613e20565b9050919050565b600060208201905081810360008301526142fc81613e43565b9050919050565b6000602082019050818103600083015261431c81613e66565b9050919050565b6000602082019050818103600083015261433c81613e89565b9050919050565b6000602082019050818103600083015261435c81613eac565b9050919050565b6000602082019050818103600083015261437c81613ecf565b9050919050565b6000602082019050818103600083015261439c81613ef2565b9050919050565b600060208201905081810360008301526143bc81613f15565b9050919050565b600060208201905081810360008301526143dc81613f38565b9050919050565b600060208201905081810360008301526143fc81613f5b565b9050919050565b6000602082019050818103600083015261441c81613f7e565b9050919050565b6000602082019050818103600083015261443c81613fa1565b9050919050565b6000602082019050818103600083015261445c81613fc4565b9050919050565b6000602082019050818103600083015261447c8161400a565b9050919050565b6000602082019050818103600083015261449c8161402d565b9050919050565b600060208201905081810360008301526144bc81614050565b9050919050565b600060208201905081810360008301526144dc81614073565b9050919050565b600060208201905081810360008301526144fc81614096565b9050919050565b600060208201905061451860008301846140c8565b92915050565b6000614528614539565b9050614534828261483e565b919050565b6000604051905090565b600067ffffffffffffffff82111561455e5761455d6149d4565b5b61456782614a21565b9050602081019050919050565b600067ffffffffffffffff82111561458f5761458e6149d4565b5b61459882614a21565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061464c826147c0565b9150614657836147c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561468c5761468b6148e9565b5b828201905092915050565b60006146a2826147c0565b91506146ad836147c0565b9250826146bd576146bc614918565b5b828204905092915050565b60006146d3826147c0565b91506146de836147c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614717576147166148e9565b5b828202905092915050565b600061472d826147c0565b9150614738836147c0565b92508282101561474b5761474a6148e9565b5b828203905092915050565b6000614761826147a0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147f75780820151818401526020810190506147dc565b83811115614806576000848401525b50505050565b6000600282049050600182168061482457607f821691505b6020821081141561483857614837614947565b5b50919050565b61484782614a21565b810181811067ffffffffffffffff82111715614866576148656149d4565b5b80604052505050565b600061487a826147c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ad576148ac6148e9565b5b600182019050919050565b60006148c3826147c0565b91506148ce836147c0565b9250826148de576148dd614918565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b61507981614756565b811461508457600080fd5b50565b61509081614768565b811461509b57600080fd5b50565b6150a781614774565b81146150b257600080fd5b50565b6150be816147c0565b81146150c957600080fd5b5056fea26469706673582212208131bddd0f94730613ec981cac42a343ce8e42f76489b22ded2b6dc1f25d196a64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000a4b756e674675417065730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b46410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6265734d795945446f57554439754d685871415871365948686e6834674c416e733338417953746d75346e532f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d506b50755a77426d6377654c42766d6d4546593366706a69765543683233746361535561684a4b745932426f3f707265766965773d31000000000000
Deployed Bytecode
0x6080604052600436106102725760003560e01c80636352211e1161014f578063b88d4fde116100c1578063d5abeb011161007a578063d5abeb011461095c578063da3ef23f14610987578063e985e9c5146109b0578063edec5f27146109ed578063f2c4ce1e14610a16578063f2fde38b14610a3f57610272565b8063b88d4fde1461083a578063ba4e5c4914610863578063ba7d2c76146108a0578063c6682862146108cb578063c87b56dd146108f6578063d0eb26b01461093357610272565b80638da5cb5b116101135780638da5cb5b1461075d57806395d89b41146107885780639c70b512146107b3578063a0712d68146107de578063a22cb465146107fa578063a475b5dd1461082357610272565b80636352211e146106785780636c0360eb146106b557806370a08231146106e0578063715018a61461071d5780637f00c7a61461073457610272565b80632f745c59116101e8578063438b6300116101ac578063438b63001461055657806344a0d68a146105935780634f6ccce7146105bc57806351830227146105f957806355f804b3146106245780635c975abb1461064d57610272565b80632f745c59146104805780633af32abf146104bd5780633c952764146104fa5780633ccfd60b1461052357806342842e0e1461052d57610272565b8063095ea7b31161023a578063095ea7b31461037057806313faede61461039957806318160ddd146103c457806318cae269146103ef578063239c70ae1461042c57806323b872dd1461045757610272565b806301ffc9a71461027757806302329a29146102b457806306fdde03146102dd578063081812fc14610308578063081c8c4414610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613aa5565b610a68565b6040516102ab91906141a6565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613a78565b610ae2565b005b3480156102e957600080fd5b506102f2610b7b565b6040516102ff91906141c1565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613b48565b610c0d565b60405161033c919061411d565b60405180910390f35b34801561035157600080fd5b5061035a610c92565b60405161036791906141c1565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906139eb565b610d20565b005b3480156103a557600080fd5b506103ae610e38565b6040516103bb9190614503565b60405180910390f35b3480156103d057600080fd5b506103d9610e3e565b6040516103e69190614503565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613868565b610e4b565b6040516104239190614503565b60405180910390f35b34801561043857600080fd5b50610441610e63565b60405161044e9190614503565b60405180910390f35b34801561046357600080fd5b5061047e600480360381019061047991906138d5565b610e69565b005b34801561048c57600080fd5b506104a760048036038101906104a291906139eb565b610ec9565b6040516104b49190614503565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df9190613868565b610f6e565b6040516104f191906141a6565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613a78565b61101d565b005b61052b6110b6565b005b34801561053957600080fd5b50610554600480360381019061054f91906138d5565b611262565b005b34801561056257600080fd5b5061057d60048036038101906105789190613868565b611282565b60405161058a9190614184565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190613b48565b611330565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613b48565b6113b6565b6040516105f09190614503565b60405180910390f35b34801561060557600080fd5b5061060e611427565b60405161061b91906141a6565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613aff565b61143a565b005b34801561065957600080fd5b506106626114d0565b60405161066f91906141a6565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a9190613b48565b6114e3565b6040516106ac919061411d565b60405180910390f35b3480156106c157600080fd5b506106ca611595565b6040516106d791906141c1565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190613868565b611623565b6040516107149190614503565b60405180910390f35b34801561072957600080fd5b506107326116db565b005b34801561074057600080fd5b5061075b60048036038101906107569190613b48565b611763565b005b34801561076957600080fd5b506107726117e9565b60405161077f919061411d565b60405180910390f35b34801561079457600080fd5b5061079d611813565b6040516107aa91906141c1565b60405180910390f35b3480156107bf57600080fd5b506107c86118a5565b6040516107d591906141a6565b60405180910390f35b6107f860048036038101906107f39190613b48565b6118b8565b005b34801561080657600080fd5b50610821600480360381019061081c91906139ab565b611c01565b005b34801561082f57600080fd5b50610838611d82565b005b34801561084657600080fd5b50610861600480360381019061085c9190613928565b611e1b565b005b34801561086f57600080fd5b5061088a60048036038101906108859190613b48565b611e7d565b604051610897919061411d565b60405180910390f35b3480156108ac57600080fd5b506108b5611ebc565b6040516108c29190614503565b60405180910390f35b3480156108d757600080fd5b506108e0611ec2565b6040516108ed91906141c1565b60405180910390f35b34801561090257600080fd5b5061091d60048036038101906109189190613b48565b611f50565b60405161092a91906141c1565b60405180910390f35b34801561093f57600080fd5b5061095a60048036038101906109559190613b48565b6120a9565b005b34801561096857600080fd5b5061097161212f565b60405161097e9190614503565b60405180910390f35b34801561099357600080fd5b506109ae60048036038101906109a99190613aff565b612135565b005b3480156109bc57600080fd5b506109d760048036038101906109d29190613895565b6121cb565b6040516109e491906141a6565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613a2b565b61225f565b005b348015610a2257600080fd5b50610a3d6004803603810190610a389190613aff565b6122ff565b005b348015610a4b57600080fd5b50610a666004803603810190610a619190613868565b612395565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610adb5750610ada8261248d565b5b9050919050565b610aea61256f565b73ffffffffffffffffffffffffffffffffffffffff16610b086117e9565b73ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b55906143c3565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b606060008054610b8a9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb69061480c565b8015610c035780601f10610bd857610100808354040283529160200191610c03565b820191906000526020600020905b815481529060010190602001808311610be657829003601f168201915b5050505050905090565b6000610c1882612577565b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906143a3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610c9f9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccb9061480c565b8015610d185780601f10610ced57610100808354040283529160200191610d18565b820191906000526020600020905b815481529060010190602001808311610cfb57829003601f168201915b505050505081565b6000610d2b826114e3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390614443565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dbb61256f565b73ffffffffffffffffffffffffffffffffffffffff161480610dea5750610de981610de461256f565b6121cb565b5b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906142e3565b60405180910390fd5b610e3383836125e3565b505050565b600e5481565b6000600880549050905090565b60146020528060005260406000206000915090505481565b60105481565b610e7a610e7461256f565b8261269c565b610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090614483565b60405180910390fd5b610ec483838361277a565b505050565b6000610ed483611623565b8210610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c906141e3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600090505b601380549050811015611012578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610fae57610fad6149a5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fff576001915050611018565b808061100a9061486f565b915050610f76565b50600090505b919050565b61102561256f565b73ffffffffffffffffffffffffffffffffffffffff166110436117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611090906143c3565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6110be61256f565b73ffffffffffffffffffffffffffffffffffffffff166110dc6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906143c3565b60405180910390fd5b600073db196a3e115fccd9485aacc81918fc3d6605451f73ffffffffffffffffffffffffffffffffffffffff16606460324761116e91906146c8565b6111789190614697565b60405161118490614108565b60006040518083038185875af1925050503d80600081146111c1576040519150601f19603f3d011682016040523d82523d6000602084013e6111c6565b606091505b50509050806111d457600080fd5b600073c7813203fbdf686f53d3ad7df071d7437db5a47473ffffffffffffffffffffffffffffffffffffffff164760405161120e90614108565b60006040518083038185875af1925050503d806000811461124b576040519150601f19603f3d011682016040523d82523d6000602084013e611250565b606091505b505090508061125e57600080fd5b5050565b61127d83838360405180602001604052806000815250611e1b565b505050565b6060600061128f83611623565b905060008167ffffffffffffffff8111156112ad576112ac6149d4565b5b6040519080825280602002602001820160405280156112db5781602001602082028036833780820191505090505b50905060005b82811015611325576112f38582610ec9565b828281518110611306576113056149a5565b5b602002602001018181525050808061131d9061486f565b9150506112e1565b508092505050919050565b61133861256f565b73ffffffffffffffffffffffffffffffffffffffff166113566117e9565b73ffffffffffffffffffffffffffffffffffffffff16146113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a3906143c3565b60405180910390fd5b80600e8190555050565b60006113c0610e3e565b8210611401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f8906144a3565b60405180910390fd5b60088281548110611415576114146149a5565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b61144261256f565b73ffffffffffffffffffffffffffffffffffffffff166114606117e9565b73ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad906143c3565b60405180910390fd5b80600b90805190602001906114cc929190613565565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390614323565b60405180910390fd5b80915050919050565b600b80546115a29061480c565b80601f01602080910402602001604051908101604052809291908181526020018280546115ce9061480c565b801561161b5780601f106115f05761010080835404028352916020019161161b565b820191906000526020600020905b8154815290600101906020018083116115fe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90614303565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116e361256f565b73ffffffffffffffffffffffffffffffffffffffff166117016117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174e906143c3565b60405180910390fd5b61176160006129d6565b565b61176b61256f565b73ffffffffffffffffffffffffffffffffffffffff166117896117e9565b73ffffffffffffffffffffffffffffffffffffffff16146117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906143c3565b60405180910390fd5b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118229061480c565b80601f016020809104026020016040519081016040528092919081815260200182805461184e9061480c565b801561189b5780601f106118705761010080835404028352916020019161189b565b820191906000526020600020905b81548152906001019060200180831161187e57829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b601260009054906101000a900460ff1615611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906143e3565b60405180910390fd5b6000611912610e3e565b905060008211611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e906144e3565b60405180910390fd5b60105482111561199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390614363565b60405180910390fd5b600f5482826119ab9190614641565b11156119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e390614343565b60405180910390fd5b6119f46117e9565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b715760011515601260029054906101000a900460ff1615151415611b2057611a4b33610f6e565b611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906144c3565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506011548382611add9190614641565b1115611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590614263565b60405180910390fd5b505b81600e54611b2e91906146c8565b341015611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790614463565b60405180910390fd5b5b6000600190505b828111611bfc57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611bcf9061486f565b9190505550611be9338284611be49190614641565b612a9c565b8080611bf49061486f565b915050611b78565b505050565b611c0961256f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e906142a3565b60405180910390fd5b8060056000611c8461256f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d3161256f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d7691906141a6565b60405180910390a35050565b611d8a61256f565b73ffffffffffffffffffffffffffffffffffffffff16611da86117e9565b73ffffffffffffffffffffffffffffffffffffffff1614611dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df5906143c3565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b611e2c611e2661256f565b8361269c565b611e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6290614483565b60405180910390fd5b611e7784848484612aba565b50505050565b60138181548110611e8d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c8054611ecf9061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054611efb9061480c565b8015611f485780601f10611f1d57610100808354040283529160200191611f48565b820191906000526020600020905b815481529060010190602001808311611f2b57829003601f168201915b505050505081565b6060611f5b82612577565b611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9190614423565b60405180910390fd5b60001515601260019054906101000a900460ff161515141561204857600d8054611fc39061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054611fef9061480c565b801561203c5780601f106120115761010080835404028352916020019161203c565b820191906000526020600020905b81548152906001019060200180831161201f57829003601f168201915b505050505090506120a4565b6000612052612b16565b9050600081511161207257604051806020016040528060008152506120a0565b8061207c84612ba8565b600c604051602001612090939291906140d7565b6040516020818303038152906040525b9150505b919050565b6120b161256f565b73ffffffffffffffffffffffffffffffffffffffff166120cf6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c906143c3565b60405180910390fd5b8060118190555050565b600f5481565b61213d61256f565b73ffffffffffffffffffffffffffffffffffffffff1661215b6117e9565b73ffffffffffffffffffffffffffffffffffffffff16146121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a8906143c3565b60405180910390fd5b80600c90805190602001906121c7929190613565565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61226761256f565b73ffffffffffffffffffffffffffffffffffffffff166122856117e9565b73ffffffffffffffffffffffffffffffffffffffff16146122db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d2906143c3565b60405180910390fd5b601360006122e991906135eb565b8181601391906122fa92919061360c565b505050565b61230761256f565b73ffffffffffffffffffffffffffffffffffffffff166123256117e9565b73ffffffffffffffffffffffffffffffffffffffff161461237b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612372906143c3565b60405180910390fd5b80600d9080519060200190612391929190613565565b5050565b61239d61256f565b73ffffffffffffffffffffffffffffffffffffffff166123bb6117e9565b73ffffffffffffffffffffffffffffffffffffffff1614612411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612408906143c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247890614223565b60405180910390fd5b61248a816129d6565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612568575061256782612d09565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612656836114e3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126a782612577565b6126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd906142c3565b60405180910390fd5b60006126f1836114e3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061276057508373ffffffffffffffffffffffffffffffffffffffff1661274884610c0d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612771575061277081856121cb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661279a826114e3565b73ffffffffffffffffffffffffffffffffffffffff16146127f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e790614403565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614283565b60405180910390fd5b61286b838383612d73565b6128766000826125e3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128c69190614722565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461291d9190614641565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ab6828260405180602001604052806000815250612e87565b5050565b612ac584848461277a565b612ad184848484612ee2565b612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790614203565b60405180910390fd5b50505050565b6060600b8054612b259061480c565b80601f0160208091040260200160405190810160405280929190818152602001828054612b519061480c565b8015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b5050505050905090565b60606000821415612bf0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d04565b600082905060005b60008214612c22578080612c0b9061486f565b915050600a82612c1b9190614697565b9150612bf8565b60008167ffffffffffffffff811115612c3e57612c3d6149d4565b5b6040519080825280601f01601f191660200182016040528015612c705781602001600182028036833780820191505090505b5090505b60008514612cfd57600182612c899190614722565b9150600a85612c9891906148b8565b6030612ca49190614641565b60f81b818381518110612cba57612cb96149a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf69190614697565b9450612c74565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612d7e838383613079565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612dc157612dbc8161307e565b612e00565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dff57612dfe83826130c7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e4357612e3e81613234565b612e82565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e8157612e808282613305565b5b5b505050565b612e918383613384565b612e9e6000848484612ee2565b612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed490614203565b60405180910390fd5b505050565b6000612f038473ffffffffffffffffffffffffffffffffffffffff16613552565b1561306c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f2c61256f565b8786866040518563ffffffff1660e01b8152600401612f4e9493929190614138565b602060405180830381600087803b158015612f6857600080fd5b505af1925050508015612f9957506040513d601f19601f82011682018060405250810190612f969190613ad2565b60015b61301c573d8060008114612fc9576040519150601f19603f3d011682016040523d82523d6000602084013e612fce565b606091505b50600081511415613014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b90614203565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613071565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d484611623565b6130de9190614722565b90506000600760008481526020019081526020016000205490508181146131c3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132489190614722565b9050600060096000848152602001908152602001600020549050600060088381548110613278576132776149a5565b5b90600052602060002001549050806008838154811061329a576132996149a5565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132e9576132e8614976565b5b6001900381819060005260206000200160009055905550505050565b600061331083611623565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614383565b60405180910390fd5b6133fd81612577565b1561343d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343490614243565b60405180910390fd5b61344960008383612d73565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134999190614641565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546135719061480c565b90600052602060002090601f01602090048101928261359357600085556135da565b82601f106135ac57805160ff19168380011785556135da565b828001600101855582156135da579182015b828111156135d95782518255916020019190600101906135be565b5b5090506135e791906136ac565b5090565b508054600082559060005260206000209081019061360991906136ac565b50565b82805482825590600052602060002090810192821561369b579160200282015b8281111561369a57823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061362c565b5b5090506136a891906136ac565b5090565b5b808211156136c55760008160009055506001016136ad565b5090565b60006136dc6136d784614543565b61451e565b9050828152602081018484840111156136f8576136f7614a12565b5b6137038482856147ca565b509392505050565b600061371e61371984614574565b61451e565b90508281526020810184848401111561373a57613739614a12565b5b6137458482856147ca565b509392505050565b60008135905061375c81615070565b92915050565b60008083601f84011261377857613777614a08565b5b8235905067ffffffffffffffff81111561379557613794614a03565b5b6020830191508360208202830111156137b1576137b0614a0d565b5b9250929050565b6000813590506137c781615087565b92915050565b6000813590506137dc8161509e565b92915050565b6000815190506137f18161509e565b92915050565b600082601f83011261380c5761380b614a08565b5b813561381c8482602086016136c9565b91505092915050565b600082601f83011261383a57613839614a08565b5b813561384a84826020860161370b565b91505092915050565b600081359050613862816150b5565b92915050565b60006020828403121561387e5761387d614a1c565b5b600061388c8482850161374d565b91505092915050565b600080604083850312156138ac576138ab614a1c565b5b60006138ba8582860161374d565b92505060206138cb8582860161374d565b9150509250929050565b6000806000606084860312156138ee576138ed614a1c565b5b60006138fc8682870161374d565b935050602061390d8682870161374d565b925050604061391e86828701613853565b9150509250925092565b6000806000806080858703121561394257613941614a1c565b5b60006139508782880161374d565b94505060206139618782880161374d565b935050604061397287828801613853565b925050606085013567ffffffffffffffff81111561399357613992614a17565b5b61399f878288016137f7565b91505092959194509250565b600080604083850312156139c2576139c1614a1c565b5b60006139d08582860161374d565b92505060206139e1858286016137b8565b9150509250929050565b60008060408385031215613a0257613a01614a1c565b5b6000613a108582860161374d565b9250506020613a2185828601613853565b9150509250929050565b60008060208385031215613a4257613a41614a1c565b5b600083013567ffffffffffffffff811115613a6057613a5f614a17565b5b613a6c85828601613762565b92509250509250929050565b600060208284031215613a8e57613a8d614a1c565b5b6000613a9c848285016137b8565b91505092915050565b600060208284031215613abb57613aba614a1c565b5b6000613ac9848285016137cd565b91505092915050565b600060208284031215613ae857613ae7614a1c565b5b6000613af6848285016137e2565b91505092915050565b600060208284031215613b1557613b14614a1c565b5b600082013567ffffffffffffffff811115613b3357613b32614a17565b5b613b3f84828501613825565b91505092915050565b600060208284031215613b5e57613b5d614a1c565b5b6000613b6c84828501613853565b91505092915050565b6000613b8183836140b9565b60208301905092915050565b613b9681614756565b82525050565b6000613ba7826145ca565b613bb181856145f8565b9350613bbc836145a5565b8060005b83811015613bed578151613bd48882613b75565b9750613bdf836145eb565b925050600181019050613bc0565b5085935050505092915050565b613c0381614768565b82525050565b6000613c14826145d5565b613c1e8185614609565b9350613c2e8185602086016147d9565b613c3781614a21565b840191505092915050565b6000613c4d826145e0565b613c578185614625565b9350613c678185602086016147d9565b613c7081614a21565b840191505092915050565b6000613c86826145e0565b613c908185614636565b9350613ca08185602086016147d9565b80840191505092915050565b60008154613cb98161480c565b613cc38186614636565b94506001821660008114613cde5760018114613cef57613d22565b60ff19831686528186019350613d22565b613cf8856145b5565b60005b83811015613d1a57815481890152600182019150602081019050613cfb565b838801955050505b50505092915050565b6000613d38602b83614625565b9150613d4382614a32565b604082019050919050565b6000613d5b603283614625565b9150613d6682614a81565b604082019050919050565b6000613d7e602683614625565b9150613d8982614ad0565b604082019050919050565b6000613da1601c83614625565b9150613dac82614b1f565b602082019050919050565b6000613dc4601c83614625565b9150613dcf82614b48565b602082019050919050565b6000613de7602483614625565b9150613df282614b71565b604082019050919050565b6000613e0a601983614625565b9150613e1582614bc0565b602082019050919050565b6000613e2d602c83614625565b9150613e3882614be9565b604082019050919050565b6000613e50603883614625565b9150613e5b82614c38565b604082019050919050565b6000613e73602a83614625565b9150613e7e82614c87565b604082019050919050565b6000613e96602983614625565b9150613ea182614cd6565b604082019050919050565b6000613eb9601683614625565b9150613ec482614d25565b602082019050919050565b6000613edc602483614625565b9150613ee782614d4e565b604082019050919050565b6000613eff602083614625565b9150613f0a82614d9d565b602082019050919050565b6000613f22602c83614625565b9150613f2d82614dc6565b604082019050919050565b6000613f45602083614625565b9150613f5082614e15565b602082019050919050565b6000613f68601683614625565b9150613f7382614e3e565b602082019050919050565b6000613f8b602983614625565b9150613f9682614e67565b604082019050919050565b6000613fae602f83614625565b9150613fb982614eb6565b604082019050919050565b6000613fd1602183614625565b9150613fdc82614f05565b604082019050919050565b6000613ff460008361461a565b9150613fff82614f54565b600082019050919050565b6000614017601283614625565b915061402282614f57565b602082019050919050565b600061403a603183614625565b915061404582614f80565b604082019050919050565b600061405d602c83614625565b915061406882614fcf565b604082019050919050565b6000614080601783614625565b915061408b8261501e565b602082019050919050565b60006140a3601b83614625565b91506140ae82615047565b602082019050919050565b6140c2816147c0565b82525050565b6140d1816147c0565b82525050565b60006140e38286613c7b565b91506140ef8285613c7b565b91506140fb8284613cac565b9150819050949350505050565b600061411382613fe7565b9150819050919050565b60006020820190506141326000830184613b8d565b92915050565b600060808201905061414d6000830187613b8d565b61415a6020830186613b8d565b61416760408301856140c8565b81810360608301526141798184613c09565b905095945050505050565b6000602082019050818103600083015261419e8184613b9c565b905092915050565b60006020820190506141bb6000830184613bfa565b92915050565b600060208201905081810360008301526141db8184613c42565b905092915050565b600060208201905081810360008301526141fc81613d2b565b9050919050565b6000602082019050818103600083015261421c81613d4e565b9050919050565b6000602082019050818103600083015261423c81613d71565b9050919050565b6000602082019050818103600083015261425c81613d94565b9050919050565b6000602082019050818103600083015261427c81613db7565b9050919050565b6000602082019050818103600083015261429c81613dda565b9050919050565b600060208201905081810360008301526142bc81613dfd565b9050919050565b600060208201905081810360008301526142dc81613e20565b9050919050565b600060208201905081810360008301526142fc81613e43565b9050919050565b6000602082019050818103600083015261431c81613e66565b9050919050565b6000602082019050818103600083015261433c81613e89565b9050919050565b6000602082019050818103600083015261435c81613eac565b9050919050565b6000602082019050818103600083015261437c81613ecf565b9050919050565b6000602082019050818103600083015261439c81613ef2565b9050919050565b600060208201905081810360008301526143bc81613f15565b9050919050565b600060208201905081810360008301526143dc81613f38565b9050919050565b600060208201905081810360008301526143fc81613f5b565b9050919050565b6000602082019050818103600083015261441c81613f7e565b9050919050565b6000602082019050818103600083015261443c81613fa1565b9050919050565b6000602082019050818103600083015261445c81613fc4565b9050919050565b6000602082019050818103600083015261447c8161400a565b9050919050565b6000602082019050818103600083015261449c8161402d565b9050919050565b600060208201905081810360008301526144bc81614050565b9050919050565b600060208201905081810360008301526144dc81614073565b9050919050565b600060208201905081810360008301526144fc81614096565b9050919050565b600060208201905061451860008301846140c8565b92915050565b6000614528614539565b9050614534828261483e565b919050565b6000604051905090565b600067ffffffffffffffff82111561455e5761455d6149d4565b5b61456782614a21565b9050602081019050919050565b600067ffffffffffffffff82111561458f5761458e6149d4565b5b61459882614a21565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061464c826147c0565b9150614657836147c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561468c5761468b6148e9565b5b828201905092915050565b60006146a2826147c0565b91506146ad836147c0565b9250826146bd576146bc614918565b5b828204905092915050565b60006146d3826147c0565b91506146de836147c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614717576147166148e9565b5b828202905092915050565b600061472d826147c0565b9150614738836147c0565b92508282101561474b5761474a6148e9565b5b828203905092915050565b6000614761826147a0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147f75780820151818401526020810190506147dc565b83811115614806576000848401525b50505050565b6000600282049050600182168061482457607f821691505b6020821081141561483857614837614947565b5b50919050565b61484782614a21565b810181811067ffffffffffffffff82111715614866576148656149d4565b5b80604052505050565b600061487a826147c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ad576148ac6148e9565b5b600182019050919050565b60006148c3826147c0565b91506148ce836147c0565b9250826148de576148dd614918565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b61507981614756565b811461508457600080fd5b50565b61509081614768565b811461509b57600080fd5b50565b6150a781614774565b81146150b257600080fd5b50565b6150be816147c0565b81146150c957600080fd5b5056fea26469706673582212208131bddd0f94730613ec981cac42a343ce8e42f76489b22ded2b6dc1f25d196a64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000a4b756e674675417065730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b46410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6265734d795945446f57554439754d685871415871365948686e6834674c416e733338417953746d75346e532f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d506b50755a77426d6377654c42766d6d4546593366706a69765543683233746361535561684a4b745932426f3f707265766965773d31000000000000
-----Decoded View---------------
Arg [0] : _name (string): KungFuApes
Arg [1] : _symbol (string): KFA
Arg [2] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmbesMyYEDoWUD9uMhXqAXq6YHhnh4gLAns38AyStmu4nS/
Arg [3] : _initNotRevealedUri (string): https://gateway.pinata.cloud/ipfs/QmPkPuZwBmcweLBvmmEFY3fpjivUCh23tcaSUahJKtY2Bo?preview=1
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4b756e6746754170657300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4b46410000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [9] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [10] : 732f516d6265734d795945446f57554439754d685871415871365948686e6834
Arg [11] : 674c416e733338417953746d75346e532f000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [13] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [14] : 732f516d506b50755a77426d6377654c42766d6d4546593366706a6976554368
Arg [15] : 3233746361535561684a4b745932426f3f707265766965773d31000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.