Content
@
0 reply
0 recast
0 reaction
Stephan
@stephancill
what measures does syndicate have in place to prevent wallets from being drained when calling arbitrary contracts? struggling to find information about this on https://docs.syndicate.io
2 replies
0 recast
2 reactions
Will Papper
@will
Hey @stephancill, currently we simulate the TX to ensure that gas estimates are correct and that failed transactions due to gas issues won't go through. We also offer a contract allowlist if you want to restrict the contracts that can be called. If you're worried about malicious contracts using up all available gas without running out of gas (i.e. to grief a successful transaction), I'd recommend a wrapper contract that sets a custom gas limit and forwards the transactions to the arbitrary contract using DELEGATECALL. That would give you safety onchain, ensuring that transactions that exceed the gas limit would fail in simulation and not use up gas onchain
1 reply
0 recast
1 reaction
DegenFans 🎩🔵🫂Ⓜ️
@degenfans
You mean sth. Like a contract/function white list?
1 reply
0 recast
0 reaction