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 we have non mutative operations, CalcInAmtGivenOut, CalcOutAmtGivenIn, and mutative operations: ApplySwap, JoinPool, ExitPool.
In the extent of allowing more code duplications, we want to have more options for the methods we want to have in our poolI interface, something that looks like such:
p0mvn
changed the title
Separate out mutative methods for joinPool, exitPool and swap functions
[x/gamm] Separate out mutative methods for joinPool, exitPool and swap functions
May 9, 2022
Currently we have non mutative operations,
CalcInAmtGivenOut
,CalcOutAmtGivenIn
, and mutative operations:ApplySwap
,JoinPool
,ExitPool
.In the extent of allowing more code duplications, we want to have more options for the methods we want to have in our poolI interface, something that looks like such:
The text was updated successfully, but these errors were encountered: