ERC-1155
Overview
Max Total Supply
0
Holders
77
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PeepsPassport
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; /// @title Peeps Passport /// @author MilkyTaste @ Ao Collaboration Ltd. /// https://peeps.club /// Your gateway into the World of Peeps. import "./ERC1155Single.sol"; import "./IPeepsPassport.sol"; import "./Payable.sol"; import "./Signable.sol"; contract PeepsPassport is ERC1155Single, Payable, Signable, IPeepsPassport { address public immutable peepsClubAddr; // Global sale details struct GeneralInfo { uint32 totalMinted; uint32 totalSupply; uint32 txLimitPlusOne; bool paused; } GeneralInfo private generalInfo; // Public sale details struct PublicSaleInfo { uint32 maxMintPlusOne; uint64 endTimestamp; uint128 tokenPrice; } PublicSaleInfo private publicSaleInfo; // Server sale details mapping(address => uint16) public utilityNonce; // Prevent replay attacks constructor(address peepsClubAddr_) ERC1155Single("https://my.peeps.club/passport/passport.json") Payable(1000) { peepsClubAddr = peepsClubAddr_; generalInfo = GeneralInfo(0, 0, 6, false); } // // Modifiers // /** * Do not allow calls from other contracts. */ modifier noBots() { require(msg.sender == tx.origin, "PeepsPassport: No bots"); _; } /** * Contract cannot be paused. */ modifier notPaused() { require(!generalInfo.paused, "PeepsPassport: Contract is paused"); _; } /** * Respect transaction limit. */ modifier withinTxLimit(uint32 quantity) { require(quantity < generalInfo.txLimitPlusOne, "PeepsPassport: Exceeds transaction limit"); _; } /** * Ensure correct amount of Ether present in transaction. */ modifier correctValue(uint256 expectedValue) { require(expectedValue == msg.value, "PeepsPassport: Ether value incorrect"); _; } /** * Checks for a valid nonce against the account, and increments it after the call. * @param account The caller. * @param nonce The expected nonce. */ modifier useNonce(address account, uint32 nonce) { require(utilityNonce[account] == nonce, "PeepsPassport: Nonce not valid"); _; utilityNonce[account]++; } // // Mint // /** * Public mint. * @param to Address to mint to. * @param quantity Amount of tokens to mint. */ function mintPublic(address to, uint32 quantity) external payable noBots notPaused withinTxLimit(quantity) correctValue(publicSaleInfo.tokenPrice * quantity) { require(publicSaleInfo.endTimestamp > block.timestamp, "PeepsPassport: Public sale inactive"); require( (generalInfo.totalMinted + quantity) < publicSaleInfo.maxMintPlusOne, "PeepsPassport: Exceeds available tokens" ); _safeMint(to, quantity); } /** * Mint tokens when authorised by server. * @param price The total price. * @param quantity The number of tokens to mint. * @param expiry The latest time the signature can be used. * @param nonce A one time use number to prevent replay attacks. * @param signature A signed validation from the server. * @dev This increased the total mint count but is unlimited. */ function mintSigned( uint256 price, uint32 quantity, uint64 expiry, uint32 nonce, bytes calldata signature ) external payable notPaused withinTxLimit(quantity) correctValue(price) useNonce(msg.sender, nonce) signed(abi.encodePacked(msg.sender, nonce, quantity, expiry, price), signature) { require(expiry > block.timestamp, "PeepsPassport: Signature expired"); _safeMint(msg.sender, quantity); } /** * Airdrop tokens. * @param to Address to mint to. * @param quantity Amount of tokens to mint. */ function airdrop(address to, uint32 quantity) external onlyOwner { _safeMint(to, quantity); } /** * Airdrop tokens. * @param to Address to mint to. * @param quantity Amount of tokens to mint. */ function airdropBatch(address[] calldata to, uint8[] calldata quantity) external onlyOwner { require(to.length == quantity.length, "PeepsPassport: Array lengths do not match"); uint16 totalQuantity = 0; for (uint256 i = 0; i < to.length; i++) { totalQuantity += quantity[i]; _mint(to[i], quantity[i]); } generalInfo.totalMinted += totalQuantity; generalInfo.totalSupply += totalQuantity; } /** * Mint the tokens and increment the total supply counter. * @param to Address to mint to. * @param quantity Amount of tokens to mint. */ function _safeMint(address to, uint32 quantity) private { generalInfo.totalMinted += quantity; generalInfo.totalSupply += quantity; _mint(to, quantity); } // // Admin // /** * Update maximum number of tokens per transaction in public sale. * @param txLimit The new transaction limit. */ function setTxLimit(uint32 txLimit) external onlyOwner { generalInfo.txLimitPlusOne = txLimit + 1; } /** * Set the public sale information. * @param maxMint The maximum number of tokens that can be minted. * @param endTimestamp The timestamp at which the sale ends. * @param tokenPrice The token price for this sale. * @notice This method will automatically enable the public sale. * @dev The mint counter includes tokens minted by all mint functions. */ function setPublicSaleInfo( uint32 maxMint, uint64 endTimestamp, uint128 tokenPrice ) external onlyOwner { publicSaleInfo = PublicSaleInfo(maxMint + 1, endTimestamp, tokenPrice); } /** * Update URI. */ function setUri(string memory _uri) external onlyOwner { _setURI(_uri); } /** * Update the contract paused state. * @param paused_ The new paused state. */ function setPaused(bool paused_) external onlyOwner { generalInfo.paused = paused_; } // // Utility // /** * Burn passports. * @dev This method is only callable by the Peeps Contract. * @param owner The owner of the passports to burn. * @param quantity The number of passports to burn. */ function burn(address owner, uint32 quantity) external notPaused { require(msg.sender == peepsClubAddr, "PeepsPassport: Not called by Peeps Club"); generalInfo.totalSupply -= quantity; _burn(owner, quantity); } // // Views // /** * Return sale info. * @return * saleInfo[0]: maxMint (maximum number of tokens that can be minted during public sale) * saleInfo[1]: endTimestamp (timestamp for when public sale ends) * saleInfo[2]: totalMinted * saleInfo[3]: tokenPrice * saleInfo[4]: txLimit (maximum number of tokens per transaction) */ function saleInfo() public view virtual returns (uint256[5] memory) { return [ publicSaleInfo.maxMintPlusOne - 1, publicSaleInfo.endTimestamp, generalInfo.totalMinted, uint256(publicSaleInfo.tokenPrice), generalInfo.txLimitPlusOne - 1 ]; } /// @inheritdoc IERC165 function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155Single, ERC2981) returns (bool) { return ERC1155Single.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } /** * Return the total supply of Peeps Passports. * @param tokenId Must be 0. * @return totalSupply The total supply of passports. */ function totalSupply(uint256 tokenId) public view returns (uint256) { if (tokenId != 0) { return 0; } return generalInfo.totalSupply; } }
// SPDX-License-Identifier: MIT /// @author Optimisations by MilkyTaste @ Ao Collaboration Ltd. pragma solidity ^0.8.8; /// @title ERC1155 Single /// @author MilkyTaste @ Ao Collaboration Ltd. /// Credits: OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) /// https://block.aocollab.tech import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * This implementation handles only a single token at index 0. */ contract ERC1155Single is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; mapping(address => uint32) private _balances; mapping(address => mapping(address => bool)) private _operatorApprovals; string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * Get the balance of the given account. * @param account The account to query. * @param id The tokenId to query. * @dev Queries for anything other than id 0 will return 0. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155Single: balance query for the zero address"); if (id != 0) { return 0; } return _balances[account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155Single: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155Single: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155Single: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155Single: transfer to the zero address"); // Balance will always be 0 for non 0 id require(id == 0, "ERC1155Single: insufficient balance for transfer"); address operator = _msgSender(); uint32 amount32 = uint32(amount); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint32 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC1155Single: insufficient balance for transfer"); unchecked { _balances[from] = fromBalance - amount32; } _balances[to] += amount32; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155Single: ids and amounts length mismatch"); require(to != address(0), "ERC1155Single: transfer to the zero address"); // Balance will always be 0 for non 0 id address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; require(id == 0, "ERC1155Single: insufficient balance for transfer"); uint32 amount = uint32(amounts[i]); uint32 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC1155Single: insufficient balance for transfer"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address to, uint32 amount) internal virtual { require(to != address(0), "ERC1155Single: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(0), _asSingletonArray(amount), ""); _balances[to] += amount; emit TransferSingle(operator, address(0), to, 0, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, 0, amount, ""); } /** * Burns the amount of token from an address. * @param from The address to burn from. * @param amount The amount to burn. */ function _burn(address from, uint32 amount) internal virtual { require(from != address(0), "ERC1155Single: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(0), _asSingletonArray(amount), ""); uint32 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC1155Single: burn amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), 0, amount); } /** * @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, "ERC1155Single: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155Single: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155Single: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155Single: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155Single: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; /// @title Peeps Passport Interface /// @author MilkyTaste @ Ao Collaboration Ltd. /// https://peeps.club interface IPeepsPassport { function burn(address addr, uint32 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; /// @title Payable /// @author MilkyTaste @ Ao Collaboration Ltd. /// https://block.aocollab.tech /// Manage payables import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./ERC2981.sol"; contract Payable is Ownable, ERC2981 { constructor(uint256 value) { // Set royalties _setRoyalties(0x00FDf663b8fD151A5c3c8D528DC8a3f65Cd5eb7c, value); } // // ERC2981 // /** * Set the royalties information. * @param recipient recipient of the royalties. * @param value percentage (using 2 decimals - 10000 = 100, 0 = 0). */ function setRoyalties(address recipient, uint256 value) external onlyOwner { require(recipient != address(0), "zero address"); _setRoyalties(recipient, value); } // // Withdraw // /** * Withdraw contract funds to a given address. * @param account The account to withdraw to. * @param amount The amount to withdraw. */ function withdraw(address payable account, uint256 amount) public virtual onlyOwner { Address.sendValue(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.8; /// @title Signable /// @author MilkyTaste @ Ao Collaboration Ltd. /// https://block.aocollab.tech /// Check signed messages. import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract Signable is Ownable { using ECDSA for bytes32; address public signer; /** * Checks if the signature matches data signed by the signer. * @param data The data to sign. * @param signature The expected signed data. */ modifier signed(bytes memory data, bytes memory signature) { require(_verify(data, signature, signer), "PeepsPassport: Signature not valid"); _; } /** * Update the utility signer. * @param _signer The new utility signing address. */ function setSigner(address _signer) external onlyOwner { signer = _signer; } /** * Verify a signature. * @param data The signature data. * @param signature The signature to verify. * @param account The signer account. */ function _verify( bytes memory data, bytes memory signature, address account ) public pure returns (bool) { return keccak256(data).toEthSignedMessageHash().recover(signature) == account; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/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); }
// 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 pragma solidity ^0.8.8; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 contract ERC2981 is IERC2981 { struct RoyaltyInfo { address recipient; uint24 amount; } RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, "ERC2981Royalties: Too high"); _royalties = RoyaltyInfo(recipient, uint24(value)); } /// @inheritdoc IERC2981 function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } /// @inheritdoc IERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 800 }, "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":"peepsClubAddr_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"account","type":"address"}],"name":"_verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"quantity","type":"uint32"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint8[]","name":"quantity","type":"uint8[]"}],"name":"airdropBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"quantity","type":"uint32"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"quantity","type":"uint32"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"quantity","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"},{"internalType":"uint32","name":"nonce","type":"uint32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintSigned","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"peepsClubAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleInfo","outputs":[{"internalType":"uint256[5]","name":"","type":"uint256[5]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"maxMint","type":"uint32"},{"internalType":"uint64","name":"endTimestamp","type":"uint64"},{"internalType":"uint128","name":"tokenPrice","type":"uint128"}],"name":"setPublicSaleInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"txLimit","type":"uint32"}],"name":"setTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"utilityNonce","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162003dc838038062003dc883398101604081905262000034916200028b565b6103e86040518060600160405280602c815260200162003d9c602c91396200005c33620000db565b62000067816200012b565b506200008772fdf663b8fd151a5c3c8d528dc8a3f65cd5eb7c8262000144565b506001600160a01b03166080908152604080519182018152600080835260208301819052600691830182905260609092019190915280546001600160681b03191668060000000000000000179055620002fa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b805162000140906003906020840190620001e5565b5050565b6127108111156200019b5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015260640160405180910390fd5b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260048054600160a01b9093026001600160b81b0319909316909117919091179055565b828054620001f390620002bd565b90600052602060002090601f01602090048101928262000217576000855562000262565b82601f106200023257805160ff191683800117855562000262565b8280016001018555821562000262579182015b828111156200026257825182559160200191906001019062000245565b506200027092915062000274565b5090565b5b8082111562000270576000815560010162000275565b6000602082840312156200029e57600080fd5b81516001600160a01b0381168114620002b657600080fd5b9392505050565b600181811c90821680620002d257607f821691505b60208210811415620002f457634e487b7160e01b600052602260045260246000fd5b50919050565b608051613a7f6200031d6000396000818161055801526108870152613a7f6000f3fe6080604052600436106101cc5760003560e01c80638b7d5d09116100f7578063bd85b03911610095578063f242432a11610064578063f242432a146105c3578063f2fde38b146105e3578063f3fef3a314610603578063feb09e241461062357600080fd5b8063bd85b03914610513578063bee519c314610533578063cd9d60d614610546578063e985e9c51461057a57600080fd5b80638e3695b8116100d15780638e3695b8146104915780639b121610146104b35780639b642de1146104d3578063a22cb465146104f357600080fd5b80638b7d5d09146104335780638c7ea24b146104535780638da5cb5b1461047357600080fd5b80632eb2c2d61161016f5780636c19e7831161013e5780636c19e783146103cb578063715018a6146103eb578063766643a4146104005780638336f2741461041357600080fd5b80632eb2c2d61461031a5780634e1273f41461033a57806356bf68751461036757806360c49f98146103ab57600080fd5b806316c38b3c116101ab57806316c38b3c14610261578063235c8fa714610283578063238ac933146102a35780632a55205a146102db57600080fd5b8062fdd58e146101d157806301ffc9a7146102045780630e89341c14610234575b600080fd5b3480156101dd57600080fd5b506101f16101ec366004612ebc565b610643565b6040519081526020015b60405180910390f35b34801561021057600080fd5b5061022461021f366004612efe565b6106fb565b60405190151581526020016101fb565b34801561024057600080fd5b5061025461024f366004612f22565b610715565b6040516101fb9190612f88565b34801561026d57600080fd5b5061028161027c366004612fb0565b6107a9565b005b34801561028f57600080fd5b5061028161029e366004612fdf565b610818565b3480156102af57600080fd5b506005546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020016101fb565b3480156102e757600080fd5b506102fb6102f6366004613014565b610969565b604080516001600160a01b0390931683526020830191909152016101fb565b34801561032657600080fd5b5061028161033536600461318c565b6109be565b34801561034657600080fd5b5061035a61035536600461323a565b610a60565b6040516101fb9190613338565b34801561037357600080fd5b5061039861038236600461334b565b60086020526000908152604090205461ffff1681565b60405161ffff90911681526020016101fb565b3480156103b757600080fd5b506102816103c6366004613368565b610b9e565b3480156103d757600080fd5b506102816103e636600461334b565b610c23565b3480156103f757600080fd5b50610281610c9a565b61028161040e36600461339b565b610cee565b34801561041f57600080fd5b5061022461042e366004613448565b611063565b34801561043f57600080fd5b5061028161044e366004612fdf565b6110e9565b34801561045f57600080fd5b5061028161046e366004612ebc565b61113b565b34801561047f57600080fd5b506000546001600160a01b03166102c3565b34801561049d57600080fd5b506104a66111e3565b6040516101fb91906134c0565b3480156104bf57600080fd5b506102816104ce366004613536565b61127e565b3480156104df57600080fd5b506102816104ee3660046135a2565b611473565b3480156104ff57600080fd5b5061028161050e3660046135f3565b6114c7565b34801561051f57600080fd5b506101f161052e366004612f22565b6114d2565b610281610541366004612fdf565b6114f8565b34801561055257600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b34801561058657600080fd5b5061022461059536600461361f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b3480156105cf57600080fd5b506102816105de366004613658565b6117c1565b3480156105ef57600080fd5b506102816105fe36600461334b565b61185c565b34801561060f57600080fd5b5061028161061e366004612ebc565b611929565b34801561062f57600080fd5b5061028161063e3660046136c1565b61197b565b60006001600160a01b0383166106c65760405162461bcd60e51b815260206004820152603160248201527f4552433131353553696e676c653a2062616c616e636520717565727920666f7260448201527f20746865207a65726f206164647265737300000000000000000000000000000060648201526084015b60405180910390fd5b81156106d4575060006106f5565b506001600160a01b03821660009081526001602052604090205463ffffffff165b92915050565b600061070682611a72565b806106f557506106f582611ac2565b60606003805461072490613709565b80601f016020809104026020016040519081016040528092919081815260200182805461075090613709565b801561079d5780601f106107725761010080835404028352916020019161079d565b820191906000526020600020905b81548152906001019060200180831161078057829003601f168201915b50505050509050919050565b6000546001600160a01b031633146107f15760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b60068054911515600160601b026cff00000000000000000000000019909216919091179055565b600654600160601b900460ff161561087c5760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461091a5760405162461bcd60e51b815260206004820152602760248201527f506565707350617373706f72743a204e6f742063616c6c65642062792050656560448201527f707320436c75620000000000000000000000000000000000000000000000000060648201526084016106bd565b6006805482919060049061093d908490640100000000900463ffffffff1661375a565b92506101000a81548163ffffffff021916908363ffffffff1602179055506109658282611af8565b5050565b604080518082019091526004546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906109aa908661377f565b6109b4919061379e565b9150509250929050565b6001600160a01b0385163314806109da57506109da8533610595565b610a4c5760405162461bcd60e51b815260206004820152603860248201527f4552433131353553696e676c653a207472616e736665722063616c6c6572206960448201527f73206e6f74206f776e6572206e6f7220617070726f766564000000000000000060648201526084016106bd565b610a598585858585611cc6565b5050505050565b60608151835114610ad95760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a206163636f756e747320616e64206964732060448201527f6c656e677468206d69736d61746368000000000000000000000000000000000060648201526084016106bd565b6000835167ffffffffffffffff811115610af557610af5613036565b604051908082528060200260200182016040528015610b1e578160200160208202803683370190505b50905060005b8451811015610b9657610b69858281518110610b4257610b426137c0565b6020026020010151858381518110610b5c57610b5c6137c0565b6020026020010151610643565b828281518110610b7b57610b7b6137c0565b6020908102919091010152610b8f816137d6565b9050610b24565b509392505050565b6000546001600160a01b03163314610be65760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b610bf18160016137f1565b6006805463ffffffff9290921668010000000000000000026bffffffff00000000000000001990921691909117905550565b6000546001600160a01b03163314610c6b5760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ce25760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b610cec6000611fda565b565b600654600160601b900460ff1615610d525760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b600654859063ffffffff68010000000000000000909104811690821610610dcc5760405162461bcd60e51b815260206004820152602860248201527f506565707350617373706f72743a2045786365656473207472616e73616374696044820152671bdb881b1a5b5a5d60c21b60648201526084016106bd565b86348114610e285760405162461bcd60e51b8152602060048201526024808201527f506565707350617373706f72743a2045746865722076616c756520696e636f726044820152631c9958dd60e21b60648201526084016106bd565b33600081815260086020526040902054869061ffff1663ffffffff821614610e925760405162461bcd60e51b815260206004820152601e60248201527f506565707350617373706f72743a204e6f6e6365206e6f742076616c6964000060448201526064016106bd565b6040516bffffffffffffffffffffffff193360601b1660208201526001600160e01b031960e089811b821660348401528b901b1660388201527fffffffffffffffff00000000000000000000000000000000000000000000000060c08a901b16603c820152604481018b905260640160408051601f198184030181526020601f89018190048102840181019092528783529190889088908190840183828082843760009201919091525050600554610f58925084915083906001600160a01b0316611063565b610faf5760405162461bcd60e51b815260206004820152602260248201527f506565707350617373706f72743a205369676e6174757265206e6f742076616c6044820152611a5960f21b60648201526084016106bd565b428a67ffffffffffffffff16116110085760405162461bcd60e51b815260206004820181905260248201527f506565707350617373706f72743a205369676e6174757265206578706972656460448201526064016106bd565b611012338c612037565b50506001600160a01b0382166000908152600860205260408120805461ffff169161103c83613819565b91906101000a81548161ffff021916908361ffff1602179055505050505050505050505050565b6000816001600160a01b03166110d7846110d187805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906120bc565b6001600160a01b031614949350505050565b6000546001600160a01b031633146111315760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6109658282612037565b6000546001600160a01b031633146111835760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6001600160a01b0382166111d95760405162461bcd60e51b815260206004820152600c60248201527f7a65726f2061646472657373000000000000000000000000000000000000000060448201526064016106bd565b61096582826120d8565b6111eb612df0565b6040805160a08101909152600754819061120d9060019063ffffffff1661375a565b63ffffffff9081168252600754640100000000810467ffffffffffffffff1660208401526006548083166040850152600160601b9091046001600160801b03166060840152608090920191611271916001916801000000000000000090041661375a565b63ffffffff169052919050565b6000546001600160a01b031633146112c65760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b82811461133b5760405162461bcd60e51b815260206004820152602960248201527f506565707350617373706f72743a204172726179206c656e6774687320646f2060448201527f6e6f74206d61746368000000000000000000000000000000000000000000000060648201526084016106bd565b6000805b848110156113e857838382818110611359576113596137c0565b905060200201602081019061136e919061383b565b61137b9060ff168361385e565b91506113d6868683818110611392576113926137c0565b90506020020160208101906113a7919061334b565b8585848181106113b9576113b96137c0565b90506020020160208101906113ce919061383b565b60ff1661218c565b806113e0816137d6565b91505061133f565b506006805461ffff8316919060009061140890849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff1602179055508061ffff16600660000160048282829054906101000a900463ffffffff1661144e91906137f1565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050505050565b6000546001600160a01b031633146114bb5760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6114c4816122f7565b50565b61096533838361230a565b600081156114e257506000919050565b5050600654640100000000900463ffffffff1690565b3332146115475760405162461bcd60e51b815260206004820152601660248201527f506565707350617373706f72743a204e6f20626f74730000000000000000000060448201526064016106bd565b600654600160601b900460ff16156115ab5760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b600654819063ffffffff680100000000000000009091048116908216106116255760405162461bcd60e51b815260206004820152602860248201527f506565707350617373706f72743a2045786365656473207472616e73616374696044820152671bdb881b1a5b5a5d60c21b60648201526084016106bd565b6007546116499063ffffffff841690600160601b90046001600160801b031661387b565b6001600160801b03163481146116ad5760405162461bcd60e51b8152602060048201526024808201527f506565707350617373706f72743a2045746865722076616c756520696e636f726044820152631c9958dd60e21b60648201526084016106bd565b6007544264010000000090910467ffffffffffffffff161161171d5760405162461bcd60e51b815260206004820152602360248201527f506565707350617373706f72743a205075626c69632073616c6520696e61637460448201526269766560e81b60648201526084016106bd565b60075460065463ffffffff91821691611738918691166137f1565b63ffffffff16106117b15760405162461bcd60e51b815260206004820152602760248201527f506565707350617373706f72743a204578636565647320617661696c61626c6560448201527f20746f6b656e730000000000000000000000000000000000000000000000000060648201526084016106bd565b6117bb8484612037565b50505050565b6001600160a01b0385163314806117dd57506117dd8533610595565b61184f5760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a2063616c6c6572206973206e6f74206f776e60448201527f6572206e6f7220617070726f766564000000000000000000000000000000000060648201526084016106bd565b610a5985858585856123ff565b6000546001600160a01b031633146118a45760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6001600160a01b0381166119205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106bd565b6114c481611fda565b6000546001600160a01b031633146119715760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6109658282612657565b6000546001600160a01b031633146119c35760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b60405180606001604052808460016119db91906137f1565b63ffffffff908116825267ffffffffffffffff9485166020808401919091526001600160801b0394851660409384015283516007805492860151959094015192166bffffffffffffffffffffffff19909116176401000000009390951692909202939093177fffffffff00000000000000000000000000000000ffffffffffffffffffffffff16600160601b919092160217905550565b60006001600160e01b03198216636cdb3d1360e11b1480611aa357506001600160e01b031982166303a24d0760e21b145b806106f557506301ffc9a760e01b6001600160e01b03198316146106f5565b60006001600160e01b0319821663152a902d60e11b14806106f557506001600160e01b031982166301ffc9a760e01b1492915050565b6001600160a01b038216611b745760405162461bcd60e51b815260206004820152602960248201527f4552433131353553696e676c653a206275726e2066726f6d20746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016106bd565b33611baa81846000611b8581612770565b611b948763ffffffff16612770565b5050604080516020810190915260009052505050565b6001600160a01b03831660009081526001602052604090205463ffffffff908116908316811015611c435760405162461bcd60e51b815260206004820152602a60248201527f4552433131353553696e676c653a206275726e20616d6f756e7420657863656560448201527f64732062616c616e63650000000000000000000000000000000000000000000060648201526084016106bd565b6001600160a01b03808516600081815260016020526040808220805463ffffffff8988031663ffffffff199091161790555190928516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290611cb8908590899091825263ffffffff16602082015260400190565b60405180910390a450505050565b8151835114611d3d5760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a2069647320616e6420616d6f756e7473206c60448201527f656e677468206d69736d6174636800000000000000000000000000000000000060648201526084016106bd565b6001600160a01b038416611da75760405162461bcd60e51b815260206004820152602b60248201527f4552433131353553696e676c653a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b3360005b8451811015611f6c576000858281518110611dc857611dc86137c0565b6020026020010151905080600014611e3b5760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6000858381518110611e4f57611e4f6137c0565b6020908102919091018101516001600160a01b038b166000908152600190925260409091205490915063ffffffff908116908216811015611eeb5760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6001600160a01b038a8116600090815260016020526040808220805463ffffffff191686860363ffffffff90811691909117909155928c168252812080548593919291611f3a918591166137f1565b92506101000a81548163ffffffff021916908363ffffffff16021790555050505080611f65906137d6565b9050611dab565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611fbc9291906138aa565b60405180910390a4611fd28187878787876127bb565b505050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6006805482919060009061205290849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff16021790555080600660000160048282829054906101000a900463ffffffff1661209491906137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550610965828261218c565b60008060006120cb858561297f565b91509150610b96816129ef565b61271081111561212a5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016106bd565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260048054600160a01b9093027fffffffffffffffffff0000000000000000000000000000000000000000000000909316909117919091179055565b6001600160a01b0382166122085760405162461bcd60e51b815260206004820152602760248201527f4552433131353553696e676c653a206d696e7420746f20746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084016106bd565b3361221981600085611b8582612770565b6001600160a01b0383166000908152600160205260408120805484929061224790849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550826001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f626000866040516122c592919091825263ffffffff16602082015260400190565b60405180910390a46122f28160008560008663ffffffff1660405180602001604052806000815250612baa565b505050565b8051610965906003906020840190612e0e565b816001600160a01b0316836001600160a01b031614156123925760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a2073657474696e6720617070726f76616c2060448201527f73746174757320666f722073656c66000000000000000000000000000000000060648201526084016106bd565b6001600160a01b03838116600081815260026020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166124695760405162461bcd60e51b815260206004820152602b60248201527f4552433131353553696e676c653a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b82156124d05760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b33826124ea8288886124e189612770565b610a5989612770565b6001600160a01b03871660009081526001602052604090205463ffffffff16848110156125725760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6001600160a01b03888116600090815260016020526040808220805463ffffffff191686860363ffffffff90811691909117909155928a1682528120805485939192916125c1918591166137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550866001600160a01b0316886001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612637929190918252602082015260400190565b60405180910390a461264d838989898989612baa565b5050505050505050565b804710156126a75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106bd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126f4576040519150601f19603f3d011682016040523d82523d6000602084013e6126f9565b606091505b50509050806122f25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106bd565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127aa576127aa6137c0565b602090810291909101015292915050565b6001600160a01b0384163b15611fd25760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906127ff90899089908890889088906004016138d8565b602060405180830381600087803b15801561281957600080fd5b505af1925050508015612849575060408051601f3d908101601f1916820190925261284691810190613936565b60015b6128ff57612855613953565b806308c379a0141561288f575061286a61396f565b806128755750612891565b8060405162461bcd60e51b81526004016106bd9190612f88565b505b60405162461bcd60e51b815260206004820152603a60248201527f4552433131353553696e676c653a207472616e7366657220746f206e6f6e204560448201527f524331313535526563656976657220696d706c656d656e74657200000000000060648201526084016106bd565b6001600160e01b0319811663bc197c8160e01b146129765760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a20455243313135355265636569766572207260448201526d656a656374656420746f6b656e7360901b60648201526084016106bd565b50505050505050565b6000808251604114156129b65760208301516040840151606085015160001a6129aa87828585612cbb565b945094505050506129e8565b8251604014156129e057602083015160408401516129d5868383612da8565b9350935050506129e8565b506000905060025b9250929050565b6000816004811115612a0357612a036139f9565b1415612a0c5750565b6001816004811115612a2057612a206139f9565b1415612a6e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106bd565b6002816004811115612a8257612a826139f9565b1415612ad05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106bd565b6003816004811115612ae457612ae46139f9565b1415612b3d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106bd565b6004816004811115612b5157612b516139f9565b14156114c45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106bd565b6001600160a01b0384163b15611fd25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612bee9089908990889088908890600401613a0f565b602060405180830381600087803b158015612c0857600080fd5b505af1925050508015612c38575060408051601f3d908101601f19168201909252612c3591810190613936565b60015b612c4457612855613953565b6001600160e01b0319811663f23a6e6160e01b146129765760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a20455243313135355265636569766572207260448201526d656a656374656420746f6b656e7360901b60648201526084016106bd565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612cf25750600090506003612d9f565b8460ff16601b14158015612d0a57508460ff16601c14155b15612d1b5750600090506004612d9f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612d6f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612d9857600060019250925050612d9f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612de287828885612cbb565b935093505050935093915050565b6040518060a001604052806005906020820280368337509192915050565b828054612e1a90613709565b90600052602060002090601f016020900481019282612e3c5760008555612e82565b82601f10612e5557805160ff1916838001178555612e82565b82800160010185558215612e82579182015b82811115612e82578251825591602001919060010190612e67565b50612e8e929150612e92565b5090565b5b80821115612e8e5760008155600101612e93565b6001600160a01b03811681146114c457600080fd5b60008060408385031215612ecf57600080fd5b8235612eda81612ea7565b946020939093013593505050565b6001600160e01b0319811681146114c457600080fd5b600060208284031215612f1057600080fd5b8135612f1b81612ee8565b9392505050565b600060208284031215612f3457600080fd5b5035919050565b6000815180845260005b81811015612f6157602081850181015186830182015201612f45565b81811115612f73576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612f1b6020830184612f3b565b80358015158114612fab57600080fd5b919050565b600060208284031215612fc257600080fd5b612f1b82612f9b565b803563ffffffff81168114612fab57600080fd5b60008060408385031215612ff257600080fd5b8235612ffd81612ea7565b915061300b60208401612fcb565b90509250929050565b6000806040838503121561302757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561307257613072613036565b6040525050565b600067ffffffffffffffff82111561309357613093613036565b5060051b60200190565b600082601f8301126130ae57600080fd5b813560206130bb82613079565b6040516130c8828261304c565b83815260059390931b85018201928281019150868411156130e857600080fd5b8286015b8481101561310357803583529183019183016130ec565b509695505050505050565b600067ffffffffffffffff83111561312857613128613036565b60405161313f601f8501601f19166020018261304c565b80915083815284848401111561315457600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261317d57600080fd5b612f1b8383356020850161310e565b600080600080600060a086880312156131a457600080fd5b85356131af81612ea7565b945060208601356131bf81612ea7565b9350604086013567ffffffffffffffff808211156131dc57600080fd5b6131e889838a0161309d565b945060608801359150808211156131fe57600080fd5b61320a89838a0161309d565b9350608088013591508082111561322057600080fd5b5061322d8882890161316c565b9150509295509295909350565b6000806040838503121561324d57600080fd5b823567ffffffffffffffff8082111561326557600080fd5b818501915085601f83011261327957600080fd5b8135602061328682613079565b604051613293828261304c565b83815260059390931b85018201928281019150898411156132b357600080fd5b948201945b838610156132da5785356132cb81612ea7565b825294820194908201906132b8565b965050860135925050808211156132f057600080fd5b506109b48582860161309d565b600081518084526020808501945080840160005b8381101561332d57815187529582019590820190600101613311565b509495945050505050565b602081526000612f1b60208301846132fd565b60006020828403121561335d57600080fd5b8135612f1b81612ea7565b60006020828403121561337a57600080fd5b612f1b82612fcb565b803567ffffffffffffffff81168114612fab57600080fd5b60008060008060008060a087890312156133b457600080fd5b863595506133c460208801612fcb565b94506133d260408801613383565b93506133e060608801612fcb565b9250608087013567ffffffffffffffff808211156133fd57600080fd5b818901915089601f83011261341157600080fd5b81358181111561342057600080fd5b8a602082850101111561343257600080fd5b6020830194508093505050509295509295509295565b60008060006060848603121561345d57600080fd5b833567ffffffffffffffff8082111561347557600080fd5b6134818783880161316c565b9450602086013591508082111561349757600080fd5b506134a48682870161316c565b92505060408401356134b581612ea7565b809150509250925092565b60a08101818360005b60058110156134e85781518352602092830192909101906001016134c9565b50505092915050565b60008083601f84011261350357600080fd5b50813567ffffffffffffffff81111561351b57600080fd5b6020830191508360208260051b85010111156129e857600080fd5b6000806000806040858703121561354c57600080fd5b843567ffffffffffffffff8082111561356457600080fd5b613570888389016134f1565b9096509450602087013591508082111561358957600080fd5b50613596878288016134f1565b95989497509550505050565b6000602082840312156135b457600080fd5b813567ffffffffffffffff8111156135cb57600080fd5b8201601f810184136135dc57600080fd5b6135eb8482356020840161310e565b949350505050565b6000806040838503121561360657600080fd5b823561361181612ea7565b915061300b60208401612f9b565b6000806040838503121561363257600080fd5b823561363d81612ea7565b9150602083013561364d81612ea7565b809150509250929050565b600080600080600060a0868803121561367057600080fd5b853561367b81612ea7565b9450602086013561368b81612ea7565b93506040860135925060608601359150608086013567ffffffffffffffff8111156136b557600080fd5b61322d8882890161316c565b6000806000606084860312156136d657600080fd5b6136df84612fcb565b92506136ed60208501613383565b915060408401356001600160801b03811681146134b557600080fd5b600181811c9082168061371d57607f821691505b6020821081141561373e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8381169083168181101561377757613777613744565b039392505050565b600081600019048311821515161561379957613799613744565b500290565b6000826137bb57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006000198214156137ea576137ea613744565b5060010190565b600063ffffffff80831681851680830382111561381057613810613744565b01949350505050565b600061ffff8083168181141561383157613831613744565b6001019392505050565b60006020828403121561384d57600080fd5b813560ff81168114612f1b57600080fd5b600061ffff80831681851680830382111561381057613810613744565b60006001600160801b03808316818516818304811182151516156138a1576138a1613744565b02949350505050565b6040815260006138bd60408301856132fd565b82810360208401526138cf81856132fd565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261390460a08301866132fd565b828103606084015261391681866132fd565b9050828103608084015261392a8185612f3b565b98975050505050505050565b60006020828403121561394857600080fd5b8151612f1b81612ee8565b600060033d111561396c5760046000803e5060005160e01c5b90565b600060443d101561397d5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156139ad57505050505090565b82850191508151818111156139c55750505050505090565b843d87010160208285010111156139df5750505050505090565b6139ee6020828601018761304c565b509095945050505050565b634e487b7160e01b600052602160045260246000fd5b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613a4760a0830184612f3b565b97965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a164736f6c6343000809000a68747470733a2f2f6d792e70656570732e636c75622f70617373706f72742f70617373706f72742e6a736f6e000000000000000000000000383a7b0488756b5618f4ce2bcbc608ad48f09a57
Deployed Bytecode
0x6080604052600436106101cc5760003560e01c80638b7d5d09116100f7578063bd85b03911610095578063f242432a11610064578063f242432a146105c3578063f2fde38b146105e3578063f3fef3a314610603578063feb09e241461062357600080fd5b8063bd85b03914610513578063bee519c314610533578063cd9d60d614610546578063e985e9c51461057a57600080fd5b80638e3695b8116100d15780638e3695b8146104915780639b121610146104b35780639b642de1146104d3578063a22cb465146104f357600080fd5b80638b7d5d09146104335780638c7ea24b146104535780638da5cb5b1461047357600080fd5b80632eb2c2d61161016f5780636c19e7831161013e5780636c19e783146103cb578063715018a6146103eb578063766643a4146104005780638336f2741461041357600080fd5b80632eb2c2d61461031a5780634e1273f41461033a57806356bf68751461036757806360c49f98146103ab57600080fd5b806316c38b3c116101ab57806316c38b3c14610261578063235c8fa714610283578063238ac933146102a35780632a55205a146102db57600080fd5b8062fdd58e146101d157806301ffc9a7146102045780630e89341c14610234575b600080fd5b3480156101dd57600080fd5b506101f16101ec366004612ebc565b610643565b6040519081526020015b60405180910390f35b34801561021057600080fd5b5061022461021f366004612efe565b6106fb565b60405190151581526020016101fb565b34801561024057600080fd5b5061025461024f366004612f22565b610715565b6040516101fb9190612f88565b34801561026d57600080fd5b5061028161027c366004612fb0565b6107a9565b005b34801561028f57600080fd5b5061028161029e366004612fdf565b610818565b3480156102af57600080fd5b506005546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020016101fb565b3480156102e757600080fd5b506102fb6102f6366004613014565b610969565b604080516001600160a01b0390931683526020830191909152016101fb565b34801561032657600080fd5b5061028161033536600461318c565b6109be565b34801561034657600080fd5b5061035a61035536600461323a565b610a60565b6040516101fb9190613338565b34801561037357600080fd5b5061039861038236600461334b565b60086020526000908152604090205461ffff1681565b60405161ffff90911681526020016101fb565b3480156103b757600080fd5b506102816103c6366004613368565b610b9e565b3480156103d757600080fd5b506102816103e636600461334b565b610c23565b3480156103f757600080fd5b50610281610c9a565b61028161040e36600461339b565b610cee565b34801561041f57600080fd5b5061022461042e366004613448565b611063565b34801561043f57600080fd5b5061028161044e366004612fdf565b6110e9565b34801561045f57600080fd5b5061028161046e366004612ebc565b61113b565b34801561047f57600080fd5b506000546001600160a01b03166102c3565b34801561049d57600080fd5b506104a66111e3565b6040516101fb91906134c0565b3480156104bf57600080fd5b506102816104ce366004613536565b61127e565b3480156104df57600080fd5b506102816104ee3660046135a2565b611473565b3480156104ff57600080fd5b5061028161050e3660046135f3565b6114c7565b34801561051f57600080fd5b506101f161052e366004612f22565b6114d2565b610281610541366004612fdf565b6114f8565b34801561055257600080fd5b506102c37f000000000000000000000000383a7b0488756b5618f4ce2bcbc608ad48f09a5781565b34801561058657600080fd5b5061022461059536600461361f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b3480156105cf57600080fd5b506102816105de366004613658565b6117c1565b3480156105ef57600080fd5b506102816105fe36600461334b565b61185c565b34801561060f57600080fd5b5061028161061e366004612ebc565b611929565b34801561062f57600080fd5b5061028161063e3660046136c1565b61197b565b60006001600160a01b0383166106c65760405162461bcd60e51b815260206004820152603160248201527f4552433131353553696e676c653a2062616c616e636520717565727920666f7260448201527f20746865207a65726f206164647265737300000000000000000000000000000060648201526084015b60405180910390fd5b81156106d4575060006106f5565b506001600160a01b03821660009081526001602052604090205463ffffffff165b92915050565b600061070682611a72565b806106f557506106f582611ac2565b60606003805461072490613709565b80601f016020809104026020016040519081016040528092919081815260200182805461075090613709565b801561079d5780601f106107725761010080835404028352916020019161079d565b820191906000526020600020905b81548152906001019060200180831161078057829003601f168201915b50505050509050919050565b6000546001600160a01b031633146107f15760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b60068054911515600160601b026cff00000000000000000000000019909216919091179055565b600654600160601b900460ff161561087c5760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b336001600160a01b037f000000000000000000000000383a7b0488756b5618f4ce2bcbc608ad48f09a57161461091a5760405162461bcd60e51b815260206004820152602760248201527f506565707350617373706f72743a204e6f742063616c6c65642062792050656560448201527f707320436c75620000000000000000000000000000000000000000000000000060648201526084016106bd565b6006805482919060049061093d908490640100000000900463ffffffff1661375a565b92506101000a81548163ffffffff021916908363ffffffff1602179055506109658282611af8565b5050565b604080518082019091526004546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906109aa908661377f565b6109b4919061379e565b9150509250929050565b6001600160a01b0385163314806109da57506109da8533610595565b610a4c5760405162461bcd60e51b815260206004820152603860248201527f4552433131353553696e676c653a207472616e736665722063616c6c6572206960448201527f73206e6f74206f776e6572206e6f7220617070726f766564000000000000000060648201526084016106bd565b610a598585858585611cc6565b5050505050565b60608151835114610ad95760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a206163636f756e747320616e64206964732060448201527f6c656e677468206d69736d61746368000000000000000000000000000000000060648201526084016106bd565b6000835167ffffffffffffffff811115610af557610af5613036565b604051908082528060200260200182016040528015610b1e578160200160208202803683370190505b50905060005b8451811015610b9657610b69858281518110610b4257610b426137c0565b6020026020010151858381518110610b5c57610b5c6137c0565b6020026020010151610643565b828281518110610b7b57610b7b6137c0565b6020908102919091010152610b8f816137d6565b9050610b24565b509392505050565b6000546001600160a01b03163314610be65760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b610bf18160016137f1565b6006805463ffffffff9290921668010000000000000000026bffffffff00000000000000001990921691909117905550565b6000546001600160a01b03163314610c6b5760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ce25760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b610cec6000611fda565b565b600654600160601b900460ff1615610d525760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b600654859063ffffffff68010000000000000000909104811690821610610dcc5760405162461bcd60e51b815260206004820152602860248201527f506565707350617373706f72743a2045786365656473207472616e73616374696044820152671bdb881b1a5b5a5d60c21b60648201526084016106bd565b86348114610e285760405162461bcd60e51b8152602060048201526024808201527f506565707350617373706f72743a2045746865722076616c756520696e636f726044820152631c9958dd60e21b60648201526084016106bd565b33600081815260086020526040902054869061ffff1663ffffffff821614610e925760405162461bcd60e51b815260206004820152601e60248201527f506565707350617373706f72743a204e6f6e6365206e6f742076616c6964000060448201526064016106bd565b6040516bffffffffffffffffffffffff193360601b1660208201526001600160e01b031960e089811b821660348401528b901b1660388201527fffffffffffffffff00000000000000000000000000000000000000000000000060c08a901b16603c820152604481018b905260640160408051601f198184030181526020601f89018190048102840181019092528783529190889088908190840183828082843760009201919091525050600554610f58925084915083906001600160a01b0316611063565b610faf5760405162461bcd60e51b815260206004820152602260248201527f506565707350617373706f72743a205369676e6174757265206e6f742076616c6044820152611a5960f21b60648201526084016106bd565b428a67ffffffffffffffff16116110085760405162461bcd60e51b815260206004820181905260248201527f506565707350617373706f72743a205369676e6174757265206578706972656460448201526064016106bd565b611012338c612037565b50506001600160a01b0382166000908152600860205260408120805461ffff169161103c83613819565b91906101000a81548161ffff021916908361ffff1602179055505050505050505050505050565b6000816001600160a01b03166110d7846110d187805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906120bc565b6001600160a01b031614949350505050565b6000546001600160a01b031633146111315760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6109658282612037565b6000546001600160a01b031633146111835760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6001600160a01b0382166111d95760405162461bcd60e51b815260206004820152600c60248201527f7a65726f2061646472657373000000000000000000000000000000000000000060448201526064016106bd565b61096582826120d8565b6111eb612df0565b6040805160a08101909152600754819061120d9060019063ffffffff1661375a565b63ffffffff9081168252600754640100000000810467ffffffffffffffff1660208401526006548083166040850152600160601b9091046001600160801b03166060840152608090920191611271916001916801000000000000000090041661375a565b63ffffffff169052919050565b6000546001600160a01b031633146112c65760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b82811461133b5760405162461bcd60e51b815260206004820152602960248201527f506565707350617373706f72743a204172726179206c656e6774687320646f2060448201527f6e6f74206d61746368000000000000000000000000000000000000000000000060648201526084016106bd565b6000805b848110156113e857838382818110611359576113596137c0565b905060200201602081019061136e919061383b565b61137b9060ff168361385e565b91506113d6868683818110611392576113926137c0565b90506020020160208101906113a7919061334b565b8585848181106113b9576113b96137c0565b90506020020160208101906113ce919061383b565b60ff1661218c565b806113e0816137d6565b91505061133f565b506006805461ffff8316919060009061140890849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff1602179055508061ffff16600660000160048282829054906101000a900463ffffffff1661144e91906137f1565b92506101000a81548163ffffffff021916908363ffffffff1602179055505050505050565b6000546001600160a01b031633146114bb5760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6114c4816122f7565b50565b61096533838361230a565b600081156114e257506000919050565b5050600654640100000000900463ffffffff1690565b3332146115475760405162461bcd60e51b815260206004820152601660248201527f506565707350617373706f72743a204e6f20626f74730000000000000000000060448201526064016106bd565b600654600160601b900460ff16156115ab5760405162461bcd60e51b815260206004820152602160248201527f506565707350617373706f72743a20436f6e74726163742069732070617573656044820152601960fa1b60648201526084016106bd565b600654819063ffffffff680100000000000000009091048116908216106116255760405162461bcd60e51b815260206004820152602860248201527f506565707350617373706f72743a2045786365656473207472616e73616374696044820152671bdb881b1a5b5a5d60c21b60648201526084016106bd565b6007546116499063ffffffff841690600160601b90046001600160801b031661387b565b6001600160801b03163481146116ad5760405162461bcd60e51b8152602060048201526024808201527f506565707350617373706f72743a2045746865722076616c756520696e636f726044820152631c9958dd60e21b60648201526084016106bd565b6007544264010000000090910467ffffffffffffffff161161171d5760405162461bcd60e51b815260206004820152602360248201527f506565707350617373706f72743a205075626c69632073616c6520696e61637460448201526269766560e81b60648201526084016106bd565b60075460065463ffffffff91821691611738918691166137f1565b63ffffffff16106117b15760405162461bcd60e51b815260206004820152602760248201527f506565707350617373706f72743a204578636565647320617661696c61626c6560448201527f20746f6b656e730000000000000000000000000000000000000000000000000060648201526084016106bd565b6117bb8484612037565b50505050565b6001600160a01b0385163314806117dd57506117dd8533610595565b61184f5760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a2063616c6c6572206973206e6f74206f776e60448201527f6572206e6f7220617070726f766564000000000000000000000000000000000060648201526084016106bd565b610a5985858585856123ff565b6000546001600160a01b031633146118a45760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6001600160a01b0381166119205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106bd565b6114c481611fda565b6000546001600160a01b031633146119715760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b6109658282612657565b6000546001600160a01b031633146119c35760405162461bcd60e51b81526020600482018190526024820152600080516020613a5383398151915260448201526064016106bd565b60405180606001604052808460016119db91906137f1565b63ffffffff908116825267ffffffffffffffff9485166020808401919091526001600160801b0394851660409384015283516007805492860151959094015192166bffffffffffffffffffffffff19909116176401000000009390951692909202939093177fffffffff00000000000000000000000000000000ffffffffffffffffffffffff16600160601b919092160217905550565b60006001600160e01b03198216636cdb3d1360e11b1480611aa357506001600160e01b031982166303a24d0760e21b145b806106f557506301ffc9a760e01b6001600160e01b03198316146106f5565b60006001600160e01b0319821663152a902d60e11b14806106f557506001600160e01b031982166301ffc9a760e01b1492915050565b6001600160a01b038216611b745760405162461bcd60e51b815260206004820152602960248201527f4552433131353553696e676c653a206275726e2066726f6d20746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016106bd565b33611baa81846000611b8581612770565b611b948763ffffffff16612770565b5050604080516020810190915260009052505050565b6001600160a01b03831660009081526001602052604090205463ffffffff908116908316811015611c435760405162461bcd60e51b815260206004820152602a60248201527f4552433131353553696e676c653a206275726e20616d6f756e7420657863656560448201527f64732062616c616e63650000000000000000000000000000000000000000000060648201526084016106bd565b6001600160a01b03808516600081815260016020526040808220805463ffffffff8988031663ffffffff199091161790555190928516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290611cb8908590899091825263ffffffff16602082015260400190565b60405180910390a450505050565b8151835114611d3d5760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a2069647320616e6420616d6f756e7473206c60448201527f656e677468206d69736d6174636800000000000000000000000000000000000060648201526084016106bd565b6001600160a01b038416611da75760405162461bcd60e51b815260206004820152602b60248201527f4552433131353553696e676c653a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b3360005b8451811015611f6c576000858281518110611dc857611dc86137c0565b6020026020010151905080600014611e3b5760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6000858381518110611e4f57611e4f6137c0565b6020908102919091018101516001600160a01b038b166000908152600190925260409091205490915063ffffffff908116908216811015611eeb5760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6001600160a01b038a8116600090815260016020526040808220805463ffffffff191686860363ffffffff90811691909117909155928c168252812080548593919291611f3a918591166137f1565b92506101000a81548163ffffffff021916908363ffffffff16021790555050505080611f65906137d6565b9050611dab565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611fbc9291906138aa565b60405180910390a4611fd28187878787876127bb565b505050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6006805482919060009061205290849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff16021790555080600660000160048282829054906101000a900463ffffffff1661209491906137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550610965828261218c565b60008060006120cb858561297f565b91509150610b96816129ef565b61271081111561212a5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016106bd565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260048054600160a01b9093027fffffffffffffffffff0000000000000000000000000000000000000000000000909316909117919091179055565b6001600160a01b0382166122085760405162461bcd60e51b815260206004820152602760248201527f4552433131353553696e676c653a206d696e7420746f20746865207a65726f2060448201527f616464726573730000000000000000000000000000000000000000000000000060648201526084016106bd565b3361221981600085611b8582612770565b6001600160a01b0383166000908152600160205260408120805484929061224790849063ffffffff166137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550826001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f626000866040516122c592919091825263ffffffff16602082015260400190565b60405180910390a46122f28160008560008663ffffffff1660405180602001604052806000815250612baa565b505050565b8051610965906003906020840190612e0e565b816001600160a01b0316836001600160a01b031614156123925760405162461bcd60e51b815260206004820152602f60248201527f4552433131353553696e676c653a2073657474696e6720617070726f76616c2060448201527f73746174757320666f722073656c66000000000000000000000000000000000060648201526084016106bd565b6001600160a01b03838116600081815260026020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166124695760405162461bcd60e51b815260206004820152602b60248201527f4552433131353553696e676c653a207472616e7366657220746f20746865207a60448201526a65726f206164647265737360a81b60648201526084016106bd565b82156124d05760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b33826124ea8288886124e189612770565b610a5989612770565b6001600160a01b03871660009081526001602052604090205463ffffffff16848110156125725760405162461bcd60e51b815260206004820152603060248201527f4552433131353553696e676c653a20696e73756666696369656e742062616c6160448201526f3731b2903337b9103a3930b739b332b960811b60648201526084016106bd565b6001600160a01b03888116600090815260016020526040808220805463ffffffff191686860363ffffffff90811691909117909155928a1682528120805485939192916125c1918591166137f1565b92506101000a81548163ffffffff021916908363ffffffff160217905550866001600160a01b0316886001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612637929190918252602082015260400190565b60405180910390a461264d838989898989612baa565b5050505050505050565b804710156126a75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106bd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126f4576040519150601f19603f3d011682016040523d82523d6000602084013e6126f9565b606091505b50509050806122f25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106bd565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127aa576127aa6137c0565b602090810291909101015292915050565b6001600160a01b0384163b15611fd25760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906127ff90899089908890889088906004016138d8565b602060405180830381600087803b15801561281957600080fd5b505af1925050508015612849575060408051601f3d908101601f1916820190925261284691810190613936565b60015b6128ff57612855613953565b806308c379a0141561288f575061286a61396f565b806128755750612891565b8060405162461bcd60e51b81526004016106bd9190612f88565b505b60405162461bcd60e51b815260206004820152603a60248201527f4552433131353553696e676c653a207472616e7366657220746f206e6f6e204560448201527f524331313535526563656976657220696d706c656d656e74657200000000000060648201526084016106bd565b6001600160e01b0319811663bc197c8160e01b146129765760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a20455243313135355265636569766572207260448201526d656a656374656420746f6b656e7360901b60648201526084016106bd565b50505050505050565b6000808251604114156129b65760208301516040840151606085015160001a6129aa87828585612cbb565b945094505050506129e8565b8251604014156129e057602083015160408401516129d5868383612da8565b9350935050506129e8565b506000905060025b9250929050565b6000816004811115612a0357612a036139f9565b1415612a0c5750565b6001816004811115612a2057612a206139f9565b1415612a6e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106bd565b6002816004811115612a8257612a826139f9565b1415612ad05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106bd565b6003816004811115612ae457612ae46139f9565b1415612b3d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106bd565b6004816004811115612b5157612b516139f9565b14156114c45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106bd565b6001600160a01b0384163b15611fd25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612bee9089908990889088908890600401613a0f565b602060405180830381600087803b158015612c0857600080fd5b505af1925050508015612c38575060408051601f3d908101601f19168201909252612c3591810190613936565b60015b612c4457612855613953565b6001600160e01b0319811663f23a6e6160e01b146129765760405162461bcd60e51b815260206004820152602e60248201527f4552433131353553696e676c653a20455243313135355265636569766572207260448201526d656a656374656420746f6b656e7360901b60648201526084016106bd565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612cf25750600090506003612d9f565b8460ff16601b14158015612d0a57508460ff16601c14155b15612d1b5750600090506004612d9f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612d6f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612d9857600060019250925050612d9f565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612de287828885612cbb565b935093505050935093915050565b6040518060a001604052806005906020820280368337509192915050565b828054612e1a90613709565b90600052602060002090601f016020900481019282612e3c5760008555612e82565b82601f10612e5557805160ff1916838001178555612e82565b82800160010185558215612e82579182015b82811115612e82578251825591602001919060010190612e67565b50612e8e929150612e92565b5090565b5b80821115612e8e5760008155600101612e93565b6001600160a01b03811681146114c457600080fd5b60008060408385031215612ecf57600080fd5b8235612eda81612ea7565b946020939093013593505050565b6001600160e01b0319811681146114c457600080fd5b600060208284031215612f1057600080fd5b8135612f1b81612ee8565b9392505050565b600060208284031215612f3457600080fd5b5035919050565b6000815180845260005b81811015612f6157602081850181015186830182015201612f45565b81811115612f73576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612f1b6020830184612f3b565b80358015158114612fab57600080fd5b919050565b600060208284031215612fc257600080fd5b612f1b82612f9b565b803563ffffffff81168114612fab57600080fd5b60008060408385031215612ff257600080fd5b8235612ffd81612ea7565b915061300b60208401612fcb565b90509250929050565b6000806040838503121561302757600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561307257613072613036565b6040525050565b600067ffffffffffffffff82111561309357613093613036565b5060051b60200190565b600082601f8301126130ae57600080fd5b813560206130bb82613079565b6040516130c8828261304c565b83815260059390931b85018201928281019150868411156130e857600080fd5b8286015b8481101561310357803583529183019183016130ec565b509695505050505050565b600067ffffffffffffffff83111561312857613128613036565b60405161313f601f8501601f19166020018261304c565b80915083815284848401111561315457600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261317d57600080fd5b612f1b8383356020850161310e565b600080600080600060a086880312156131a457600080fd5b85356131af81612ea7565b945060208601356131bf81612ea7565b9350604086013567ffffffffffffffff808211156131dc57600080fd5b6131e889838a0161309d565b945060608801359150808211156131fe57600080fd5b61320a89838a0161309d565b9350608088013591508082111561322057600080fd5b5061322d8882890161316c565b9150509295509295909350565b6000806040838503121561324d57600080fd5b823567ffffffffffffffff8082111561326557600080fd5b818501915085601f83011261327957600080fd5b8135602061328682613079565b604051613293828261304c565b83815260059390931b85018201928281019150898411156132b357600080fd5b948201945b838610156132da5785356132cb81612ea7565b825294820194908201906132b8565b965050860135925050808211156132f057600080fd5b506109b48582860161309d565b600081518084526020808501945080840160005b8381101561332d57815187529582019590820190600101613311565b509495945050505050565b602081526000612f1b60208301846132fd565b60006020828403121561335d57600080fd5b8135612f1b81612ea7565b60006020828403121561337a57600080fd5b612f1b82612fcb565b803567ffffffffffffffff81168114612fab57600080fd5b60008060008060008060a087890312156133b457600080fd5b863595506133c460208801612fcb565b94506133d260408801613383565b93506133e060608801612fcb565b9250608087013567ffffffffffffffff808211156133fd57600080fd5b818901915089601f83011261341157600080fd5b81358181111561342057600080fd5b8a602082850101111561343257600080fd5b6020830194508093505050509295509295509295565b60008060006060848603121561345d57600080fd5b833567ffffffffffffffff8082111561347557600080fd5b6134818783880161316c565b9450602086013591508082111561349757600080fd5b506134a48682870161316c565b92505060408401356134b581612ea7565b809150509250925092565b60a08101818360005b60058110156134e85781518352602092830192909101906001016134c9565b50505092915050565b60008083601f84011261350357600080fd5b50813567ffffffffffffffff81111561351b57600080fd5b6020830191508360208260051b85010111156129e857600080fd5b6000806000806040858703121561354c57600080fd5b843567ffffffffffffffff8082111561356457600080fd5b613570888389016134f1565b9096509450602087013591508082111561358957600080fd5b50613596878288016134f1565b95989497509550505050565b6000602082840312156135b457600080fd5b813567ffffffffffffffff8111156135cb57600080fd5b8201601f810184136135dc57600080fd5b6135eb8482356020840161310e565b949350505050565b6000806040838503121561360657600080fd5b823561361181612ea7565b915061300b60208401612f9b565b6000806040838503121561363257600080fd5b823561363d81612ea7565b9150602083013561364d81612ea7565b809150509250929050565b600080600080600060a0868803121561367057600080fd5b853561367b81612ea7565b9450602086013561368b81612ea7565b93506040860135925060608601359150608086013567ffffffffffffffff8111156136b557600080fd5b61322d8882890161316c565b6000806000606084860312156136d657600080fd5b6136df84612fcb565b92506136ed60208501613383565b915060408401356001600160801b03811681146134b557600080fd5b600181811c9082168061371d57607f821691505b6020821081141561373e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8381169083168181101561377757613777613744565b039392505050565b600081600019048311821515161561379957613799613744565b500290565b6000826137bb57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006000198214156137ea576137ea613744565b5060010190565b600063ffffffff80831681851680830382111561381057613810613744565b01949350505050565b600061ffff8083168181141561383157613831613744565b6001019392505050565b60006020828403121561384d57600080fd5b813560ff81168114612f1b57600080fd5b600061ffff80831681851680830382111561381057613810613744565b60006001600160801b03808316818516818304811182151516156138a1576138a1613744565b02949350505050565b6040815260006138bd60408301856132fd565b82810360208401526138cf81856132fd565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261390460a08301866132fd565b828103606084015261391681866132fd565b9050828103608084015261392a8185612f3b565b98975050505050505050565b60006020828403121561394857600080fd5b8151612f1b81612ee8565b600060033d111561396c5760046000803e5060005160e01c5b90565b600060443d101561397d5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156139ad57505050505090565b82850191508151818111156139c55750505050505090565b843d87010160208285010111156139df5750505050505090565b6139ee6020828601018761304c565b509095945050505050565b634e487b7160e01b600052602160045260246000fd5b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613a4760a0830184612f3b565b97965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a164736f6c6343000809000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000383a7b0488756b5618f4ce2bcbc608ad48f09a57
-----Decoded View---------------
Arg [0] : peepsClubAddr_ (address): 0x383A7B0488756b5618f4CE2bCBc608ad48f09A57
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000383a7b0488756b5618f4ce2bcbc608ad48f09a57
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.