asastats / channel

The ASA Stats official communication channel.
19 stars 1 forks source link

[B2] Folks lending pools on Pact should present calculated value in ASA, not just equaling to ASA counterpart #701

Closed ipaleka closed 1 year ago

ipaleka commented 1 year ago

By robbie in Discord:

Does the calculation of fALGO assets (for instance in pact LP lending pools) factor in that fALGO increases in ALGO value over time based on deposit/borrow APR on folks?


ipaleka — Today at 7:17 PM

If that is implemented in the protocol itself then we show it. Right now we assume that, for example, your liquidity in Pact pool for fALGO equals the same amount in ALGO. I mean, there's no other liquidity in such a pool than fASA pair, and at the same I believe you can only provide real tokens, not fASA. Am I wrong?


robbie — Today at 7:46 PM

I don't think this is quite right. When I deposit 1 ALGO I don't receive 1 fALGO into the pool. Right now I think 1.03 ALGO = 1 fALGO. The value of fALGO will always increase as it's interest bearing. I asked about this in dragonfi and they mentioned maybe the folks SDK could get it. Are you in the folks discord? I can ask and tag you there. I think the same will be for all f assets (fUSDC, fWBTC et)