[SwapRouter] misc: Delete duplication of SwapAmountInRoute
between gamm module and swap router module
#3921
Labels
C:x/swaprouter
F: concentrated-liquidity
Tracking the development of concentrated liquidity feature to improve filtering on the project board
Help wanted
Milestone
Background
cref: #3880 (comment)
Right now, we have two implementations of
SwapAmountInRoute
, one in the gamm module(legacy) and the newSwapAmountInRoute
struct / proto that has been introduced in the swap router module.There is no reason to keep both structs: the goal of this issue is to delete the
SwapAmountInRoute
from the gamm module and remove duplication of the struct between modules.The same goes for
SwapAmountOutRoute
.Suggested Design
SwapAmountInRoute
from gamm moduleSwapAmountOutRoute
from gamm moduleThe text was updated successfully, but these errors were encountered: