You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current IRS backend is NOT able to support the Liquidity Pool of Earn
TODO implements the following logic
Deposit (Earn)
Estimate
The calculations are quite difficult and may not be realized.
Calculate how many PTs should be swaped from inputUT (backend)
Calculate and return the number of LPs that can be issued with the swaped PT and remaining UT (backend)
Tx
If the query is realized, it can be created.
Calculate 1 in Estimate again to find the number of UTs to be converted.
Execute SwapInPool and swap to PT.
Use remaining UT & swapped PT to DepositToPool
Withdraw (Earn)
Estimate
not difficult
Get LP => UT & PT (Existing querie)
Get PT => UT (Existing querie)
Display 1 + 2 UT value
Tx
With the current implementation, it needs two Tx's and the frontend cannot support it considering the waiting time for the first Tx.
We should create a Msg that combines the two Tx.
LP => UT & PT
PT => UT
The text was updated successfully, but these errors were encountered:
The current IRS backend is NOT able to support the Liquidity Pool of
Earn
TODO implements the following logic
Deposit (Earn)
Estimate
The calculations are quite difficult and may not be realized.
Tx
If the query is realized, it can be created.
Withdraw (Earn)
Estimate
not difficult
Tx
With the current implementation, it needs two Tx's and the frontend cannot support it considering the waiting time for the first Tx.
We should create a Msg that combines the two Tx.
The text was updated successfully, but these errors were encountered: