Skip to content

Commit d8cfb4a

Browse files
committed
Adds support for BNB chain tracking on term-finance.
1 parent da54455 commit d8cfb4a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

projects/term-finance-vaults/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const vaultsGraphs = {
77
"https://api.mainnet.termfinance.io/avalanche/subgraph/vaults",
88
base:
99
"https://api.mainnet.termfinance.io/base/subgraph/vaults",
10+
bsc:
11+
"https://api.mainnet.termfinance.io/bnb/subgraph/vaults",
1012
}
1113

1214
const termVaultStrategiesQuery = `
@@ -46,6 +48,7 @@ const vaultsGraphStartBlock = {
4648
ethereum: 21433264,
4749
avax: 54438973,
4850
base: 30797402,
51+
bsc: 54505207,
4952
}
5053

5154
module.exports = {

projects/term-finance/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const graphs = {
99
"https://api.mainnet.termfinance.io/avalanche/subgraph/term",
1010
base:
1111
"https://api.mainnet.termfinance.io/base/subgraph/term",
12+
bsc:
13+
"https://api.mainnet.termfinance.io/bnb/subgraph/term",
1214
};
1315

1416
const vaultsGraphs = {
@@ -18,6 +20,8 @@ const vaultsGraphs = {
1820
"https://api.mainnet.termfinance.io/avalanche/subgraph/vaults",
1921
base:
2022
"https://api.mainnet.termfinance.io/base/subgraph/vaults",
23+
bsc:
24+
"https://api.mainnet.termfinance.io/bnb/subgraph/vaults",
2125
}
2226

2327
const query = `
@@ -109,12 +113,14 @@ const graphStartBlock = {
109113
ethereum: 5240462,
110114
avax: 43162227,
111115
base: 30797402,
116+
bsc: 54505207,
112117
}
113118

114119
const vaultsGraphStartBlock = {
115120
ethereum: 21433264,
116121
avax: 54438973,
117122
base: 30797402,
123+
bsc: 54505207,
118124
}
119125

120126
module.exports = {

0 commit comments

Comments
 (0)