Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add view method to get authorized publishers #13

Open
0xdcota opened this issue Jan 19, 2024 · 0 comments
Open

Add view method to get authorized publishers #13

0xdcota opened this issue Jan 19, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@0xdcota
Copy link
Member

0xdcota commented Jan 19, 2024

Add a view method possibly here:

for the storage of the authorized publishers:

struct CuicaFacetStorage {
mapping(uint80 => RoundData) roundInfo;
uint80 lastRound;
address connext;
mapping(address => bool) authorizedPublishers;
}

Refer to how the array of owners is obtained from the Gnosis Safe implementation:

https://github.com/safe-global/safe-contracts/blob/b140318af6581e499506b11128a892e3f7a52aeb/contracts/base/OwnerManager.sol#L115-L128

@0xdcota 0xdcota added the good first issue Good for newcomers label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant