MooncastMultiV5

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x54c75c11 at 22402319
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MooncastMultiV5"

No transactions found for "MooncastMultiV5"


Functions
Getter at block 22742668
BURNER_ROLE(view returns (bytes32)
0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
contractURI(view returns (string)
contract.json
 
getDefaultAdmin(view returns (address)
 
getServerVersion(view returns (uint16)
paused(view returns (bool)
false
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
version(pure returns (string)
5.0
Read-only
allowedPaymentTokens(addressview returns (bool)
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isAllowedPaymentToken(address tokenview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
isTokenRestricted(uint256 tokenIdview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenExists(uint256 idview returns (bool)
tokenSupply(uint256 idview returns (uint256)
totalSupply(uint256 idview returns (uint256)
uri(uint256 tokenIdview returns (string)
State-modifying
burn(address fromuint256 iduint256 amount
grantRole(bytes32 roleaddress account
initialize(string baseURI
initializeV5(
mint(address touint256 iduint256 amountbytes data
pause(
purchase(string itemIdaddress paymentTokenuint256 amountstring keystring authorization
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setAllowedPaymentToken(address tokenbool allowed
setApprovalForAll(address operatorbool approved
setBaseURI(string newBaseURI
setServerVersion(uint16 serverVersion
setTokenRestriction(uint256 tokenIdbool restricted
setTokenURI(uint256 tokenIdstring tokenURI
unpause(
updateContractURI(
upgradeToAndCall(address newImplementationbytes datapayable 
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
ContractURIUpdated(
Initialized(uint64 version
Paused(address account
Purchased(address indexed fromstring itemIdaddress paymentuint256 amountstring keystring authorization
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenMinted(address indexed touint256 indexed tokenIduint256 amount
TokensBurned(address indexed accountuint256 iduint256 amount
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Unpaused(address account
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot