NFTFactory

Verified contract

Active on Ethereum with 1,855 txns
Deployed by via 0xb1ef65d6 at 14930310
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "NFTFactory"

0x36748eaa370dbfd8d2bd8e1a79f10d346a67b9152802b7d6c548e2cbb53363f8
0xee4e45ea968fd2e4402af96a27620c9e964a9fed606e571ff5f6a4d44b84de90
0x5289c0bb66b5fdb51e947e8770819387cb35b2e4080775824f53200db127811a
0x6bf3101830b28f55bb11e6053d3ac9584a8ad04ac8525bc31741e9ed769bd5f9
0x813339b6584295e35c19327dc98fd3a2934942a47ed866ef37993eeae28c36eb
0xf93f18e91b132c41a16e27efd375312b842841070213add4ad06c406c4568219
0x796b36b0d5f1dc5f75174f2e2b026e3a096a31b6c17870edb981f3f3a9d90f4a
0xd2362ee435545f0f84cd3608ffaf7f618a74fd24147fd5e14b7e253ce5a7daf4
0x29a7177a58a51328f1a0f9af1613f4db03b3c9de124c6d4ac3f93b6d5dba2849
0x69aab9176bc7d69ea25abb082934cc7bb16c642447a458ae3e49be0b926e7d03

Functions
Getter at block 21272599
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
TREASURY_ROLE(view returns (bytes32)
0xe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca9
nft(view returns (address)
0xafb3fbacc5877fc96e953ddc1ccc4c2114238273
poolLength(view returns (uint256)
3
totalMaxNum(view returns (uint256)
2300
totalSupply(view returns (uint256)
1801
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
poolInfo(uint256 _pidview returns (struct NFTFactoryPoolInfo)
userInfo(uint256 _pidaddress accountview returns (struct NFTFactoryUserInfo)
State-modifying
addPool(uint256 _maxNumbool _pauseduint256 _priceuint256 _limitPerAccountbytes32 _root
grantRole(bytes32 roleaddress account
mintAirdrop(uint256 _pidaddress[] _accounts
mintNFT(uint256 _piduint256 _numbytes32[] _proofpayable 
pause(uint256 _pid
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPoolMaxNumAndLimit(uint256 _piduint256 _maxNumuint256 _priceuint256 _limitPerAccount
setPoolRoot(uint256 _pidbytes32 _root
unpause(uint256 _pid
withdrawETH(
Events
ChangePoolMaxAndLimit(uint256 indexed piduint256 maxNumuint256 priceuint256 limitPerAccount
MintNFT(uint256 indexed pidaddress indexed accountuint256 tokenIduint256 payAmount
NewPool(uint256 indexed piduint256 maxNumbool pauseduint256 pricebytes32 rootuint256 limitPerAccount
Paused(uint256 indexed pid
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetPoolRoot(uint256 indexed pidbytes32 root
Unpaused(uint256 indexed pid
Withdraw(address indexed accountuint256 amount
Constructor
constructor(address _nft
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.