I am using safe react template [link]: https://github.com/safe-global/safe-apps-sdk/tree/master/packages/cra-template-safe-app. I have a requirement where i need to get the transaction guard contract address associated with that safe inisde the safe app. How to get it?
You should use the
getStorageAt from the StorageAccessible contract to get the guard address from the Safe's internal storage.
The guard address is stored at slot
Can you please guide how to get it inside the react app? Its a Safe Contract internal function. Feb 22 at 7:20
If you check GenosisSafel2 Contract, link we don't have any function to get the guard address. @mikheevm Feb 22 at 9:05
My bad, haven't spotted that the method was internal, I've just updated my answer– mikheevmFeb 22 at 14:02
What should be the input of the parameters of offset and length? @mikheevm Feb 27 at 9:20