monorepo icon indicating copy to clipboard operation
monorepo copied to clipboard

Update asset init script to output multicall for pools

Open just-a-node opened this issue 1 year ago • 2 comments

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 avatar Feb 06 '24 19:02 just-a-node

@just-a-node What is the outcome / impact of this?

alexwhte avatar Feb 11 '24 22:02 alexwhte

@just-a-node What is the outcome / impact of this?

Added to description

just-a-node avatar Feb 12 '24 22:02 just-a-node