ERC-721
NFT
Overview
Max Total Supply
9,001 SJ
Holders
1,867
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 SJLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShonenJunk
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract ShonenJunk is ERC721A, Ownable { string private baseURI; address addr_1 = 0xdb275FaC4239aa53e3c56b7e999Dfc2B2406b671; // reserved for giveaways uint256 public reserved = 800; // total NFTs that can be minted uint256 public maxSupply = 9001; // number of NFTs that can be minted at once uint256 public maxPerAddressDuringMint = 3; // floor prices uint256 public tier0Price = 0.00 ether; uint256 public tier1Price = 0.05 ether; uint256 public tier2Price = 0.08 ether; bool public paused = true; constructor( string memory name, string memory symbol, string memory initBaseURI ) ERC721A(name, symbol, maxPerAddressDuringMint) { setBaseURI(initBaseURI); } // Purchase requires a _signature from the author. // This is a 2-party authenticated purchase: the contract owner and minter. // Purchaser pays gas fees. function purchase(uint256 num, uint256 _timestamp, uint256 priceTier, bytes memory _signature) public payable { uint256 supply = totalSupply(); require( !paused, "Sale paused" ); require( num <= maxPerAddressDuringMint, "Batch size exceeded" ); require( supply + num < maxSupply - reserved, "Exceeds maximum NFTs supply" ); address wallet = _msgSender(); address signerOwner = signatureWallet(wallet, num, _timestamp, _signature); require(signerOwner == owner(), "Not authorized to mint"); require(block.timestamp >= _timestamp - 30, "Signature expired, out of time"); if (priceTier == 0) { require( msg.value >= tier0Price * num, "Ether sent is not correct" ); } else if (priceTier == 1) { require( msg.value >= tier1Price * num, "Ether sent is not correct" ); } else if (priceTier == 2) { require( msg.value >= tier2Price * num, "Ether sent is not correct" ); } else { revert("Invalid price tier"); } _safeMint( msg.sender, num ); } function signatureWallet(address wallet, uint256 _num, uint256 _timestamp, bytes memory _signature) internal pure returns (address){ return ECDSA.recover(ethSignedMessage(keccak256(abi.encode(wallet, _num, _timestamp))), _signature); } function ethSignedMessage(bytes32 messageHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", messageHash)); } // Contract owner pays gas fee function giveAway(address recipient, uint256 num) public onlyOwner { require( num <= reserved, "Exceeds reserved NFTs supply" ); while (num > 0) { if (num <= maxPerAddressDuringMint) { _safeMint( recipient, num ); num -= num; } else { _safeMint( recipient, maxPerAddressDuringMint ); num -= maxPerAddressDuringMint; } } reserved -= num; } function setPrice(uint256 priceTier, uint256 newPrice) public onlyOwner { if (priceTier == 0) { tier0Price = newPrice; } else if (priceTier == 1) { tier1Price = newPrice; } else if (priceTier == 2) { tier2Price = newPrice; } else { revert("Invalid price tier"); } } function setPause(bool val) public onlyOwner { paused = val; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Include trailing slash in uri function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function withdrawAll() public payable onlyOwner { uint256 all = address(this).balance; require(payable(addr_1).send(all)); } }
// SPDX-License-Identifier: MIT // Creators: locationtba.eth, 2pmflow.eth pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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 * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// 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/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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/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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"uint256","name":"priceTier","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceTier","type":"uint256"},{"internalType":"uint256","name":"newPrice","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":[],"name":"tier0Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier1Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier2Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a060405260008055600060075573db275fac4239aa53e3c56b7e999dfc2b2406b671600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610320600b55612329600c556003600d556000600e5566b1a2bc2ec50000600f5567011c37937e0800006010556001601160006101000a81548160ff021916908315150217905550348015620000b757600080fd5b5060405162005953380380620059538339818101604052810190620000dd91906200058f565b8282600d546000811162000128576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200011f90620006cf565b60405180910390fd5b82600190805190602001906200014092919062000342565b5081600290805190602001906200015992919062000342565b50806080818152505050505062000185620001796200019f60201b60201c565b620001a760201b60201c565b62000196816200026d60201b60201c565b505050620007c8565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200027d6200019f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a36200031860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002fc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f39062000741565b60405180910390fd5b80600990805190602001906200031492919062000342565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003509062000792565b90600052602060002090601f016020900481019282620003745760008555620003c0565b82601f106200038f57805160ff1916838001178555620003c0565b82800160010185558215620003c0579182015b82811115620003bf578251825591602001919060010190620003a2565b5b509050620003cf9190620003d3565b5090565b5b80821115620003ee576000816000905550600101620003d4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200045b8262000410565b810181811067ffffffffffffffff821117156200047d576200047c62000421565b5b80604052505050565b600062000492620003f2565b9050620004a0828262000450565b919050565b600067ffffffffffffffff821115620004c357620004c262000421565b5b620004ce8262000410565b9050602081019050919050565b60005b83811015620004fb578082015181840152602081019050620004de565b838111156200050b576000848401525b50505050565b6000620005286200052284620004a5565b62000486565b9050828152602081018484840111156200054757620005466200040b565b5b62000554848285620004db565b509392505050565b600082601f83011262000574576200057362000406565b5b81516200058684826020860162000511565b91505092915050565b600080600060608486031215620005ab57620005aa620003fc565b5b600084015167ffffffffffffffff811115620005cc57620005cb62000401565b5b620005da868287016200055c565b935050602084015167ffffffffffffffff811115620005fe57620005fd62000401565b5b6200060c868287016200055c565b925050604084015167ffffffffffffffff81111562000630576200062f62000401565b5b6200063e868287016200055c565b9150509250925092565b600082825260208201905092915050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b6000620006b760278362000648565b9150620006c48262000659565b604082019050919050565b60006020820190508181036000830152620006ea81620006a8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200072960208362000648565b91506200073682620006f1565b602082019050919050565b600060208201905081810360008301526200075c816200071a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007ab57607f821691505b60208210811415620007c257620007c162000763565b5b50919050565b608051615161620007f2600039600081816123740152818161239d0152612a8801526151616000f3fe6080604052600436106101ee5760003560e01c8063853828b61161010d578063c87b56dd116100a0578063e985e9c51161006f578063e985e9c5146106d1578063f2fde38b1461070e578063f7d9757714610737578063fb8b51a014610760578063fe60d12c1461078b576101ee565b8063c87b56dd14610615578063ca80014414610652578063d5abeb011461067b578063d7224ba0146106a6576101ee565b8063a22cb465116100dc578063a22cb4651461056f578063b88d4fde14610598578063bedb86fb146105c1578063c455513e146105ea576101ee565b8063853828b6146104e45780638bc35c2f146104ee5780638da5cb5b1461051957806395d89b4114610544576101ee565b80634a079215116101855780635c975abb116101545780635c975abb146104285780636352211e1461045357806370a0823114610490578063715018a6146104cd576101ee565b80634a0792151461037b5780634c474434146103a65780634f6ccce7146103c257806355f804b3146103ff576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632f745c591461031557806342842e0e14610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906133b5565b6107b6565b60405161022791906133fd565b60405180910390f35b34801561023c57600080fd5b50610245610900565b60405161025291906134b1565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613509565b610992565b60405161028f9190613577565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906135be565b610a17565b005b3480156102cd57600080fd5b506102d6610b30565b6040516102e3919061360d565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613628565b610b39565b005b34801561032157600080fd5b5061033c600480360381019061033791906135be565b610b49565b604051610349919061360d565b60405180910390f35b34801561035e57600080fd5b5061037960048036038101906103749190613628565b610d47565b005b34801561038757600080fd5b50610390610d67565b60405161039d919061360d565b60405180910390f35b6103c060048036038101906103bb91906137b0565b610d6d565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190613509565b6110b4565b6040516103f6919061360d565b60405180910390f35b34801561040b57600080fd5b50610426600480360381019061042191906138d4565b611107565b005b34801561043457600080fd5b5061043d61119d565b60405161044a91906133fd565b60405180910390f35b34801561045f57600080fd5b5061047a60048036038101906104759190613509565b6111b0565b6040516104879190613577565b60405180910390f35b34801561049c57600080fd5b506104b760048036038101906104b2919061391d565b6111c6565b6040516104c4919061360d565b60405180910390f35b3480156104d957600080fd5b506104e26112af565b005b6104ec611337565b005b3480156104fa57600080fd5b5061050361141b565b604051610510919061360d565b60405180910390f35b34801561052557600080fd5b5061052e611421565b60405161053b9190613577565b60405180910390f35b34801561055057600080fd5b5061055961144b565b60405161056691906134b1565b60405180910390f35b34801561057b57600080fd5b5061059660048036038101906105919190613976565b6114dd565b005b3480156105a457600080fd5b506105bf60048036038101906105ba91906139b6565b61165e565b005b3480156105cd57600080fd5b506105e860048036038101906105e39190613a39565b6116ba565b005b3480156105f657600080fd5b506105ff611753565b60405161060c919061360d565b60405180910390f35b34801561062157600080fd5b5061063c60048036038101906106379190613509565b611759565b60405161064991906134b1565b60405180910390f35b34801561065e57600080fd5b50610679600480360381019061067491906135be565b611800565b005b34801561068757600080fd5b50610690611930565b60405161069d919061360d565b60405180910390f35b3480156106b257600080fd5b506106bb611936565b6040516106c8919061360d565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190613a66565b61193c565b60405161070591906133fd565b60405180910390f35b34801561071a57600080fd5b506107356004803603810190610730919061391d565b6119d0565b005b34801561074357600080fd5b5061075e60048036038101906107599190613aa6565b611ac8565b005b34801561076c57600080fd5b50610775611bc4565b604051610782919061360d565b60405180910390f35b34801561079757600080fd5b506107a0611bca565b6040516107ad919061360d565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f957506108f882611bd0565b5b9050919050565b60606001805461090f90613b15565b80601f016020809104026020016040519081016040528092919081815260200182805461093b90613b15565b80156109885780601f1061095d57610100808354040283529160200191610988565b820191906000526020600020905b81548152906001019060200180831161096b57829003601f168201915b5050505050905090565b600061099d82611c3a565b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390613bb9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a22826111b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90613c4b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab2611c47565b73ffffffffffffffffffffffffffffffffffffffff161480610ae15750610ae081610adb611c47565b61193c565b5b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613cdd565b60405180910390fd5b610b2b838383611c4f565b505050565b60008054905090565b610b44838383611d01565b505050565b6000610b54836111c6565b8210610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c90613d6f565b60405180910390fd5b6000610b9f610b30565b905060008060005b83811015610d05576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610c9957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf15786841415610ce2578195505050505050610d41565b8380610ced90613dbe565b9450505b508080610cfd90613dbe565b915050610ba7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890613e79565b60405180910390fd5b92915050565b610d628383836040518060200160405280600081525061165e565b505050565b60105481565b6000610d77610b30565b9050601160009054906101000a900460ff1615610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090613ee5565b60405180910390fd5b600d54851115610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590613f51565b60405180910390fd5b600b54600c54610e1e9190613f71565b8582610e2a9190613fa5565b10610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190614047565b60405180910390fd5b6000610e74611c47565b90506000610e84828888876122ba565b9050610e8e611421565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef2906140b3565b60405180910390fd5b601e86610f089190613f71565b421015610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f419061411f565b60405180910390fd5b6000851415610fa85786600e54610f61919061413f565b341015610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a906141e5565b60405180910390fd5b6110a1565b60018514156110065786600f54610fbf919061413f565b341015611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906141e5565b60405180910390fd5b6110a0565b6002851415611064578660105461101d919061413f565b34101561105f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611056906141e5565b60405180910390fd5b61109f565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614251565b60405180910390fd5b5b5b6110ab3388612302565b50505050505050565b60006110be610b30565b82106110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906142e3565b60405180910390fd5b819050919050565b61110f611c47565b73ffffffffffffffffffffffffffffffffffffffff1661112d611421565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a9061434f565b60405180910390fd5b806009908051906020019061119992919061326c565b5050565b601160009054906101000a900460ff1681565b60006111bb82612320565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e906143e1565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112b7611c47565b73ffffffffffffffffffffffffffffffffffffffff166112d5611421565b73ffffffffffffffffffffffffffffffffffffffff161461132b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113229061434f565b60405180910390fd5b6113356000612523565b565b61133f611c47565b73ffffffffffffffffffffffffffffffffffffffff1661135d611421565b73ffffffffffffffffffffffffffffffffffffffff16146113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa9061434f565b60405180910390fd5b6000479050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061141857600080fd5b50565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461145a90613b15565b80601f016020809104026020016040519081016040528092919081815260200182805461148690613b15565b80156114d35780601f106114a8576101008083540402835291602001916114d3565b820191906000526020600020905b8154815290600101906020018083116114b657829003601f168201915b5050505050905090565b6114e5611c47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a9061444d565b60405180910390fd5b8060066000611560611c47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160d611c47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161165291906133fd565b60405180910390a35050565b611669848484611d01565b611675848484846125e9565b6116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab906144df565b60405180910390fd5b50505050565b6116c2611c47565b73ffffffffffffffffffffffffffffffffffffffff166116e0611421565b73ffffffffffffffffffffffffffffffffffffffff1614611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d9061434f565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b600e5481565b606061176482611c3a565b6117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90614571565b60405180910390fd5b60006117ad612771565b905060008151116117cd57604051806020016040528060008152506117f8565b806117d784612803565b6040516020016117e89291906145cd565b6040516020818303038152906040525b915050919050565b611808611c47565b73ffffffffffffffffffffffffffffffffffffffff16611826611421565b73ffffffffffffffffffffffffffffffffffffffff161461187c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118739061434f565b60405180910390fd5b600b548111156118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b89061463d565b60405180910390fd5b5b600081111561191357600d5481116118f1576118de8282612302565b80816118ea9190613f71565b905061190e565b6118fd82600d54612302565b600d548161190b9190613f71565b90505b6118c2565b80600b60008282546119259190613f71565b925050819055505050565b600c5481565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119d8611c47565b73ffffffffffffffffffffffffffffffffffffffff166119f6611421565b73ffffffffffffffffffffffffffffffffffffffff1614611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a439061434f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab3906146cf565b60405180910390fd5b611ac581612523565b50565b611ad0611c47565b73ffffffffffffffffffffffffffffffffffffffff16611aee611421565b73ffffffffffffffffffffffffffffffffffffffff1614611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b9061434f565b60405180910390fd5b6000821415611b595780600e81905550611bc0565b6001821415611b6e5780600f81905550611bbf565b6002821415611b835780601081905550611bbe565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614251565b60405180910390fd5b5b5b5050565b600f5481565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611d0c82612320565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611d33611c47565b73ffffffffffffffffffffffffffffffffffffffff161480611d8f5750611d58611c47565b73ffffffffffffffffffffffffffffffffffffffff16611d7784610992565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dab5750611daa8260000151611da5611c47565b61193c565b5b905080611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614761565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e56906147f3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec690614885565b60405180910390fd5b611edc8585856001612964565b611eec6000848460000151611c4f565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611f5a91906148c1565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611ffe91906148f5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846121049190613fa5565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561224a5761217a81611c3a565b15612249576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122b2868686600161296a565b505050505050565b60006122f86122f28686866040516020016122d79392919061493b565b60405160208183030381529060405280519060200120612970565b836129a0565b9050949350505050565b61231c8282604051806020016040528060008152506129c7565b5050565b6123286132f2565b61233182611c3a565b612370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612367906149e4565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106123d45760017f0000000000000000000000000000000000000000000000000000000000000000846123c79190613f71565b6123d19190613fa5565b90505b60008390505b8181106124e2576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124ce5780935050505061251e565b5080806124da90614a04565b9150506123da565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590614aa0565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061260a8473ffffffffffffffffffffffffffffffffffffffff16612ea6565b15612764578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612633611c47565b8786866040518563ffffffff1660e01b81526004016126559493929190614b15565b6020604051808303816000875af192505050801561269157506040513d601f19601f8201168201806040525081019061268e9190614b76565b60015b612714573d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b5060008151141561270c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612703906144df565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612769565b600190505b949350505050565b60606009805461278090613b15565b80601f01602080910402602001604051908101604052809291908181526020018280546127ac90613b15565b80156127f95780601f106127ce576101008083540402835291602001916127f9565b820191906000526020600020905b8154815290600101906020018083116127dc57829003601f168201915b5050505050905090565b6060600082141561284b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061295f565b600082905060005b6000821461287d57808061286690613dbe565b915050600a826128769190614bd2565b9150612853565b60008167ffffffffffffffff81111561289957612898613685565b5b6040519080825280601f01601f1916602001820160405280156128cb5781602001600182028036833780820191505090505b5090505b60008514612958576001826128e49190613f71565b9150600a856128f39190614c03565b60306128ff9190613fa5565b60f81b81838151811061291557612914614c34565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129519190614bd2565b94506128cf565b8093505050505b919050565b50505050565b50505050565b6000816040516020016129839190614cda565b604051602081830303815290604052805190602001209050919050565b60008060006129af8585612eb9565b915091506129bc81612f3c565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3490614d72565b60405180910390fd5b612a4681611c3a565b15612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90614dde565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae090614e70565b60405180910390fd5b612af66000858386612964565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612bf391906148f5565b6fffffffffffffffffffffffffffffffff168152602001858360200151612c1a91906148f5565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612e8957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e2960008884886125e9565b612e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5f906144df565b60405180910390fd5b8180612e7390613dbe565b9250508080612e8190613dbe565b915050612db8565b5080600081905550612e9e600087858861296a565b505050505050565b600080823b905060008111915050919050565b600080604183511415612efb5760008060006020860151925060408601519150606086015160001a9050612eef87828585613111565b94509450505050612f35565b604083511415612f2c576000806020850151915060408501519050612f2186838361321e565b935093505050612f35565b60006002915091505b9250929050565b60006004811115612f5057612f4f614e90565b5b816004811115612f6357612f62614e90565b5b1415612f6e5761310e565b60016004811115612f8257612f81614e90565b5b816004811115612f9557612f94614e90565b5b1415612fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcd90614f0b565b60405180910390fd5b60026004811115612fea57612fe9614e90565b5b816004811115612ffd57612ffc614e90565b5b141561303e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303590614f77565b60405180910390fd5b6003600481111561305257613051614e90565b5b81600481111561306557613064614e90565b5b14156130a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309d90615009565b60405180910390fd5b6004808111156130b9576130b8614e90565b5b8160048111156130cc576130cb614e90565b5b141561310d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131049061509b565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561314c576000600391509150613215565b601b8560ff16141580156131645750601c8560ff1614155b15613176576000600491509150613215565b60006001878787876040516000815260200160405260405161319b94939291906150e6565b6020604051602081039080840390855afa1580156131bd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561320c57600060019250925050613215565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061325e87828885613111565b935093505050935093915050565b82805461327890613b15565b90600052602060002090601f01602090048101928261329a57600085556132e1565b82601f106132b357805160ff19168380011785556132e1565b828001600101855582156132e1579182015b828111156132e05782518255916020019190600101906132c5565b5b5090506132ee919061332c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561334557600081600090555060010161332d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133928161335d565b811461339d57600080fd5b50565b6000813590506133af81613389565b92915050565b6000602082840312156133cb576133ca613353565b5b60006133d9848285016133a0565b91505092915050565b60008115159050919050565b6133f7816133e2565b82525050565b600060208201905061341260008301846133ee565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613452578082015181840152602081019050613437565b83811115613461576000848401525b50505050565b6000601f19601f8301169050919050565b600061348382613418565b61348d8185613423565b935061349d818560208601613434565b6134a681613467565b840191505092915050565b600060208201905081810360008301526134cb8184613478565b905092915050565b6000819050919050565b6134e6816134d3565b81146134f157600080fd5b50565b600081359050613503816134dd565b92915050565b60006020828403121561351f5761351e613353565b5b600061352d848285016134f4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061356182613536565b9050919050565b61357181613556565b82525050565b600060208201905061358c6000830184613568565b92915050565b61359b81613556565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b600080604083850312156135d5576135d4613353565b5b60006135e3858286016135a9565b92505060206135f4858286016134f4565b9150509250929050565b613607816134d3565b82525050565b600060208201905061362260008301846135fe565b92915050565b60008060006060848603121561364157613640613353565b5b600061364f868287016135a9565b9350506020613660868287016135a9565b9250506040613671868287016134f4565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136bd82613467565b810181811067ffffffffffffffff821117156136dc576136db613685565b5b80604052505050565b60006136ef613349565b90506136fb82826136b4565b919050565b600067ffffffffffffffff82111561371b5761371a613685565b5b61372482613467565b9050602081019050919050565b82818337600083830152505050565b600061375361374e84613700565b6136e5565b90508281526020810184848401111561376f5761376e613680565b5b61377a848285613731565b509392505050565b600082601f8301126137975761379661367b565b5b81356137a7848260208601613740565b91505092915050565b600080600080608085870312156137ca576137c9613353565b5b60006137d8878288016134f4565b94505060206137e9878288016134f4565b93505060406137fa878288016134f4565b925050606085013567ffffffffffffffff81111561381b5761381a613358565b5b61382787828801613782565b91505092959194509250565b600067ffffffffffffffff82111561384e5761384d613685565b5b61385782613467565b9050602081019050919050565b600061387761387284613833565b6136e5565b90508281526020810184848401111561389357613892613680565b5b61389e848285613731565b509392505050565b600082601f8301126138bb576138ba61367b565b5b81356138cb848260208601613864565b91505092915050565b6000602082840312156138ea576138e9613353565b5b600082013567ffffffffffffffff81111561390857613907613358565b5b613914848285016138a6565b91505092915050565b60006020828403121561393357613932613353565b5b6000613941848285016135a9565b91505092915050565b613953816133e2565b811461395e57600080fd5b50565b6000813590506139708161394a565b92915050565b6000806040838503121561398d5761398c613353565b5b600061399b858286016135a9565b92505060206139ac85828601613961565b9150509250929050565b600080600080608085870312156139d0576139cf613353565b5b60006139de878288016135a9565b94505060206139ef878288016135a9565b9350506040613a00878288016134f4565b925050606085013567ffffffffffffffff811115613a2157613a20613358565b5b613a2d87828801613782565b91505092959194509250565b600060208284031215613a4f57613a4e613353565b5b6000613a5d84828501613961565b91505092915050565b60008060408385031215613a7d57613a7c613353565b5b6000613a8b858286016135a9565b9250506020613a9c858286016135a9565b9150509250929050565b60008060408385031215613abd57613abc613353565b5b6000613acb858286016134f4565b9250506020613adc858286016134f4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b2d57607f821691505b60208210811415613b4157613b40613ae6565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613ba3602d83613423565b9150613bae82613b47565b604082019050919050565b60006020820190508181036000830152613bd281613b96565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c35602283613423565b9150613c4082613bd9565b604082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613cc7603983613423565b9150613cd282613c6b565b604082019050919050565b60006020820190508181036000830152613cf681613cba565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d59602283613423565b9150613d6482613cfd565b604082019050919050565b60006020820190508181036000830152613d8881613d4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc9826134d3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dfc57613dfb613d8f565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613e63602e83613423565b9150613e6e82613e07565b604082019050919050565b60006020820190508181036000830152613e9281613e56565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b6000613ecf600b83613423565b9150613eda82613e99565b602082019050919050565b60006020820190508181036000830152613efe81613ec2565b9050919050565b7f42617463682073697a6520657863656564656400000000000000000000000000600082015250565b6000613f3b601383613423565b9150613f4682613f05565b602082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b6000613f7c826134d3565b9150613f87836134d3565b925082821015613f9a57613f99613d8f565b5b828203905092915050565b6000613fb0826134d3565b9150613fbb836134d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ff057613fef613d8f565b5b828201905092915050565b7f45786365656473206d6178696d756d204e46547320737570706c790000000000600082015250565b6000614031601b83613423565b915061403c82613ffb565b602082019050919050565b6000602082019050818103600083015261406081614024565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b600061409d601683613423565b91506140a882614067565b602082019050919050565b600060208201905081810360008301526140cc81614090565b9050919050565b7f5369676e617475726520657870697265642c206f7574206f662074696d650000600082015250565b6000614109601e83613423565b9150614114826140d3565b602082019050919050565b60006020820190508181036000830152614138816140fc565b9050919050565b600061414a826134d3565b9150614155836134d3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561418e5761418d613d8f565b5b828202905092915050565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b60006141cf601983613423565b91506141da82614199565b602082019050919050565b600060208201905081810360008301526141fe816141c2565b9050919050565b7f496e76616c696420707269636520746965720000000000000000000000000000600082015250565b600061423b601283613423565b915061424682614205565b602082019050919050565b6000602082019050818103600083015261426a8161422e565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006142cd602383613423565b91506142d882614271565b604082019050919050565b600060208201905081810360008301526142fc816142c0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614339602083613423565b915061434482614303565b602082019050919050565b600060208201905081810360008301526143688161432c565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006143cb602b83613423565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614437601a83613423565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006144c9603383613423565b91506144d48261446d565b604082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061455b602f83613423565b9150614566826144ff565b604082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b600081905092915050565b60006145a782613418565b6145b18185614591565b93506145c1818560208601613434565b80840191505092915050565b60006145d9828561459c565b91506145e5828461459c565b91508190509392505050565b7f45786365656473207265736572766564204e46547320737570706c7900000000600082015250565b6000614627601c83613423565b9150614632826145f1565b602082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b9602683613423565b91506146c48261465d565b604082019050919050565b600060208201905081810360008301526146e8816146ac565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061474b603283613423565b9150614756826146ef565b604082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006147dd602683613423565b91506147e882614781565b604082019050919050565b6000602082019050818103600083015261480c816147d0565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061486f602583613423565b915061487a82614813565b604082019050919050565b6000602082019050818103600083015261489e81614862565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006148cc826148a5565b91506148d7836148a5565b9250828210156148ea576148e9613d8f565b5b828203905092915050565b6000614900826148a5565b915061490b836148a5565b9250826fffffffffffffffffffffffffffffffff038211156149305761492f613d8f565b5b828201905092915050565b60006060820190506149506000830186613568565b61495d60208301856135fe565b61496a60408301846135fe565b949350505050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006149ce602a83613423565b91506149d982614972565b604082019050919050565b600060208201905081810360008301526149fd816149c1565b9050919050565b6000614a0f826134d3565b91506000821415614a2357614a22613d8f565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614a8a602f83613423565b9150614a9582614a2e565b604082019050919050565b60006020820190508181036000830152614ab981614a7d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614ae782614ac0565b614af18185614acb565b9350614b01818560208601613434565b614b0a81613467565b840191505092915050565b6000608082019050614b2a6000830187613568565b614b376020830186613568565b614b4460408301856135fe565b8181036060830152614b568184614adc565b905095945050505050565b600081519050614b7081613389565b92915050565b600060208284031215614b8c57614b8b613353565b5b6000614b9a84828501614b61565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bdd826134d3565b9150614be8836134d3565b925082614bf857614bf7614ba3565b5b828204905092915050565b6000614c0e826134d3565b9150614c19836134d3565b925082614c2957614c28614ba3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c99601c83614591565b9150614ca482614c63565b601c82019050919050565b6000819050919050565b6000819050919050565b614cd4614ccf82614caf565b614cb9565b82525050565b6000614ce582614c8c565b9150614cf18284614cc3565b60208201915081905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614d5c602183613423565b9150614d6782614d00565b604082019050919050565b60006020820190508181036000830152614d8b81614d4f565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000614dc8601d83613423565b9150614dd382614d92565b602082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e5a602283613423565b9150614e6582614dfe565b604082019050919050565b60006020820190508181036000830152614e8981614e4d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614ef5601883613423565b9150614f0082614ebf565b602082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614f61601f83613423565b9150614f6c82614f2b565b602082019050919050565b60006020820190508181036000830152614f9081614f54565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ff3602283613423565b9150614ffe82614f97565b604082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615085602283613423565b915061509082615029565b604082019050919050565b600060208201905081810360008301526150b481615078565b9050919050565b6150c481614caf565b82525050565b600060ff82169050919050565b6150e0816150ca565b82525050565b60006080820190506150fb60008301876150bb565b61510860208301866150d7565b61511560408301856150bb565b61512260608301846150bb565b9594505050505056fea26469706673582212205311b8197a6c7f5fa2fc12db9e08ff64f7c34b87afab3dfffee32c8aa49ad53264736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b53686f6e656e204a756e6b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002534a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f7368696e6a692e78797a2f6170692f756e69742d30302f70726572657665616c2f0000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063853828b61161010d578063c87b56dd116100a0578063e985e9c51161006f578063e985e9c5146106d1578063f2fde38b1461070e578063f7d9757714610737578063fb8b51a014610760578063fe60d12c1461078b576101ee565b8063c87b56dd14610615578063ca80014414610652578063d5abeb011461067b578063d7224ba0146106a6576101ee565b8063a22cb465116100dc578063a22cb4651461056f578063b88d4fde14610598578063bedb86fb146105c1578063c455513e146105ea576101ee565b8063853828b6146104e45780638bc35c2f146104ee5780638da5cb5b1461051957806395d89b4114610544576101ee565b80634a079215116101855780635c975abb116101545780635c975abb146104285780636352211e1461045357806370a0823114610490578063715018a6146104cd576101ee565b80634a0792151461037b5780634c474434146103a65780634f6ccce7146103c257806355f804b3146103ff576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632f745c591461031557806342842e0e14610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906133b5565b6107b6565b60405161022791906133fd565b60405180910390f35b34801561023c57600080fd5b50610245610900565b60405161025291906134b1565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613509565b610992565b60405161028f9190613577565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906135be565b610a17565b005b3480156102cd57600080fd5b506102d6610b30565b6040516102e3919061360d565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190613628565b610b39565b005b34801561032157600080fd5b5061033c600480360381019061033791906135be565b610b49565b604051610349919061360d565b60405180910390f35b34801561035e57600080fd5b5061037960048036038101906103749190613628565b610d47565b005b34801561038757600080fd5b50610390610d67565b60405161039d919061360d565b60405180910390f35b6103c060048036038101906103bb91906137b0565b610d6d565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190613509565b6110b4565b6040516103f6919061360d565b60405180910390f35b34801561040b57600080fd5b50610426600480360381019061042191906138d4565b611107565b005b34801561043457600080fd5b5061043d61119d565b60405161044a91906133fd565b60405180910390f35b34801561045f57600080fd5b5061047a60048036038101906104759190613509565b6111b0565b6040516104879190613577565b60405180910390f35b34801561049c57600080fd5b506104b760048036038101906104b2919061391d565b6111c6565b6040516104c4919061360d565b60405180910390f35b3480156104d957600080fd5b506104e26112af565b005b6104ec611337565b005b3480156104fa57600080fd5b5061050361141b565b604051610510919061360d565b60405180910390f35b34801561052557600080fd5b5061052e611421565b60405161053b9190613577565b60405180910390f35b34801561055057600080fd5b5061055961144b565b60405161056691906134b1565b60405180910390f35b34801561057b57600080fd5b5061059660048036038101906105919190613976565b6114dd565b005b3480156105a457600080fd5b506105bf60048036038101906105ba91906139b6565b61165e565b005b3480156105cd57600080fd5b506105e860048036038101906105e39190613a39565b6116ba565b005b3480156105f657600080fd5b506105ff611753565b60405161060c919061360d565b60405180910390f35b34801561062157600080fd5b5061063c60048036038101906106379190613509565b611759565b60405161064991906134b1565b60405180910390f35b34801561065e57600080fd5b50610679600480360381019061067491906135be565b611800565b005b34801561068757600080fd5b50610690611930565b60405161069d919061360d565b60405180910390f35b3480156106b257600080fd5b506106bb611936565b6040516106c8919061360d565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190613a66565b61193c565b60405161070591906133fd565b60405180910390f35b34801561071a57600080fd5b506107356004803603810190610730919061391d565b6119d0565b005b34801561074357600080fd5b5061075e60048036038101906107599190613aa6565b611ac8565b005b34801561076c57600080fd5b50610775611bc4565b604051610782919061360d565b60405180910390f35b34801561079757600080fd5b506107a0611bca565b6040516107ad919061360d565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f957506108f882611bd0565b5b9050919050565b60606001805461090f90613b15565b80601f016020809104026020016040519081016040528092919081815260200182805461093b90613b15565b80156109885780601f1061095d57610100808354040283529160200191610988565b820191906000526020600020905b81548152906001019060200180831161096b57829003601f168201915b5050505050905090565b600061099d82611c3a565b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390613bb9565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a22826111b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8a90613c4b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab2611c47565b73ffffffffffffffffffffffffffffffffffffffff161480610ae15750610ae081610adb611c47565b61193c565b5b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613cdd565b60405180910390fd5b610b2b838383611c4f565b505050565b60008054905090565b610b44838383611d01565b505050565b6000610b54836111c6565b8210610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c90613d6f565b60405180910390fd5b6000610b9f610b30565b905060008060005b83811015610d05576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610c9957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf15786841415610ce2578195505050505050610d41565b8380610ced90613dbe565b9450505b508080610cfd90613dbe565b915050610ba7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890613e79565b60405180910390fd5b92915050565b610d628383836040518060200160405280600081525061165e565b505050565b60105481565b6000610d77610b30565b9050601160009054906101000a900460ff1615610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090613ee5565b60405180910390fd5b600d54851115610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590613f51565b60405180910390fd5b600b54600c54610e1e9190613f71565b8582610e2a9190613fa5565b10610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190614047565b60405180910390fd5b6000610e74611c47565b90506000610e84828888876122ba565b9050610e8e611421565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef2906140b3565b60405180910390fd5b601e86610f089190613f71565b421015610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f419061411f565b60405180910390fd5b6000851415610fa85786600e54610f61919061413f565b341015610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a906141e5565b60405180910390fd5b6110a1565b60018514156110065786600f54610fbf919061413f565b341015611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff8906141e5565b60405180910390fd5b6110a0565b6002851415611064578660105461101d919061413f565b34101561105f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611056906141e5565b60405180910390fd5b61109f565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614251565b60405180910390fd5b5b5b6110ab3388612302565b50505050505050565b60006110be610b30565b82106110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906142e3565b60405180910390fd5b819050919050565b61110f611c47565b73ffffffffffffffffffffffffffffffffffffffff1661112d611421565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a9061434f565b60405180910390fd5b806009908051906020019061119992919061326c565b5050565b601160009054906101000a900460ff1681565b60006111bb82612320565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e906143e1565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112b7611c47565b73ffffffffffffffffffffffffffffffffffffffff166112d5611421565b73ffffffffffffffffffffffffffffffffffffffff161461132b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113229061434f565b60405180910390fd5b6113356000612523565b565b61133f611c47565b73ffffffffffffffffffffffffffffffffffffffff1661135d611421565b73ffffffffffffffffffffffffffffffffffffffff16146113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa9061434f565b60405180910390fd5b6000479050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061141857600080fd5b50565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461145a90613b15565b80601f016020809104026020016040519081016040528092919081815260200182805461148690613b15565b80156114d35780601f106114a8576101008083540402835291602001916114d3565b820191906000526020600020905b8154815290600101906020018083116114b657829003601f168201915b5050505050905090565b6114e5611c47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a9061444d565b60405180910390fd5b8060066000611560611c47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160d611c47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161165291906133fd565b60405180910390a35050565b611669848484611d01565b611675848484846125e9565b6116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab906144df565b60405180910390fd5b50505050565b6116c2611c47565b73ffffffffffffffffffffffffffffffffffffffff166116e0611421565b73ffffffffffffffffffffffffffffffffffffffff1614611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d9061434f565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b600e5481565b606061176482611c3a565b6117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90614571565b60405180910390fd5b60006117ad612771565b905060008151116117cd57604051806020016040528060008152506117f8565b806117d784612803565b6040516020016117e89291906145cd565b6040516020818303038152906040525b915050919050565b611808611c47565b73ffffffffffffffffffffffffffffffffffffffff16611826611421565b73ffffffffffffffffffffffffffffffffffffffff161461187c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118739061434f565b60405180910390fd5b600b548111156118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b89061463d565b60405180910390fd5b5b600081111561191357600d5481116118f1576118de8282612302565b80816118ea9190613f71565b905061190e565b6118fd82600d54612302565b600d548161190b9190613f71565b90505b6118c2565b80600b60008282546119259190613f71565b925050819055505050565b600c5481565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119d8611c47565b73ffffffffffffffffffffffffffffffffffffffff166119f6611421565b73ffffffffffffffffffffffffffffffffffffffff1614611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a439061434f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab3906146cf565b60405180910390fd5b611ac581612523565b50565b611ad0611c47565b73ffffffffffffffffffffffffffffffffffffffff16611aee611421565b73ffffffffffffffffffffffffffffffffffffffff1614611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b9061434f565b60405180910390fd5b6000821415611b595780600e81905550611bc0565b6001821415611b6e5780600f81905550611bbf565b6002821415611b835780601081905550611bbe565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614251565b60405180910390fd5b5b5b5050565b600f5481565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611d0c82612320565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611d33611c47565b73ffffffffffffffffffffffffffffffffffffffff161480611d8f5750611d58611c47565b73ffffffffffffffffffffffffffffffffffffffff16611d7784610992565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dab5750611daa8260000151611da5611c47565b61193c565b5b905080611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614761565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e56906147f3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec690614885565b60405180910390fd5b611edc8585856001612964565b611eec6000848460000151611c4f565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611f5a91906148c1565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611ffe91906148f5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846121049190613fa5565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561224a5761217a81611c3a565b15612249576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122b2868686600161296a565b505050505050565b60006122f86122f28686866040516020016122d79392919061493b565b60405160208183030381529060405280519060200120612970565b836129a0565b9050949350505050565b61231c8282604051806020016040528060008152506129c7565b5050565b6123286132f2565b61233182611c3a565b612370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612367906149e4565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000383106123d45760017f0000000000000000000000000000000000000000000000000000000000000003846123c79190613f71565b6123d19190613fa5565b90505b60008390505b8181106124e2576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124ce5780935050505061251e565b5080806124da90614a04565b9150506123da565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251590614aa0565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061260a8473ffffffffffffffffffffffffffffffffffffffff16612ea6565b15612764578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612633611c47565b8786866040518563ffffffff1660e01b81526004016126559493929190614b15565b6020604051808303816000875af192505050801561269157506040513d601f19601f8201168201806040525081019061268e9190614b76565b60015b612714573d80600081146126c1576040519150601f19603f3d011682016040523d82523d6000602084013e6126c6565b606091505b5060008151141561270c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612703906144df565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612769565b600190505b949350505050565b60606009805461278090613b15565b80601f01602080910402602001604051908101604052809291908181526020018280546127ac90613b15565b80156127f95780601f106127ce576101008083540402835291602001916127f9565b820191906000526020600020905b8154815290600101906020018083116127dc57829003601f168201915b5050505050905090565b6060600082141561284b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061295f565b600082905060005b6000821461287d57808061286690613dbe565b915050600a826128769190614bd2565b9150612853565b60008167ffffffffffffffff81111561289957612898613685565b5b6040519080825280601f01601f1916602001820160405280156128cb5781602001600182028036833780820191505090505b5090505b60008514612958576001826128e49190613f71565b9150600a856128f39190614c03565b60306128ff9190613fa5565b60f81b81838151811061291557612914614c34565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129519190614bd2565b94506128cf565b8093505050505b919050565b50505050565b50505050565b6000816040516020016129839190614cda565b604051602081830303815290604052805190602001209050919050565b60008060006129af8585612eb9565b915091506129bc81612f3c565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3490614d72565b60405180910390fd5b612a4681611c3a565b15612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90614dde565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000003831115612ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae090614e70565b60405180910390fd5b612af66000858386612964565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612bf391906148f5565b6fffffffffffffffffffffffffffffffff168152602001858360200151612c1a91906148f5565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612e8957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e2960008884886125e9565b612e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5f906144df565b60405180910390fd5b8180612e7390613dbe565b9250508080612e8190613dbe565b915050612db8565b5080600081905550612e9e600087858861296a565b505050505050565b600080823b905060008111915050919050565b600080604183511415612efb5760008060006020860151925060408601519150606086015160001a9050612eef87828585613111565b94509450505050612f35565b604083511415612f2c576000806020850151915060408501519050612f2186838361321e565b935093505050612f35565b60006002915091505b9250929050565b60006004811115612f5057612f4f614e90565b5b816004811115612f6357612f62614e90565b5b1415612f6e5761310e565b60016004811115612f8257612f81614e90565b5b816004811115612f9557612f94614e90565b5b1415612fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcd90614f0b565b60405180910390fd5b60026004811115612fea57612fe9614e90565b5b816004811115612ffd57612ffc614e90565b5b141561303e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303590614f77565b60405180910390fd5b6003600481111561305257613051614e90565b5b81600481111561306557613064614e90565b5b14156130a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309d90615009565b60405180910390fd5b6004808111156130b9576130b8614e90565b5b8160048111156130cc576130cb614e90565b5b141561310d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131049061509b565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561314c576000600391509150613215565b601b8560ff16141580156131645750601c8560ff1614155b15613176576000600491509150613215565b60006001878787876040516000815260200160405260405161319b94939291906150e6565b6020604051602081039080840390855afa1580156131bd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561320c57600060019250925050613215565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061325e87828885613111565b935093505050935093915050565b82805461327890613b15565b90600052602060002090601f01602090048101928261329a57600085556132e1565b82601f106132b357805160ff19168380011785556132e1565b828001600101855582156132e1579182015b828111156132e05782518255916020019190600101906132c5565b5b5090506132ee919061332c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561334557600081600090555060010161332d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133928161335d565b811461339d57600080fd5b50565b6000813590506133af81613389565b92915050565b6000602082840312156133cb576133ca613353565b5b60006133d9848285016133a0565b91505092915050565b60008115159050919050565b6133f7816133e2565b82525050565b600060208201905061341260008301846133ee565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613452578082015181840152602081019050613437565b83811115613461576000848401525b50505050565b6000601f19601f8301169050919050565b600061348382613418565b61348d8185613423565b935061349d818560208601613434565b6134a681613467565b840191505092915050565b600060208201905081810360008301526134cb8184613478565b905092915050565b6000819050919050565b6134e6816134d3565b81146134f157600080fd5b50565b600081359050613503816134dd565b92915050565b60006020828403121561351f5761351e613353565b5b600061352d848285016134f4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061356182613536565b9050919050565b61357181613556565b82525050565b600060208201905061358c6000830184613568565b92915050565b61359b81613556565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b600080604083850312156135d5576135d4613353565b5b60006135e3858286016135a9565b92505060206135f4858286016134f4565b9150509250929050565b613607816134d3565b82525050565b600060208201905061362260008301846135fe565b92915050565b60008060006060848603121561364157613640613353565b5b600061364f868287016135a9565b9350506020613660868287016135a9565b9250506040613671868287016134f4565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136bd82613467565b810181811067ffffffffffffffff821117156136dc576136db613685565b5b80604052505050565b60006136ef613349565b90506136fb82826136b4565b919050565b600067ffffffffffffffff82111561371b5761371a613685565b5b61372482613467565b9050602081019050919050565b82818337600083830152505050565b600061375361374e84613700565b6136e5565b90508281526020810184848401111561376f5761376e613680565b5b61377a848285613731565b509392505050565b600082601f8301126137975761379661367b565b5b81356137a7848260208601613740565b91505092915050565b600080600080608085870312156137ca576137c9613353565b5b60006137d8878288016134f4565b94505060206137e9878288016134f4565b93505060406137fa878288016134f4565b925050606085013567ffffffffffffffff81111561381b5761381a613358565b5b61382787828801613782565b91505092959194509250565b600067ffffffffffffffff82111561384e5761384d613685565b5b61385782613467565b9050602081019050919050565b600061387761387284613833565b6136e5565b90508281526020810184848401111561389357613892613680565b5b61389e848285613731565b509392505050565b600082601f8301126138bb576138ba61367b565b5b81356138cb848260208601613864565b91505092915050565b6000602082840312156138ea576138e9613353565b5b600082013567ffffffffffffffff81111561390857613907613358565b5b613914848285016138a6565b91505092915050565b60006020828403121561393357613932613353565b5b6000613941848285016135a9565b91505092915050565b613953816133e2565b811461395e57600080fd5b50565b6000813590506139708161394a565b92915050565b6000806040838503121561398d5761398c613353565b5b600061399b858286016135a9565b92505060206139ac85828601613961565b9150509250929050565b600080600080608085870312156139d0576139cf613353565b5b60006139de878288016135a9565b94505060206139ef878288016135a9565b9350506040613a00878288016134f4565b925050606085013567ffffffffffffffff811115613a2157613a20613358565b5b613a2d87828801613782565b91505092959194509250565b600060208284031215613a4f57613a4e613353565b5b6000613a5d84828501613961565b91505092915050565b60008060408385031215613a7d57613a7c613353565b5b6000613a8b858286016135a9565b9250506020613a9c858286016135a9565b9150509250929050565b60008060408385031215613abd57613abc613353565b5b6000613acb858286016134f4565b9250506020613adc858286016134f4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b2d57607f821691505b60208210811415613b4157613b40613ae6565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613ba3602d83613423565b9150613bae82613b47565b604082019050919050565b60006020820190508181036000830152613bd281613b96565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c35602283613423565b9150613c4082613bd9565b604082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613cc7603983613423565b9150613cd282613c6b565b604082019050919050565b60006020820190508181036000830152613cf681613cba565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d59602283613423565b9150613d6482613cfd565b604082019050919050565b60006020820190508181036000830152613d8881613d4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc9826134d3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dfc57613dfb613d8f565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613e63602e83613423565b9150613e6e82613e07565b604082019050919050565b60006020820190508181036000830152613e9281613e56565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b6000613ecf600b83613423565b9150613eda82613e99565b602082019050919050565b60006020820190508181036000830152613efe81613ec2565b9050919050565b7f42617463682073697a6520657863656564656400000000000000000000000000600082015250565b6000613f3b601383613423565b9150613f4682613f05565b602082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b6000613f7c826134d3565b9150613f87836134d3565b925082821015613f9a57613f99613d8f565b5b828203905092915050565b6000613fb0826134d3565b9150613fbb836134d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ff057613fef613d8f565b5b828201905092915050565b7f45786365656473206d6178696d756d204e46547320737570706c790000000000600082015250565b6000614031601b83613423565b915061403c82613ffb565b602082019050919050565b6000602082019050818103600083015261406081614024565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b600061409d601683613423565b91506140a882614067565b602082019050919050565b600060208201905081810360008301526140cc81614090565b9050919050565b7f5369676e617475726520657870697265642c206f7574206f662074696d650000600082015250565b6000614109601e83613423565b9150614114826140d3565b602082019050919050565b60006020820190508181036000830152614138816140fc565b9050919050565b600061414a826134d3565b9150614155836134d3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561418e5761418d613d8f565b5b828202905092915050565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b60006141cf601983613423565b91506141da82614199565b602082019050919050565b600060208201905081810360008301526141fe816141c2565b9050919050565b7f496e76616c696420707269636520746965720000000000000000000000000000600082015250565b600061423b601283613423565b915061424682614205565b602082019050919050565b6000602082019050818103600083015261426a8161422e565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006142cd602383613423565b91506142d882614271565b604082019050919050565b600060208201905081810360008301526142fc816142c0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614339602083613423565b915061434482614303565b602082019050919050565b600060208201905081810360008301526143688161432c565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006143cb602b83613423565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614437601a83613423565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006144c9603383613423565b91506144d48261446d565b604082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061455b602f83613423565b9150614566826144ff565b604082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b600081905092915050565b60006145a782613418565b6145b18185614591565b93506145c1818560208601613434565b80840191505092915050565b60006145d9828561459c565b91506145e5828461459c565b91508190509392505050565b7f45786365656473207265736572766564204e46547320737570706c7900000000600082015250565b6000614627601c83613423565b9150614632826145f1565b602082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b9602683613423565b91506146c48261465d565b604082019050919050565b600060208201905081810360008301526146e8816146ac565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061474b603283613423565b9150614756826146ef565b604082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006147dd602683613423565b91506147e882614781565b604082019050919050565b6000602082019050818103600083015261480c816147d0565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061486f602583613423565b915061487a82614813565b604082019050919050565b6000602082019050818103600083015261489e81614862565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006148cc826148a5565b91506148d7836148a5565b9250828210156148ea576148e9613d8f565b5b828203905092915050565b6000614900826148a5565b915061490b836148a5565b9250826fffffffffffffffffffffffffffffffff038211156149305761492f613d8f565b5b828201905092915050565b60006060820190506149506000830186613568565b61495d60208301856135fe565b61496a60408301846135fe565b949350505050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006149ce602a83613423565b91506149d982614972565b604082019050919050565b600060208201905081810360008301526149fd816149c1565b9050919050565b6000614a0f826134d3565b91506000821415614a2357614a22613d8f565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614a8a602f83613423565b9150614a9582614a2e565b604082019050919050565b60006020820190508181036000830152614ab981614a7d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614ae782614ac0565b614af18185614acb565b9350614b01818560208601613434565b614b0a81613467565b840191505092915050565b6000608082019050614b2a6000830187613568565b614b376020830186613568565b614b4460408301856135fe565b8181036060830152614b568184614adc565b905095945050505050565b600081519050614b7081613389565b92915050565b600060208284031215614b8c57614b8b613353565b5b6000614b9a84828501614b61565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bdd826134d3565b9150614be8836134d3565b925082614bf857614bf7614ba3565b5b828204905092915050565b6000614c0e826134d3565b9150614c19836134d3565b925082614c2957614c28614ba3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c99601c83614591565b9150614ca482614c63565b601c82019050919050565b6000819050919050565b6000819050919050565b614cd4614ccf82614caf565b614cb9565b82525050565b6000614ce582614c8c565b9150614cf18284614cc3565b60208201915081905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614d5c602183613423565b9150614d6782614d00565b604082019050919050565b60006020820190508181036000830152614d8b81614d4f565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000614dc8601d83613423565b9150614dd382614d92565b602082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e5a602283613423565b9150614e6582614dfe565b604082019050919050565b60006020820190508181036000830152614e8981614e4d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614ef5601883613423565b9150614f0082614ebf565b602082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614f61601f83613423565b9150614f6c82614f2b565b602082019050919050565b60006020820190508181036000830152614f9081614f54565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ff3602283613423565b9150614ffe82614f97565b604082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615085602283613423565b915061509082615029565b604082019050919050565b600060208201905081810360008301526150b481615078565b9050919050565b6150c481614caf565b82525050565b600060ff82169050919050565b6150e0816150ca565b82525050565b60006080820190506150fb60008301876150bb565b61510860208301866150d7565b61511560408301856150bb565b61512260608301846150bb565b9594505050505056fea26469706673582212205311b8197a6c7f5fa2fc12db9e08ff64f7c34b87afab3dfffee32c8aa49ad53264736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b53686f6e656e204a756e6b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002534a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f7368696e6a692e78797a2f6170692f756e69742d30302f70726572657665616c2f0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Shonen Junk
Arg [1] : symbol (string): SJ
Arg [2] : initBaseURI (string): https://shinji.xyz/api/unit-00/prereveal/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 53686f6e656e204a756e6b000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 534a000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [8] : 68747470733a2f2f7368696e6a692e78797a2f6170692f756e69742d30302f70
Arg [9] : 726572657665616c2f0000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.