Add getRoleMembers method to return all accounts that have role (#4546)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Vladimir Khramov
2024-01-04 18:07:53 +04:00
committed by GitHub
parent b4ceb054de
commit ef68ac3ed8
3 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`AccessControlEnumerable`: Add a `getRoleMembers` method to return all accounts that have `role`.