Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 14005911 | 1022 days ago | IN | 0 ETH | 0.00501504 | ||||
Reserve Mint Nin... | 14005169 | 1022 days ago | IN | 0 ETH | 0.02824422 | ||||
Transfer Ownersh... | 14005155 | 1022 days ago | IN | 0 ETH | 0.00431489 | ||||
Set Manager | 14005152 | 1022 days ago | IN | 0 ETH | 0.00837211 | ||||
Set Base URI | 14005150 | 1022 days ago | IN | 0 ETH | 0.01705814 | ||||
0x60806040 | 14005111 | 1022 days ago | IN | 0 ETH | 0.855473 |
Loading...
Loading
Contract Name:
NFTNinjas
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: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract NFTNinjas is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _ninjaCounter; uint public MAX_NINJA = 5555; uint public PRESALE_MAX_NINJA = 4000; uint256 public ninjaPrice = 0.12 ether; uint256 public presalePrice = 0.1 ether; string public baseURI; bool public saleIsActive = false; bool public presaleIsActive = false; uint public constant maxNinjaTxn = 3; address private _manager; mapping(address => uint256) whitelistMintCount; constructor() ERC721("NFT NINJAS", "NINJA"){ } function setManager(address manager) public onlyOwner { _manager = manager; } modifier onlyOwnerOrManager() { require(owner() == _msgSender() || _manager == _msgSender(), "Caller is not the owner or manager"); _; } function setBaseURI(string memory newBaseURI) public onlyOwnerOrManager { baseURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory){ return baseURI; } function totalToken() public view returns (uint256) { return _ninjaCounter.current(); } function whitelistNinjaMinted(address _address) public view returns (uint256){ return whitelistMintCount[_address]; } function flipPreSale() public onlyOwnerOrManager { presaleIsActive = !presaleIsActive; } function preSaleState() public view returns (bool){ return presaleIsActive; } function flipSale() public onlyOwnerOrManager { saleIsActive = !saleIsActive; } function saleState() public view returns (bool){ return saleIsActive; } function setPrice(uint256 _price) public onlyOwnerOrManager{ ninjaPrice = _price; } function setPresalePrice(uint256 _price) public onlyOwnerOrManager{ presalePrice = _price; } function withdrawForOwner(address payable to) public payable onlyOwnerOrManager{ to.transfer(address(this).balance); } function withdrawAll(address _address) public onlyOwnerOrManager { uint256 balance = address(this).balance; require(balance > 0,"Balance is zero"); (bool success, ) = _address.call{value: balance}(""); require(success, "Transfer failed."); } function _widthdraw(address _address, uint256 _amount) public onlyOwnerOrManager{ (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } function reserveMintNinja(uint256 reserveAmount, address mintAddress) public onlyOwnerOrManager { require(totalSupply() <= MAX_NINJA, "Purchase would exceed max supply of Ninjas"); for (uint256 i=0; i<reserveAmount; i++){ _safeMint(mintAddress, _ninjaCounter.current() + 1); _ninjaCounter.increment(); } } function mintNinjaWhitelist(uint256 numberOfTokens) public payable { require(presaleIsActive, "Presale must be active to mint Ninjas"); require(presalePrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); require(numberOfTokens <= maxNinjaTxn, "You can only mint 3 Ninjas at a time"); require(whitelistMintCount[msg.sender] + numberOfTokens <= maxNinjaTxn, "Purchase would exceed the whitelist wallet limit"); require(totalSupply() + numberOfTokens <= PRESALE_MAX_NINJA, "PRESALE SOLD OUT"); for (uint256 i=0; i<numberOfTokens; i++){ uint256 mintIndex = _ninjaCounter.current()+1; if (mintIndex <= MAX_NINJA){ _safeMint(msg.sender, mintIndex); _ninjaCounter.increment(); whitelistMintCount[msg.sender] += 1; } } } function mintNinja(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale must be active to mint Ninjas"); require(ninjaPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); require(numberOfTokens <= maxNinjaTxn, "You can only mint 3 Ninjas at a time"); require(totalSupply() + numberOfTokens <= MAX_NINJA, "NINJAS SOLD OUT"); for (uint256 i=0; i<numberOfTokens; i++){ uint256 mintIndex = _ninjaCounter.current()+1; if (mintIndex <= MAX_NINJA){ _safeMint(msg.sender, mintIndex); _ninjaCounter.increment(); } } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// 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/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 v4.4.1 (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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // 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 v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
// 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":[],"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_NINJA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_MAX_NINJA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"_widthdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNinjaTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintNinja","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintNinjaWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ninjaPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"preSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reserveAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMintNinja","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":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"whitelistNinjaMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForOwner","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526115b3600c55610fa0600d556701aa535d3d0c0000600e5567016345785d8a0000600f556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055503480156200006b57600080fd5b506040518060400160405280600a81526020017f4e4654204e494e4a4153000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4e494e4a410000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f092919062000200565b5080600190805190602001906200010992919062000200565b5050506200012c620001206200013260201b60201c565b6200013a60201b60201c565b62000315565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020e90620002df565b90600052602060002090601f0160209004810192826200023257600085556200027e565b82601f106200024d57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027d57825182559160200191906001019062000260565b5b5090506200028d919062000291565b5090565b5b80821115620002ac57600081600090555060010162000292565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f857607f821691505b602082108114156200030f576200030e620002b0565b5b50919050565b61549380620003256000396000f3fe6080604052600436106102665760003560e01c80636c0360eb11610144578063b4e380d5116100b6578063e93244441161007a578063e9324444146108dc578063e985e9c514610907578063eb8d244414610944578063f2fde38b1461096f578063f8f78f4614610998578063fa09e630146109c357610266565b8063b4e380d5146107f9578063b88d4fde14610822578063c87b56dd1461084b578063d0ebdbe714610888578063d79a5468146108b157610266565b80638da5cb5b116101085780638da5cb5b1461070a57806391b7f5ed1461073557806395d89b411461075e5780639d2fc8d214610789578063a22cb465146107a5578063aebf6b01146107ce57610266565b80636c0360eb1461065d57806370a0823114610688578063715018a6146106c55780637ba5e621146106dc5780638b62f533146106f357610266565b806333aab966116101dd5780634f6ccce7116101a15780634f6ccce71461054857806355f804b314610585578063603f4d52146105ae578063626be567146105d95780636351558a146106045780636352211e1461062057610266565b806333aab966146104655780633549345e146104a257806339fc0c95146104cb57806342842e0e146104f657806342966c681461051f57610266565b806313255adb1161022f57806313255adb1461036457806318160ddd1461038d57806323b872dd146103b8578063253c9867146103e15780632f745c59146103fd57806330f72cd41461043a57610266565b80620e7fa81461026b57806301ffc9a71461029657806306fdde03146102d3578063081812fc146102fe578063095ea7b31461033b575b600080fd5b34801561027757600080fd5b506102806109ec565b60405161028d9190613923565b60405180910390f35b3480156102a257600080fd5b506102bd60048036038101906102b891906139aa565b6109f2565b6040516102ca91906139f2565b60405180910390f35b3480156102df57600080fd5b506102e8610a04565b6040516102f59190613aa6565b60405180910390f35b34801561030a57600080fd5b5061032560048036038101906103209190613af4565b610a96565b6040516103329190613b62565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d9190613ba9565b610b1b565b005b34801561037057600080fd5b5061038b60048036038101906103869190613be9565b610c33565b005b34801561039957600080fd5b506103a2610da6565b6040516103af9190613923565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190613c29565b610db3565b005b6103fb60048036038101906103f69190613cba565b610e13565b005b34801561040957600080fd5b50610424600480360381019061041f9190613ba9565b610f38565b6040516104319190613923565b60405180910390f35b34801561044657600080fd5b5061044f610fdd565b60405161045c91906139f2565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190613ce7565b610ff0565b6040516104999190613923565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613af4565b611039565b005b3480156104d757600080fd5b506104e061111e565b6040516104ed9190613923565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613c29565b611124565b005b34801561052b57600080fd5b5061054660048036038101906105419190613af4565b611144565b005b34801561055457600080fd5b5061056f600480360381019061056a9190613af4565b6111a0565b60405161057c9190613923565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613e49565b611211565b005b3480156105ba57600080fd5b506105c3611306565b6040516105d091906139f2565b60405180910390f35b3480156105e557600080fd5b506105ee61131d565b6040516105fb9190613923565b60405180910390f35b61061e60048036038101906106199190613af4565b61132e565b005b34801561062c57600080fd5b5061064760048036038101906106429190613af4565b6115a8565b6040516106549190613b62565b60405180910390f35b34801561066957600080fd5b5061067261165a565b60405161067f9190613aa6565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190613ce7565b6116e8565b6040516106bc9190613923565b60405180910390f35b3480156106d157600080fd5b506106da6117a0565b005b3480156106e857600080fd5b506106f1611828565b005b3480156106ff57600080fd5b5061070861192f565b005b34801561071657600080fd5b5061071f611a36565b60405161072c9190613b62565b60405180910390f35b34801561074157600080fd5b5061075c60048036038101906107579190613af4565b611a60565b005b34801561076a57600080fd5b50610773611b45565b6040516107809190613aa6565b60405180910390f35b6107a3600480360381019061079e9190613af4565b611bd7565b005b3480156107b157600080fd5b506107cc60048036038101906107c79190613ebe565b611d6c565b005b3480156107da57600080fd5b506107e3611d82565b6040516107f09190613923565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613ba9565b611d88565b005b34801561082e57600080fd5b5061084960048036038101906108449190613f9f565b611f14565b005b34801561085757600080fd5b50610872600480360381019061086d9190613af4565b611f76565b60405161087f9190613aa6565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa9190613ce7565b61201d565b005b3480156108bd57600080fd5b506108c66120dd565b6040516108d39190613923565b60405180910390f35b3480156108e857600080fd5b506108f16120e3565b6040516108fe91906139f2565b60405180910390f35b34801561091357600080fd5b5061092e60048036038101906109299190614022565b6120fa565b60405161093b91906139f2565b60405180910390f35b34801561095057600080fd5b5061095961218e565b60405161096691906139f2565b60405180910390f35b34801561097b57600080fd5b5061099660048036038101906109919190613ce7565b6121a1565b005b3480156109a457600080fd5b506109ad612299565b6040516109ba9190613923565b60405180910390f35b3480156109cf57600080fd5b506109ea60048036038101906109e59190613ce7565b61229e565b005b600f5481565b60006109fd82612472565b9050919050565b606060008054610a1390614091565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f90614091565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b5050505050905090565b6000610aa1826124ec565b610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad790614135565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b26826115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e906141c7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb6612558565b73ffffffffffffffffffffffffffffffffffffffff161480610be55750610be481610bdf612558565b6120fa565b5b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90614259565b60405180910390fd5b610c2e8383612560565b505050565b610c3b612558565b73ffffffffffffffffffffffffffffffffffffffff16610c59611a36565b73ffffffffffffffffffffffffffffffffffffffff161480610ccf5750610c7e612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906142eb565b60405180910390fd5b600c54610d19610da6565b1115610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d519061437d565b60405180910390fd5b60005b82811015610da157610d84826001610d75600b612619565b610d7f91906143cc565b612627565b610d8e600b612645565b8080610d9990614422565b915050610d5d565b505050565b6000600880549050905090565b610dc4610dbe612558565b8261265b565b610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa906144dd565b60405180910390fd5b610e0e838383612739565b505050565b610e1b612558565b73ffffffffffffffffffffffffffffffffffffffff16610e39611a36565b73ffffffffffffffffffffffffffffffffffffffff161480610eaf5750610e5e612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee5906142eb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f34573d6000803e3d6000fd5b5050565b6000610f43836116e8565b8210610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b9061456f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160019054906101000a900460ff1681565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611041612558565b73ffffffffffffffffffffffffffffffffffffffff1661105f611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806110d55750611084612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906142eb565b60405180910390fd5b80600f8190555050565b600d5481565b61113f83838360405180602001604052806000815250611f14565b505050565b61115561114f612558565b8261265b565b611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90614601565b60405180910390fd5b61119d81612995565b50565b60006111aa610da6565b82106111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290614693565b60405180910390fd5b600882815481106111ff576111fe6146b3565b5b90600052602060002001549050919050565b611219612558565b73ffffffffffffffffffffffffffffffffffffffff16611237611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806112ad575061125c612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e3906142eb565b60405180910390fd5b8060109080519060200190611302929190613867565b5050565b6000601160009054906101000a900460ff16905090565b6000611329600b612619565b905090565b601160019054906101000a900460ff1661137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490614754565b60405180910390fd5b3481600f5461138c9190614774565b11156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c49061481a565b60405180910390fd5b6003811115611411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611408906148ac565b60405180910390fd5b600381601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461145e91906143cc565b111561149f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114969061493e565b60405180910390fd5b600d54816114ab610da6565b6114b591906143cc565b11156114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed906149aa565b60405180910390fd5b60005b818110156115a4576000600161150f600b612619565b61151991906143cc565b9050600c5481116115905761152e3382612627565b611538600b612645565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461158891906143cc565b925050819055505b50808061159c90614422565b9150506114f9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890614a3c565b60405180910390fd5b80915050919050565b6010805461166790614091565b80601f016020809104026020016040519081016040528092919081815260200182805461169390614091565b80156116e05780601f106116b5576101008083540402835291602001916116e0565b820191906000526020600020905b8154815290600101906020018083116116c357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175090614ace565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117a8612558565b73ffffffffffffffffffffffffffffffffffffffff166117c6611a36565b73ffffffffffffffffffffffffffffffffffffffff161461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390614b3a565b60405180910390fd5b6118266000612aa6565b565b611830612558565b73ffffffffffffffffffffffffffffffffffffffff1661184e611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806118c45750611873612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa906142eb565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b611937612558565b73ffffffffffffffffffffffffffffffffffffffff16611955611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806119cb575061197a612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906142eb565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a68612558565b73ffffffffffffffffffffffffffffffffffffffff16611a86611a36565b73ffffffffffffffffffffffffffffffffffffffff161480611afc5750611aab612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b32906142eb565b60405180910390fd5b80600e8190555050565b606060018054611b5490614091565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8090614091565b8015611bcd5780601f10611ba257610100808354040283529160200191611bcd565b820191906000526020600020905b815481529060010190602001808311611bb057829003601f168201915b5050505050905090565b601160009054906101000a900460ff16611c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1d90614bcc565b60405180910390fd5b3481600e54611c359190614774565b1115611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d9061481a565b60405180910390fd5b6003811115611cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb1906148ac565b60405180910390fd5b600c5481611cc6610da6565b611cd091906143cc565b1115611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0890614c38565b60405180910390fd5b60005b81811015611d685760006001611d2a600b612619565b611d3491906143cc565b9050600c548111611d5457611d493382612627565b611d53600b612645565b5b508080611d6090614422565b915050611d14565b5050565b611d7e611d77612558565b8383612b6c565b5050565b600c5481565b611d90612558565b73ffffffffffffffffffffffffffffffffffffffff16611dae611a36565b73ffffffffffffffffffffffffffffffffffffffff161480611e245750611dd3612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a906142eb565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e8990614c89565b60006040518083038185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5050905080611f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0690614cea565b60405180910390fd5b505050565b611f25611f1f612558565b8361265b565b611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b906144dd565b60405180910390fd5b611f7084848484612cd9565b50505050565b6060611f81826124ec565b611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb790614d7c565b60405180910390fd5b6000611fca612d35565b90506000815111611fea5760405180602001604052806000815250612015565b80611ff484612dc7565b604051602001612005929190614dd8565b6040516020818303038152906040525b915050919050565b612025612558565b73ffffffffffffffffffffffffffffffffffffffff16612043611a36565b73ffffffffffffffffffffffffffffffffffffffff1614612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614b3a565b60405180910390fd5b80601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b6000601160019054906101000a900460ff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900460ff1681565b6121a9612558565b73ffffffffffffffffffffffffffffffffffffffff166121c7611a36565b73ffffffffffffffffffffffffffffffffffffffff161461221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490614b3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561228d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228490614e6e565b60405180910390fd5b61229681612aa6565b50565b600381565b6122a6612558565b73ffffffffffffffffffffffffffffffffffffffff166122c4611a36565b73ffffffffffffffffffffffffffffffffffffffff16148061233a57506122e9612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612370906142eb565b60405180910390fd5b6000479050600081116123c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b890614eda565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123e790614c89565b60006040518083038185875af1925050503d8060008114612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b505090508061246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614cea565b60405180910390fd5b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e557506124e482612f28565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125d3836115a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b61264182826040518060200160405280600081525061300a565b5050565b6001816000016000828254019250508190555050565b6000612666826124ec565b6126a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269c90614f6c565b60405180910390fd5b60006126b0836115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061271f57508373ffffffffffffffffffffffffffffffffffffffff1661270784610a96565b73ffffffffffffffffffffffffffffffffffffffff16145b80612730575061272f81856120fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612759826115a8565b73ffffffffffffffffffffffffffffffffffffffff16146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614ffe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690615090565b60405180910390fd5b61282a838383613065565b612835600082612560565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288591906150b0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128dc91906143cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129a0826115a8565b90506129ae81600084613065565b6129b9600083612560565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a0991906150b0565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290615130565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ccc91906139f2565b60405180910390a3505050565b612ce4848484612739565b612cf084848484613075565b612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d26906151c2565b60405180910390fd5b50505050565b606060108054612d4490614091565b80601f0160208091040260200160405190810160405280929190818152602001828054612d7090614091565b8015612dbd5780601f10612d9257610100808354040283529160200191612dbd565b820191906000526020600020905b815481529060010190602001808311612da057829003601f168201915b5050505050905090565b60606000821415612e0f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f23565b600082905060005b60008214612e41578080612e2a90614422565b915050600a82612e3a9190615211565b9150612e17565b60008167ffffffffffffffff811115612e5d57612e5c613d1e565b5b6040519080825280601f01601f191660200182016040528015612e8f5781602001600182028036833780820191505090505b5090505b60008514612f1c57600182612ea891906150b0565b9150600a85612eb79190615242565b6030612ec391906143cc565b60f81b818381518110612ed957612ed86146b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f159190615211565b9450612e93565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ff357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130035750613002826131fd565b5b9050919050565b6130148383613267565b6130216000848484613075565b613060576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613057906151c2565b60405180910390fd5b505050565b613070838383613435565b505050565b60006130968473ffffffffffffffffffffffffffffffffffffffff16613549565b156131f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130bf612558565b8786866040518563ffffffff1660e01b81526004016130e194939291906152c8565b6020604051808303816000875af192505050801561311d57506040513d601f19601f8201168201806040525081019061311a9190615329565b60015b6131a0573d806000811461314d576040519150601f19603f3d011682016040523d82523d6000602084013e613152565b606091505b50600081511415613198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318f906151c2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131f5565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ce906153a2565b60405180910390fd5b6132e0816124ec565b15613320576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133179061540e565b60405180910390fd5b61332c60008383613065565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461337c91906143cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61344083838361355c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134835761347e81613561565b6134c2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134c1576134c083826135aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135055761350081613717565b613544565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135435761354282826137e8565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b7846116e8565b6135c191906150b0565b90506000600760008481526020019081526020016000205490508181146136a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061372b91906150b0565b905060006009600084815260200190815260200160002054905060006008838154811061375b5761375a6146b3565b5b90600052602060002001549050806008838154811061377d5761377c6146b3565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137cc576137cb61542e565b5b6001900381819060005260206000200160009055905550505050565b60006137f3836116e8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461387390614091565b90600052602060002090601f01602090048101928261389557600085556138dc565b82601f106138ae57805160ff19168380011785556138dc565b828001600101855582156138dc579182015b828111156138db5782518255916020019190600101906138c0565b5b5090506138e991906138ed565b5090565b5b808211156139065760008160009055506001016138ee565b5090565b6000819050919050565b61391d8161390a565b82525050565b60006020820190506139386000830184613914565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61398781613952565b811461399257600080fd5b50565b6000813590506139a48161397e565b92915050565b6000602082840312156139c0576139bf613948565b5b60006139ce84828501613995565b91505092915050565b60008115159050919050565b6139ec816139d7565b82525050565b6000602082019050613a0760008301846139e3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a47578082015181840152602081019050613a2c565b83811115613a56576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a7882613a0d565b613a828185613a18565b9350613a92818560208601613a29565b613a9b81613a5c565b840191505092915050565b60006020820190508181036000830152613ac08184613a6d565b905092915050565b613ad18161390a565b8114613adc57600080fd5b50565b600081359050613aee81613ac8565b92915050565b600060208284031215613b0a57613b09613948565b5b6000613b1884828501613adf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b4c82613b21565b9050919050565b613b5c81613b41565b82525050565b6000602082019050613b776000830184613b53565b92915050565b613b8681613b41565b8114613b9157600080fd5b50565b600081359050613ba381613b7d565b92915050565b60008060408385031215613bc057613bbf613948565b5b6000613bce85828601613b94565b9250506020613bdf85828601613adf565b9150509250929050565b60008060408385031215613c0057613bff613948565b5b6000613c0e85828601613adf565b9250506020613c1f85828601613b94565b9150509250929050565b600080600060608486031215613c4257613c41613948565b5b6000613c5086828701613b94565b9350506020613c6186828701613b94565b9250506040613c7286828701613adf565b9150509250925092565b6000613c8782613b21565b9050919050565b613c9781613c7c565b8114613ca257600080fd5b50565b600081359050613cb481613c8e565b92915050565b600060208284031215613cd057613ccf613948565b5b6000613cde84828501613ca5565b91505092915050565b600060208284031215613cfd57613cfc613948565b5b6000613d0b84828501613b94565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5682613a5c565b810181811067ffffffffffffffff82111715613d7557613d74613d1e565b5b80604052505050565b6000613d8861393e565b9050613d948282613d4d565b919050565b600067ffffffffffffffff821115613db457613db3613d1e565b5b613dbd82613a5c565b9050602081019050919050565b82818337600083830152505050565b6000613dec613de784613d99565b613d7e565b905082815260208101848484011115613e0857613e07613d19565b5b613e13848285613dca565b509392505050565b600082601f830112613e3057613e2f613d14565b5b8135613e40848260208601613dd9565b91505092915050565b600060208284031215613e5f57613e5e613948565b5b600082013567ffffffffffffffff811115613e7d57613e7c61394d565b5b613e8984828501613e1b565b91505092915050565b613e9b816139d7565b8114613ea657600080fd5b50565b600081359050613eb881613e92565b92915050565b60008060408385031215613ed557613ed4613948565b5b6000613ee385828601613b94565b9250506020613ef485828601613ea9565b9150509250929050565b600067ffffffffffffffff821115613f1957613f18613d1e565b5b613f2282613a5c565b9050602081019050919050565b6000613f42613f3d84613efe565b613d7e565b905082815260208101848484011115613f5e57613f5d613d19565b5b613f69848285613dca565b509392505050565b600082601f830112613f8657613f85613d14565b5b8135613f96848260208601613f2f565b91505092915050565b60008060008060808587031215613fb957613fb8613948565b5b6000613fc787828801613b94565b9450506020613fd887828801613b94565b9350506040613fe987828801613adf565b925050606085013567ffffffffffffffff81111561400a5761400961394d565b5b61401687828801613f71565b91505092959194509250565b6000806040838503121561403957614038613948565b5b600061404785828601613b94565b925050602061405885828601613b94565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140a957607f821691505b602082108114156140bd576140bc614062565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061411f602c83613a18565b915061412a826140c3565b604082019050919050565b6000602082019050818103600083015261414e81614112565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141b1602183613a18565b91506141bc82614155565b604082019050919050565b600060208201905081810360008301526141e0816141a4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614243603883613a18565b915061424e826141e7565b604082019050919050565b6000602082019050818103600083015261427281614236565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006142d5602283613a18565b91506142e082614279565b604082019050919050565b60006020820190508181036000830152614304816142c8565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204e696e6a617300000000000000000000000000000000000000000000602082015250565b6000614367602a83613a18565b91506143728261430b565b604082019050919050565b600060208201905081810360008301526143968161435a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143d78261390a565b91506143e28361390a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144175761441661439d565b5b828201905092915050565b600061442d8261390a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144605761445f61439d565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006144c7603183613a18565b91506144d28261446b565b604082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614559602b83613a18565b9150614564826144fd565b604082019050919050565b600060208201905081810360008301526145888161454c565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006145eb603083613a18565b91506145f68261458f565b604082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061467d602c83613a18565b915061468882614621565b604082019050919050565b600060208201905081810360008301526146ac81614670565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f50726573616c65206d7573742062652061637469766520746f206d696e74204e60008201527f696e6a6173000000000000000000000000000000000000000000000000000000602082015250565b600061473e602583613a18565b9150614749826146e2565b604082019050919050565b6000602082019050818103600083015261476d81614731565b9050919050565b600061477f8261390a565b915061478a8361390a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147c3576147c261439d565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614804601f83613a18565b915061480f826147ce565b602082019050919050565b60006020820190508181036000830152614833816147f7565b9050919050565b7f596f752063616e206f6e6c79206d696e742033204e696e6a617320617420612060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b6000614896602483613a18565b91506148a18261483a565b604082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b7f507572636861736520776f756c6420657863656564207468652077686974656c60008201527f6973742077616c6c6574206c696d697400000000000000000000000000000000602082015250565b6000614928603083613a18565b9150614933826148cc565b604082019050919050565b600060208201905081810360008301526149578161491b565b9050919050565b7f50524553414c4520534f4c44204f555400000000000000000000000000000000600082015250565b6000614994601083613a18565b915061499f8261495e565b602082019050919050565b600060208201905081810360008301526149c381614987565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614a26602983613a18565b9150614a31826149ca565b604082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ab8602a83613a18565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b24602083613a18565b9150614b2f82614aee565b602082019050919050565b60006020820190508181036000830152614b5381614b17565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e74204e696e6a60008201527f6173000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bb6602283613a18565b9150614bc182614b5a565b604082019050919050565b60006020820190508181036000830152614be581614ba9565b9050919050565b7f4e494e4a415320534f4c44204f55540000000000000000000000000000000000600082015250565b6000614c22600f83613a18565b9150614c2d82614bec565b602082019050919050565b60006020820190508181036000830152614c5181614c15565b9050919050565b600081905092915050565b50565b6000614c73600083614c58565b9150614c7e82614c63565b600082019050919050565b6000614c9482614c66565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614cd4601083613a18565b9150614cdf82614c9e565b602082019050919050565b60006020820190508181036000830152614d0381614cc7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d66602f83613a18565b9150614d7182614d0a565b604082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b600081905092915050565b6000614db282613a0d565b614dbc8185614d9c565b9350614dcc818560208601613a29565b80840191505092915050565b6000614de48285614da7565b9150614df08284614da7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e58602683613a18565b9150614e6382614dfc565b604082019050919050565b60006020820190508181036000830152614e8781614e4b565b9050919050565b7f42616c616e6365206973207a65726f0000000000000000000000000000000000600082015250565b6000614ec4600f83613a18565b9150614ecf82614e8e565b602082019050919050565b60006020820190508181036000830152614ef381614eb7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f56602c83613a18565b9150614f6182614efa565b604082019050919050565b60006020820190508181036000830152614f8581614f49565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fe8602983613a18565b9150614ff382614f8c565b604082019050919050565b6000602082019050818103600083015261501781614fdb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061507a602483613a18565b91506150858261501e565b604082019050919050565b600060208201905081810360008301526150a98161506d565b9050919050565b60006150bb8261390a565b91506150c68361390a565b9250828210156150d9576150d861439d565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061511a601983613a18565b9150615125826150e4565b602082019050919050565b600060208201905081810360008301526151498161510d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151ac603283613a18565b91506151b782615150565b604082019050919050565b600060208201905081810360008301526151db8161519f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061521c8261390a565b91506152278361390a565b925082615237576152366151e2565b5b828204905092915050565b600061524d8261390a565b91506152588361390a565b925082615268576152676151e2565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061529a82615273565b6152a4818561527e565b93506152b4818560208601613a29565b6152bd81613a5c565b840191505092915050565b60006080820190506152dd6000830187613b53565b6152ea6020830186613b53565b6152f76040830185613914565b8181036060830152615309818461528f565b905095945050505050565b6000815190506153238161397e565b92915050565b60006020828403121561533f5761533e613948565b5b600061534d84828501615314565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061538c602083613a18565b915061539782615356565b602082019050919050565b600060208201905081810360008301526153bb8161537f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153f8601c83613a18565b9150615403826153c2565b602082019050919050565b60006020820190508181036000830152615427816153eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220498eeef657c9356d577be9d99b908db19b788322ea0ddda43add4826094bde8864736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106102665760003560e01c80636c0360eb11610144578063b4e380d5116100b6578063e93244441161007a578063e9324444146108dc578063e985e9c514610907578063eb8d244414610944578063f2fde38b1461096f578063f8f78f4614610998578063fa09e630146109c357610266565b8063b4e380d5146107f9578063b88d4fde14610822578063c87b56dd1461084b578063d0ebdbe714610888578063d79a5468146108b157610266565b80638da5cb5b116101085780638da5cb5b1461070a57806391b7f5ed1461073557806395d89b411461075e5780639d2fc8d214610789578063a22cb465146107a5578063aebf6b01146107ce57610266565b80636c0360eb1461065d57806370a0823114610688578063715018a6146106c55780637ba5e621146106dc5780638b62f533146106f357610266565b806333aab966116101dd5780634f6ccce7116101a15780634f6ccce71461054857806355f804b314610585578063603f4d52146105ae578063626be567146105d95780636351558a146106045780636352211e1461062057610266565b806333aab966146104655780633549345e146104a257806339fc0c95146104cb57806342842e0e146104f657806342966c681461051f57610266565b806313255adb1161022f57806313255adb1461036457806318160ddd1461038d57806323b872dd146103b8578063253c9867146103e15780632f745c59146103fd57806330f72cd41461043a57610266565b80620e7fa81461026b57806301ffc9a71461029657806306fdde03146102d3578063081812fc146102fe578063095ea7b31461033b575b600080fd5b34801561027757600080fd5b506102806109ec565b60405161028d9190613923565b60405180910390f35b3480156102a257600080fd5b506102bd60048036038101906102b891906139aa565b6109f2565b6040516102ca91906139f2565b60405180910390f35b3480156102df57600080fd5b506102e8610a04565b6040516102f59190613aa6565b60405180910390f35b34801561030a57600080fd5b5061032560048036038101906103209190613af4565b610a96565b6040516103329190613b62565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d9190613ba9565b610b1b565b005b34801561037057600080fd5b5061038b60048036038101906103869190613be9565b610c33565b005b34801561039957600080fd5b506103a2610da6565b6040516103af9190613923565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190613c29565b610db3565b005b6103fb60048036038101906103f69190613cba565b610e13565b005b34801561040957600080fd5b50610424600480360381019061041f9190613ba9565b610f38565b6040516104319190613923565b60405180910390f35b34801561044657600080fd5b5061044f610fdd565b60405161045c91906139f2565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190613ce7565b610ff0565b6040516104999190613923565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613af4565b611039565b005b3480156104d757600080fd5b506104e061111e565b6040516104ed9190613923565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613c29565b611124565b005b34801561052b57600080fd5b5061054660048036038101906105419190613af4565b611144565b005b34801561055457600080fd5b5061056f600480360381019061056a9190613af4565b6111a0565b60405161057c9190613923565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613e49565b611211565b005b3480156105ba57600080fd5b506105c3611306565b6040516105d091906139f2565b60405180910390f35b3480156105e557600080fd5b506105ee61131d565b6040516105fb9190613923565b60405180910390f35b61061e60048036038101906106199190613af4565b61132e565b005b34801561062c57600080fd5b5061064760048036038101906106429190613af4565b6115a8565b6040516106549190613b62565b60405180910390f35b34801561066957600080fd5b5061067261165a565b60405161067f9190613aa6565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190613ce7565b6116e8565b6040516106bc9190613923565b60405180910390f35b3480156106d157600080fd5b506106da6117a0565b005b3480156106e857600080fd5b506106f1611828565b005b3480156106ff57600080fd5b5061070861192f565b005b34801561071657600080fd5b5061071f611a36565b60405161072c9190613b62565b60405180910390f35b34801561074157600080fd5b5061075c60048036038101906107579190613af4565b611a60565b005b34801561076a57600080fd5b50610773611b45565b6040516107809190613aa6565b60405180910390f35b6107a3600480360381019061079e9190613af4565b611bd7565b005b3480156107b157600080fd5b506107cc60048036038101906107c79190613ebe565b611d6c565b005b3480156107da57600080fd5b506107e3611d82565b6040516107f09190613923565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613ba9565b611d88565b005b34801561082e57600080fd5b5061084960048036038101906108449190613f9f565b611f14565b005b34801561085757600080fd5b50610872600480360381019061086d9190613af4565b611f76565b60405161087f9190613aa6565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa9190613ce7565b61201d565b005b3480156108bd57600080fd5b506108c66120dd565b6040516108d39190613923565b60405180910390f35b3480156108e857600080fd5b506108f16120e3565b6040516108fe91906139f2565b60405180910390f35b34801561091357600080fd5b5061092e60048036038101906109299190614022565b6120fa565b60405161093b91906139f2565b60405180910390f35b34801561095057600080fd5b5061095961218e565b60405161096691906139f2565b60405180910390f35b34801561097b57600080fd5b5061099660048036038101906109919190613ce7565b6121a1565b005b3480156109a457600080fd5b506109ad612299565b6040516109ba9190613923565b60405180910390f35b3480156109cf57600080fd5b506109ea60048036038101906109e59190613ce7565b61229e565b005b600f5481565b60006109fd82612472565b9050919050565b606060008054610a1390614091565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f90614091565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b5050505050905090565b6000610aa1826124ec565b610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad790614135565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b26826115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e906141c7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb6612558565b73ffffffffffffffffffffffffffffffffffffffff161480610be55750610be481610bdf612558565b6120fa565b5b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90614259565b60405180910390fd5b610c2e8383612560565b505050565b610c3b612558565b73ffffffffffffffffffffffffffffffffffffffff16610c59611a36565b73ffffffffffffffffffffffffffffffffffffffff161480610ccf5750610c7e612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906142eb565b60405180910390fd5b600c54610d19610da6565b1115610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d519061437d565b60405180910390fd5b60005b82811015610da157610d84826001610d75600b612619565b610d7f91906143cc565b612627565b610d8e600b612645565b8080610d9990614422565b915050610d5d565b505050565b6000600880549050905090565b610dc4610dbe612558565b8261265b565b610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa906144dd565b60405180910390fd5b610e0e838383612739565b505050565b610e1b612558565b73ffffffffffffffffffffffffffffffffffffffff16610e39611a36565b73ffffffffffffffffffffffffffffffffffffffff161480610eaf5750610e5e612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee5906142eb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f34573d6000803e3d6000fd5b5050565b6000610f43836116e8565b8210610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b9061456f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160019054906101000a900460ff1681565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611041612558565b73ffffffffffffffffffffffffffffffffffffffff1661105f611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806110d55750611084612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906142eb565b60405180910390fd5b80600f8190555050565b600d5481565b61113f83838360405180602001604052806000815250611f14565b505050565b61115561114f612558565b8261265b565b611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90614601565b60405180910390fd5b61119d81612995565b50565b60006111aa610da6565b82106111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290614693565b60405180910390fd5b600882815481106111ff576111fe6146b3565b5b90600052602060002001549050919050565b611219612558565b73ffffffffffffffffffffffffffffffffffffffff16611237611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806112ad575061125c612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e3906142eb565b60405180910390fd5b8060109080519060200190611302929190613867565b5050565b6000601160009054906101000a900460ff16905090565b6000611329600b612619565b905090565b601160019054906101000a900460ff1661137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490614754565b60405180910390fd5b3481600f5461138c9190614774565b11156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c49061481a565b60405180910390fd5b6003811115611411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611408906148ac565b60405180910390fd5b600381601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461145e91906143cc565b111561149f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114969061493e565b60405180910390fd5b600d54816114ab610da6565b6114b591906143cc565b11156114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed906149aa565b60405180910390fd5b60005b818110156115a4576000600161150f600b612619565b61151991906143cc565b9050600c5481116115905761152e3382612627565b611538600b612645565b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461158891906143cc565b925050819055505b50808061159c90614422565b9150506114f9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890614a3c565b60405180910390fd5b80915050919050565b6010805461166790614091565b80601f016020809104026020016040519081016040528092919081815260200182805461169390614091565b80156116e05780601f106116b5576101008083540402835291602001916116e0565b820191906000526020600020905b8154815290600101906020018083116116c357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175090614ace565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117a8612558565b73ffffffffffffffffffffffffffffffffffffffff166117c6611a36565b73ffffffffffffffffffffffffffffffffffffffff161461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390614b3a565b60405180910390fd5b6118266000612aa6565b565b611830612558565b73ffffffffffffffffffffffffffffffffffffffff1661184e611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806118c45750611873612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa906142eb565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b611937612558565b73ffffffffffffffffffffffffffffffffffffffff16611955611a36565b73ffffffffffffffffffffffffffffffffffffffff1614806119cb575061197a612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906142eb565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a68612558565b73ffffffffffffffffffffffffffffffffffffffff16611a86611a36565b73ffffffffffffffffffffffffffffffffffffffff161480611afc5750611aab612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b32906142eb565b60405180910390fd5b80600e8190555050565b606060018054611b5490614091565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8090614091565b8015611bcd5780601f10611ba257610100808354040283529160200191611bcd565b820191906000526020600020905b815481529060010190602001808311611bb057829003601f168201915b5050505050905090565b601160009054906101000a900460ff16611c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1d90614bcc565b60405180910390fd5b3481600e54611c359190614774565b1115611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d9061481a565b60405180910390fd5b6003811115611cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb1906148ac565b60405180910390fd5b600c5481611cc6610da6565b611cd091906143cc565b1115611d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0890614c38565b60405180910390fd5b60005b81811015611d685760006001611d2a600b612619565b611d3491906143cc565b9050600c548111611d5457611d493382612627565b611d53600b612645565b5b508080611d6090614422565b915050611d14565b5050565b611d7e611d77612558565b8383612b6c565b5050565b600c5481565b611d90612558565b73ffffffffffffffffffffffffffffffffffffffff16611dae611a36565b73ffffffffffffffffffffffffffffffffffffffff161480611e245750611dd3612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5a906142eb565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e8990614c89565b60006040518083038185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5050905080611f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0690614cea565b60405180910390fd5b505050565b611f25611f1f612558565b8361265b565b611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b906144dd565b60405180910390fd5b611f7084848484612cd9565b50505050565b6060611f81826124ec565b611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb790614d7c565b60405180910390fd5b6000611fca612d35565b90506000815111611fea5760405180602001604052806000815250612015565b80611ff484612dc7565b604051602001612005929190614dd8565b6040516020818303038152906040525b915050919050565b612025612558565b73ffffffffffffffffffffffffffffffffffffffff16612043611a36565b73ffffffffffffffffffffffffffffffffffffffff1614612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614b3a565b60405180910390fd5b80601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b6000601160019054906101000a900460ff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900460ff1681565b6121a9612558565b73ffffffffffffffffffffffffffffffffffffffff166121c7611a36565b73ffffffffffffffffffffffffffffffffffffffff161461221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490614b3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561228d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228490614e6e565b60405180910390fd5b61229681612aa6565b50565b600381565b6122a6612558565b73ffffffffffffffffffffffffffffffffffffffff166122c4611a36565b73ffffffffffffffffffffffffffffffffffffffff16148061233a57506122e9612558565b73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612370906142eb565b60405180910390fd5b6000479050600081116123c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b890614eda565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123e790614c89565b60006040518083038185875af1925050503d8060008114612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b505090508061246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614cea565b60405180910390fd5b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e557506124e482612f28565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125d3836115a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b61264182826040518060200160405280600081525061300a565b5050565b6001816000016000828254019250508190555050565b6000612666826124ec565b6126a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269c90614f6c565b60405180910390fd5b60006126b0836115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061271f57508373ffffffffffffffffffffffffffffffffffffffff1661270784610a96565b73ffffffffffffffffffffffffffffffffffffffff16145b80612730575061272f81856120fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612759826115a8565b73ffffffffffffffffffffffffffffffffffffffff16146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690614ffe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561281f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281690615090565b60405180910390fd5b61282a838383613065565b612835600082612560565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288591906150b0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128dc91906143cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129a0826115a8565b90506129ae81600084613065565b6129b9600083612560565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a0991906150b0565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290615130565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ccc91906139f2565b60405180910390a3505050565b612ce4848484612739565b612cf084848484613075565b612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d26906151c2565b60405180910390fd5b50505050565b606060108054612d4490614091565b80601f0160208091040260200160405190810160405280929190818152602001828054612d7090614091565b8015612dbd5780601f10612d9257610100808354040283529160200191612dbd565b820191906000526020600020905b815481529060010190602001808311612da057829003601f168201915b5050505050905090565b60606000821415612e0f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f23565b600082905060005b60008214612e41578080612e2a90614422565b915050600a82612e3a9190615211565b9150612e17565b60008167ffffffffffffffff811115612e5d57612e5c613d1e565b5b6040519080825280601f01601f191660200182016040528015612e8f5781602001600182028036833780820191505090505b5090505b60008514612f1c57600182612ea891906150b0565b9150600a85612eb79190615242565b6030612ec391906143cc565b60f81b818381518110612ed957612ed86146b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f159190615211565b9450612e93565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ff357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130035750613002826131fd565b5b9050919050565b6130148383613267565b6130216000848484613075565b613060576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613057906151c2565b60405180910390fd5b505050565b613070838383613435565b505050565b60006130968473ffffffffffffffffffffffffffffffffffffffff16613549565b156131f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130bf612558565b8786866040518563ffffffff1660e01b81526004016130e194939291906152c8565b6020604051808303816000875af192505050801561311d57506040513d601f19601f8201168201806040525081019061311a9190615329565b60015b6131a0573d806000811461314d576040519150601f19603f3d011682016040523d82523d6000602084013e613152565b606091505b50600081511415613198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318f906151c2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131f5565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ce906153a2565b60405180910390fd5b6132e0816124ec565b15613320576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133179061540e565b60405180910390fd5b61332c60008383613065565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461337c91906143cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61344083838361355c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134835761347e81613561565b6134c2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134c1576134c083826135aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135055761350081613717565b613544565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135435761354282826137e8565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b7846116e8565b6135c191906150b0565b90506000600760008481526020019081526020016000205490508181146136a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061372b91906150b0565b905060006009600084815260200190815260200160002054905060006008838154811061375b5761375a6146b3565b5b90600052602060002001549050806008838154811061377d5761377c6146b3565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137cc576137cb61542e565b5b6001900381819060005260206000200160009055905550505050565b60006137f3836116e8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461387390614091565b90600052602060002090601f01602090048101928261389557600085556138dc565b82601f106138ae57805160ff19168380011785556138dc565b828001600101855582156138dc579182015b828111156138db5782518255916020019190600101906138c0565b5b5090506138e991906138ed565b5090565b5b808211156139065760008160009055506001016138ee565b5090565b6000819050919050565b61391d8161390a565b82525050565b60006020820190506139386000830184613914565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61398781613952565b811461399257600080fd5b50565b6000813590506139a48161397e565b92915050565b6000602082840312156139c0576139bf613948565b5b60006139ce84828501613995565b91505092915050565b60008115159050919050565b6139ec816139d7565b82525050565b6000602082019050613a0760008301846139e3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a47578082015181840152602081019050613a2c565b83811115613a56576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a7882613a0d565b613a828185613a18565b9350613a92818560208601613a29565b613a9b81613a5c565b840191505092915050565b60006020820190508181036000830152613ac08184613a6d565b905092915050565b613ad18161390a565b8114613adc57600080fd5b50565b600081359050613aee81613ac8565b92915050565b600060208284031215613b0a57613b09613948565b5b6000613b1884828501613adf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b4c82613b21565b9050919050565b613b5c81613b41565b82525050565b6000602082019050613b776000830184613b53565b92915050565b613b8681613b41565b8114613b9157600080fd5b50565b600081359050613ba381613b7d565b92915050565b60008060408385031215613bc057613bbf613948565b5b6000613bce85828601613b94565b9250506020613bdf85828601613adf565b9150509250929050565b60008060408385031215613c0057613bff613948565b5b6000613c0e85828601613adf565b9250506020613c1f85828601613b94565b9150509250929050565b600080600060608486031215613c4257613c41613948565b5b6000613c5086828701613b94565b9350506020613c6186828701613b94565b9250506040613c7286828701613adf565b9150509250925092565b6000613c8782613b21565b9050919050565b613c9781613c7c565b8114613ca257600080fd5b50565b600081359050613cb481613c8e565b92915050565b600060208284031215613cd057613ccf613948565b5b6000613cde84828501613ca5565b91505092915050565b600060208284031215613cfd57613cfc613948565b5b6000613d0b84828501613b94565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5682613a5c565b810181811067ffffffffffffffff82111715613d7557613d74613d1e565b5b80604052505050565b6000613d8861393e565b9050613d948282613d4d565b919050565b600067ffffffffffffffff821115613db457613db3613d1e565b5b613dbd82613a5c565b9050602081019050919050565b82818337600083830152505050565b6000613dec613de784613d99565b613d7e565b905082815260208101848484011115613e0857613e07613d19565b5b613e13848285613dca565b509392505050565b600082601f830112613e3057613e2f613d14565b5b8135613e40848260208601613dd9565b91505092915050565b600060208284031215613e5f57613e5e613948565b5b600082013567ffffffffffffffff811115613e7d57613e7c61394d565b5b613e8984828501613e1b565b91505092915050565b613e9b816139d7565b8114613ea657600080fd5b50565b600081359050613eb881613e92565b92915050565b60008060408385031215613ed557613ed4613948565b5b6000613ee385828601613b94565b9250506020613ef485828601613ea9565b9150509250929050565b600067ffffffffffffffff821115613f1957613f18613d1e565b5b613f2282613a5c565b9050602081019050919050565b6000613f42613f3d84613efe565b613d7e565b905082815260208101848484011115613f5e57613f5d613d19565b5b613f69848285613dca565b509392505050565b600082601f830112613f8657613f85613d14565b5b8135613f96848260208601613f2f565b91505092915050565b60008060008060808587031215613fb957613fb8613948565b5b6000613fc787828801613b94565b9450506020613fd887828801613b94565b9350506040613fe987828801613adf565b925050606085013567ffffffffffffffff81111561400a5761400961394d565b5b61401687828801613f71565b91505092959194509250565b6000806040838503121561403957614038613948565b5b600061404785828601613b94565b925050602061405885828601613b94565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140a957607f821691505b602082108114156140bd576140bc614062565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061411f602c83613a18565b915061412a826140c3565b604082019050919050565b6000602082019050818103600083015261414e81614112565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006141b1602183613a18565b91506141bc82614155565b604082019050919050565b600060208201905081810360008301526141e0816141a4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614243603883613a18565b915061424e826141e7565b604082019050919050565b6000602082019050818103600083015261427281614236565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006142d5602283613a18565b91506142e082614279565b604082019050919050565b60006020820190508181036000830152614304816142c8565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204e696e6a617300000000000000000000000000000000000000000000602082015250565b6000614367602a83613a18565b91506143728261430b565b604082019050919050565b600060208201905081810360008301526143968161435a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143d78261390a565b91506143e28361390a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144175761441661439d565b5b828201905092915050565b600061442d8261390a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144605761445f61439d565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006144c7603183613a18565b91506144d28261446b565b604082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614559602b83613a18565b9150614564826144fd565b604082019050919050565b600060208201905081810360008301526145888161454c565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006145eb603083613a18565b91506145f68261458f565b604082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061467d602c83613a18565b915061468882614621565b604082019050919050565b600060208201905081810360008301526146ac81614670565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f50726573616c65206d7573742062652061637469766520746f206d696e74204e60008201527f696e6a6173000000000000000000000000000000000000000000000000000000602082015250565b600061473e602583613a18565b9150614749826146e2565b604082019050919050565b6000602082019050818103600083015261476d81614731565b9050919050565b600061477f8261390a565b915061478a8361390a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147c3576147c261439d565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614804601f83613a18565b915061480f826147ce565b602082019050919050565b60006020820190508181036000830152614833816147f7565b9050919050565b7f596f752063616e206f6e6c79206d696e742033204e696e6a617320617420612060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b6000614896602483613a18565b91506148a18261483a565b604082019050919050565b600060208201905081810360008301526148c581614889565b9050919050565b7f507572636861736520776f756c6420657863656564207468652077686974656c60008201527f6973742077616c6c6574206c696d697400000000000000000000000000000000602082015250565b6000614928603083613a18565b9150614933826148cc565b604082019050919050565b600060208201905081810360008301526149578161491b565b9050919050565b7f50524553414c4520534f4c44204f555400000000000000000000000000000000600082015250565b6000614994601083613a18565b915061499f8261495e565b602082019050919050565b600060208201905081810360008301526149c381614987565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614a26602983613a18565b9150614a31826149ca565b604082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ab8602a83613a18565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b24602083613a18565b9150614b2f82614aee565b602082019050919050565b60006020820190508181036000830152614b5381614b17565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e74204e696e6a60008201527f6173000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bb6602283613a18565b9150614bc182614b5a565b604082019050919050565b60006020820190508181036000830152614be581614ba9565b9050919050565b7f4e494e4a415320534f4c44204f55540000000000000000000000000000000000600082015250565b6000614c22600f83613a18565b9150614c2d82614bec565b602082019050919050565b60006020820190508181036000830152614c5181614c15565b9050919050565b600081905092915050565b50565b6000614c73600083614c58565b9150614c7e82614c63565b600082019050919050565b6000614c9482614c66565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614cd4601083613a18565b9150614cdf82614c9e565b602082019050919050565b60006020820190508181036000830152614d0381614cc7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d66602f83613a18565b9150614d7182614d0a565b604082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b600081905092915050565b6000614db282613a0d565b614dbc8185614d9c565b9350614dcc818560208601613a29565b80840191505092915050565b6000614de48285614da7565b9150614df08284614da7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e58602683613a18565b9150614e6382614dfc565b604082019050919050565b60006020820190508181036000830152614e8781614e4b565b9050919050565b7f42616c616e6365206973207a65726f0000000000000000000000000000000000600082015250565b6000614ec4600f83613a18565b9150614ecf82614e8e565b602082019050919050565b60006020820190508181036000830152614ef381614eb7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f56602c83613a18565b9150614f6182614efa565b604082019050919050565b60006020820190508181036000830152614f8581614f49565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fe8602983613a18565b9150614ff382614f8c565b604082019050919050565b6000602082019050818103600083015261501781614fdb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061507a602483613a18565b91506150858261501e565b604082019050919050565b600060208201905081810360008301526150a98161506d565b9050919050565b60006150bb8261390a565b91506150c68361390a565b9250828210156150d9576150d861439d565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061511a601983613a18565b9150615125826150e4565b602082019050919050565b600060208201905081810360008301526151498161510d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151ac603283613a18565b91506151b782615150565b604082019050919050565b600060208201905081810360008301526151db8161519f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061521c8261390a565b91506152278361390a565b925082615237576152366151e2565b5b828204905092915050565b600061524d8261390a565b91506152588361390a565b925082615268576152676151e2565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061529a82615273565b6152a4818561527e565b93506152b4818560208601613a29565b6152bd81613a5c565b840191505092915050565b60006080820190506152dd6000830187613b53565b6152ea6020830186613b53565b6152f76040830185613914565b8181036060830152615309818461528f565b905095945050505050565b6000815190506153238161397e565b92915050565b60006020828403121561533f5761533e613948565b5b600061534d84828501615314565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061538c602083613a18565b915061539782615356565b602082019050919050565b600060208201905081810360008301526153bb8161537f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153f8601c83613a18565b9150615403826153c2565b602082019050919050565b60006020820190508181036000830152615427816153eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220498eeef657c9356d577be9d99b908db19b788322ea0ddda43add4826094bde8864736f6c634300080b0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.