ERC-721
Overview
Max Total Supply
0 PFPID
Holders
68
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PFPIDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
pfpid
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/pfpidNft.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // imports import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract pfpid is ERC721URIStorage, Ownable { address public admin; uint256 public mintPrice; bool public revealed = true; string public prerevealMetadataUri; string public contractMetadataUri; mapping(uint256 => bool) usedNonces; // required to use ECDSA for signature verificaiton using ECDSA for bytes32; // events event MintEvent(address to, uint256 tokenId); event BurnEvent(address account, uint256 tokenId); constructor( address _admin, uint256 _mintPrice, string memory _prerevealMetadataUri, string memory _contractMetadataUri ) ERC721("pfpid", "PFPID") { admin = _admin; mintPrice = _mintPrice; prerevealMetadataUri = _prerevealMetadataUri; contractMetadataUri = _contractMetadataUri; } function mintItem( string memory _tokenURI, uint256 tokenId, uint256 nonce, bytes memory signature ) public payable returns (uint256) { require(!usedNonces[nonce], "Nonce has been used."); require(msg.value >= mintPrice, "Not enough Eth passed for mint fee."); address owner = owner(); payable(address(owner)).transfer(msg.value); usedNonces[nonce] = true; bool isValid = isValidSignature(_tokenURI, tokenId, nonce, signature); require(isValid, "Invalid signature."); _mint(msg.sender, tokenId); _setTokenURI(tokenId, _tokenURI); emit MintEvent(msg.sender, tokenId); return tokenId; } function isValidSignature( string memory _tokenURI, uint256 tokenId, uint256 nonce, bytes memory signature ) private view returns (bool) { bytes32 hash = keccak256( abi.encodePacked(msg.sender, _tokenURI, tokenId, nonce, this) ); return hash.toEthSignedMessageHash().recover(signature) == admin; } function updateMintPrice(uint256 newMintPrice) public onlyOwner returns (uint256) { mintPrice = newMintPrice; return mintPrice; } function updateAdmin(address newAdmin) public onlyOwner returns (address) { admin = newAdmin; return admin; } function burn(uint256 tokenId) public { require( _isApprovedOrOwner(msg.sender, tokenId), "ERC721Burnable: caller is not owner nor approved" ); emit BurnEvent(msg.sender, tokenId); _burn(tokenId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (revealed == false) { return prerevealMetadataUri; } return super.tokenURI(tokenId); } function reveal() public onlyOwner { revealed = true; } function contractURI() public view returns (string memory) { return contractMetadataUri; } // removing ability to transfer nft once minted function _transfer( address, address, uint256 ) internal pure override { revert("Forbidden operation"); } function approve(address, uint256) public pure override { revert("Forbidden operation"); } function getApproved(uint256) public pure override returns (address) { revert("Forbidden operation"); } function setApprovalForAll(address, bool) public pure override { revert("Forbidden operation"); } function transferFrom( address, address, uint256 ) public pure override { revert("Forbidden operation"); } function isApprovedForAll(address, address) public pure override returns (bool) { revert("Forbidden operation"); } function safeTransferFrom( address, address, uint256 ) public pure override { revert("Forbidden operation"); } function safeTransferFrom( address, address, uint256, bytes memory ) public pure override { revert("Forbidden operation"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/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/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/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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"string","name":"_prerevealMetadataUri","type":"string"},{"internalType":"string","name":"_contractMetadataUri","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BurnEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"pure","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintItem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"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":"prerevealMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"updateAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"updateMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001600a60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620040cf380380620040cf833981810160405281019062000052919062000551565b6040518060400160405280600581526020017f70667069640000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f50465049440000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d692919062000264565b508060019080519060200190620000ef92919062000264565b50505062000112620001066200019660201b60201c565b6200019e60201b60201c565b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260098190555081600b90805190602001906200017292919062000264565b5080600c90805190602001906200018b92919062000264565b505050505062000665565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002729062000630565b90600052602060002090601f016020900481019282620002965760008555620002e2565b82601f10620002b157805160ff1916838001178555620002e2565b82800160010185558215620002e2579182015b82811115620002e1578251825591602001919060010190620002c4565b5b509050620002f19190620002f5565b5090565b5b8082111562000310576000816000905550600101620002f6565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003558262000328565b9050919050565b620003678162000348565b81146200037357600080fd5b50565b60008151905062000387816200035c565b92915050565b6000819050919050565b620003a2816200038d565b8114620003ae57600080fd5b50565b600081519050620003c28162000397565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200041d82620003d2565b810181811067ffffffffffffffff821117156200043f576200043e620003e3565b5b80604052505050565b60006200045462000314565b905062000462828262000412565b919050565b600067ffffffffffffffff821115620004855762000484620003e3565b5b6200049082620003d2565b9050602081019050919050565b60005b83811015620004bd578082015181840152602081019050620004a0565b83811115620004cd576000848401525b50505050565b6000620004ea620004e48462000467565b62000448565b905082815260208101848484011115620005095762000508620003cd565b5b620005168482856200049d565b509392505050565b600082601f830112620005365762000535620003c8565b5b815162000548848260208601620004d3565b91505092915050565b600080600080608085870312156200056e576200056d6200031e565b5b60006200057e8782880162000376565b94505060206200059187828801620003b1565b935050604085015167ffffffffffffffff811115620005b557620005b462000323565b5b620005c3878288016200051e565b925050606085015167ffffffffffffffff811115620005e757620005e662000323565b5b620005f5878288016200051e565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064957607f821691505b6020821081036200065f576200065e62000601565b5b50919050565b613a5a80620006756000396000f3fe60806040526004361061019b5760003560e01c8063715018a6116100ec578063ba66a5f91161008a578063e8a3d48511610064578063e8a3d485146105cc578063e985e9c5146105f7578063f2fde38b14610634578063f851a4401461065d5761019b565b8063ba66a5f914610527578063c87b56dd14610552578063e2f273bd1461058f5761019b565b806395d89b41116100c657806395d89b4114610493578063a22cb465146104be578063a475b5dd146104e7578063b88d4fde146104fe5761019b565b8063715018a61461042157806383f2cb09146104385780638da5cb5b146104685761019b565b806323b872dd11610159578063518302271161013357806351830227146103515780636352211e1461037c5780636817c76c146103b957806370a08231146103e45761019b565b806323b872dd146102d657806342842e0e146102ff57806342966c68146103285761019b565b8062728e46146101a057806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245578063095ea7b31461028257806319bfa2d4146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c291906124b4565b610688565b6040516101d491906124f0565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190612563565b610717565b60405161021191906125ab565b60405180910390f35b34801561022657600080fd5b5061022f6107f9565b60405161023c919061265f565b60405180910390f35b34801561025157600080fd5b5061026c600480360381019061026791906124b4565b61088b565b60405161027991906126c2565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612709565b6108c8565b005b3480156102b757600080fd5b506102c0610903565b6040516102cd919061265f565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612749565b610991565b005b34801561030b57600080fd5b5061032660048036038101906103219190612749565b6109cc565b005b34801561033457600080fd5b5061034f600480360381019061034a91906124b4565b610a07565b005b34801561035d57600080fd5b50610366610a95565b60405161037391906125ab565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e91906124b4565b610aa8565b6040516103b091906126c2565b60405180910390f35b3480156103c557600080fd5b506103ce610b59565b6040516103db91906124f0565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061279c565b610b5f565b60405161041891906124f0565b60405180910390f35b34801561042d57600080fd5b50610436610c16565b005b610452600480360381019061044d919061299f565b610c9e565b60405161045f91906124f0565b60405180910390f35b34801561047457600080fd5b5061047d610e6f565b60405161048a91906126c2565b60405180910390f35b34801561049f57600080fd5b506104a8610e99565b6040516104b5919061265f565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190612a6a565b610f2b565b005b3480156104f357600080fd5b506104fc610f66565b005b34801561050a57600080fd5b5061052560048036038101906105209190612aaa565b610fff565b005b34801561053357600080fd5b5061053c61103a565b604051610549919061265f565b60405180910390f35b34801561055e57600080fd5b50610579600480360381019061057491906124b4565b6110c8565b604051610586919061265f565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b1919061279c565b611188565b6040516105c391906126c2565b60405180910390f35b3480156105d857600080fd5b506105e1611271565b6040516105ee919061265f565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190612b2d565b611303565b60405161062b91906125ab565b60405180910390f35b34801561064057600080fd5b5061065b6004803603810190610656919061279c565b611340565b005b34801561066957600080fd5b50610672611437565b60405161067f91906126c2565b60405180910390f35b600061069261145d565b73ffffffffffffffffffffffffffffffffffffffff166106b0610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90612bb9565b60405180910390fd5b816009819055506009549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f257506107f182611465565b5b9050919050565b60606000805461080890612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461083490612c08565b80156108815780601f1061085657610100808354040283529160200191610881565b820191906000526020600020905b81548152906001019060200180831161086457829003601f168201915b5050505050905090565b60006040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf90612c85565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa90612c85565b60405180910390fd5b600b805461091090612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90612c08565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b505050505081565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c390612c85565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90612c85565b60405180910390fd5b610a1133826114cf565b610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4790612d17565b60405180910390fd5b7f512586160ebd4dc6945ba9ec5d21a1f723f26f3c7aa36cdffb6818d4e7b880303382604051610a81929190612d37565b60405180910390a1610a92816115ad565b50565b600a60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790612dd2565b60405180910390fd5b80915050919050565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690612e64565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1e61145d565b73ffffffffffffffffffffffffffffffffffffffff16610c3c610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990612bb9565b60405180910390fd5b610c9c6000611600565b565b6000600d600084815260200190815260200160002060009054906101000a900460ff1615610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf890612ed0565b60405180910390fd5b600954341015610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90612f62565b60405180910390fd5b6000610d50610e6f565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610d98573d6000803e3d6000fd5b506001600d600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610dd3878787876116c6565b905080610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c90612fce565b60405180910390fd5b610e1f3387611770565b610e298688611949565b7f3fffaa5804a26fcec0d70b1d0fb0a2d0031df3a5f9c8af2127c2f4360e97b4633387604051610e5a929190612d37565b60405180910390a18592505050949350505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ea890612c08565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed490612c08565b8015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b5050505050905090565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d90612c85565b60405180910390fd5b610f6e61145d565b73ffffffffffffffffffffffffffffffffffffffff16610f8c610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990612bb9565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612c85565b60405180910390fd5b600c805461104790612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461107390612c08565b80156110c05780601f10611095576101008083540402835291602001916110c0565b820191906000526020600020905b8154815290600101906020018083116110a357829003601f168201915b505050505081565b606060001515600a60009054906101000a900460ff1615150361117757600b80546110f290612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612c08565b801561116b5780601f106111405761010080835404028352916020019161116b565b820191906000526020600020905b81548152906001019060200180831161114e57829003601f168201915b50505050509050611183565b611180826119bd565b90505b919050565b600061119261145d565b73ffffffffffffffffffffffffffffffffffffffff166111b0610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90612bb9565b60405180910390fd5b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6060600c805461128090612c08565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90612c08565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b5050505050905090565b60006040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790612c85565b60405180910390fd5b61134861145d565b73ffffffffffffffffffffffffffffffffffffffff16611366610e6f565b73ffffffffffffffffffffffffffffffffffffffff16146113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390612bb9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290613060565b60405180910390fd5b61143481611600565b50565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006114da82611b0e565b611519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611510906130f2565b60405180910390fd5b600061152483610aa8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061159357508373ffffffffffffffffffffffffffffffffffffffff1661157b8461088b565b73ffffffffffffffffffffffffffffffffffffffff16145b806115a457506115a38185611303565b5b91505092915050565b6115b681611b7a565b60006006600083815260200190815260200160002080546115d690612c08565b9050146115fd576006600082815260200190815260200160002060006115fc9190612387565b5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008033868686306040516020016116e295949392919061321e565b604051602081830303815290604052805190602001209050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661174e8461174084611c97565b611cc790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906132c5565b60405180910390fd5b6117e881611b0e565b15611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90613331565b60405180910390fd5b61183460008383611cee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118849190613380565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461194560008383611cf3565b5050565b61195282611b0e565b611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613448565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906119b89291906123c7565b505050565b60606119c882611b0e565b611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906134da565b60405180910390fd5b6000600660008481526020019081526020016000208054611a2790612c08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5390612c08565b8015611aa05780601f10611a7557610100808354040283529160200191611aa0565b820191906000526020600020905b815481529060010190602001808311611a8357829003601f168201915b505050505090506000611ab1611cf8565b90506000815103611ac6578192505050611b09565b600082511115611afb578082604051602001611ae39291906134fa565b60405160208183030381529060405292505050611b09565b611b0484611d0f565b925050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611b8582610aa8565b9050611b9381600084611cee565b611b9e600083611db6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bee919061351e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9381600084611cf3565b5050565b600081604051602001611caa91906135c9565b604051602081830303815290604052805190602001209050919050565b6000806000611cd68585611e6f565b91509150611ce381611ef0565b819250505092915050565b505050565b505050565b606060405180602001604052806000815250905090565b6060611d1a82611b0e565b611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090613661565b60405180910390fd5b6000611d63611cf8565b90506000815111611d835760405180602001604052806000815250611dae565b80611d8d846120bc565b604051602001611d9e9291906134fa565b6040516020818303038152906040525b915050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e2983610aa8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806041835103611eb05760008060006020860151925060408601519150606086015160001a9050611ea48782858561221c565b94509450505050611ee9565b6040835103611ee0576000806020850151915060408501519050611ed5868383612328565b935093505050611ee9565b60006002915091505b9250929050565b60006004811115611f0457611f03613681565b5b816004811115611f1757611f16613681565b5b03156120b95760016004811115611f3157611f30613681565b5b816004811115611f4457611f43613681565b5b03611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b906136fc565b60405180910390fd5b60026004811115611f9857611f97613681565b5b816004811115611fab57611faa613681565b5b03611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290613768565b60405180910390fd5b60036004811115611fff57611ffe613681565b5b81600481111561201257612011613681565b5b03612052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612049906137fa565b60405180910390fd5b60048081111561206557612064613681565b5b81600481111561207857612077613681565b5b036120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af9061388c565b60405180910390fd5b5b50565b606060008203612103576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612217565b600082905060005b6000821461213557808061211e906138ac565b915050600a8261212e9190613923565b915061210b565b60008167ffffffffffffffff811115612151576121506127d3565b5b6040519080825280601f01601f1916602001820160405280156121835781602001600182028036833780820191505090505b5090505b600085146122105760018261219c919061351e565b9150600a856121ab9190613954565b60306121b79190613380565b60f81b8183815181106121cd576121cc613985565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122099190613923565b9450612187565b8093505050505b919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561225757600060039150915061231f565b601b8560ff161415801561226f5750601c8560ff1614155b1561228157600060049150915061231f565b6000600187878787604051600081526020016040526040516122a694939291906139df565b6020604051602081039080840390855afa1580156122c8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123165760006001925092505061231f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61236b9190613380565b90506123798782888561221c565b935093505050935093915050565b50805461239390612c08565b6000825580601f106123a557506123c4565b601f0160209004906000526020600020908101906123c3919061244d565b5b50565b8280546123d390612c08565b90600052602060002090601f0160209004810192826123f5576000855561243c565b82601f1061240e57805160ff191683800117855561243c565b8280016001018555821561243c579182015b8281111561243b578251825591602001919060010190612420565b5b509050612449919061244d565b5090565b5b8082111561246657600081600090555060010161244e565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6124918161247e565b811461249c57600080fd5b50565b6000813590506124ae81612488565b92915050565b6000602082840312156124ca576124c9612474565b5b60006124d88482850161249f565b91505092915050565b6124ea8161247e565b82525050565b600060208201905061250560008301846124e1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125408161250b565b811461254b57600080fd5b50565b60008135905061255d81612537565b92915050565b60006020828403121561257957612578612474565b5b60006125878482850161254e565b91505092915050565b60008115159050919050565b6125a581612590565b82525050565b60006020820190506125c0600083018461259c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126005780820151818401526020810190506125e5565b8381111561260f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612631826125c6565b61263b81856125d1565b935061264b8185602086016125e2565b61265481612615565b840191505092915050565b600060208201905081810360008301526126798184612626565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126ac82612681565b9050919050565b6126bc816126a1565b82525050565b60006020820190506126d760008301846126b3565b92915050565b6126e6816126a1565b81146126f157600080fd5b50565b600081359050612703816126dd565b92915050565b600080604083850312156127205761271f612474565b5b600061272e858286016126f4565b925050602061273f8582860161249f565b9150509250929050565b60008060006060848603121561276257612761612474565b5b6000612770868287016126f4565b9350506020612781868287016126f4565b92505060406127928682870161249f565b9150509250925092565b6000602082840312156127b2576127b1612474565b5b60006127c0848285016126f4565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61280b82612615565b810181811067ffffffffffffffff8211171561282a576128296127d3565b5b80604052505050565b600061283d61246a565b90506128498282612802565b919050565b600067ffffffffffffffff821115612869576128686127d3565b5b61287282612615565b9050602081019050919050565b82818337600083830152505050565b60006128a161289c8461284e565b612833565b9050828152602081018484840111156128bd576128bc6127ce565b5b6128c884828561287f565b509392505050565b600082601f8301126128e5576128e46127c9565b5b81356128f584826020860161288e565b91505092915050565b600067ffffffffffffffff821115612919576129186127d3565b5b61292282612615565b9050602081019050919050565b600061294261293d846128fe565b612833565b90508281526020810184848401111561295e5761295d6127ce565b5b61296984828561287f565b509392505050565b600082601f830112612986576129856127c9565b5b813561299684826020860161292f565b91505092915050565b600080600080608085870312156129b9576129b8612474565b5b600085013567ffffffffffffffff8111156129d7576129d6612479565b5b6129e3878288016128d0565b94505060206129f48782880161249f565b9350506040612a058782880161249f565b925050606085013567ffffffffffffffff811115612a2657612a25612479565b5b612a3287828801612971565b91505092959194509250565b612a4781612590565b8114612a5257600080fd5b50565b600081359050612a6481612a3e565b92915050565b60008060408385031215612a8157612a80612474565b5b6000612a8f858286016126f4565b9250506020612aa085828601612a55565b9150509250929050565b60008060008060808587031215612ac457612ac3612474565b5b6000612ad2878288016126f4565b9450506020612ae3878288016126f4565b9350506040612af48782880161249f565b925050606085013567ffffffffffffffff811115612b1557612b14612479565b5b612b2187828801612971565b91505092959194509250565b60008060408385031215612b4457612b43612474565b5b6000612b52858286016126f4565b9250506020612b63858286016126f4565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ba36020836125d1565b9150612bae82612b6d565b602082019050919050565b60006020820190508181036000830152612bd281612b96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c2057607f821691505b602082108103612c3357612c32612bd9565b5b50919050565b7f466f7262696464656e206f7065726174696f6e00000000000000000000000000600082015250565b6000612c6f6013836125d1565b9150612c7a82612c39565b602082019050919050565b60006020820190508181036000830152612c9e81612c62565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000612d016030836125d1565b9150612d0c82612ca5565b604082019050919050565b60006020820190508181036000830152612d3081612cf4565b9050919050565b6000604082019050612d4c60008301856126b3565b612d5960208301846124e1565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612dbc6029836125d1565b9150612dc782612d60565b604082019050919050565b60006020820190508181036000830152612deb81612daf565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612e4e602a836125d1565b9150612e5982612df2565b604082019050919050565b60006020820190508181036000830152612e7d81612e41565b9050919050565b7f4e6f6e636520686173206265656e20757365642e000000000000000000000000600082015250565b6000612eba6014836125d1565b9150612ec582612e84565b602082019050919050565b60006020820190508181036000830152612ee981612ead565b9050919050565b7f4e6f7420656e6f756768204574682070617373656420666f72206d696e74206660008201527f65652e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612f4c6023836125d1565b9150612f5782612ef0565b604082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b7f496e76616c6964207369676e61747572652e0000000000000000000000000000600082015250565b6000612fb86012836125d1565b9150612fc382612f82565b602082019050919050565b60006020820190508181036000830152612fe781612fab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061304a6026836125d1565b915061305582612fee565b604082019050919050565b600060208201905081810360008301526130798161303d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006130dc602c836125d1565b91506130e782613080565b604082019050919050565b6000602082019050818103600083015261310b816130cf565b9050919050565b60008160601b9050919050565b600061312a82613112565b9050919050565b600061313c8261311f565b9050919050565b61315461314f826126a1565b613131565b82525050565b600081905092915050565b6000613170826125c6565b61317a818561315a565b935061318a8185602086016125e2565b80840191505092915050565b6000819050919050565b6131b16131ac8261247e565b613196565b82525050565b6000819050919050565b60006131dc6131d76131d284612681565b6131b7565b612681565b9050919050565b60006131ee826131c1565b9050919050565b6000613200826131e3565b9050919050565b613218613213826131f5565b613131565b82525050565b600061322a8288613143565b60148201915061323a8287613165565b915061324682866131a0565b60208201915061325682856131a0565b6020820191506132668284613207565b6014820191508190509695505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006132af6020836125d1565b91506132ba82613279565b602082019050919050565b600060208201905081810360008301526132de816132a2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061331b601c836125d1565b9150613326826132e5565b602082019050919050565b6000602082019050818103600083015261334a8161330e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061338b8261247e565b91506133968361247e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133cb576133ca613351565b5b828201905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613432602e836125d1565b915061343d826133d6565b604082019050919050565b6000602082019050818103600083015261346181613425565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006134c46031836125d1565b91506134cf82613468565b604082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b60006135068285613165565b91506135128284613165565b91508190509392505050565b60006135298261247e565b91506135348361247e565b92508282101561354757613546613351565b5b828203905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613588601c8361315a565b915061359382613552565b601c82019050919050565b6000819050919050565b6000819050919050565b6135c36135be8261359e565b6135a8565b82525050565b60006135d48261357b565b91506135e082846135b2565b60208201915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061364b602f836125d1565b9150613656826135ef565b604082019050919050565b6000602082019050818103600083015261367a8161363e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006136e66018836125d1565b91506136f1826136b0565b602082019050919050565b60006020820190508181036000830152613715816136d9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613752601f836125d1565b915061375d8261371c565b602082019050919050565b6000602082019050818103600083015261378181613745565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006137e46022836125d1565b91506137ef82613788565b604082019050919050565b60006020820190508181036000830152613813816137d7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006138766022836125d1565b91506138818261381a565b604082019050919050565b600060208201905081810360008301526138a581613869565b9050919050565b60006138b78261247e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138e9576138e8613351565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061392e8261247e565b91506139398361247e565b925082613949576139486138f4565b5b828204905092915050565b600061395f8261247e565b915061396a8361247e565b92508261397a576139796138f4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6139bd8161359e565b82525050565b600060ff82169050919050565b6139d9816139c3565b82525050565b60006080820190506139f460008301876139b4565b613a0160208301866139d0565b613a0e60408301856139b4565b613a1b60608301846139b4565b9594505050505056fea2646970667358221220f6d9239f88aca99819539a95d205f1868d563986c3bf5c5b6cab3ca588654de264736f6c634300080d003300000000000000000000000013ea4a1a9dd076d47e682bc6516660e4406fbe0e00000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f70667069642d6d656469612e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f70726572657665616c2f70726572657665616c2d6d657461646174612e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f70667069642d6d656469612e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f636f6e74726163742d6d657461646174612e6a736f6e000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061019b5760003560e01c8063715018a6116100ec578063ba66a5f91161008a578063e8a3d48511610064578063e8a3d485146105cc578063e985e9c5146105f7578063f2fde38b14610634578063f851a4401461065d5761019b565b8063ba66a5f914610527578063c87b56dd14610552578063e2f273bd1461058f5761019b565b806395d89b41116100c657806395d89b4114610493578063a22cb465146104be578063a475b5dd146104e7578063b88d4fde146104fe5761019b565b8063715018a61461042157806383f2cb09146104385780638da5cb5b146104685761019b565b806323b872dd11610159578063518302271161013357806351830227146103515780636352211e1461037c5780636817c76c146103b957806370a08231146103e45761019b565b806323b872dd146102d657806342842e0e146102ff57806342966c68146103285761019b565b8062728e46146101a057806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245578063095ea7b31461028257806319bfa2d4146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c291906124b4565b610688565b6040516101d491906124f0565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190612563565b610717565b60405161021191906125ab565b60405180910390f35b34801561022657600080fd5b5061022f6107f9565b60405161023c919061265f565b60405180910390f35b34801561025157600080fd5b5061026c600480360381019061026791906124b4565b61088b565b60405161027991906126c2565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612709565b6108c8565b005b3480156102b757600080fd5b506102c0610903565b6040516102cd919061265f565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612749565b610991565b005b34801561030b57600080fd5b5061032660048036038101906103219190612749565b6109cc565b005b34801561033457600080fd5b5061034f600480360381019061034a91906124b4565b610a07565b005b34801561035d57600080fd5b50610366610a95565b60405161037391906125ab565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e91906124b4565b610aa8565b6040516103b091906126c2565b60405180910390f35b3480156103c557600080fd5b506103ce610b59565b6040516103db91906124f0565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061279c565b610b5f565b60405161041891906124f0565b60405180910390f35b34801561042d57600080fd5b50610436610c16565b005b610452600480360381019061044d919061299f565b610c9e565b60405161045f91906124f0565b60405180910390f35b34801561047457600080fd5b5061047d610e6f565b60405161048a91906126c2565b60405180910390f35b34801561049f57600080fd5b506104a8610e99565b6040516104b5919061265f565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190612a6a565b610f2b565b005b3480156104f357600080fd5b506104fc610f66565b005b34801561050a57600080fd5b5061052560048036038101906105209190612aaa565b610fff565b005b34801561053357600080fd5b5061053c61103a565b604051610549919061265f565b60405180910390f35b34801561055e57600080fd5b50610579600480360381019061057491906124b4565b6110c8565b604051610586919061265f565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b1919061279c565b611188565b6040516105c391906126c2565b60405180910390f35b3480156105d857600080fd5b506105e1611271565b6040516105ee919061265f565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190612b2d565b611303565b60405161062b91906125ab565b60405180910390f35b34801561064057600080fd5b5061065b6004803603810190610656919061279c565b611340565b005b34801561066957600080fd5b50610672611437565b60405161067f91906126c2565b60405180910390f35b600061069261145d565b73ffffffffffffffffffffffffffffffffffffffff166106b0610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90612bb9565b60405180910390fd5b816009819055506009549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f257506107f182611465565b5b9050919050565b60606000805461080890612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461083490612c08565b80156108815780601f1061085657610100808354040283529160200191610881565b820191906000526020600020905b81548152906001019060200180831161086457829003601f168201915b5050505050905090565b60006040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf90612c85565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa90612c85565b60405180910390fd5b600b805461091090612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90612c08565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b505050505081565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c390612c85565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90612c85565b60405180910390fd5b610a1133826114cf565b610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4790612d17565b60405180910390fd5b7f512586160ebd4dc6945ba9ec5d21a1f723f26f3c7aa36cdffb6818d4e7b880303382604051610a81929190612d37565b60405180910390a1610a92816115ad565b50565b600a60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790612dd2565b60405180910390fd5b80915050919050565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690612e64565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1e61145d565b73ffffffffffffffffffffffffffffffffffffffff16610c3c610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990612bb9565b60405180910390fd5b610c9c6000611600565b565b6000600d600084815260200190815260200160002060009054906101000a900460ff1615610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf890612ed0565b60405180910390fd5b600954341015610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90612f62565b60405180910390fd5b6000610d50610e6f565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610d98573d6000803e3d6000fd5b506001600d600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610dd3878787876116c6565b905080610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c90612fce565b60405180910390fd5b610e1f3387611770565b610e298688611949565b7f3fffaa5804a26fcec0d70b1d0fb0a2d0031df3a5f9c8af2127c2f4360e97b4633387604051610e5a929190612d37565b60405180910390a18592505050949350505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ea890612c08565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed490612c08565b8015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b5050505050905090565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d90612c85565b60405180910390fd5b610f6e61145d565b73ffffffffffffffffffffffffffffffffffffffff16610f8c610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990612bb9565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612c85565b60405180910390fd5b600c805461104790612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461107390612c08565b80156110c05780601f10611095576101008083540402835291602001916110c0565b820191906000526020600020905b8154815290600101906020018083116110a357829003601f168201915b505050505081565b606060001515600a60009054906101000a900460ff1615150361117757600b80546110f290612c08565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612c08565b801561116b5780601f106111405761010080835404028352916020019161116b565b820191906000526020600020905b81548152906001019060200180831161114e57829003601f168201915b50505050509050611183565b611180826119bd565b90505b919050565b600061119261145d565b73ffffffffffffffffffffffffffffffffffffffff166111b0610e6f565b73ffffffffffffffffffffffffffffffffffffffff1614611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90612bb9565b60405180910390fd5b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6060600c805461128090612c08565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90612c08565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b5050505050905090565b60006040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790612c85565b60405180910390fd5b61134861145d565b73ffffffffffffffffffffffffffffffffffffffff16611366610e6f565b73ffffffffffffffffffffffffffffffffffffffff16146113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390612bb9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290613060565b60405180910390fd5b61143481611600565b50565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006114da82611b0e565b611519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611510906130f2565b60405180910390fd5b600061152483610aa8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061159357508373ffffffffffffffffffffffffffffffffffffffff1661157b8461088b565b73ffffffffffffffffffffffffffffffffffffffff16145b806115a457506115a38185611303565b5b91505092915050565b6115b681611b7a565b60006006600083815260200190815260200160002080546115d690612c08565b9050146115fd576006600082815260200190815260200160002060006115fc9190612387565b5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008033868686306040516020016116e295949392919061321e565b604051602081830303815290604052805190602001209050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661174e8461174084611c97565b611cc790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d6906132c5565b60405180910390fd5b6117e881611b0e565b15611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90613331565b60405180910390fd5b61183460008383611cee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118849190613380565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461194560008383611cf3565b5050565b61195282611b0e565b611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890613448565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906119b89291906123c7565b505050565b60606119c882611b0e565b611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906134da565b60405180910390fd5b6000600660008481526020019081526020016000208054611a2790612c08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5390612c08565b8015611aa05780601f10611a7557610100808354040283529160200191611aa0565b820191906000526020600020905b815481529060010190602001808311611a8357829003601f168201915b505050505090506000611ab1611cf8565b90506000815103611ac6578192505050611b09565b600082511115611afb578082604051602001611ae39291906134fa565b60405160208183030381529060405292505050611b09565b611b0484611d0f565b925050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611b8582610aa8565b9050611b9381600084611cee565b611b9e600083611db6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bee919061351e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9381600084611cf3565b5050565b600081604051602001611caa91906135c9565b604051602081830303815290604052805190602001209050919050565b6000806000611cd68585611e6f565b91509150611ce381611ef0565b819250505092915050565b505050565b505050565b606060405180602001604052806000815250905090565b6060611d1a82611b0e565b611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090613661565b60405180910390fd5b6000611d63611cf8565b90506000815111611d835760405180602001604052806000815250611dae565b80611d8d846120bc565b604051602001611d9e9291906134fa565b6040516020818303038152906040525b915050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e2983610aa8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806041835103611eb05760008060006020860151925060408601519150606086015160001a9050611ea48782858561221c565b94509450505050611ee9565b6040835103611ee0576000806020850151915060408501519050611ed5868383612328565b935093505050611ee9565b60006002915091505b9250929050565b60006004811115611f0457611f03613681565b5b816004811115611f1757611f16613681565b5b03156120b95760016004811115611f3157611f30613681565b5b816004811115611f4457611f43613681565b5b03611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b906136fc565b60405180910390fd5b60026004811115611f9857611f97613681565b5b816004811115611fab57611faa613681565b5b03611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290613768565b60405180910390fd5b60036004811115611fff57611ffe613681565b5b81600481111561201257612011613681565b5b03612052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612049906137fa565b60405180910390fd5b60048081111561206557612064613681565b5b81600481111561207857612077613681565b5b036120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af9061388c565b60405180910390fd5b5b50565b606060008203612103576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612217565b600082905060005b6000821461213557808061211e906138ac565b915050600a8261212e9190613923565b915061210b565b60008167ffffffffffffffff811115612151576121506127d3565b5b6040519080825280601f01601f1916602001820160405280156121835781602001600182028036833780820191505090505b5090505b600085146122105760018261219c919061351e565b9150600a856121ab9190613954565b60306121b79190613380565b60f81b8183815181106121cd576121cc613985565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122099190613923565b9450612187565b8093505050505b919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561225757600060039150915061231f565b601b8560ff161415801561226f5750601c8560ff1614155b1561228157600060049150915061231f565b6000600187878787604051600081526020016040526040516122a694939291906139df565b6020604051602081039080840390855afa1580156122c8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123165760006001925092505061231f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61236b9190613380565b90506123798782888561221c565b935093505050935093915050565b50805461239390612c08565b6000825580601f106123a557506123c4565b601f0160209004906000526020600020908101906123c3919061244d565b5b50565b8280546123d390612c08565b90600052602060002090601f0160209004810192826123f5576000855561243c565b82601f1061240e57805160ff191683800117855561243c565b8280016001018555821561243c579182015b8281111561243b578251825591602001919060010190612420565b5b509050612449919061244d565b5090565b5b8082111561246657600081600090555060010161244e565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6124918161247e565b811461249c57600080fd5b50565b6000813590506124ae81612488565b92915050565b6000602082840312156124ca576124c9612474565b5b60006124d88482850161249f565b91505092915050565b6124ea8161247e565b82525050565b600060208201905061250560008301846124e1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125408161250b565b811461254b57600080fd5b50565b60008135905061255d81612537565b92915050565b60006020828403121561257957612578612474565b5b60006125878482850161254e565b91505092915050565b60008115159050919050565b6125a581612590565b82525050565b60006020820190506125c0600083018461259c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126005780820151818401526020810190506125e5565b8381111561260f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612631826125c6565b61263b81856125d1565b935061264b8185602086016125e2565b61265481612615565b840191505092915050565b600060208201905081810360008301526126798184612626565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126ac82612681565b9050919050565b6126bc816126a1565b82525050565b60006020820190506126d760008301846126b3565b92915050565b6126e6816126a1565b81146126f157600080fd5b50565b600081359050612703816126dd565b92915050565b600080604083850312156127205761271f612474565b5b600061272e858286016126f4565b925050602061273f8582860161249f565b9150509250929050565b60008060006060848603121561276257612761612474565b5b6000612770868287016126f4565b9350506020612781868287016126f4565b92505060406127928682870161249f565b9150509250925092565b6000602082840312156127b2576127b1612474565b5b60006127c0848285016126f4565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61280b82612615565b810181811067ffffffffffffffff8211171561282a576128296127d3565b5b80604052505050565b600061283d61246a565b90506128498282612802565b919050565b600067ffffffffffffffff821115612869576128686127d3565b5b61287282612615565b9050602081019050919050565b82818337600083830152505050565b60006128a161289c8461284e565b612833565b9050828152602081018484840111156128bd576128bc6127ce565b5b6128c884828561287f565b509392505050565b600082601f8301126128e5576128e46127c9565b5b81356128f584826020860161288e565b91505092915050565b600067ffffffffffffffff821115612919576129186127d3565b5b61292282612615565b9050602081019050919050565b600061294261293d846128fe565b612833565b90508281526020810184848401111561295e5761295d6127ce565b5b61296984828561287f565b509392505050565b600082601f830112612986576129856127c9565b5b813561299684826020860161292f565b91505092915050565b600080600080608085870312156129b9576129b8612474565b5b600085013567ffffffffffffffff8111156129d7576129d6612479565b5b6129e3878288016128d0565b94505060206129f48782880161249f565b9350506040612a058782880161249f565b925050606085013567ffffffffffffffff811115612a2657612a25612479565b5b612a3287828801612971565b91505092959194509250565b612a4781612590565b8114612a5257600080fd5b50565b600081359050612a6481612a3e565b92915050565b60008060408385031215612a8157612a80612474565b5b6000612a8f858286016126f4565b9250506020612aa085828601612a55565b9150509250929050565b60008060008060808587031215612ac457612ac3612474565b5b6000612ad2878288016126f4565b9450506020612ae3878288016126f4565b9350506040612af48782880161249f565b925050606085013567ffffffffffffffff811115612b1557612b14612479565b5b612b2187828801612971565b91505092959194509250565b60008060408385031215612b4457612b43612474565b5b6000612b52858286016126f4565b9250506020612b63858286016126f4565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ba36020836125d1565b9150612bae82612b6d565b602082019050919050565b60006020820190508181036000830152612bd281612b96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c2057607f821691505b602082108103612c3357612c32612bd9565b5b50919050565b7f466f7262696464656e206f7065726174696f6e00000000000000000000000000600082015250565b6000612c6f6013836125d1565b9150612c7a82612c39565b602082019050919050565b60006020820190508181036000830152612c9e81612c62565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000612d016030836125d1565b9150612d0c82612ca5565b604082019050919050565b60006020820190508181036000830152612d3081612cf4565b9050919050565b6000604082019050612d4c60008301856126b3565b612d5960208301846124e1565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612dbc6029836125d1565b9150612dc782612d60565b604082019050919050565b60006020820190508181036000830152612deb81612daf565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612e4e602a836125d1565b9150612e5982612df2565b604082019050919050565b60006020820190508181036000830152612e7d81612e41565b9050919050565b7f4e6f6e636520686173206265656e20757365642e000000000000000000000000600082015250565b6000612eba6014836125d1565b9150612ec582612e84565b602082019050919050565b60006020820190508181036000830152612ee981612ead565b9050919050565b7f4e6f7420656e6f756768204574682070617373656420666f72206d696e74206660008201527f65652e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612f4c6023836125d1565b9150612f5782612ef0565b604082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b7f496e76616c6964207369676e61747572652e0000000000000000000000000000600082015250565b6000612fb86012836125d1565b9150612fc382612f82565b602082019050919050565b60006020820190508181036000830152612fe781612fab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061304a6026836125d1565b915061305582612fee565b604082019050919050565b600060208201905081810360008301526130798161303d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006130dc602c836125d1565b91506130e782613080565b604082019050919050565b6000602082019050818103600083015261310b816130cf565b9050919050565b60008160601b9050919050565b600061312a82613112565b9050919050565b600061313c8261311f565b9050919050565b61315461314f826126a1565b613131565b82525050565b600081905092915050565b6000613170826125c6565b61317a818561315a565b935061318a8185602086016125e2565b80840191505092915050565b6000819050919050565b6131b16131ac8261247e565b613196565b82525050565b6000819050919050565b60006131dc6131d76131d284612681565b6131b7565b612681565b9050919050565b60006131ee826131c1565b9050919050565b6000613200826131e3565b9050919050565b613218613213826131f5565b613131565b82525050565b600061322a8288613143565b60148201915061323a8287613165565b915061324682866131a0565b60208201915061325682856131a0565b6020820191506132668284613207565b6014820191508190509695505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006132af6020836125d1565b91506132ba82613279565b602082019050919050565b600060208201905081810360008301526132de816132a2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061331b601c836125d1565b9150613326826132e5565b602082019050919050565b6000602082019050818103600083015261334a8161330e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061338b8261247e565b91506133968361247e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133cb576133ca613351565b5b828201905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613432602e836125d1565b915061343d826133d6565b604082019050919050565b6000602082019050818103600083015261346181613425565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006134c46031836125d1565b91506134cf82613468565b604082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b60006135068285613165565b91506135128284613165565b91508190509392505050565b60006135298261247e565b91506135348361247e565b92508282101561354757613546613351565b5b828203905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613588601c8361315a565b915061359382613552565b601c82019050919050565b6000819050919050565b6000819050919050565b6135c36135be8261359e565b6135a8565b82525050565b60006135d48261357b565b91506135e082846135b2565b60208201915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061364b602f836125d1565b9150613656826135ef565b604082019050919050565b6000602082019050818103600083015261367a8161363e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006136e66018836125d1565b91506136f1826136b0565b602082019050919050565b60006020820190508181036000830152613715816136d9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613752601f836125d1565b915061375d8261371c565b602082019050919050565b6000602082019050818103600083015261378181613745565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006137e46022836125d1565b91506137ef82613788565b604082019050919050565b60006020820190508181036000830152613813816137d7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006138766022836125d1565b91506138818261381a565b604082019050919050565b600060208201905081810360008301526138a581613869565b9050919050565b60006138b78261247e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138e9576138e8613351565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061392e8261247e565b91506139398361247e565b925082613949576139486138f4565b5b828204905092915050565b600061395f8261247e565b915061396a8361247e565b92508261397a576139796138f4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6139bd8161359e565b82525050565b600060ff82169050919050565b6139d9816139c3565b82525050565b60006080820190506139f460008301876139b4565b613a0160208301866139d0565b613a0e60408301856139b4565b613a1b60608301846139b4565b9594505050505056fea2646970667358221220f6d9239f88aca99819539a95d205f1868d563986c3bf5c5b6cab3ca588654de264736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000013ea4a1a9dd076d47e682bc6516660e4406fbe0e00000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f70667069642d6d656469612e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f70726572657665616c2f70726572657665616c2d6d657461646174612e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f70667069642d6d656469612e73332e65752d776573742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f636f6e74726163742d6d657461646174612e6a736f6e000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _admin (address): 0x13EA4A1a9dD076D47E682Bc6516660E4406fbe0E
Arg [1] : _mintPrice (uint256): 50000000000000000
Arg [2] : _prerevealMetadataUri (string): https://pfpid-media.s3.eu-west-1.amazonaws.com/prereveal/prereveal-metadata.json
Arg [3] : _contractMetadataUri (string): https://pfpid-media.s3.eu-west-1.amazonaws.com/metadata/contract-metadata.json
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000013ea4a1a9dd076d47e682bc6516660e4406fbe0e
Arg [1] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [5] : 68747470733a2f2f70667069642d6d656469612e73332e65752d776573742d31
Arg [6] : 2e616d617a6f6e6177732e636f6d2f70726572657665616c2f70726572657665
Arg [7] : 616c2d6d657461646174612e6a736f6e00000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [9] : 68747470733a2f2f70667069642d6d656469612e73332e65752d776573742d31
Arg [10] : 2e616d617a6f6e6177732e636f6d2f6d657461646174612f636f6e7472616374
Arg [11] : 2d6d657461646174612e6a736f6e000000000000000000000000000000000000
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.