From 880ecf846e69dba8d95701ff875b90ce106e6704 Mon Sep 17 00:00:00 2001 From: harsh-98 Date: Thu, 26 Dec 2024 09:11:55 +0700 Subject: [PATCH] feat: active swap abi --- go.mod | 2 +- go.sum | 4 ++-- services/execute_filter.go | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 78b47bff..2e32587b 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/Gearbox-protocol/third-eye go 1.20 require ( - github.com/Gearbox-protocol/sdk-go v0.0.0-20241223113555-23896c9f9f89 + github.com/Gearbox-protocol/sdk-go v0.0.0-20241226022059-6a0c99edf8a8 github.com/ethereum/go-ethereum v1.13.14 github.com/go-playground/validator/v10 v10.4.1 github.com/google/go-cmp v0.5.9 diff --git a/go.sum b/go.sum index 5518d160..04eace61 100644 --- a/go.sum +++ b/go.sum @@ -5,8 +5,8 @@ contrib.go.opencensus.io/exporter/ocagent v0.6.0/go.mod h1:zmKjrJcdo0aYcVS7bmEeS github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ= -github.com/Gearbox-protocol/sdk-go v0.0.0-20241223113555-23896c9f9f89 h1:5hZyvvqal/y6Ezk0mfj9qrnKK8l4fwe8siH6vLfTXWs= -github.com/Gearbox-protocol/sdk-go v0.0.0-20241223113555-23896c9f9f89/go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU= +github.com/Gearbox-protocol/sdk-go v0.0.0-20241226022059-6a0c99edf8a8 h1:lB8gDC6dlcA9ZPQ1d56iTIK5VVktAign07cDe00pyOE= +github.com/Gearbox-protocol/sdk-go v0.0.0-20241226022059-6a0c99edf8a8/go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OffchainLabs/go-ethereum v1.13.4-0.20240313010929-e5d8587e7227 h1:+/3TrD+q+BP36jGj2Bycdmrc/joKLNbc5ImePQzKRLM= diff --git a/services/execute_filter.go b/services/execute_filter.go index 583f850d..e2ba08f4 100644 --- a/services/execute_filter.go +++ b/services/execute_filter.go @@ -4,6 +4,8 @@ import ( "encoding/hex" "strings" + "github.com/Gearbox-protocol/sdk-go/artifacts/activeMiscv3" + "github.com/Gearbox-protocol/sdk-go/artifacts/activeSwapYTv3" "github.com/Gearbox-protocol/sdk-go/artifacts/adaptersv3/aavev2LendingPool" "github.com/Gearbox-protocol/sdk-go/artifacts/adaptersv3/aavev2WrappedAToken" "github.com/Gearbox-protocol/sdk-go/artifacts/adaptersv3/balancerv2Vault" @@ -120,6 +122,8 @@ var abiJSONs = []string{ mellowR7.MellowR7ABI, daiUSDs.DaiUSDsABI, pendleRouterv4.PendleRouterv4ABI, + activeSwapYTv3.ActiveSwapYTv3ABI, + activeMiscv3.ActiveMiscv3ABI, } var abiParsers []abi.ABI