Overview
TokenID
537
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PreciousBabyPhepesNFT
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Precious Phepes contracts v1.0 pragma solidity ^0.8.0; 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"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract PreciousBabyPhepesNFT is ERC165, IERC1155, IERC1155MetadataURI, Ownable { using Address for address; using Counters for Counters.Counter; uint256 public constant FREE_SUPPLY = 900; uint256 public constant MAX_SUPPLY_PLUS_ONE = 4445; // start counting at 1, don't use <= equations uint256 public constant MAX_FREE_MINT_PER_WALLET = 1; // Mint allowance per wallet on free mint Counters.Counter private _tokenIdCounter; address[MAX_SUPPLY_PLUS_ONE] internal _owners; // start counting at 1 // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; // Precious Baby Phepes mint price uint256 public price = 0.047 ether; // Track mints per wallet to restrict to a given number mapping(address => uint256) private _mintsPerWallet; // Tracking mint status bool private _paused = true; // Contract name string public name; // Contract symbol string public symbol; /** * @dev See {_setURI}. */ constructor( string memory uri_, string memory name_, string memory symbol_ ) { name = name_; symbol = symbol_; _setURI(uri_); } /** * Sets a new mint price for the public mint. */ function setMintPrice(uint256 newPrice) public onlyOwner { price = newPrice; } /** * Returns the paused state for the contract. */ function isPaused() public view returns (bool) { return _paused; } /** * Sets the paused state for the contract. * * Pausing the contract also stops all minting options. */ function setPaused(bool paused_) public onlyOwner { _paused = paused_; } /** * @dev See {_setURI} */ function setUri(string memory newUri) public onlyOwner { _setURI(newUri); } /** * Free Mint * * The first 900 token are provided to the community for free. * After that, this function can no longer be used. */ function mintFree() public { require(tx.origin == msg.sender, "Phepes: We love People."); require(_paused == false, "Phepes: Minting is paused"); require( _tokenIdCounter.current() < FREE_SUPPLY, "Phepes: All free mints are gone" ); require( _mintsPerWallet[_msgSender()] < MAX_FREE_MINT_PER_WALLET, "Phepes: Exceeding max free mints" ); _mintsPerWallet[_msgSender()] = _mintsPerWallet[_msgSender()] + 1; _tokenIdCounter.increment(); uint256 nextTokenId = _tokenIdCounter.current(); _mint(_msgSender(), nextTokenId, 1, ""); } /** * Public Mint * * Allows minting publicly ones all free mints have been picked up. * There are no limits on the amounts. */ function mintPublic(uint256 amount) public payable { require(tx.origin == msg.sender, "Phepes: We love People."); require(_paused == false, "Phepes: Minting is paused"); require( _tokenIdCounter.current() >= FREE_SUPPLY, "Phepes: Free mint in progress" ); require(msg.value == price * amount, "Phepes: Wrong mint price"); require( _tokenIdCounter.current() + amount < MAX_SUPPLY_PLUS_ONE, "Phepes: Max supply exceeded" ); uint256 nextTokenId; for (uint256 i = 0; i < amount; i++) { _tokenIdCounter.increment(); nextTokenId = _tokenIdCounter.current(); _mint(_msgSender(), nextTokenId, 1, ""); } } /** * Mint Giveaways (only Owner) * * Option for the owner to mint leftover token to be used in giveaways. */ function mintGiveaway(address to_, uint256 amount) public onlyOwner { require(_paused == false, "Phepes: Minting is paused"); require( _tokenIdCounter.current() < MAX_SUPPLY_PLUS_ONE, "Phepes: Max supply exceeded" ); uint256 nextTokenId; for (uint256 i = 0; i < amount; i++) { _tokenIdCounter.increment(); nextTokenId = _tokenIdCounter.current(); _mint(to_, nextTokenId, 1, ""); } } /** * Withdraws all retrieved funds into the project team wallets. * * Splits the funds 90/10 for owner/dev. */ function withdraw() public onlyOwner { // Splits the received funds into portions of 90 for the owner and 10 for the developer. uint256 totalBalance = address(this).balance; uint256 devBalance = totalBalance / 10; uint256 remainderBalance = totalBalance - devBalance; Address.sendValue( payable(0x61FffDbAAfCBb2E8f35B09C58C3EAeECb37c8E67), devBalance ); Address.sendValue(payable(_msgSender()), remainderBalance); } /** * Returns the number of minted tokens. */ function totalSupply() public view returns (uint256) { return _tokenIdCounter.current(); } /** * @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; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require( account != address(0), "ERC1155: balance query for the zero address" ); require(id < MAX_SUPPLY_PLUS_ONE, "ERC1155D: id exceeds maximum"); return _owners[id] == account ? 1 : 0; } /** * @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, "ERC1155: 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()), "ERC1155: 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()), "ERC1155: 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), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); require( _owners[id] == from && amount < 2, "ERC1155: insufficient balance for transfer" ); // The ERC1155 spec allows for transfering zero tokens, but we are still expected // to run the other checks and emit the event. But we don't want an ownership change // in that case if (amount == 1) { _owners[id] = to; } emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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, "ERC1155: ids and amounts length mismatch" ); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; require( _owners[id] == from && amounts[i] < 2, "ERC1155: insufficient balance for transfer" ); if (amounts[i] == 1) { _owners[id] == to; } } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(amount < 2, "ERC1155D: exceeds supply"); require(id < MAX_SUPPLY_PLUS_ONE, "ERC1155D: invalid id"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); // The ERC1155 spec allows for transfering zero tokens, but we are still expected // to run the other checks and emit the event. But we don't want an ownership change // in that case if (amount == 1) { _owners[id] = to; } emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck( operator, address(0), to, id, amount, data ); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); require( _owners[id] == from && amount < 2, "ERC1155: burn amount exceeds balance" ); if (amount == 1) { _owners[id] = address(0); } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require( ids.length == amounts.length, "ERC1155: ids and amounts length mismatch" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; require( _owners[id] == from && amounts[i] < 2, "ERC1155: burn amount exceeds balance" ); if (amounts[i] == 1) { _owners[id] = address(0); } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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, "ERC1155: 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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: 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("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) internal pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } function getOwnershipRecordOffChain() external view returns (address[MAX_SUPPLY_PLUS_ONE] memory) { return _owners; } function ownerOfERC721Like(uint256 id) external view returns (address) { require(id < _owners.length, "ERC1155D: id exceeds maximum"); address owner_ = _owners[id]; require( owner_ != address(0), "ERC1155D: owner query for nonexistent token" ); return owner_; } function getERC721BalanceOffChain(address _address) external view returns (uint256) { uint256 counter = 0; for (uint256 i; i < _owners.length; i++) { if (_owners[i] == _address) { counter++; } } return counter; } }
// 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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PLUS_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_address","type":"address"}],"name":"getERC721BalanceOffChain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwnershipRecordOffChain","outputs":[{"internalType":"address[4445]","name":"","type":"address[4445]"}],"stateMutability":"view","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":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOfERC721Like","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266a6fa404071800061116155611163805460ff191660011790553480156200002b57600080fd5b5060405162002ccb38038062002ccb8339810160408190526200004e9162000278565b62000059336200009b565b81516200006f9061116490602085019062000105565b508051620000869061116590602084019062000105565b506200009283620000eb565b50505062000346565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8051620001019061116090602084019062000105565b5050565b828054620001139062000309565b90600052602060002090601f01602090048101928262000137576000855562000182565b82601f106200015257805160ff191683800117855562000182565b8280016001018555821562000182579182015b828111156200018257825182559160200191906001019062000165565b506200019092915062000194565b5090565b5b8082111562000190576000815560010162000195565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001d357600080fd5b81516001600160401b0380821115620001f057620001f0620001ab565b604051601f8301601f19908116603f011681019082821181831017156200021b576200021b620001ab565b816040528381526020925086838588010111156200023857600080fd5b600091505b838210156200025c57858201830151818301840152908201906200023d565b838211156200026e5760008385830101525b9695505050505050565b6000806000606084860312156200028e57600080fd5b83516001600160401b0380821115620002a657600080fd5b620002b487838801620001c1565b94506020860151915080821115620002cb57600080fd5b620002d987838801620001c1565b93506040860151915080821115620002f057600080fd5b50620002ff86828701620001c1565b9150509250925092565b600181811c908216806200031e57607f821691505b602082108114156200034057634e487b7160e01b600052602260045260246000fd5b50919050565b61297580620003566000396000f3fe6080604052600436106101c15760003560e01c80638ab53447116100f7578063a22cb46511610095578063efd0cbf911610064578063efd0cbf9146104f2578063f242432a14610505578063f2fde38b14610525578063f4a0a5281461054557600080fd5b8063a22cb4651461045a578063a6eb27e21461047a578063b187bd261461048f578063e985e9c5146104a857600080fd5b806395d89b41116100d157806395d89b41146103f85780639858cf191461040d5780639b642de114610423578063a035b1fe1461044357600080fd5b80638ab53447146103915780638da5cb5b146103a65780638e477789146103d857600080fd5b80632eb2c2d6116101645780634e1273f41161013e5780634e1273f41461031757806356e695ed14610344578063715018a61461036657806382d5b2491461037b57600080fd5b80632eb2c2d6146102c257806339f81d8b146102e25780633ccfd60b1461030257600080fd5b80630e89341c116101a05780630e89341c1461024b57806316c38b3c1461026b57806318160ddd1461028d5780631b60efb0146102a257600080fd5b8062fdd58e146101c657806301ffc9a7146101f957806306fdde0314610229575b600080fd5b3480156101d257600080fd5b506101e66101e136600461212f565b610565565b6040519081526020015b60405180910390f35b34801561020557600080fd5b5061021961021436600461216f565b61067b565b60405190151581526020016101f0565b34801561023557600080fd5b5061023e610718565b6040516101f091906121e0565b34801561025757600080fd5b5061023e6102663660046121f3565b6107a7565b34801561027757600080fd5b5061028b61028636600461221c565b61083c565b005b34801561029957600080fd5b506101e66108aa565b3480156102ae57600080fd5b5061028b6102bd36600461212f565b6108ba565b3480156102ce57600080fd5b5061028b6102dd36600461238d565b610a14565b3480156102ee57600080fd5b506101e66102fd366004612437565b610ab6565b34801561030e57600080fd5b5061028b610b1b565b34801561032357600080fd5b50610337610332366004612452565b610bc0565b6040516101f09190612558565b34801561035057600080fd5b50610359610cfe565b6040516101f0919061256b565b34801561037257600080fd5b5061028b610d46565b34801561038757600080fd5b506101e661115d81565b34801561039d57600080fd5b5061028b610dac565b3480156103b257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101f0565b3480156103e457600080fd5b506103c06103f33660046121f3565b610f69565b34801561040457600080fd5b5061023e611052565b34801561041957600080fd5b506101e661038481565b34801561042f57600080fd5b5061028b61043e3660046125a8565b611060565b34801561044f57600080fd5b506101e66111615481565b34801561046657600080fd5b5061028b6104753660046125f9565b6110c3565b34801561048657600080fd5b506101e6600181565b34801561049b57600080fd5b506111635460ff16610219565b3480156104b457600080fd5b506102196104c336600461262c565b6001600160a01b03918216600090815261115f6020908152604080832093909416825291909152205460ff1690565b61028b6105003660046121f3565b6110d2565b34801561051157600080fd5b5061028b610520366004612656565b6112dd565b34801561053157600080fd5b5061028b610540366004612437565b611378565b34801561055157600080fd5b5061028b6105603660046121f3565b611457565b60006001600160a01b0383166105e85760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61115d82106106395760405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d0000000060448201526064016105df565b826001600160a01b031660028361115d8110610657576106576126bb565b01546001600160a01b03161461066e576000610671565b60015b60ff169392505050565b60006001600160e01b031982167fd9b67a260000000000000000000000000000000000000000000000000000000014806106de57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061071257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6111648054610726906126d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610752906126d1565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b505050505081565b606061116080546107b7906126d1565b80601f01602080910402602001604051908101604052809291908181526020018280546107e3906126d1565b80156108305780601f1061080557610100808354040283529160200191610830565b820191906000526020600020905b81548152906001019060200180831161081357829003601f168201915b50505050509050919050565b6000546001600160a01b031633146108965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b611163805460ff1916911515919091179055565b60006108b560015490565b905090565b6000546001600160a01b031633146109145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b6111635460ff16156109685760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b61115d61097460015490565b106109c15760405162461bcd60e51b815260206004820152601b60248201527f5068657065733a204d617820737570706c79206578636565646564000000000060448201526064016105df565b6000805b82811015610a0e576109db600180546001019055565b60015491506109fc84836001604051806020016040528060008152506114b7565b80610a0681612722565b9150506109c5565b50505050565b6001600160a01b038516331480610a305750610a3085336104c3565b610aa25760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105df565b610aaf858585858561169e565b5050505050565b600080805b61115d811015610b1457836001600160a01b031660028261115d8110610ae357610ae36126bb565b01546001600160a01b03161415610b025781610afe81612722565b9250505b80610b0c81612722565b915050610abb565b5092915050565b6000546001600160a01b03163314610b755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b476000610b83600a8361273d565b90506000610b91828461275f565b9050610bb17361fffdbaafcbb2e8f35b09c58c3eaeecb37c8e6783611915565b610bbb3382611915565b505050565b60608151835114610c395760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105df565b6000835167ffffffffffffffff811115610c5557610c55612237565b604051908082528060200260200182016040528015610c7e578160200160208202803683370190505b50905060005b8451811015610cf657610cc9858281518110610ca257610ca26126bb565b6020026020010151858381518110610cbc57610cbc6126bb565b6020026020010151610565565b828281518110610cdb57610cdb6126bb565b6020908102919091010152610cef81612722565b9050610c84565b509392505050565b610d06612059565b6040805162022ba08101918290529060029061115d9082845b81546001600160a01b03168152600190910190602001808311610d1f575050505050905090565b6000546001600160a01b03163314610da05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b610daa6000611a2e565b565b323314610dfb5760405162461bcd60e51b815260206004820152601760248201527f5068657065733a205765206c6f76652050656f706c652e00000000000000000060448201526064016105df565b6111635460ff1615610e4f5760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b610384610e5b60015490565b10610ea85760405162461bcd60e51b815260206004820152601f60248201527f5068657065733a20416c6c2066726565206d696e74732061726520676f6e650060448201526064016105df565b3360009081526111626020526040902054600111610f085760405162461bcd60e51b815260206004820181905260248201527f5068657065733a20457863656564696e67206d61782066726565206d696e747360448201526064016105df565b3360009081526111626020526040902054610f24906001612776565b336000908152611162602052604090205560018054810190556000610f4860015490565b9050610f6633826001604051806020016040528060008152506114b7565b50565b600061115d8210610fbc5760405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d0000000060448201526064016105df565b600060028361115d8110610fd257610fd26126bb565b01546001600160a01b03169050806107125760405162461bcd60e51b815260206004820152602b60248201527f45524331313535443a206f776e657220717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e00000000000000000000000000000000000000000060648201526084016105df565b6111658054610726906126d1565b6000546001600160a01b031633146110ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b610f6681611a8b565b6110ce338383611a9f565b5050565b3233146111215760405162461bcd60e51b815260206004820152601760248201527f5068657065733a205765206c6f76652050656f706c652e00000000000000000060448201526064016105df565b6111635460ff16156111755760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b61038461118160015490565b10156111cf5760405162461bcd60e51b815260206004820152601d60248201527f5068657065733a2046726565206d696e7420696e2070726f677265737300000060448201526064016105df565b80611161546111de919061278e565b341461122c5760405162461bcd60e51b815260206004820152601860248201527f5068657065733a2057726f6e67206d696e74207072696365000000000000000060448201526064016105df565b61115d8161123960015490565b6112439190612776565b106112905760405162461bcd60e51b815260206004820152601b60248201527f5068657065733a204d617820737570706c79206578636565646564000000000060448201526064016105df565b6000805b82811015610bbb576112aa600180546001019055565b60015491506112cb33836001604051806020016040528060008152506114b7565b806112d581612722565b915050611294565b6001600160a01b0385163314806112f957506112f985336104c3565b61136b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105df565b610aaf8585858585611b95565b6000546001600160a01b031633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b6001600160a01b03811661144e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105df565b610f6681611a2e565b6000546001600160a01b031633146114b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b61116155565b6001600160a01b0384166115335760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105df565b600282106115835760405162461bcd60e51b815260206004820152601860248201527f45524331313535443a206578636565647320737570706c79000000000000000060448201526064016105df565b61115d83106115d45760405162461bcd60e51b815260206004820152601460248201527f45524331313535443a20696e76616c696420696400000000000000000000000060448201526064016105df565b3360006115e085611d6c565b905060006115ed85611d6c565b9050846001141561163a578660028761115d811061160d5761160d6126bb565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790555b60408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461169583600089898989611db7565b50505050505050565b81518351146117155760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105df565b6001600160a01b0384166117795760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105df565b3360005b84518110156118a757600085828151811061179a5761179a6126bb565b60200260200101519050876001600160a01b031660028261115d81106117c2576117c26126bb565b01546001600160a01b03161480156117f3575060028583815181106117e9576117e96126bb565b6020026020010151105b6118525760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105df565b848281518110611864576118646126bb565b60200260200101516001141561189657866001600160a01b031660028261115d8110611892576118926126bb565b5050505b506118a081612722565b905061177d565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118f79291906127ad565b60405180910390a461190d818787878787611f5d565b505050505050565b804710156119655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105df565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146119b2576040519150601f19603f3d011682016040523d82523d6000602084013e6119b7565b606091505b5050905080610bbb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105df565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516110ce9061116090602084019061207a565b816001600160a01b0316836001600160a01b03161415611b275760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105df565b6001600160a01b03838116600081815261115f6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611bf95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105df565b336000611c0585611d6c565b90506000611c1285611d6c565b9050876001600160a01b031660028761115d8110611c3257611c326126bb565b01546001600160a01b0316148015611c4a5750600285105b611ca95760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105df565b8460011415611cf4578660028761115d8110611cc757611cc76126bb565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790555b866001600160a01b0316886001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611d4c929190918252602082015260400190565b60405180910390a4611d62838989898989611db7565b5050505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611da657611da66126bb565b602090810291909101015292915050565b6001600160a01b0384163b1561190d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611dfb90899089908890889088906004016127db565b6020604051808303816000875af1925050508015611e36575060408051601f3d908101601f19168201909252611e339181019061281e565b60015b611eec57611e4261283b565b806308c379a01415611e7c5750611e57612857565b80611e625750611e7e565b8060405162461bcd60e51b81526004016105df91906121e0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105df565b6001600160e01b0319811663f23a6e6160e01b146116955760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105df565b6001600160a01b0384163b1561190d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611fa190899089908890889088906004016128e1565b6020604051808303816000875af1925050508015611fdc575060408051601f3d908101601f19168201909252611fd99181019061281e565b60015b611fe857611e4261283b565b6001600160e01b0319811663bc197c8160e01b146116955760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105df565b6040518062022ba0016040528061115d906020820280368337509192915050565b828054612086906126d1565b90600052602060002090601f0160209004810192826120a857600085556120ee565b82601f106120c157805160ff19168380011785556120ee565b828001600101855582156120ee579182015b828111156120ee5782518255916020019190600101906120d3565b506120fa9291506120fe565b5090565b5b808211156120fa57600081556001016120ff565b80356001600160a01b038116811461212a57600080fd5b919050565b6000806040838503121561214257600080fd5b61214b83612113565b946020939093013593505050565b6001600160e01b031981168114610f6657600080fd5b60006020828403121561218157600080fd5b813561218c81612159565b9392505050565b6000815180845260005b818110156121b95760208185018101518683018201520161219d565b818111156121cb576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061218c6020830184612193565b60006020828403121561220557600080fd5b5035919050565b8035801515811461212a57600080fd5b60006020828403121561222e57600080fd5b61218c8261220c565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561227357612273612237565b6040525050565b600067ffffffffffffffff82111561229457612294612237565b5060051b60200190565b600082601f8301126122af57600080fd5b813560206122bc8261227a565b6040516122c9828261224d565b83815260059390931b85018201928281019150868411156122e957600080fd5b8286015b8481101561230457803583529183019183016122ed565b509695505050505050565b600067ffffffffffffffff83111561232957612329612237565b604051612340601f8501601f19166020018261224d565b80915083815284848401111561235557600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261237e57600080fd5b61218c8383356020850161230f565b600080600080600060a086880312156123a557600080fd5b6123ae86612113565b94506123bc60208701612113565b9350604086013567ffffffffffffffff808211156123d957600080fd5b6123e589838a0161229e565b945060608801359150808211156123fb57600080fd5b61240789838a0161229e565b9350608088013591508082111561241d57600080fd5b5061242a8882890161236d565b9150509295509295909350565b60006020828403121561244957600080fd5b61218c82612113565b6000806040838503121561246557600080fd5b823567ffffffffffffffff8082111561247d57600080fd5b818501915085601f83011261249157600080fd5b8135602061249e8261227a565b6040516124ab828261224d565b83815260059390931b85018201928281019150898411156124cb57600080fd5b948201945b838610156124f0576124e186612113565b825294820194908201906124d0565b9650508601359250508082111561250657600080fd5b506125138582860161229e565b9150509250929050565b600081518084526020808501945080840160005b8381101561254d57815187529582019590820190600101612531565b509495945050505050565b60208152600061218c602083018461251d565b62022ba08101818360005b61115d81101561259f5781516001600160a01b0316835260209283019290910190600101612576565b50505092915050565b6000602082840312156125ba57600080fd5b813567ffffffffffffffff8111156125d157600080fd5b8201601f810184136125e257600080fd5b6125f18482356020840161230f565b949350505050565b6000806040838503121561260c57600080fd5b61261583612113565b91506126236020840161220c565b90509250929050565b6000806040838503121561263f57600080fd5b61264883612113565b915061262360208401612113565b600080600080600060a0868803121561266e57600080fd5b61267786612113565b945061268560208701612113565b93506040860135925060608601359150608086013567ffffffffffffffff8111156126af57600080fd5b61242a8882890161236d565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806126e557607f821691505b6020821081141561270657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156127365761273661270c565b5060010190565b60008261275a57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156127715761277161270c565b500390565b600082198211156127895761278961270c565b500190565b60008160001904831182151516156127a8576127a861270c565b500290565b6040815260006127c0604083018561251d565b82810360208401526127d2818561251d565b95945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261281360a0830184612193565b979650505050505050565b60006020828403121561283057600080fd5b815161218c81612159565b600060033d11156128545760046000803e5060005160e01c5b90565b600060443d10156128655790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561289557505050505090565b82850191508151818111156128ad5750505050505090565b843d87010160208285010111156128c75750505050505090565b6128d66020828601018761224d565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261290d60a083018661251d565b828103606084015261291f818661251d565b905082810360808401526129338185612193565b9897505050505050505056fea26469706673582212204aa22bd09ec03c567551cb1dab6e654f36a88d26d256c549d81430ab3205315c64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e5636684e4b6f597a73547734484a317859375a4e516174374b626472704b695a397036436f5441594267582f7b69647d2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000001450726563696f757320426162792050686570657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000035042500000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101c15760003560e01c80638ab53447116100f7578063a22cb46511610095578063efd0cbf911610064578063efd0cbf9146104f2578063f242432a14610505578063f2fde38b14610525578063f4a0a5281461054557600080fd5b8063a22cb4651461045a578063a6eb27e21461047a578063b187bd261461048f578063e985e9c5146104a857600080fd5b806395d89b41116100d157806395d89b41146103f85780639858cf191461040d5780639b642de114610423578063a035b1fe1461044357600080fd5b80638ab53447146103915780638da5cb5b146103a65780638e477789146103d857600080fd5b80632eb2c2d6116101645780634e1273f41161013e5780634e1273f41461031757806356e695ed14610344578063715018a61461036657806382d5b2491461037b57600080fd5b80632eb2c2d6146102c257806339f81d8b146102e25780633ccfd60b1461030257600080fd5b80630e89341c116101a05780630e89341c1461024b57806316c38b3c1461026b57806318160ddd1461028d5780631b60efb0146102a257600080fd5b8062fdd58e146101c657806301ffc9a7146101f957806306fdde0314610229575b600080fd5b3480156101d257600080fd5b506101e66101e136600461212f565b610565565b6040519081526020015b60405180910390f35b34801561020557600080fd5b5061021961021436600461216f565b61067b565b60405190151581526020016101f0565b34801561023557600080fd5b5061023e610718565b6040516101f091906121e0565b34801561025757600080fd5b5061023e6102663660046121f3565b6107a7565b34801561027757600080fd5b5061028b61028636600461221c565b61083c565b005b34801561029957600080fd5b506101e66108aa565b3480156102ae57600080fd5b5061028b6102bd36600461212f565b6108ba565b3480156102ce57600080fd5b5061028b6102dd36600461238d565b610a14565b3480156102ee57600080fd5b506101e66102fd366004612437565b610ab6565b34801561030e57600080fd5b5061028b610b1b565b34801561032357600080fd5b50610337610332366004612452565b610bc0565b6040516101f09190612558565b34801561035057600080fd5b50610359610cfe565b6040516101f0919061256b565b34801561037257600080fd5b5061028b610d46565b34801561038757600080fd5b506101e661115d81565b34801561039d57600080fd5b5061028b610dac565b3480156103b257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101f0565b3480156103e457600080fd5b506103c06103f33660046121f3565b610f69565b34801561040457600080fd5b5061023e611052565b34801561041957600080fd5b506101e661038481565b34801561042f57600080fd5b5061028b61043e3660046125a8565b611060565b34801561044f57600080fd5b506101e66111615481565b34801561046657600080fd5b5061028b6104753660046125f9565b6110c3565b34801561048657600080fd5b506101e6600181565b34801561049b57600080fd5b506111635460ff16610219565b3480156104b457600080fd5b506102196104c336600461262c565b6001600160a01b03918216600090815261115f6020908152604080832093909416825291909152205460ff1690565b61028b6105003660046121f3565b6110d2565b34801561051157600080fd5b5061028b610520366004612656565b6112dd565b34801561053157600080fd5b5061028b610540366004612437565b611378565b34801561055157600080fd5b5061028b6105603660046121f3565b611457565b60006001600160a01b0383166105e85760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61115d82106106395760405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d0000000060448201526064016105df565b826001600160a01b031660028361115d8110610657576106576126bb565b01546001600160a01b03161461066e576000610671565b60015b60ff169392505050565b60006001600160e01b031982167fd9b67a260000000000000000000000000000000000000000000000000000000014806106de57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061071257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6111648054610726906126d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610752906126d1565b801561079f5780601f106107745761010080835404028352916020019161079f565b820191906000526020600020905b81548152906001019060200180831161078257829003601f168201915b505050505081565b606061116080546107b7906126d1565b80601f01602080910402602001604051908101604052809291908181526020018280546107e3906126d1565b80156108305780601f1061080557610100808354040283529160200191610830565b820191906000526020600020905b81548152906001019060200180831161081357829003601f168201915b50505050509050919050565b6000546001600160a01b031633146108965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b611163805460ff1916911515919091179055565b60006108b560015490565b905090565b6000546001600160a01b031633146109145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b6111635460ff16156109685760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b61115d61097460015490565b106109c15760405162461bcd60e51b815260206004820152601b60248201527f5068657065733a204d617820737570706c79206578636565646564000000000060448201526064016105df565b6000805b82811015610a0e576109db600180546001019055565b60015491506109fc84836001604051806020016040528060008152506114b7565b80610a0681612722565b9150506109c5565b50505050565b6001600160a01b038516331480610a305750610a3085336104c3565b610aa25760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105df565b610aaf858585858561169e565b5050505050565b600080805b61115d811015610b1457836001600160a01b031660028261115d8110610ae357610ae36126bb565b01546001600160a01b03161415610b025781610afe81612722565b9250505b80610b0c81612722565b915050610abb565b5092915050565b6000546001600160a01b03163314610b755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b476000610b83600a8361273d565b90506000610b91828461275f565b9050610bb17361fffdbaafcbb2e8f35b09c58c3eaeecb37c8e6783611915565b610bbb3382611915565b505050565b60608151835114610c395760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105df565b6000835167ffffffffffffffff811115610c5557610c55612237565b604051908082528060200260200182016040528015610c7e578160200160208202803683370190505b50905060005b8451811015610cf657610cc9858281518110610ca257610ca26126bb565b6020026020010151858381518110610cbc57610cbc6126bb565b6020026020010151610565565b828281518110610cdb57610cdb6126bb565b6020908102919091010152610cef81612722565b9050610c84565b509392505050565b610d06612059565b6040805162022ba08101918290529060029061115d9082845b81546001600160a01b03168152600190910190602001808311610d1f575050505050905090565b6000546001600160a01b03163314610da05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b610daa6000611a2e565b565b323314610dfb5760405162461bcd60e51b815260206004820152601760248201527f5068657065733a205765206c6f76652050656f706c652e00000000000000000060448201526064016105df565b6111635460ff1615610e4f5760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b610384610e5b60015490565b10610ea85760405162461bcd60e51b815260206004820152601f60248201527f5068657065733a20416c6c2066726565206d696e74732061726520676f6e650060448201526064016105df565b3360009081526111626020526040902054600111610f085760405162461bcd60e51b815260206004820181905260248201527f5068657065733a20457863656564696e67206d61782066726565206d696e747360448201526064016105df565b3360009081526111626020526040902054610f24906001612776565b336000908152611162602052604090205560018054810190556000610f4860015490565b9050610f6633826001604051806020016040528060008152506114b7565b50565b600061115d8210610fbc5760405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d0000000060448201526064016105df565b600060028361115d8110610fd257610fd26126bb565b01546001600160a01b03169050806107125760405162461bcd60e51b815260206004820152602b60248201527f45524331313535443a206f776e657220717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e00000000000000000000000000000000000000000060648201526084016105df565b6111658054610726906126d1565b6000546001600160a01b031633146110ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b610f6681611a8b565b6110ce338383611a9f565b5050565b3233146111215760405162461bcd60e51b815260206004820152601760248201527f5068657065733a205765206c6f76652050656f706c652e00000000000000000060448201526064016105df565b6111635460ff16156111755760405162461bcd60e51b815260206004820152601960248201527f5068657065733a204d696e74696e67206973207061757365640000000000000060448201526064016105df565b61038461118160015490565b10156111cf5760405162461bcd60e51b815260206004820152601d60248201527f5068657065733a2046726565206d696e7420696e2070726f677265737300000060448201526064016105df565b80611161546111de919061278e565b341461122c5760405162461bcd60e51b815260206004820152601860248201527f5068657065733a2057726f6e67206d696e74207072696365000000000000000060448201526064016105df565b61115d8161123960015490565b6112439190612776565b106112905760405162461bcd60e51b815260206004820152601b60248201527f5068657065733a204d617820737570706c79206578636565646564000000000060448201526064016105df565b6000805b82811015610bbb576112aa600180546001019055565b60015491506112cb33836001604051806020016040528060008152506114b7565b806112d581612722565b915050611294565b6001600160a01b0385163314806112f957506112f985336104c3565b61136b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105df565b610aaf8585858585611b95565b6000546001600160a01b031633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b6001600160a01b03811661144e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105df565b610f6681611a2e565b6000546001600160a01b031633146114b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105df565b61116155565b6001600160a01b0384166115335760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105df565b600282106115835760405162461bcd60e51b815260206004820152601860248201527f45524331313535443a206578636565647320737570706c79000000000000000060448201526064016105df565b61115d83106115d45760405162461bcd60e51b815260206004820152601460248201527f45524331313535443a20696e76616c696420696400000000000000000000000060448201526064016105df565b3360006115e085611d6c565b905060006115ed85611d6c565b9050846001141561163a578660028761115d811061160d5761160d6126bb565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790555b60408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461169583600089898989611db7565b50505050505050565b81518351146117155760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105df565b6001600160a01b0384166117795760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105df565b3360005b84518110156118a757600085828151811061179a5761179a6126bb565b60200260200101519050876001600160a01b031660028261115d81106117c2576117c26126bb565b01546001600160a01b03161480156117f3575060028583815181106117e9576117e96126bb565b6020026020010151105b6118525760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105df565b848281518110611864576118646126bb565b60200260200101516001141561189657866001600160a01b031660028261115d8110611892576118926126bb565b5050505b506118a081612722565b905061177d565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118f79291906127ad565b60405180910390a461190d818787878787611f5d565b505050505050565b804710156119655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105df565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146119b2576040519150601f19603f3d011682016040523d82523d6000602084013e6119b7565b606091505b5050905080610bbb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105df565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516110ce9061116090602084019061207a565b816001600160a01b0316836001600160a01b03161415611b275760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105df565b6001600160a01b03838116600081815261115f6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611bf95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105df565b336000611c0585611d6c565b90506000611c1285611d6c565b9050876001600160a01b031660028761115d8110611c3257611c326126bb565b01546001600160a01b0316148015611c4a5750600285105b611ca95760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105df565b8460011415611cf4578660028761115d8110611cc757611cc76126bb565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790555b866001600160a01b0316886001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611d4c929190918252602082015260400190565b60405180910390a4611d62838989898989611db7565b5050505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611da657611da66126bb565b602090810291909101015292915050565b6001600160a01b0384163b1561190d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611dfb90899089908890889088906004016127db565b6020604051808303816000875af1925050508015611e36575060408051601f3d908101601f19168201909252611e339181019061281e565b60015b611eec57611e4261283b565b806308c379a01415611e7c5750611e57612857565b80611e625750611e7e565b8060405162461bcd60e51b81526004016105df91906121e0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105df565b6001600160e01b0319811663f23a6e6160e01b146116955760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105df565b6001600160a01b0384163b1561190d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611fa190899089908890889088906004016128e1565b6020604051808303816000875af1925050508015611fdc575060408051601f3d908101601f19168201909252611fd99181019061281e565b60015b611fe857611e4261283b565b6001600160e01b0319811663bc197c8160e01b146116955760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105df565b6040518062022ba0016040528061115d906020820280368337509192915050565b828054612086906126d1565b90600052602060002090601f0160209004810192826120a857600085556120ee565b82601f106120c157805160ff19168380011785556120ee565b828001600101855582156120ee579182015b828111156120ee5782518255916020019190600101906120d3565b506120fa9291506120fe565b5090565b5b808211156120fa57600081556001016120ff565b80356001600160a01b038116811461212a57600080fd5b919050565b6000806040838503121561214257600080fd5b61214b83612113565b946020939093013593505050565b6001600160e01b031981168114610f6657600080fd5b60006020828403121561218157600080fd5b813561218c81612159565b9392505050565b6000815180845260005b818110156121b95760208185018101518683018201520161219d565b818111156121cb576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061218c6020830184612193565b60006020828403121561220557600080fd5b5035919050565b8035801515811461212a57600080fd5b60006020828403121561222e57600080fd5b61218c8261220c565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561227357612273612237565b6040525050565b600067ffffffffffffffff82111561229457612294612237565b5060051b60200190565b600082601f8301126122af57600080fd5b813560206122bc8261227a565b6040516122c9828261224d565b83815260059390931b85018201928281019150868411156122e957600080fd5b8286015b8481101561230457803583529183019183016122ed565b509695505050505050565b600067ffffffffffffffff83111561232957612329612237565b604051612340601f8501601f19166020018261224d565b80915083815284848401111561235557600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261237e57600080fd5b61218c8383356020850161230f565b600080600080600060a086880312156123a557600080fd5b6123ae86612113565b94506123bc60208701612113565b9350604086013567ffffffffffffffff808211156123d957600080fd5b6123e589838a0161229e565b945060608801359150808211156123fb57600080fd5b61240789838a0161229e565b9350608088013591508082111561241d57600080fd5b5061242a8882890161236d565b9150509295509295909350565b60006020828403121561244957600080fd5b61218c82612113565b6000806040838503121561246557600080fd5b823567ffffffffffffffff8082111561247d57600080fd5b818501915085601f83011261249157600080fd5b8135602061249e8261227a565b6040516124ab828261224d565b83815260059390931b85018201928281019150898411156124cb57600080fd5b948201945b838610156124f0576124e186612113565b825294820194908201906124d0565b9650508601359250508082111561250657600080fd5b506125138582860161229e565b9150509250929050565b600081518084526020808501945080840160005b8381101561254d57815187529582019590820190600101612531565b509495945050505050565b60208152600061218c602083018461251d565b62022ba08101818360005b61115d81101561259f5781516001600160a01b0316835260209283019290910190600101612576565b50505092915050565b6000602082840312156125ba57600080fd5b813567ffffffffffffffff8111156125d157600080fd5b8201601f810184136125e257600080fd5b6125f18482356020840161230f565b949350505050565b6000806040838503121561260c57600080fd5b61261583612113565b91506126236020840161220c565b90509250929050565b6000806040838503121561263f57600080fd5b61264883612113565b915061262360208401612113565b600080600080600060a0868803121561266e57600080fd5b61267786612113565b945061268560208701612113565b93506040860135925060608601359150608086013567ffffffffffffffff8111156126af57600080fd5b61242a8882890161236d565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806126e557607f821691505b6020821081141561270657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156127365761273661270c565b5060010190565b60008261275a57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156127715761277161270c565b500390565b600082198211156127895761278961270c565b500190565b60008160001904831182151516156127a8576127a861270c565b500290565b6040815260006127c0604083018561251d565b82810360208401526127d2818561251d565b95945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261281360a0830184612193565b979650505050505050565b60006020828403121561283057600080fd5b815161218c81612159565b600060033d11156128545760046000803e5060005160e01c5b90565b600060443d10156128655790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561289557505050505090565b82850191508151818111156128ad5750505050505090565b843d87010160208285010111156128c75750505050505090565b6128d66020828601018761224d565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261290d60a083018661251d565b828103606084015261291f818661251d565b905082810360808401526129338185612193565b9897505050505050505056fea26469706673582212204aa22bd09ec03c567551cb1dab6e654f36a88d26d256c549d81430ab3205315c64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e5636684e4b6f597a73547734484a317859375a4e516174374b626472704b695a397036436f5441594267582f7b69647d2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000001450726563696f757320426162792050686570657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000035042500000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : uri_ (string): https://gateway.pinata.cloud/ipfs/QmNV6hNKoYzsTw4HJ1xY7ZNQat7KbdrpKiZ9p6CoTAYBgX/{id}.json
Arg [1] : name_ (string): Precious Baby Phepes
Arg [2] : symbol_ (string): PBP
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d4e5636684e4b6f597a73547734484a317859375a4e516174374b6264
Arg [6] : 72704b695a397036436f5441594267582f7b69647d2e6a736f6e000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [8] : 50726563696f7573204261627920506865706573000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 5042500000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.