safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
252 stars 196 forks source link

Feat/protocol kit/get modules paginated #774

Closed leonardotc closed 5 months ago

leonardotc commented 5 months ago

What it solves

Resolves #607 getModules returns a fixed number of Modules that would potentialy truncate the output list of addresses.

How this PR fixes it

Add getModulesPaginated from smart contract to versions that support it. Add a function that uses getModules in the background for those contract versions that don't support it.

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8690631287

Details


Totals Coverage Status
Change from base Build 8686829311: 0.0%
Covered Lines: 481
Relevant Lines: 597

💛 - Coveralls