You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* return the index of the batchId in getBatchId
* run prettier
* pkg release
* make tokenURI virtual in ERC721Drop
* pkg release
* make critical fns public virtual for ERC721Drop
* pkg release
* make all overrides virtual overrides
* pkg release
* use PermissionsEnumerable for SoulboundERC721A
* pkg release
Co-authored-by: Krishang Nadgauda <[email protected]>
Co-authored-by: Krishang Nadgauda <[email protected]>
function getRoleMember(bytes32 role, uint256 index) external view returns (address member)
260
+
```
261
+
262
+
263
+
264
+
*Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.*
265
+
266
+
#### Parameters
267
+
268
+
| Name | Type | Description |
269
+
|---|---|---|
270
+
| role | bytes32 | undefined
271
+
| index | uint256 | undefined
272
+
273
+
#### Returns
274
+
275
+
| Name | Type | Description |
276
+
|---|---|---|
277
+
| member | address | undefined
278
+
279
+
### getRoleMemberCount
280
+
281
+
```solidity
282
+
function getRoleMemberCount(bytes32 role) external view returns (uint256 count)
283
+
```
284
+
285
+
286
+
287
+
*Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.*
function getRoleMember(bytes32 role, uint256 index) external view returns (address member)
73
+
```
74
+
75
+
76
+
77
+
*Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.*
78
+
79
+
#### Parameters
80
+
81
+
| Name | Type | Description |
82
+
|---|---|---|
83
+
| role | bytes32 | undefined
84
+
| index | uint256 | undefined
85
+
86
+
#### Returns
87
+
88
+
| Name | Type | Description |
89
+
|---|---|---|
90
+
| member | address | undefined
91
+
92
+
### getRoleMemberCount
93
+
94
+
```solidity
95
+
function getRoleMemberCount(bytes32 role) external view returns (uint256 count)
96
+
```
97
+
98
+
99
+
100
+
*Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.*
0 commit comments