monorepo
monorepo copied to clipboard
Update asset init script to output multicall for pools
Background
Admin protocol multisig should submit multicall transaction when init'ing pools.
Impact
Pools need to be initialized safely with around ~$15 of assets on both sides. We've historically done two transactions in sequence (init pool + add liquidity) but multicalling in 1 transaction is much safer.
This is a security risk vector we should fix in preparation for adding more chains and more assets.
Definition Of Done
Init script outputs the multicall data to be submitted by admin multisig.
Tasks
- [ ] Make this update in the init script
@just-a-node What is the outcome / impact of this?
@just-a-node What is the outcome / impact of this?
Added to description