文件 1 的 11:Address.sol
pragma solidity ^0.8.0;
library Address {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
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");
}
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
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");
}
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);
}
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
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);
}
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
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);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
if (returndata.length > 0) {
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
文件 2 的 11:Context.sol
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
文件 3 的 11:ERC1155.sol
pragma solidity ^0.8.0;
import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./IERC1155MetadataURI.sol";
import "./Address.sol";
import "./Context.sol";
import "./ERC165.sol";
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
using Address for address;
mapping(uint256 => mapping(address => uint256)) private _balances;
mapping(address => mapping(address => bool)) private _operatorApprovals;
string private _uri;
constructor(string memory uri_) {
_setURI(uri_);
}
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC1155).interfaceId ||
interfaceId == type(IERC1155MetadataURI).interfaceId ||
super.supportsInterface(interfaceId);
}
function uri(uint256) public view virtual override returns (string memory) {
return _uri;
}
function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
require(account != address(0), "ERC1155: balance query for the zero address");
return _balances[id][account];
}
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;
}
function setApprovalForAll(address operator, bool approved) public virtual override {
require(_msgSender() != operator, "ERC1155: setting approval status for self");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
return _operatorApprovals[account][operator];
}
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);
}
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);
}
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();
_beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
emit TransferSingle(operator, from, to, id, amount);
_doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
}
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];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
}
emit TransferBatch(operator, from, to, ids, amounts);
_doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
}
function _setURI(string memory newuri) internal virtual {
_uri = newuri;
}
function _mint(
address account,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(account != address(0), "ERC1155: mint to the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);
_balances[id][account] += amount;
emit TransferSingle(operator, address(0), account, id, amount);
_doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
}
function _mintBatch(
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; i++) {
_balances[ids[i]][to] += amounts[i];
}
emit TransferBatch(operator, address(0), to, ids, amounts);
_doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
}
function _burn(
address account,
uint256 id,
uint256 amount
) internal virtual {
require(account != address(0), "ERC1155: burn from the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");
uint256 accountBalance = _balances[id][account];
require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][account] = accountBalance - amount;
}
emit TransferSingle(operator, account, address(0), id, amount);
}
function _burnBatch(
address account,
uint256[] memory ids,
uint256[] memory amounts
) internal virtual {
require(account != address(0), "ERC1155: burn from the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, account, address(0), ids, amounts, "");
for (uint256 i = 0; i < ids.length; i++) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 accountBalance = _balances[id][account];
require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][account] = accountBalance - amount;
}
}
emit TransferBatch(operator, account, address(0), ids, amounts);
}
function _beforeTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
function _doSafeTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
if (response != IERC1155Receiver(to).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(to).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) private pure returns (uint256[] memory) {
uint256[] memory array = new uint256[](1);
array[0] = element;
return array;
}
}
文件 4 的 11:ERC165.sol
pragma solidity ^0.8.0;
import "./IERC165.sol";
abstract contract ERC165 is IERC165 {
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
文件 5 的 11:GOONYFRENS.sol
pragma solidity 0.8.9;
import "./ERC1155.sol";
import "./IERC1155.sol";
import "./Ownable.sol";
import "./Strings.sol";
contract GOONYFRENS is ERC1155, Ownable {
using Strings for string;
mapping(uint256 => uint256) private _totalSupply;
uint256 constant nft1 = 1;
uint256 constant nft2 = 2;
uint256 constant nft3 = 3;
uint256 constant nft4 = 4;
uint256 constant nft5 = 5;
uint256 constant nft6 = 6;
uint256 constant nft7 = 7;
uint256 constant nft8 = 8;
uint256 constant nft9 = 9;
uint256 constant nft10 = 10;
uint256 constant nft11 = 11;
uint256 constant nft12 = 12;
uint256 constant nft13 = 13;
uint256 constant nft14 = 14;
uint256 constant nft15 = 15;
uint256 public nft1s;
uint256 public nft2s;
uint256 public nft3s;
uint256 public nft4s;
uint256 public nft5s;
uint256 public nft6s;
uint256 public nft7s;
uint256 public nft8s;
uint256 public nft9s;
uint256 public nft10s;
uint256 public nft11s;
uint256 public nft12s;
uint256 public nft13s;
uint256 public nft14s;
uint256 public nft15s;
uint256 public supplyPerNFT = 500;
string public _baseURI;
string public _contractURI;
bool saleLive = false;
mapping(address => uint256) private mintCountMap1;
mapping(address => uint256) public allowedMintCountMap1;
uint256 private maxMintPerWallet1 = 1;
mapping(address => uint256) private mintCountMap2;
mapping(address => uint256) public allowedMintCountMap2;
uint256 private maxMintPerWallet2 = 1;
mapping(address => uint256) private mintCountMap3;
mapping(address => uint256) public allowedMintCountMap3;
uint256 private maxMintPerWallet3 = 1;
mapping(address => uint256) private mintCountMap4;
mapping(address => uint256) public allowedMintCountMap4;
uint256 private maxMintPerWallet4 = 1;
mapping(address => uint256) private mintCountMap5;
mapping(address => uint256) public allowedMintCountMap5;
uint256 private maxMintPerWallet5 = 1;
mapping(address => uint256) private mintCountMap6;
mapping(address => uint256) public allowedMintCountMap6;
uint256 private maxMintPerWallet6 = 1;
mapping(address => uint256) private mintCountMap7;
mapping(address => uint256) public allowedMintCountMap7;
uint256 private maxMintPerWallet7 = 1;
mapping(address => uint256) private mintCountMap8;
mapping(address => uint256) public allowedMintCountMap8;
uint256 private maxMintPerWallet8 = 1;
mapping(address => uint256) private mintCountMap9;
mapping(address => uint256) public allowedMintCountMap9;
uint256 private maxMintPerWallet9 = 1;
mapping(address => uint256) private mintCountMap10;
mapping(address => uint256) public allowedMintCountMap10;
uint256 private maxMintPerWallet10 = 1;
mapping(address => uint256) private mintCountMap11;
mapping(address => uint256) public allowedMintCountMap11;
uint256 private maxMintPerWallet11 = 1;
mapping(address => uint256) private mintCountMap12;
mapping(address => uint256) public allowedMintCountMap12;
uint256 private maxMintPerWallet12 = 1;
mapping(address => uint256) private mintCountMap13;
mapping(address => uint256) public allowedMintCountMap13;
uint256 private maxMintPerWallet13 = 1;
mapping(address => uint256) private mintCountMap14;
mapping(address => uint256) public allowedMintCountMap14;
uint256 private maxMintPerWallet14 = 1;
mapping(address => uint256) private mintCountMap15;
mapping(address => uint256) public allowedMintCountMap15;
uint256 private maxMintPerWallet15 = 1;
constructor() ERC1155(_baseURI) {}
function claimnft1(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount1(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft1s <= supplyPerNFT);
_mint(msg.sender, nft1, qty, "");
updateMintCount1(msg.sender, qty);
nft1s += qty;
}
function claimnft2(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount2(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft2s <= supplyPerNFT);
_mint(msg.sender, nft2, qty, "");
updateMintCount2(msg.sender, qty);
nft2s += qty;
}
function claimnft3(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount3(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft3s <= supplyPerNFT);
_mint(msg.sender, nft3, qty, "");
updateMintCount3(msg.sender, qty);
nft3s += qty;
}
function claimnft4(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount4(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft4s <= supplyPerNFT);
_mint(msg.sender, nft4, qty, "");
updateMintCount4(msg.sender, qty);
nft4s += qty;
}
function claimnft5(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount5(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft5s <= supplyPerNFT);
_mint(msg.sender, nft5, qty, "");
updateMintCount5(msg.sender, qty);
nft5s += qty;
}
function claimnft6(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount6(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft6s <= supplyPerNFT);
_mint(msg.sender, nft6, qty, "");
updateMintCount6(msg.sender, qty);
nft6s += qty;
}
function claimnft7(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount7(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft7s <= supplyPerNFT);
_mint(msg.sender, nft7, qty, "");
updateMintCount7(msg.sender, qty);
nft7s += qty;
}
function claimnft8(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount8(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft8s <= supplyPerNFT);
_mint(msg.sender, nft8, qty, "");
updateMintCount8(msg.sender, qty);
nft8s += qty;
}
function claimnft9(uint256 qty) public {
require(qty == 1,"You can only mint 1");
require(allowedMintCount9(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft9s <= supplyPerNFT);
_mint(msg.sender, nft9, qty, "");
updateMintCount9(msg.sender, qty);
nft9s += qty;
}
function claimnft10(uint256 qty) public {
require(qty == 1,"You can only mint 1");
require(allowedMintCount10(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft10s <= supplyPerNFT);
_mint(msg.sender, nft10, qty, "");
updateMintCount10(msg.sender, qty);
nft10s += qty;
}
function claimnft11(uint256 qty) public {
require(qty == 1,"You can only mint 1");
require(allowedMintCount11(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft11s <= supplyPerNFT);
_mint(msg.sender, nft11, qty, "");
updateMintCount11(msg.sender, qty);
nft11s += qty;
}
function claimnft12(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount12(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft12s <= supplyPerNFT);
_mint(msg.sender, nft12, qty, "");
updateMintCount12(msg.sender, qty);
nft12s += qty;
}
function claimnft13(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount13(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft13s <= supplyPerNFT);
_mint(msg.sender, nft13, qty, "");
updateMintCount13(msg.sender, qty);
nft13s += qty;
}
function claimnft14(uint256 qty) public {
require(qty == 1,"You can only mint 1");
require(allowedMintCount14(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft14s <= supplyPerNFT);
_mint(msg.sender, nft14, qty, "");
updateMintCount14(msg.sender, qty);
nft14s += qty;
}
function claimnft15(uint256 qty) public {
require(saleLive,"Sale is not live yet");
require(qty == 1,"You can only mint 1");
require(allowedMintCount15(msg.sender) >= qty,"You already claimed");
require(tx.origin == msg.sender);
require(nft15s <= supplyPerNFT);
_mint(msg.sender, nft15, qty, "");
updateMintCount15(msg.sender, qty);
nft15s += qty;
}
function updateMintCount1(address minter, uint256 count) private {
mintCountMap1[minter] += count;
}
function allowedMintCount1(address minter) public view returns (uint256) {
return maxMintPerWallet1 - mintCountMap1[minter];
}
function setMaxPerWallet1(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet1 = _newMaxMintAmount;
}
function updateMintCount2(address minter, uint256 count) private {
mintCountMap2[minter] += count;
}
function allowedMintCount2(address minter) public view returns (uint256) {
return maxMintPerWallet2 - mintCountMap2[minter];
}
function setMaxPerWallet2(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet2 = _newMaxMintAmount;
}
function updateMintCount3(address minter, uint256 count) private {
mintCountMap3[minter] += count;
}
function allowedMintCount3(address minter) public view returns (uint256) {
return maxMintPerWallet3 - mintCountMap3[minter];
}
function setMaxPerWallet3(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet3 = _newMaxMintAmount;
}
function updateMintCount4(address minter, uint256 count) private {
mintCountMap4[minter] += count;
}
function allowedMintCount4(address minter) public view returns (uint256) {
return maxMintPerWallet4 - mintCountMap4[minter];
}
function setMaxPerWallet4(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet4 = _newMaxMintAmount;
}
function updateMintCount5(address minter, uint256 count) private {
mintCountMap5[minter] += count;
}
function allowedMintCount5(address minter) public view returns (uint256) {
return maxMintPerWallet5 - mintCountMap5[minter];
}
function setMaxPerWallet5(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet5 = _newMaxMintAmount;
}
function updateMintCount6(address minter, uint256 count) private {
mintCountMap6[minter] += count;
}
function allowedMintCount6(address minter) public view returns (uint256) {
return maxMintPerWallet6 - mintCountMap6[minter];
}
function setMaxPerWallet6(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet6 = _newMaxMintAmount;
}
function updateMintCount7(address minter, uint256 count) private {
mintCountMap7[minter] += count;
}
function allowedMintCount7(address minter) public view returns (uint256) {
return maxMintPerWallet7 - mintCountMap7[minter];
}
function setMaxPerWallet7(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet7 = _newMaxMintAmount;
}
function updateMintCount8(address minter, uint256 count) private {
mintCountMap8[minter] += count;
}
function allowedMintCount8(address minter) public view returns (uint256) {
return maxMintPerWallet8 - mintCountMap8[minter];
}
function setMaxPerWallet8(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet8 = _newMaxMintAmount;
}
function updateMintCount9(address minter, uint256 count) private {
mintCountMap9[minter] += count;
}
function allowedMintCount9(address minter) public view returns (uint256) {
return maxMintPerWallet9 - mintCountMap9[minter];
}
function setMaxPerWallet9(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet9 = _newMaxMintAmount;
}
function updateMintCount10(address minter, uint256 count) private {
mintCountMap10[minter] += count;
}
function allowedMintCount10(address minter) public view returns (uint256) {
return maxMintPerWallet10 - mintCountMap10[minter];
}
function setMaxPerWallet10(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet10 = _newMaxMintAmount;
}
function updateMintCount11(address minter, uint256 count) private {
mintCountMap11[minter] += count;
}
function allowedMintCount11(address minter) public view returns (uint256) {
return maxMintPerWallet11 - mintCountMap11[minter];
}
function setMaxPerWallet11(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet11 = _newMaxMintAmount;
}
function updateMintCount12(address minter, uint256 count) private {
mintCountMap12[minter] += count;
}
function allowedMintCount12(address minter) public view returns (uint256) {
return maxMintPerWallet12 - mintCountMap12[minter];
}
function setMaxPerWallet12(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet12 = _newMaxMintAmount;
}
function updateMintCount13(address minter, uint256 count) private {
mintCountMap13[minter] += count;
}
function allowedMintCount13(address minter) public view returns (uint256) {
return maxMintPerWallet13 - mintCountMap13[minter];
}
function setMaxPerWallet13(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet13 = _newMaxMintAmount;
}
function updateMintCount14(address minter, uint256 count) private {
mintCountMap14[minter] += count;
}
function allowedMintCount14(address minter) public view returns (uint256) {
return maxMintPerWallet14 - mintCountMap14[minter];
}
function setMaxPerWallet14(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet14 = _newMaxMintAmount;
}
function updateMintCount15(address minter, uint256 count) private {
mintCountMap15[minter] += count;
}
function allowedMintCount15(address minter) public view returns (uint256) {
return maxMintPerWallet15 - mintCountMap15[minter];
}
function setMaxPerWallet15(uint256 _newMaxMintAmount) public onlyOwner {
maxMintPerWallet15 = _newMaxMintAmount;
}
function setBaseURI(string memory newuri) public onlyOwner {
_baseURI = newuri;
}
function setContractURI(string memory newuri) public onlyOwner {
_contractURI = newuri;
}
function setMaxPerNFT(uint256 _newMaxAmount) public onlyOwner {
supplyPerNFT = _newMaxAmount;
}
function uri(uint256 tokenId) public view override returns (string memory) {
return string(abi.encodePacked(_baseURI, uint2str(tokenId)));
}
function contractURI() public view returns (string memory) {
return _contractURI;
}
function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) {
if (_i == 0) {return "0";}
uint256 j = _i;
uint256 len;
while (j != 0) {len++; j /= 10;}
bytes memory bstr = new bytes(len);
uint256 k = len;
while (_i != 0) {
k = k - 1;
uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
bytes1 b1 = bytes1(temp);
bstr[k] = b1;
_i /= 10;
}
return string(bstr);
}
function totalSupply(uint256 id) public view virtual returns (uint256) {
return _totalSupply[id];
}
function exists(uint256 id) public view virtual returns (bool) {
return totalSupply(id) > 0;
}
function setSale(bool _status) public onlyOwner {
saleLive = _status;
}
function withdrawToOwner() external onlyOwner {
payable(msg.sender).transfer(address(this).balance);
}
}
文件 6 的 11:IERC1155.sol
pragma solidity ^0.8.0;
import "./IERC165.sol";
interface IERC1155 is IERC165 {
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
event URI(string value, uint256 indexed id);
function balanceOf(address account, uint256 id) external view returns (uint256);
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
function setApprovalForAll(address operator, bool approved) external;
function isApprovedForAll(address account, address operator) external view returns (bool);
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}
文件 7 的 11:IERC1155MetadataURI.sol
pragma solidity ^0.8.0;
import "./IERC1155.sol";
interface IERC1155MetadataURI is IERC1155 {
function uri(uint256 id) external view returns (string memory);
}
文件 8 的 11:IERC1155Receiver.sol
pragma solidity ^0.8.0;
import "./IERC165.sol";
interface IERC1155Receiver is IERC165 {
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}
文件 9 的 11:IERC165.sol
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
文件 10 的 11:Ownable.sol
pragma solidity ^0.8.0;
import "./Context.sol";
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
_setOwner(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
文件 11 的 11:Strings.sol
pragma solidity ^0.8.0;
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
function toString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
{
"compilationTarget": {
"GOONYFRENS.sol": "GOONYFRENS"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 20000
},
"remappings": []
}
[{"inputs":[],"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":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount10","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount11","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount12","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount13","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount14","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount15","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount5","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount6","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount7","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount8","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount9","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap10","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap11","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap12","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap13","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap14","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap15","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap5","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap6","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap7","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap8","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedMintCountMap9","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":"uint256","name":"qty","type":"uint256"}],"name":"claimnft1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft10","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft11","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft12","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft13","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft14","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft15","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft5","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft6","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft7","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft8","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"claimnft9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nft10s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft11s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft12s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft13s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft14s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft15s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft1s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft2s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft3s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft4s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft5s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft6s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft7s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft8s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft9s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"string","name":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxAmount","type":"uint256"}],"name":"setMaxPerNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet10","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet11","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet12","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet13","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet14","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet15","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet5","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet6","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet7","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet8","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxPerWallet9","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyPerNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]