titanoboa
titanoboa copied to clipboard
gnosis safe implementation
cf. https://pypi.org/project/ape-safe/ https://github.com/banteg/brownie-safe#readme
brownie-safe has call traces in their preview
methods, which i think is out of scope in this particular case.
Also, there are implementations to sign with trezor or frame or ledger etc. whereas i think we should simply stick to browsersigner in this case. let users use notebooks to sign transactions, post them, fetch status on pending transactions, execute transactions etc.
The other issue I see with this is: if we integrate safe into boa, we would need to import web3py and that's going to bloat boa.
The other issue I see with this is: if we integrate safe into boa, we would need to import web3py and that's going to bloat boa.
i don't see why that would be the case. besides, it should probably be a separate package anyways.
https://safe-transaction-mainnet.safe.global/
The api I recommend is:
with boa.safe.build_transaction():
coin.approve(safe, 2**256-1)
safe.spend(coin, 10**18)
coin.approve(safe, 0)
is this issue ready?