Skip to content

Commit

Permalink
fix busd handling in tradesblockservice.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Jan 2, 2024
1 parent 961c503 commit 50f6ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 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.17

require (
github.com/diadata-org/diadata v1.4.408
github.com/diadata-org/diadata v1.4.420
github.com/segmentio/kafka-go v0.4.35
github.com/sirupsen/logrus v1.8.1
)
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/tradesBlockService/tradesBlockService.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ var (

// These should be loaded from postgres once we have a list.
USDT = dia.Asset{Address: "0xdAC17F958D2ee523a2206206994597C13D831ec7", Blockchain: dia.ETHEREUM}
USDT_BNB_CHAIN = dia.Asset{Address: "0x55d398326f99059fF775485246999027B3197955", Blockchain: dia.BINANCESMARTCHAIN}
USDC = dia.Asset{Address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", Blockchain: dia.ETHEREUM}
BUSD = dia.Asset{Address: "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56", Blockchain: dia.BINANCESMARTCHAIN}
DAI = dia.Asset{Address: "0x6B175474E89094C44Da98b954EedeAC495271d0F", Blockchain: dia.ETHEREUM}
TUSD = dia.Asset{Address: "0x0000000000085d4780B73119b644AE5ecd22b376", Blockchain: dia.ETHEREUM}
stablecoinAssets = map[string]interface{}{
USDT.Identifier(): "",
USDC.Identifier(): "",
BUSD.Identifier(): "",
DAI.Identifier(): "",
TUSD.Identifier(): "",
}
Expand Down

0 comments on commit 50f6ed4

Please sign in to comment.