Bootstrap Pool
Setup a Pool for a pair of assets. The Pool account should be a LogicSig contract account.
Transaction Group
0. Pay - pay fees from Pooler to Pool
fees to cover Tx 1,2,3,4
Signed by Pooler
App Call - OptIn call to Validator App with args ['bootstrap', asset1ID, asset2ID]
signed by Pool LogicSig
2. AssetConfig - create asset for liquidity token
signed by Pool LogicSig
3. Asset OptIn - Pool opt in to Asset 1
signed by Pool LogicSig
4. (Optional) Asset OptIn - Pool opt in to Asset 2
Only if Asset 2 is not Algo
signed by Pool LogicSig
Validator App State Changes
Global State
None
Pool Account Local State
a1: {int}
// ASSET1_IDa2: {int}
// ASSET2_ID
Last updated