Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunspirit99 committed Dec 12, 2024
1 parent 1d97972 commit dc91e1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/liquidity-source/virtual-fun/pool_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (d *PoolTracker) canPoolTradable(ctx context.Context, tokenAddress string)
ABI: bondingABI,
Target: d.config.BondingAddress,
Method: bondingTokenInfoMethod,
Params: []interface{}{tokenAddress},
Params: []interface{}{common.HexToAddress(tokenAddress)},
}, []interface{}{&tokenInfo})

if _, err := req.Call(); err != nil {
Expand Down
3 changes: 3 additions & 0 deletions pkg/pooltypes/pooltypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import (
velocorev2wombatstable "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/velocore-v2/wombat-stable"
velodrome "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/velodrome-v1"
velodromev2 "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/velodrome-v2"
virtualfun "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/virtual-fun"
woofiv2 "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/woofi-v2"
woofiv21 "github.com/KyberNetwork/kyberswap-dex-lib/pkg/liquidity-source/woofi-v21"
"github.com/KyberNetwork/kyberswap-dex-lib/pkg/source/algebrav1"
Expand Down Expand Up @@ -269,6 +270,7 @@ type Types struct {
AlgebraIntegral string
MxTrading string
LO1inch string
VirtualFun string
}

var (
Expand Down Expand Up @@ -411,5 +413,6 @@ var (
AlgebraIntegral: algebraintegral.DexType,
MxTrading: mxtrading.DexType,
LO1inch: lo1inch.DexType,
VirtualFun: virtualfun.DexType,
}
)

0 comments on commit dc91e1a

Please sign in to comment.