ERC-721
Overview
Max Total Supply
159 PixelPOMNFT
Holders
42
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 PixelPOMNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelPOMNFT
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; interface IERC20 { function totalSupply() external view returns (uint _totalSupply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) external returns (bool success); function transferFrom(address _from, address _to, uint _value) external returns (bool success); function approve(address _spender, uint _value) external returns (bool success); function allowance(address _owner, address _spender) external view returns (uint remaining); event Transfer(address indexed _from, address indexed _to, uint _value); event Approval(address indexed _owner, address indexed _spender, uint _value); } interface IRouter { function WETH() external pure returns (address); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); } contract PixelPOMNFT is ERC721, ERC721Enumerable, Ownable { bool public saleIsActive = false; bool public isAllowListActive = false; address public tokenToHold; string private _baseURIextended; uint256 public MAX_SUPPLY = 50; uint256 public MAX_WL_SUPPLY = 50; uint256 public MAX_TX_MINT = 5; uint256 public MAX_PER_WALLET = 5; uint256 public PRICE_PER_TOKEN_PUBLIC_SALE = 0.03 ether; uint256 public PRICE_PER_TOKEN_PRE_SALE = 0.4 ether; uint256 public MIN_TOKEN_QTY_TO_HOLD = 250000 ether; mapping(address => bool) private _allowList; constructor(address _tokenToHold) ERC721("PixelPOM NFT", "PixelPOMNFT") { tokenToHold = _tokenToHold; } function setIsAllowListActive(bool _isAllowListActive) external onlyOwner { isAllowListActive = _isAllowListActive; } function setMinTokenQtyToHold(uint256 _MIN_TOKEN_QTY_TO_HOLD) external onlyOwner { MIN_TOKEN_QTY_TO_HOLD = _MIN_TOKEN_QTY_TO_HOLD; } function setAllowList(address[] calldata addresses, bool allowed) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _allowList[addresses[i]] = allowed; } } function isAllowedToMint(address addr) external view returns (bool) { return _allowList[addr]; } function mintAllowList(uint8 numberOfTokens) external payable { uint256 ts = totalSupply(); require(isAllowListActive, "Allow list is not active"); require(_allowList[msg.sender], "Address not allowed to purchase"); require(numberOfTokens <= MAX_TX_MINT, "Exceeded max token purchase"); require(ts + numberOfTokens <= MAX_WL_SUPPLY, "Purchase would exceed max tokens"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens"); require(balanceOf(msg.sender) + numberOfTokens <= MAX_PER_WALLET, "Max Per Wallet"); require(PRICE_PER_TOKEN_PRE_SALE * numberOfTokens <= msg.value, "Ether value sent is not correct"); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, ts + i); } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function reserve(uint256 n) public onlyOwner { uint supply = totalSupply(); uint i; for (i = 0; i < n; i++) { _safeMint(msg.sender, supply + i); } } function setSaleState(bool newState) public onlyOwner { saleIsActive = newState; } function setPrices(uint256 pPublic, uint256 pPresale) public onlyOwner { require(pPublic >= 0 && pPresale >= 0, "Prices should be higher or equal than zero."); PRICE_PER_TOKEN_PUBLIC_SALE = pPublic; PRICE_PER_TOKEN_PRE_SALE = pPresale; } function setLimits(uint256 mSupply, uint256 mWLSupply, uint256 mTx) public onlyOwner { require(mSupply >= totalSupply(), "MAX_SUPPLY should be higher or equal than total supply."); require(mWLSupply <= mSupply, "MAX_WL_SUPPLY should be less or equal than total supply."); require(mTx >= 0, "MAX_TX_MINT should be higher or equal than zero."); MAX_SUPPLY = mSupply; MAX_WL_SUPPLY = mWLSupply; MAX_TX_MINT = mTx; } function mint(uint numberOfTokens) public payable { uint256 ts = totalSupply(); require(saleIsActive, "Sale must be active to mint tokens"); require(numberOfTokens <= MAX_TX_MINT, "Exceeded max token purchase"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens"); require(balanceOf(msg.sender) + numberOfTokens <= MAX_PER_WALLET, "Max Per Wallet"); if (IERC20(tokenToHold).balanceOf(msg.sender) <= MIN_TOKEN_QTY_TO_HOLD) { require(PRICE_PER_TOKEN_PUBLIC_SALE * numberOfTokens <= msg.value, "Ether value sent is not correct"); } for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, ts + i); } } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenToHold","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_TOKEN_QTY_TO_HOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN_PRE_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN_PUBLIC_SALE","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isAllowedToMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setAllowList","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowListActive","type":"bool"}],"name":"setIsAllowListActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mSupply","type":"uint256"},{"internalType":"uint256","name":"mWLSupply","type":"uint256"},{"internalType":"uint256","name":"mTx","type":"uint256"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MIN_TOKEN_QTY_TO_HOLD","type":"uint256"}],"name":"setMinTokenQtyToHold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pPublic","type":"uint256"},{"internalType":"uint256","name":"pPresale","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","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":[],"name":"tokenToHold","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60146101000a81548160ff0219169083151502179055506000600a60156101000a81548160ff0219169083151502179055506032600d556032600e556005600f556005601055666a94d74f43000060115567058d15e1762800006012556934f086f3b33b684000006013553480156200008057600080fd5b50604051620053be380380620053be8339818101604052810190620000a6919062000396565b6040518060400160405280600c81526020017f506978656c504f4d204e465400000000000000000000000000000000000000008152506040518060400160405280600b81526020017f506978656c504f4d4e465400000000000000000000000000000000000000000081525081600090805190602001906200012a9291906200027c565b508060019080519060200190620001439291906200027c565b505050620001666200015a620001ae60201b60201c565b620001b660201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200042d565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200028a90620003f7565b90600052602060002090601f016020900481019282620002ae5760008555620002fa565b82601f10620002c957805160ff1916838001178555620002fa565b82800160010185558215620002fa579182015b82811115620002f9578251825591602001919060010190620002dc565b5b5090506200030991906200030d565b5090565b5b80821115620003285760008160009055506001016200030e565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200035e8262000331565b9050919050565b620003708162000351565b81146200037c57600080fd5b50565b600081519050620003908162000365565b92915050565b600060208284031215620003af57620003ae6200032c565b5b6000620003bf848285016200037f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200041057607f821691505b60208210811415620004275762000426620003c8565b5b50919050565b614f81806200043d6000396000f3fe6080604052600436106102465760003560e01c80636352211e11610139578063a0712d68116100b6578063c56acc8f1161007a578063c56acc8f14610859578063c87b56dd14610884578063ddff5b1c146108c1578063e985e9c5146108dd578063eb8d24441461091a578063f2fde38b1461094557610246565b8063a0712d6814610797578063a22cb465146107b3578063b1a30bc6146107dc578063b88d4fde14610807578063c4e370951461083057610246565b80637467f6d5116100fd5780637467f6d5146106c2578063819b25ba146106ed57806384fd2dde146107165780638da5cb5b1461074157806395d89b411461076c57610246565b80636352211e146105df5780636b5f542f1461061c57806370a0823114610645578063715018a614610682578063718bc4af1461069957610246565b806329fc6bae116101c757806342842e0e1161018b57806342842e0e146104e85780634813d8a61461051157806349fcebd91461054e5780634f6ccce71461057957806355f804b3146105b657610246565b806329fc6bae146104155780632f745c5914610440578063313674111461047d57806332cb6b0c146104a65780633ccfd60b146104d157610246565b80630f2cdd6c1161020e5780630f2cdd6c1461034257806318160ddd1461036d578063189ae5f21461039857806323b872dd146103c157806326619bb9146103ea57610246565b806301ffc9a71461024b57806305fefda71461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906133e5565b61096e565b60405161027f919061342d565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061347e565b610980565b005b3480156102bd57600080fd5b506102c6610a5f565b6040516102d39190613557565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613579565b610af1565b60405161031091906135e7565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061362e565b610b76565b005b34801561034e57600080fd5b50610357610c8e565b604051610364919061367d565b60405180910390f35b34801561037957600080fd5b50610382610c94565b60405161038f919061367d565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613698565b610ca1565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906136eb565b610e08565b005b3480156103f657600080fd5b506103ff610e68565b60405161040c919061367d565b60405180910390f35b34801561042157600080fd5b5061042a610e6e565b604051610437919061342d565b60405180910390f35b34801561044c57600080fd5b506104676004803603810190610462919061362e565b610e81565b604051610474919061367d565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f91906137cf565b610f26565b005b3480156104b257600080fd5b506104bb611047565b6040516104c8919061367d565b60405180910390f35b3480156104dd57600080fd5b506104e661104d565b005b3480156104f457600080fd5b5061050f600480360381019061050a91906136eb565b611118565b005b34801561051d57600080fd5b506105386004803603810190610533919061382f565b611138565b604051610545919061342d565b60405180910390f35b34801561055a57600080fd5b5061056361118e565b604051610570919061367d565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613579565b611194565b6040516105ad919061367d565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d8919061398c565b611205565b005b3480156105eb57600080fd5b5061060660048036038101906106019190613579565b61129b565b60405161061391906135e7565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e9190613579565b61134d565b005b34801561065157600080fd5b5061066c6004803603810190610667919061382f565b6113d3565b604051610679919061367d565b60405180910390f35b34801561068e57600080fd5b5061069761148b565b005b3480156106a557600080fd5b506106c060048036038101906106bb91906139d5565b611513565b005b3480156106ce57600080fd5b506106d76115ac565b6040516106e4919061367d565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f9190613579565b6115b2565b005b34801561072257600080fd5b5061072b611672565b604051610738919061367d565b60405180910390f35b34801561074d57600080fd5b50610756611678565b60405161076391906135e7565b60405180910390f35b34801561077857600080fd5b506107816116a2565b60405161078e9190613557565b60405180910390f35b6107b160048036038101906107ac9190613579565b611734565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613a02565b6119a9565b005b3480156107e857600080fd5b506107f16119bf565b6040516107fe91906135e7565b60405180910390f35b34801561081357600080fd5b5061082e60048036038101906108299190613ae3565b6119e5565b005b34801561083c57600080fd5b50610857600480360381019061085291906139d5565b611a47565b005b34801561086557600080fd5b5061086e611ae0565b60405161087b919061367d565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a69190613579565b611ae6565b6040516108b89190613557565b60405180910390f35b6108db60048036038101906108d69190613b9f565b611b8d565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613bcc565b611e4b565b604051610911919061342d565b60405180910390f35b34801561092657600080fd5b5061092f611edf565b60405161093c919061342d565b60405180910390f35b34801561095157600080fd5b5061096c6004803603810190610967919061382f565b611ef2565b005b600061097982611fea565b9050919050565b610988612064565b73ffffffffffffffffffffffffffffffffffffffff166109a6611678565b73ffffffffffffffffffffffffffffffffffffffff16146109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f390613c58565b60405180910390fd5b60008210158015610a0e575060008110155b610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613cea565b60405180910390fd5b81601181905550806012819055505050565b606060008054610a6e90613d39565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613d39565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b6000610afc8261206c565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613ddd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b818261129b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be990613e6f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c11612064565b73ffffffffffffffffffffffffffffffffffffffff161480610c405750610c3f81610c3a612064565b611e4b565b5b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690613f01565b60405180910390fd5b610c8983836120d8565b505050565b60105481565b6000600880549050905090565b610ca9612064565b73ffffffffffffffffffffffffffffffffffffffff16610cc7611678565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613c58565b60405180910390fd5b610d25610c94565b831015610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90613f93565b60405180910390fd5b82821115610daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da190614025565b60405180910390fd5b6000811015610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de5906140b7565b60405180910390fd5b82600d8190555081600e8190555080600f81905550505050565b610e19610e13612064565b82612191565b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614149565b60405180910390fd5b610e6383838361226f565b505050565b60115481565b600a60159054906101000a900460ff1681565b6000610e8c836113d3565b8210610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906141db565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f2e612064565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611678565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990613c58565b60405180910390fd5b60005b83839050811015611041578160146000868685818110610fc857610fc76141fb565b5b9050602002016020810190610fdd919061382f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061103990614259565b915050610fa5565b50505050565b600d5481565b611055612064565b73ffffffffffffffffffffffffffffffffffffffff16611073611678565b73ffffffffffffffffffffffffffffffffffffffff16146110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090613c58565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611114573d6000803e3d6000fd5b5050565b611133838383604051806020016040528060008152506119e5565b505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60135481565b600061119e610c94565b82106111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690614314565b60405180910390fd5b600882815481106111f3576111f26141fb565b5b90600052602060002001549050919050565b61120d612064565b73ffffffffffffffffffffffffffffffffffffffff1661122b611678565b73ffffffffffffffffffffffffffffffffffffffff1614611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890613c58565b60405180910390fd5b80600c90805190602001906112979291906132d6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b906143a6565b60405180910390fd5b80915050919050565b611355612064565b73ffffffffffffffffffffffffffffffffffffffff16611373611678565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090613c58565b60405180910390fd5b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90614438565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611493612064565b73ffffffffffffffffffffffffffffffffffffffff166114b1611678565b73ffffffffffffffffffffffffffffffffffffffff1614611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613c58565b60405180910390fd5b61151160006124d6565b565b61151b612064565b73ffffffffffffffffffffffffffffffffffffffff16611539611678565b73ffffffffffffffffffffffffffffffffffffffff161461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613c58565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b600f5481565b6115ba612064565b73ffffffffffffffffffffffffffffffffffffffff166115d8611678565b73ffffffffffffffffffffffffffffffffffffffff161461162e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162590613c58565b60405180910390fd5b6000611638610c94565b905060005b8281101561166d5761165a3382846116559190614458565b61259c565b808061166590614259565b91505061163d565b505050565b60125481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116b190613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546116dd90613d39565b801561172a5780601f106116ff5761010080835404028352916020019161172a565b820191906000526020600020905b81548152906001019060200180831161170d57829003601f168201915b5050505050905090565b600061173e610c94565b9050600a60149054906101000a900460ff1661178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690614520565b60405180910390fd5b600f548211156117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cb9061458c565b60405180910390fd5b600d5482826117e39190614458565b1115611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b906145f8565b60405180910390fd5b60105482611831336113d3565b61183b9190614458565b111561187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390614664565b60405180910390fd5b601354600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016118da91906135e7565b602060405180830381865afa1580156118f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191b9190614699565b1161197157348260115461192f91906146c6565b1115611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061476c565b60405180910390fd5b5b60005b828110156119a45761199133828461198c9190614458565b61259c565b808061199c90614259565b915050611974565b505050565b6119bb6119b4612064565b83836125ba565b5050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119f66119f0612064565b83612191565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90614149565b60405180910390fd5b611a4184848484612727565b50505050565b611a4f612064565b73ffffffffffffffffffffffffffffffffffffffff16611a6d611678565b73ffffffffffffffffffffffffffffffffffffffff1614611ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aba90613c58565b60405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b600e5481565b6060611af18261206c565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b27906147fe565b60405180910390fd5b6000611b3a612783565b90506000815111611b5a5760405180602001604052806000815250611b85565b80611b6484612815565b604051602001611b7592919061485a565b6040516020818303038152906040525b915050919050565b6000611b97610c94565b9050600a60159054906101000a900460ff16611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf906148ca565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6b90614936565b60405180910390fd5b600f548260ff161115611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb39061458c565b60405180910390fd5b600e548260ff1682611cce9190614458565b1115611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d06906145f8565b60405180910390fd5b600d548260ff1682611d219190614458565b1115611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d59906145f8565b60405180910390fd5b6010548260ff16611d72336113d3565b611d7c9190614458565b1115611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db490614664565b60405180910390fd5b348260ff16601254611dcf91906146c6565b1115611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e079061476c565b60405180910390fd5b60005b8260ff16811015611e4657611e33338284611e2e9190614458565b61259c565b8080611e3e90614259565b915050611e13565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60149054906101000a900460ff1681565b611efa612064565b73ffffffffffffffffffffffffffffffffffffffff16611f18611678565b73ffffffffffffffffffffffffffffffffffffffff1614611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590613c58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd5906149c8565b60405180910390fd5b611fe7816124d6565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205d575061205c82612976565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661214b8361129b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061219c8261206c565b6121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d290614a5a565b60405180910390fd5b60006121e68361129b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061222857506122278185611e4b565b5b8061226657508373ffffffffffffffffffffffffffffffffffffffff1661224e84610af1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661228f8261129b565b73ffffffffffffffffffffffffffffffffffffffff16146122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614aec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90614b7e565b60405180910390fd5b612360838383612a58565b61236b6000826120d8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123bb9190614b9e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124129190614458565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d1838383612a68565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125b6828260405180602001604052806000815250612a6d565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614c1e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161271a919061342d565b60405180910390a3505050565b61273284848461226f565b61273e84848484612ac8565b61277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614cb0565b60405180910390fd5b50505050565b6060600c805461279290613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546127be90613d39565b801561280b5780601f106127e05761010080835404028352916020019161280b565b820191906000526020600020905b8154815290600101906020018083116127ee57829003601f168201915b5050505050905090565b6060600082141561285d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612971565b600082905060005b6000821461288f57808061287890614259565b915050600a826128889190614cff565b9150612865565b60008167ffffffffffffffff8111156128ab576128aa613861565b5b6040519080825280601f01601f1916602001820160405280156128dd5781602001600182028036833780820191505090505b5090505b6000851461296a576001826128f69190614b9e565b9150600a856129059190614d30565b60306129119190614458565b60f81b818381518110612927576129266141fb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129639190614cff565b94506128e1565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a515750612a5082612c50565b5b9050919050565b612a63838383612cba565b505050565b505050565b612a778383612dce565b612a846000848484612ac8565b612ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aba90614cb0565b60405180910390fd5b505050565b6000612ae98473ffffffffffffffffffffffffffffffffffffffff16612fa8565b15612c43578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b12612064565b8786866040518563ffffffff1660e01b8152600401612b349493929190614db6565b6020604051808303816000875af1925050508015612b7057506040513d601f19601f82011682018060405250810190612b6d9190614e17565b60015b612bf3573d8060008114612ba0576040519150601f19603f3d011682016040523d82523d6000602084013e612ba5565b606091505b50600081511415612beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be290614cb0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c48565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc5838383612fcb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0857612d0381612fd0565b612d47565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4657612d458382613019565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8a57612d8581613186565b612dc9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc857612dc78282613257565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614e90565b60405180910390fd5b612e478161206c565b15612e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7e90614efc565b60405180910390fd5b612e9360008383612a58565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee39190614458565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa460008383612a68565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613026846113d3565b6130309190614b9e565b9050600060076000848152602001908152602001600020549050818114613115576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061319a9190614b9e565b90506000600960008481526020019081526020016000205490506000600883815481106131ca576131c96141fb565b5b9060005260206000200154905080600883815481106131ec576131eb6141fb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061323b5761323a614f1c565b5b6001900381819060005260206000200160009055905550505050565b6000613262836113d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546132e290613d39565b90600052602060002090601f016020900481019282613304576000855561334b565b82601f1061331d57805160ff191683800117855561334b565b8280016001018555821561334b579182015b8281111561334a57825182559160200191906001019061332f565b5b509050613358919061335c565b5090565b5b8082111561337557600081600090555060010161335d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c28161338d565b81146133cd57600080fd5b50565b6000813590506133df816133b9565b92915050565b6000602082840312156133fb576133fa613383565b5b6000613409848285016133d0565b91505092915050565b60008115159050919050565b61342781613412565b82525050565b6000602082019050613442600083018461341e565b92915050565b6000819050919050565b61345b81613448565b811461346657600080fd5b50565b60008135905061347881613452565b92915050565b6000806040838503121561349557613494613383565b5b60006134a385828601613469565b92505060206134b485828601613469565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134f85780820151818401526020810190506134dd565b83811115613507576000848401525b50505050565b6000601f19601f8301169050919050565b6000613529826134be565b61353381856134c9565b93506135438185602086016134da565b61354c8161350d565b840191505092915050565b60006020820190508181036000830152613571818461351e565b905092915050565b60006020828403121561358f5761358e613383565b5b600061359d84828501613469565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d1826135a6565b9050919050565b6135e1816135c6565b82525050565b60006020820190506135fc60008301846135d8565b92915050565b61360b816135c6565b811461361657600080fd5b50565b60008135905061362881613602565b92915050565b6000806040838503121561364557613644613383565b5b600061365385828601613619565b925050602061366485828601613469565b9150509250929050565b61367781613448565b82525050565b6000602082019050613692600083018461366e565b92915050565b6000806000606084860312156136b1576136b0613383565b5b60006136bf86828701613469565b93505060206136d086828701613469565b92505060406136e186828701613469565b9150509250925092565b60008060006060848603121561370457613703613383565b5b600061371286828701613619565b935050602061372386828701613619565b925050604061373486828701613469565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126137635761376261373e565b5b8235905067ffffffffffffffff8111156137805761377f613743565b5b60208301915083602082028301111561379c5761379b613748565b5b9250929050565b6137ac81613412565b81146137b757600080fd5b50565b6000813590506137c9816137a3565b92915050565b6000806000604084860312156137e8576137e7613383565b5b600084013567ffffffffffffffff81111561380657613805613388565b5b6138128682870161374d565b93509350506020613825868287016137ba565b9150509250925092565b60006020828403121561384557613844613383565b5b600061385384828501613619565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138998261350d565b810181811067ffffffffffffffff821117156138b8576138b7613861565b5b80604052505050565b60006138cb613379565b90506138d78282613890565b919050565b600067ffffffffffffffff8211156138f7576138f6613861565b5b6139008261350d565b9050602081019050919050565b82818337600083830152505050565b600061392f61392a846138dc565b6138c1565b90508281526020810184848401111561394b5761394a61385c565b5b61395684828561390d565b509392505050565b600082601f8301126139735761397261373e565b5b813561398384826020860161391c565b91505092915050565b6000602082840312156139a2576139a1613383565b5b600082013567ffffffffffffffff8111156139c0576139bf613388565b5b6139cc8482850161395e565b91505092915050565b6000602082840312156139eb576139ea613383565b5b60006139f9848285016137ba565b91505092915050565b60008060408385031215613a1957613a18613383565b5b6000613a2785828601613619565b9250506020613a38858286016137ba565b9150509250929050565b600067ffffffffffffffff821115613a5d57613a5c613861565b5b613a668261350d565b9050602081019050919050565b6000613a86613a8184613a42565b6138c1565b905082815260208101848484011115613aa257613aa161385c565b5b613aad84828561390d565b509392505050565b600082601f830112613aca57613ac961373e565b5b8135613ada848260208601613a73565b91505092915050565b60008060008060808587031215613afd57613afc613383565b5b6000613b0b87828801613619565b9450506020613b1c87828801613619565b9350506040613b2d87828801613469565b925050606085013567ffffffffffffffff811115613b4e57613b4d613388565b5b613b5a87828801613ab5565b91505092959194509250565b600060ff82169050919050565b613b7c81613b66565b8114613b8757600080fd5b50565b600081359050613b9981613b73565b92915050565b600060208284031215613bb557613bb4613383565b5b6000613bc384828501613b8a565b91505092915050565b60008060408385031215613be357613be2613383565b5b6000613bf185828601613619565b9250506020613c0285828601613619565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c426020836134c9565b9150613c4d82613c0c565b602082019050919050565b60006020820190508181036000830152613c7181613c35565b9050919050565b7f5072696365732073686f756c6420626520686967686572206f7220657175616c60008201527f207468616e207a65726f2e000000000000000000000000000000000000000000602082015250565b6000613cd4602b836134c9565b9150613cdf82613c78565b604082019050919050565b60006020820190508181036000830152613d0381613cc7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5157607f821691505b60208210811415613d6557613d64613d0a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613dc7602c836134c9565b9150613dd282613d6b565b604082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e596021836134c9565b9150613e6482613dfd565b604082019050919050565b60006020820190508181036000830152613e8881613e4c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eeb6038836134c9565b9150613ef682613e8f565b604082019050919050565b60006020820190508181036000830152613f1a81613ede565b9050919050565b7f4d41585f535550504c592073686f756c6420626520686967686572206f72206560008201527f7175616c207468616e20746f74616c20737570706c792e000000000000000000602082015250565b6000613f7d6037836134c9565b9150613f8882613f21565b604082019050919050565b60006020820190508181036000830152613fac81613f70565b9050919050565b7f4d41585f574c5f535550504c592073686f756c64206265206c657373206f722060008201527f657175616c207468616e20746f74616c20737570706c792e0000000000000000602082015250565b600061400f6038836134c9565b915061401a82613fb3565b604082019050919050565b6000602082019050818103600083015261403e81614002565b9050919050565b7f4d41585f54585f4d494e542073686f756c6420626520686967686572206f722060008201527f657175616c207468616e207a65726f2e00000000000000000000000000000000602082015250565b60006140a16030836134c9565b91506140ac82614045565b604082019050919050565b600060208201905081810360008301526140d081614094565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006141336031836134c9565b915061413e826140d7565b604082019050919050565b6000602082019050818103600083015261416281614126565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141c5602b836134c9565b91506141d082614169565b604082019050919050565b600060208201905081810360008301526141f4816141b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061426482613448565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142975761429661422a565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142fe602c836134c9565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143906029836134c9565b915061439b82614334565b604082019050919050565b600060208201905081810360008301526143bf81614383565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614422602a836134c9565b915061442d826143c6565b604082019050919050565b6000602082019050818103600083015261445181614415565b9050919050565b600061446382613448565b915061446e83613448565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144a3576144a261422a565b5b828201905092915050565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b600061450a6022836134c9565b9150614515826144ae565b604082019050919050565b60006020820190508181036000830152614539816144fd565b9050919050565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b6000614576601b836134c9565b915061458182614540565b602082019050919050565b600060208201905081810360008301526145a581614569565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b60006145e26020836134c9565b91506145ed826145ac565b602082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b7f4d6178205065722057616c6c6574000000000000000000000000000000000000600082015250565b600061464e600e836134c9565b915061465982614618565b602082019050919050565b6000602082019050818103600083015261467d81614641565b9050919050565b60008151905061469381613452565b92915050565b6000602082840312156146af576146ae613383565b5b60006146bd84828501614684565b91505092915050565b60006146d182613448565b91506146dc83613448565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147155761471461422a565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614756601f836134c9565b915061476182614720565b602082019050919050565b6000602082019050818103600083015261478581614749565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147e8602f836134c9565b91506147f38261478c565b604082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b600081905092915050565b6000614834826134be565b61483e818561481e565b935061484e8185602086016134da565b80840191505092915050565b60006148668285614829565b91506148728284614829565b91508190509392505050565b7f416c6c6f77206c697374206973206e6f74206163746976650000000000000000600082015250565b60006148b46018836134c9565b91506148bf8261487e565b602082019050919050565b600060208201905081810360008301526148e3816148a7565b9050919050565b7f41646472657373206e6f7420616c6c6f77656420746f20707572636861736500600082015250565b6000614920601f836134c9565b915061492b826148ea565b602082019050919050565b6000602082019050818103600083015261494f81614913565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149b26026836134c9565b91506149bd82614956565b604082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a44602c836134c9565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ad66025836134c9565b9150614ae182614a7a565b604082019050919050565b60006020820190508181036000830152614b0581614ac9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b686024836134c9565b9150614b7382614b0c565b604082019050919050565b60006020820190508181036000830152614b9781614b5b565b9050919050565b6000614ba982613448565b9150614bb483613448565b925082821015614bc757614bc661422a565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614c086019836134c9565b9150614c1382614bd2565b602082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c9a6032836134c9565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d0a82613448565b9150614d1583613448565b925082614d2557614d24614cd0565b5b828204905092915050565b6000614d3b82613448565b9150614d4683613448565b925082614d5657614d55614cd0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614d8882614d61565b614d928185614d6c565b9350614da28185602086016134da565b614dab8161350d565b840191505092915050565b6000608082019050614dcb60008301876135d8565b614dd860208301866135d8565b614de5604083018561366e565b8181036060830152614df78184614d7d565b905095945050505050565b600081519050614e11816133b9565b92915050565b600060208284031215614e2d57614e2c613383565b5b6000614e3b84828501614e02565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e7a6020836134c9565b9150614e8582614e44565b602082019050919050565b60006020820190508181036000830152614ea981614e6d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ee6601c836134c9565b9150614ef182614eb0565b602082019050919050565b60006020820190508181036000830152614f1581614ed9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d9ea7fc4a9502871babd4e9bc6c28a5ca6f7415d8762881aef31c95b4833f47864736f6c634300080b003300000000000000000000000081f3831f6bae022d37e5ed3f4e99a8f7b2346c53
Deployed Bytecode
0x6080604052600436106102465760003560e01c80636352211e11610139578063a0712d68116100b6578063c56acc8f1161007a578063c56acc8f14610859578063c87b56dd14610884578063ddff5b1c146108c1578063e985e9c5146108dd578063eb8d24441461091a578063f2fde38b1461094557610246565b8063a0712d6814610797578063a22cb465146107b3578063b1a30bc6146107dc578063b88d4fde14610807578063c4e370951461083057610246565b80637467f6d5116100fd5780637467f6d5146106c2578063819b25ba146106ed57806384fd2dde146107165780638da5cb5b1461074157806395d89b411461076c57610246565b80636352211e146105df5780636b5f542f1461061c57806370a0823114610645578063715018a614610682578063718bc4af1461069957610246565b806329fc6bae116101c757806342842e0e1161018b57806342842e0e146104e85780634813d8a61461051157806349fcebd91461054e5780634f6ccce71461057957806355f804b3146105b657610246565b806329fc6bae146104155780632f745c5914610440578063313674111461047d57806332cb6b0c146104a65780633ccfd60b146104d157610246565b80630f2cdd6c1161020e5780630f2cdd6c1461034257806318160ddd1461036d578063189ae5f21461039857806323b872dd146103c157806326619bb9146103ea57610246565b806301ffc9a71461024b57806305fefda71461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906133e5565b61096e565b60405161027f919061342d565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061347e565b610980565b005b3480156102bd57600080fd5b506102c6610a5f565b6040516102d39190613557565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613579565b610af1565b60405161031091906135e7565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061362e565b610b76565b005b34801561034e57600080fd5b50610357610c8e565b604051610364919061367d565b60405180910390f35b34801561037957600080fd5b50610382610c94565b60405161038f919061367d565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613698565b610ca1565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906136eb565b610e08565b005b3480156103f657600080fd5b506103ff610e68565b60405161040c919061367d565b60405180910390f35b34801561042157600080fd5b5061042a610e6e565b604051610437919061342d565b60405180910390f35b34801561044c57600080fd5b506104676004803603810190610462919061362e565b610e81565b604051610474919061367d565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f91906137cf565b610f26565b005b3480156104b257600080fd5b506104bb611047565b6040516104c8919061367d565b60405180910390f35b3480156104dd57600080fd5b506104e661104d565b005b3480156104f457600080fd5b5061050f600480360381019061050a91906136eb565b611118565b005b34801561051d57600080fd5b506105386004803603810190610533919061382f565b611138565b604051610545919061342d565b60405180910390f35b34801561055a57600080fd5b5061056361118e565b604051610570919061367d565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613579565b611194565b6040516105ad919061367d565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d8919061398c565b611205565b005b3480156105eb57600080fd5b5061060660048036038101906106019190613579565b61129b565b60405161061391906135e7565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e9190613579565b61134d565b005b34801561065157600080fd5b5061066c6004803603810190610667919061382f565b6113d3565b604051610679919061367d565b60405180910390f35b34801561068e57600080fd5b5061069761148b565b005b3480156106a557600080fd5b506106c060048036038101906106bb91906139d5565b611513565b005b3480156106ce57600080fd5b506106d76115ac565b6040516106e4919061367d565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f9190613579565b6115b2565b005b34801561072257600080fd5b5061072b611672565b604051610738919061367d565b60405180910390f35b34801561074d57600080fd5b50610756611678565b60405161076391906135e7565b60405180910390f35b34801561077857600080fd5b506107816116a2565b60405161078e9190613557565b60405180910390f35b6107b160048036038101906107ac9190613579565b611734565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613a02565b6119a9565b005b3480156107e857600080fd5b506107f16119bf565b6040516107fe91906135e7565b60405180910390f35b34801561081357600080fd5b5061082e60048036038101906108299190613ae3565b6119e5565b005b34801561083c57600080fd5b50610857600480360381019061085291906139d5565b611a47565b005b34801561086557600080fd5b5061086e611ae0565b60405161087b919061367d565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a69190613579565b611ae6565b6040516108b89190613557565b60405180910390f35b6108db60048036038101906108d69190613b9f565b611b8d565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613bcc565b611e4b565b604051610911919061342d565b60405180910390f35b34801561092657600080fd5b5061092f611edf565b60405161093c919061342d565b60405180910390f35b34801561095157600080fd5b5061096c6004803603810190610967919061382f565b611ef2565b005b600061097982611fea565b9050919050565b610988612064565b73ffffffffffffffffffffffffffffffffffffffff166109a6611678565b73ffffffffffffffffffffffffffffffffffffffff16146109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f390613c58565b60405180910390fd5b60008210158015610a0e575060008110155b610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613cea565b60405180910390fd5b81601181905550806012819055505050565b606060008054610a6e90613d39565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613d39565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b6000610afc8261206c565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613ddd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b818261129b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be990613e6f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c11612064565b73ffffffffffffffffffffffffffffffffffffffff161480610c405750610c3f81610c3a612064565b611e4b565b5b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690613f01565b60405180910390fd5b610c8983836120d8565b505050565b60105481565b6000600880549050905090565b610ca9612064565b73ffffffffffffffffffffffffffffffffffffffff16610cc7611678565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613c58565b60405180910390fd5b610d25610c94565b831015610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90613f93565b60405180910390fd5b82821115610daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da190614025565b60405180910390fd5b6000811015610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de5906140b7565b60405180910390fd5b82600d8190555081600e8190555080600f81905550505050565b610e19610e13612064565b82612191565b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614149565b60405180910390fd5b610e6383838361226f565b505050565b60115481565b600a60159054906101000a900460ff1681565b6000610e8c836113d3565b8210610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec4906141db565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f2e612064565b73ffffffffffffffffffffffffffffffffffffffff16610f4c611678565b73ffffffffffffffffffffffffffffffffffffffff1614610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990613c58565b60405180910390fd5b60005b83839050811015611041578160146000868685818110610fc857610fc76141fb565b5b9050602002016020810190610fdd919061382f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061103990614259565b915050610fa5565b50505050565b600d5481565b611055612064565b73ffffffffffffffffffffffffffffffffffffffff16611073611678565b73ffffffffffffffffffffffffffffffffffffffff16146110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090613c58565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611114573d6000803e3d6000fd5b5050565b611133838383604051806020016040528060008152506119e5565b505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60135481565b600061119e610c94565b82106111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690614314565b60405180910390fd5b600882815481106111f3576111f26141fb565b5b90600052602060002001549050919050565b61120d612064565b73ffffffffffffffffffffffffffffffffffffffff1661122b611678565b73ffffffffffffffffffffffffffffffffffffffff1614611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890613c58565b60405180910390fd5b80600c90805190602001906112979291906132d6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b906143a6565b60405180910390fd5b80915050919050565b611355612064565b73ffffffffffffffffffffffffffffffffffffffff16611373611678565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090613c58565b60405180910390fd5b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90614438565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611493612064565b73ffffffffffffffffffffffffffffffffffffffff166114b1611678565b73ffffffffffffffffffffffffffffffffffffffff1614611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613c58565b60405180910390fd5b61151160006124d6565b565b61151b612064565b73ffffffffffffffffffffffffffffffffffffffff16611539611678565b73ffffffffffffffffffffffffffffffffffffffff161461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613c58565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b600f5481565b6115ba612064565b73ffffffffffffffffffffffffffffffffffffffff166115d8611678565b73ffffffffffffffffffffffffffffffffffffffff161461162e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162590613c58565b60405180910390fd5b6000611638610c94565b905060005b8281101561166d5761165a3382846116559190614458565b61259c565b808061166590614259565b91505061163d565b505050565b60125481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116b190613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546116dd90613d39565b801561172a5780601f106116ff5761010080835404028352916020019161172a565b820191906000526020600020905b81548152906001019060200180831161170d57829003601f168201915b5050505050905090565b600061173e610c94565b9050600a60149054906101000a900460ff1661178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690614520565b60405180910390fd5b600f548211156117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cb9061458c565b60405180910390fd5b600d5482826117e39190614458565b1115611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b906145f8565b60405180910390fd5b60105482611831336113d3565b61183b9190614458565b111561187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390614664565b60405180910390fd5b601354600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016118da91906135e7565b602060405180830381865afa1580156118f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191b9190614699565b1161197157348260115461192f91906146c6565b1115611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061476c565b60405180910390fd5b5b60005b828110156119a45761199133828461198c9190614458565b61259c565b808061199c90614259565b915050611974565b505050565b6119bb6119b4612064565b83836125ba565b5050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119f66119f0612064565b83612191565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90614149565b60405180910390fd5b611a4184848484612727565b50505050565b611a4f612064565b73ffffffffffffffffffffffffffffffffffffffff16611a6d611678565b73ffffffffffffffffffffffffffffffffffffffff1614611ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aba90613c58565b60405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b600e5481565b6060611af18261206c565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b27906147fe565b60405180910390fd5b6000611b3a612783565b90506000815111611b5a5760405180602001604052806000815250611b85565b80611b6484612815565b604051602001611b7592919061485a565b6040516020818303038152906040525b915050919050565b6000611b97610c94565b9050600a60159054906101000a900460ff16611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf906148ca565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6b90614936565b60405180910390fd5b600f548260ff161115611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb39061458c565b60405180910390fd5b600e548260ff1682611cce9190614458565b1115611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d06906145f8565b60405180910390fd5b600d548260ff1682611d219190614458565b1115611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d59906145f8565b60405180910390fd5b6010548260ff16611d72336113d3565b611d7c9190614458565b1115611dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db490614664565b60405180910390fd5b348260ff16601254611dcf91906146c6565b1115611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e079061476c565b60405180910390fd5b60005b8260ff16811015611e4657611e33338284611e2e9190614458565b61259c565b8080611e3e90614259565b915050611e13565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60149054906101000a900460ff1681565b611efa612064565b73ffffffffffffffffffffffffffffffffffffffff16611f18611678565b73ffffffffffffffffffffffffffffffffffffffff1614611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590613c58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd5906149c8565b60405180910390fd5b611fe7816124d6565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205d575061205c82612976565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661214b8361129b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061219c8261206c565b6121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d290614a5a565b60405180910390fd5b60006121e68361129b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061222857506122278185611e4b565b5b8061226657508373ffffffffffffffffffffffffffffffffffffffff1661224e84610af1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661228f8261129b565b73ffffffffffffffffffffffffffffffffffffffff16146122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614aec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90614b7e565b60405180910390fd5b612360838383612a58565b61236b6000826120d8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123bb9190614b9e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124129190614458565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d1838383612a68565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125b6828260405180602001604052806000815250612a6d565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090614c1e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161271a919061342d565b60405180910390a3505050565b61273284848461226f565b61273e84848484612ac8565b61277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614cb0565b60405180910390fd5b50505050565b6060600c805461279290613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546127be90613d39565b801561280b5780601f106127e05761010080835404028352916020019161280b565b820191906000526020600020905b8154815290600101906020018083116127ee57829003601f168201915b5050505050905090565b6060600082141561285d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612971565b600082905060005b6000821461288f57808061287890614259565b915050600a826128889190614cff565b9150612865565b60008167ffffffffffffffff8111156128ab576128aa613861565b5b6040519080825280601f01601f1916602001820160405280156128dd5781602001600182028036833780820191505090505b5090505b6000851461296a576001826128f69190614b9e565b9150600a856129059190614d30565b60306129119190614458565b60f81b818381518110612927576129266141fb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129639190614cff565b94506128e1565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a515750612a5082612c50565b5b9050919050565b612a63838383612cba565b505050565b505050565b612a778383612dce565b612a846000848484612ac8565b612ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aba90614cb0565b60405180910390fd5b505050565b6000612ae98473ffffffffffffffffffffffffffffffffffffffff16612fa8565b15612c43578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b12612064565b8786866040518563ffffffff1660e01b8152600401612b349493929190614db6565b6020604051808303816000875af1925050508015612b7057506040513d601f19601f82011682018060405250810190612b6d9190614e17565b60015b612bf3573d8060008114612ba0576040519150601f19603f3d011682016040523d82523d6000602084013e612ba5565b606091505b50600081511415612beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be290614cb0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c48565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc5838383612fcb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0857612d0381612fd0565b612d47565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4657612d458382613019565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8a57612d8581613186565b612dc9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc857612dc78282613257565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614e90565b60405180910390fd5b612e478161206c565b15612e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7e90614efc565b60405180910390fd5b612e9360008383612a58565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee39190614458565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa460008383612a68565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613026846113d3565b6130309190614b9e565b9050600060076000848152602001908152602001600020549050818114613115576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061319a9190614b9e565b90506000600960008481526020019081526020016000205490506000600883815481106131ca576131c96141fb565b5b9060005260206000200154905080600883815481106131ec576131eb6141fb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061323b5761323a614f1c565b5b6001900381819060005260206000200160009055905550505050565b6000613262836113d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546132e290613d39565b90600052602060002090601f016020900481019282613304576000855561334b565b82601f1061331d57805160ff191683800117855561334b565b8280016001018555821561334b579182015b8281111561334a57825182559160200191906001019061332f565b5b509050613358919061335c565b5090565b5b8082111561337557600081600090555060010161335d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c28161338d565b81146133cd57600080fd5b50565b6000813590506133df816133b9565b92915050565b6000602082840312156133fb576133fa613383565b5b6000613409848285016133d0565b91505092915050565b60008115159050919050565b61342781613412565b82525050565b6000602082019050613442600083018461341e565b92915050565b6000819050919050565b61345b81613448565b811461346657600080fd5b50565b60008135905061347881613452565b92915050565b6000806040838503121561349557613494613383565b5b60006134a385828601613469565b92505060206134b485828601613469565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134f85780820151818401526020810190506134dd565b83811115613507576000848401525b50505050565b6000601f19601f8301169050919050565b6000613529826134be565b61353381856134c9565b93506135438185602086016134da565b61354c8161350d565b840191505092915050565b60006020820190508181036000830152613571818461351e565b905092915050565b60006020828403121561358f5761358e613383565b5b600061359d84828501613469565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d1826135a6565b9050919050565b6135e1816135c6565b82525050565b60006020820190506135fc60008301846135d8565b92915050565b61360b816135c6565b811461361657600080fd5b50565b60008135905061362881613602565b92915050565b6000806040838503121561364557613644613383565b5b600061365385828601613619565b925050602061366485828601613469565b9150509250929050565b61367781613448565b82525050565b6000602082019050613692600083018461366e565b92915050565b6000806000606084860312156136b1576136b0613383565b5b60006136bf86828701613469565b93505060206136d086828701613469565b92505060406136e186828701613469565b9150509250925092565b60008060006060848603121561370457613703613383565b5b600061371286828701613619565b935050602061372386828701613619565b925050604061373486828701613469565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126137635761376261373e565b5b8235905067ffffffffffffffff8111156137805761377f613743565b5b60208301915083602082028301111561379c5761379b613748565b5b9250929050565b6137ac81613412565b81146137b757600080fd5b50565b6000813590506137c9816137a3565b92915050565b6000806000604084860312156137e8576137e7613383565b5b600084013567ffffffffffffffff81111561380657613805613388565b5b6138128682870161374d565b93509350506020613825868287016137ba565b9150509250925092565b60006020828403121561384557613844613383565b5b600061385384828501613619565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138998261350d565b810181811067ffffffffffffffff821117156138b8576138b7613861565b5b80604052505050565b60006138cb613379565b90506138d78282613890565b919050565b600067ffffffffffffffff8211156138f7576138f6613861565b5b6139008261350d565b9050602081019050919050565b82818337600083830152505050565b600061392f61392a846138dc565b6138c1565b90508281526020810184848401111561394b5761394a61385c565b5b61395684828561390d565b509392505050565b600082601f8301126139735761397261373e565b5b813561398384826020860161391c565b91505092915050565b6000602082840312156139a2576139a1613383565b5b600082013567ffffffffffffffff8111156139c0576139bf613388565b5b6139cc8482850161395e565b91505092915050565b6000602082840312156139eb576139ea613383565b5b60006139f9848285016137ba565b91505092915050565b60008060408385031215613a1957613a18613383565b5b6000613a2785828601613619565b9250506020613a38858286016137ba565b9150509250929050565b600067ffffffffffffffff821115613a5d57613a5c613861565b5b613a668261350d565b9050602081019050919050565b6000613a86613a8184613a42565b6138c1565b905082815260208101848484011115613aa257613aa161385c565b5b613aad84828561390d565b509392505050565b600082601f830112613aca57613ac961373e565b5b8135613ada848260208601613a73565b91505092915050565b60008060008060808587031215613afd57613afc613383565b5b6000613b0b87828801613619565b9450506020613b1c87828801613619565b9350506040613b2d87828801613469565b925050606085013567ffffffffffffffff811115613b4e57613b4d613388565b5b613b5a87828801613ab5565b91505092959194509250565b600060ff82169050919050565b613b7c81613b66565b8114613b8757600080fd5b50565b600081359050613b9981613b73565b92915050565b600060208284031215613bb557613bb4613383565b5b6000613bc384828501613b8a565b91505092915050565b60008060408385031215613be357613be2613383565b5b6000613bf185828601613619565b9250506020613c0285828601613619565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c426020836134c9565b9150613c4d82613c0c565b602082019050919050565b60006020820190508181036000830152613c7181613c35565b9050919050565b7f5072696365732073686f756c6420626520686967686572206f7220657175616c60008201527f207468616e207a65726f2e000000000000000000000000000000000000000000602082015250565b6000613cd4602b836134c9565b9150613cdf82613c78565b604082019050919050565b60006020820190508181036000830152613d0381613cc7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5157607f821691505b60208210811415613d6557613d64613d0a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613dc7602c836134c9565b9150613dd282613d6b565b604082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e596021836134c9565b9150613e6482613dfd565b604082019050919050565b60006020820190508181036000830152613e8881613e4c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613eeb6038836134c9565b9150613ef682613e8f565b604082019050919050565b60006020820190508181036000830152613f1a81613ede565b9050919050565b7f4d41585f535550504c592073686f756c6420626520686967686572206f72206560008201527f7175616c207468616e20746f74616c20737570706c792e000000000000000000602082015250565b6000613f7d6037836134c9565b9150613f8882613f21565b604082019050919050565b60006020820190508181036000830152613fac81613f70565b9050919050565b7f4d41585f574c5f535550504c592073686f756c64206265206c657373206f722060008201527f657175616c207468616e20746f74616c20737570706c792e0000000000000000602082015250565b600061400f6038836134c9565b915061401a82613fb3565b604082019050919050565b6000602082019050818103600083015261403e81614002565b9050919050565b7f4d41585f54585f4d494e542073686f756c6420626520686967686572206f722060008201527f657175616c207468616e207a65726f2e00000000000000000000000000000000602082015250565b60006140a16030836134c9565b91506140ac82614045565b604082019050919050565b600060208201905081810360008301526140d081614094565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006141336031836134c9565b915061413e826140d7565b604082019050919050565b6000602082019050818103600083015261416281614126565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141c5602b836134c9565b91506141d082614169565b604082019050919050565b600060208201905081810360008301526141f4816141b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061426482613448565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142975761429661422a565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142fe602c836134c9565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143906029836134c9565b915061439b82614334565b604082019050919050565b600060208201905081810360008301526143bf81614383565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614422602a836134c9565b915061442d826143c6565b604082019050919050565b6000602082019050818103600083015261445181614415565b9050919050565b600061446382613448565b915061446e83613448565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144a3576144a261422a565b5b828201905092915050565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b600061450a6022836134c9565b9150614515826144ae565b604082019050919050565b60006020820190508181036000830152614539816144fd565b9050919050565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b6000614576601b836134c9565b915061458182614540565b602082019050919050565b600060208201905081810360008301526145a581614569565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b60006145e26020836134c9565b91506145ed826145ac565b602082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b7f4d6178205065722057616c6c6574000000000000000000000000000000000000600082015250565b600061464e600e836134c9565b915061465982614618565b602082019050919050565b6000602082019050818103600083015261467d81614641565b9050919050565b60008151905061469381613452565b92915050565b6000602082840312156146af576146ae613383565b5b60006146bd84828501614684565b91505092915050565b60006146d182613448565b91506146dc83613448565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147155761471461422a565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614756601f836134c9565b915061476182614720565b602082019050919050565b6000602082019050818103600083015261478581614749565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147e8602f836134c9565b91506147f38261478c565b604082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b600081905092915050565b6000614834826134be565b61483e818561481e565b935061484e8185602086016134da565b80840191505092915050565b60006148668285614829565b91506148728284614829565b91508190509392505050565b7f416c6c6f77206c697374206973206e6f74206163746976650000000000000000600082015250565b60006148b46018836134c9565b91506148bf8261487e565b602082019050919050565b600060208201905081810360008301526148e3816148a7565b9050919050565b7f41646472657373206e6f7420616c6c6f77656420746f20707572636861736500600082015250565b6000614920601f836134c9565b915061492b826148ea565b602082019050919050565b6000602082019050818103600083015261494f81614913565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149b26026836134c9565b91506149bd82614956565b604082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a44602c836134c9565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ad66025836134c9565b9150614ae182614a7a565b604082019050919050565b60006020820190508181036000830152614b0581614ac9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b686024836134c9565b9150614b7382614b0c565b604082019050919050565b60006020820190508181036000830152614b9781614b5b565b9050919050565b6000614ba982613448565b9150614bb483613448565b925082821015614bc757614bc661422a565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614c086019836134c9565b9150614c1382614bd2565b602082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c9a6032836134c9565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d0a82613448565b9150614d1583613448565b925082614d2557614d24614cd0565b5b828204905092915050565b6000614d3b82613448565b9150614d4683613448565b925082614d5657614d55614cd0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614d8882614d61565b614d928185614d6c565b9350614da28185602086016134da565b614dab8161350d565b840191505092915050565b6000608082019050614dcb60008301876135d8565b614dd860208301866135d8565b614de5604083018561366e565b8181036060830152614df78184614d7d565b905095945050505050565b600081519050614e11816133b9565b92915050565b600060208284031215614e2d57614e2c613383565b5b6000614e3b84828501614e02565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e7a6020836134c9565b9150614e8582614e44565b602082019050919050565b60006020820190508181036000830152614ea981614e6d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ee6601c836134c9565b9150614ef182614eb0565b602082019050919050565b60006020820190508181036000830152614f1581614ed9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d9ea7fc4a9502871babd4e9bc6c28a5ca6f7415d8762881aef31c95b4833f47864736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000081f3831f6bae022d37e5ed3f4e99a8f7b2346c53
-----Decoded View---------------
Arg [0] : _tokenToHold (address): 0x81f3831f6bAE022D37e5ED3F4E99a8F7B2346c53
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000081f3831f6bae022d37e5ed3f4e99a8f7b2346c53
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.