Mint
Mint Pool assets in exchange for transferring assets to the Pool account.
Transaction Group
0. Pay - pay fees in Algo from Pooler to Pool
fees to cover Tx 1,4
Signed by Pooler
App Call - NoOp call to Validator App with args ['mint'], with Pooler account
Signed by Pool LogicSig
2. AssetTransfer - Transfer of asset 1 from Pooler to Pool
Signed by Pooler
3. (a) AssetTransfer - Transfer of asset 2 from Pooler to Pool
If asset 2 is an ASA
Signed by Pooler
3. (b) Pay - Transfer of Algo from Pooler to Pool
If asset 2 is Algo
Signed by Pooler
4. AssetTransfer - Transfer of liquidity token asset from Pool to Pooler
Signed by Pool LogicSig
Amount is minimum expected amount of liquidity token allowing for slippage
Validator App State Changes
Global State
None
Pool Account Local State
o{LIQUIDITY_ASSET_ID}: {int}
// total outstanding unredeemed liquidity asset amount
Pooler Account Local State
{POOL_ADDRESS}e{LIQUIDITY_ASSET_ID}: {int}
// excess liquidity asset amount available for redemption
Last updated