Skip to content

Commit

Permalink
add bridge for aerodrome scrapers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Sep 24, 2024
1 parent 729bcdb commit 178b9ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/services/tradesBlockService/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/services/tradesBlockService
go 1.19

require (
github.com/diadata-org/diadata v1.4.538
github.com/diadata-org/diadata v1.4.540
github.com/segmentio/kafka-go v0.4.35
github.com/sirupsen/logrus v1.8.1
)
Expand Down
5 changes: 4 additions & 1 deletion internal/pkg/tradesBlockService/tradesBlockService.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,10 @@ func buildBridge(t dia.Trade) dia.Asset {
}
}
}
if basetoken.Blockchain == dia.BASE && (t.Source == dia.UniswapExchangeV3Base || t.Source == dia.UniswapExchangeBase) {
if basetoken.Blockchain == dia.BASE && (t.Source == dia.UniswapExchangeV3Base ||
t.Source == dia.UniswapExchangeBase ||
t.Source == dia.AerodromeSlipstreamExchange ||
t.Source == dia.AerodromeV1Exchange) {
if basetoken.Address == "0x4200000000000000000000000000000000000006" {
basetoken = dia.Asset{
Symbol: "WETH",
Expand Down

0 comments on commit 178b9ad

Please sign in to comment.