Skip to content

Conversation

@iamacook
Copy link
Contributor

Summary

This adds the new contractAddresses object to the ChainInfo entity according to their inclusion in the Safe Client Gateway and Safe Config. Service.

Reasoning: the Web currently relies on the safe-deployments package to initialise the SDK. This means, in order to run our infrastructure, addresses need be added to the aforementioned package. The values of contractAddresses map 1:1 with the ContractNetworksConfig) of the protocol-kit making initialisation without presence in safe-deployments possible.

Changes

  • Add new (0x${string} | null) fields to ChainInfo['contractAddresses']:
    • safeSingletonAddress
    • safeProxyFactoryAddress
    • multiSendAddress
    • multiSendCallOnlyAddress
    • fallbackHandlerAddress
    • signMessageLibAddress
    • createCallAddress
    • simulateTxAccessorAddress
    • safeWebAuthnSignerFactoryAddress

@iamacook iamacook self-assigned this Jul 15, 2024
@iamacook iamacook changed the title Contract addresses Add ChainInfo['contractAddresses'] property Jul 15, 2024
@iamacook iamacook marked this pull request as draft July 15, 2024 09:47
@iamacook iamacook marked this pull request as ready for review July 16, 2024 07:14
Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers! 🙏

@katspaugh katspaugh merged commit a7d2769 into main Jul 16, 2024
@katspaugh katspaugh deleted the contract-addresses branch July 16, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants