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
Currently, in RA V2, we can only swap (s/ws)klima>anything and usdc->anything.
BCT->"any pool token" would also work for small amounts, but not vice versa since we don't have USDC liquidity for any other pool token.
Libswap has default logic which swaps the source token to USDC first if a path is not pre-defined. That's good for non-pool tokens, and works for small amounts for BCT->other as described above.
We should implement a function that checks if (s.isPoolToken[sourceToken]), and swaps to Klima first. This would likely require 5 new mappings in DiamondInit.sol, for the following paths:
Currently, in RA V2, we can only swap (s/ws)klima>anything and usdc->anything.
BCT->"any pool token" would also work for small amounts, but not vice versa since we don't have USDC liquidity for any other pool token.
Libswap has default logic which swaps the source token to USDC first if a path is not pre-defined. That's good for non-pool tokens, and works for small amounts for BCT->other as described above.
We should implement a function that checks
if (s.isPoolToken[sourceToken])
, and swaps to Klima first. This would likely require 5 new mappings inDiamondInit.sol
, for the following paths:The text was updated successfully, but these errors were encountered: