Skip to content

Commit

Permalink
Update new swap limit for new pools (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisngyn authored Dec 27, 2024
1 parent 2d8d194 commit f4c40c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/poolsimulators/poolsimulators.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,14 @@ func newSwapLimit(dex string, limit map[string]*big.Int) pkgpool.SwapLimit {
case pooltypes.PoolTypes.Synthetix,
pooltypes.PoolTypes.LimitOrder,
pooltypes.PoolTypes.NativeV1,
pooltypes.PoolTypes.Dexalot:
pooltypes.PoolTypes.Dexalot,
pooltypes.PoolTypes.RingSwap,
pooltypes.PoolTypes.MxTrading,
pooltypes.PoolTypes.LO1inch:
return swaplimit.NewInventory(dex, limit)
case pooltypes.PoolTypes.Bebop:
return swaplimit.NewSingleSwapLimit(dex)

case pooltypes.PoolTypes.KyberPMM:
return swaplimit.NewSwappedInventory(dex, limit)
}
Expand Down

0 comments on commit f4c40c2

Please sign in to comment.