Redeem Protocol Fees
Transfer collected protocol fees to the CREATOR account.
Note: The CREATOR must opt-in to the liquidity assets separately before receiving them.
Transaction Group:
0. Pay - pay fees in Algo from User to Pool
fees to cover Tx 1,2
Signed by User
App Call - NoOp call to Validator App with args ['fees']
Signed by Pool LogicSig
2. AssetTransfer - Transfer of liquidity asset from Pool to CREATOR account
Signed by Pool LogicSig
Validator App State Changes
Global State
None
Pool Account Local State
o{LIQUIDITY_ASSET_ID}: {int}
// total outstanding unredeemed liquidity asset amountp: {int}
// unclaimed protocol fee liquidity asset amount
Creator Local State
None
Last updated