MasterMintV2

Verified contract

Active on Ethereum with 1,059 txns
Deployed by via 0x479367fa at 13634040
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $196.02
0xd78a94bcd0267403d00d5f7fa88a64166e6fc14898d3b64373650203dfb0d56a
0x44bc98b5cd9ffdb7db481a4249a2b8aeefc247ef952dc883bf91f68c63d24c4c
0x45f5b81c5c934e1706a474ddeb15293f7de0f8977f4de37a70925b34021ceb99
From
0x2fe08fec581c68f7ab07017e498fbb47c891f6c3289a07dc230af774844540e6
0x145f384e663fdf2d31a0cec227eebacd1acdb464e600a2700b3c01db75606bba
0xa98602483fcf83a61c89909e945d4f0fd3c696ece195231bd665b4838376d3e3
From
0x69598b7728588eedf60ecd1b8336d3c11fc06dd29ff5009ed973743f9faf0c58
0xe54e8d2a92800c0ffd83d30c5033f7a2168d8128490aa883f7ae2887038644a2
0x380a09ed3ff74b8a526c45b2c8f812db2a8624bcc70829f21232bb3427c42aae
0x0599e2b620673968f1a7f3d3f96666e81eddbc36ae46f3bac6879bf7a80a3e65

Functions
Getter at block 21173183
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
calculator(view returns (address)
0xa2a21512d1cf2fdd23a41700d63bb0220c720c04
configuration(view returns (uint16 protocolFeesInBPSuint16 curationFeesInBPSuint16 artistMiningHighWatermarkuint16 artistMiningThresholdInBPSuint16 artistMiningPaymentThresholdInETHuint128 maxNilMintable)
(protocolFeesInBPS=0, curationFeesInBPS=0, artistMiningHighWatermark=1000, artistMiningThresholdInBPS=2200, artistMiningPaymentThresholdInETH=10, maxNilMintable=4000000000000000000000000)
curationFeesPayoutAccount(view returns (address)
0x0000000000000000000000000000000000000000
feesCollectable(view returns (uint256)
0
getNumberOfMints(view returns (uint256)
3
nOwnerResolver(view returns (address)
0x731b19acaa0ae77aea8bf8515f6dcdb894c248c2
nilCollectable(view returns (uint128)
0
protocolFeesPayoutAccount(view returns (address)
0x0000000000000000000000000000000000000000
totalNilMinted(view returns (uint128)
18812475000000000000000
vNil(view returns (address)
0x0aa81a3e027bf4ec1549780b756c6f0ac800350d
Read-only
balanceOf(address accountview returns (uint256)
calculateThreshold(address nilPassview returns (uint256 artistMiningThreshold)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
mints(uint256 mintIdview returns (struct MasterMintV2MintState)
mintsMetadata(uint256view returns (uint32 artistMiningThresholduint16 artistMiningPaymentThresholdInETHuint16 protocolFeesInBPSuint16 curationFeesInBPSaddress nilPassuint8 statusaddress creatoraddress calculator)
nOwned(address ownerview returns (uint256[])
nUsed(uint256 mintIduint256 nidview returns (bool)
nsUsed(uint256 mintIduint256[] nidsview returns (bool[])
ownerOf(uint256 nidview returns (address)
payments(uint256view returns (uint32 nMinteduint112 nPaiduint112 totalPaidInWei)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenExists(uint256 mintIduint256 tokenIdview returns (bool)
tokensExist(uint256 mintIduint256[] tokenIdsview returns (bool[])
tokensOwned(uint256 mintIdaddress ownerview returns (uint256[])
withdrawals(uint256view returns (uint128 artistMiningWithdrawnuint128 paymentWithdrawn)
State-modifying
addMint(address nilPassaddress creator
creatorWithdraw(uint256 mintIdbool withNil
grantRole(bytes32 roleaddress account
mint(uint256 mintIduint8 amountbytes datapayable 
mintTokenIds(uint256 mintIduint256[] tokenIdsbytes datapayable 
mintWithN(uint256 mintIduint256[] tokenIdsbytes datapayable 
protocolWithdraw(bool withNil
renounceRole(bytes32 roleaddress account
replaceMint(uint256 mintIdaddress nilPassaddress creator
revokeRole(bytes32 roleaddress account
setCalculator(address calculator_
setConfiguration(struct MasterMintV2ProtocolConfiguration configuration_
setCurationFeesPayoutAccount(address newCurationFeesPayoutAccount
setMintCreator(uint256 mintIdaddress newCreator
setMintStatus(uint256 mintIduint8 status
setProtocolFeesPayoutAccount(address newProtocolFeesPayoutAccount
Events
MintAdded(uint256 mintIdstruct MasterMintV2MintMetadata metadata
MintReplaced(uint256 mintIdstruct MasterMintV2MintMetadata metadata
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address vNil_address nOwnerResolver_address calculator_struct MasterMintV2ProtocolConfiguration configuration_address dao
Fallback and receive
receive(
Errors

This contract contains no error objects.