From 763d43145f50506e007d51ae0e6f3cd99d81206e Mon Sep 17 00:00:00 2001 From: Chien Nguyen Date: Fri, 27 Dec 2024 15:20:47 +0700 Subject: [PATCH] Update new swap limit for new pools --- pkg/poolsimulators/poolsimulators.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/poolsimulators/poolsimulators.go b/pkg/poolsimulators/poolsimulators.go index 749b3ef..9fa105e 100644 --- a/pkg/poolsimulators/poolsimulators.go +++ b/pkg/poolsimulators/poolsimulators.go @@ -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) }