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
243 stars 178 forks source link

feat(protocol-kit): Migrate CompatibilityFallbackHandler contract to Abitype #747

Closed tmjssz closed 2 months ago

tmjssz commented 3 months ago

What it solves

Resolves #725

How this PR fixes it

Migrates the CompatibilityFallbackHandler contract from typechain to Abitype.

Additionally, refactor the base types for all contracts by defining a BaseContract type and reusing it for all contracts. This allowed to remove a lot of redundant code.