NFTFactory
Verified contract
Active on
Ethereum with 1,855 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "NFTFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16131087 | 2 years ago | | | 0 | 0.00041008205 | |
| 16131077 | 2 years ago | | | 0 | 0.0010230637 | |
| 15159212 | 2 years ago | | | 0.091 | 0.00056175083 | |
| 15146244 | 2 years ago | | | 0.091 | 0.0014615882 | |
| 15146225 | 2 years ago | | | 0.091 | 0.0011046066 | |
| 15146194 | 2 years ago | | | 0.091 | 0.0012327697 | |
| 15146180 | 2 years ago | | | 0.091 | 0.0015755863 | |
| 15146159 | 2 years ago | | | 0.091 | 0.0011737695 | |
| 15146132 | 2 years ago | | | 0.091 | 0.0010037114 | |
| 15146129 | 2 years ago | | | 0.091 | 0.0025521760 |
ABI
ABI objects
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 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
poolInfo(uint256 _pid) view returns (struct NFTFactoryPoolInfo)
userInfo(uint256 _pid, address account) view returns (struct NFTFactoryUserInfo)
State-modifying
Events addPool(uint256 _maxNum, bool _paused, uint256 _price, uint256 _limitPerAccount, bytes32 _root)
grantRole(bytes32 role, address account)
mintAirdrop(uint256 _pid, address[] _accounts)
mintNFT(uint256 _pid, uint256 _num, bytes32[] _proof) payable
pause(uint256 _pid)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setPoolMaxNumAndLimit(uint256 _pid, uint256 _maxNum, uint256 _price, uint256 _limitPerAccount)
setPoolRoot(uint256 _pid, bytes32 _root)
unpause(uint256 _pid)
withdrawETH()
ChangePoolMaxAndLimit(uint256 indexed pid, uint256 maxNum, uint256 price, uint256 limitPerAccount)
MintNFT(uint256 indexed pid, address indexed account, uint256 tokenId, uint256 payAmount)
NewPool(uint256 indexed pid, uint256 maxNum, bool paused, uint256 price, bytes32 root, uint256 limitPerAccount)
Paused(uint256 indexed pid)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetPoolRoot(uint256 indexed pid, bytes32 root)
Unpaused(uint256 indexed pid)
Withdraw(address indexed account, uint256 amount)
constructor(address _nft)
This contract contains no fallback and receive objects.
This contract contains no error objects.