Skip to content

Commit 537bde9

Browse files
committed
feat: update subgraph and currency addresses
1 parent 08ca98d commit 537bde9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/constants/currency.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@ export const WETH_ADDRESSES: {
66
[chain in CHAIN_IDS]: `0x${string}`[]
77
} = {
88
[CHAIN_IDS.ARBITRUM_SEPOLIA]: [zeroAddress],
9+
[CHAIN_IDS.BASE]: ['0x4200000000000000000000000000000000000006'],
10+
[CHAIN_IDS.BERACHAIN_TESTNET]: [
11+
'0x5806E416dA447b267cEA759358cF22Cc41FAE80F', // WBERA
12+
],
913
}
1014

1115
export const STABLE_COIN_ADDRESSES: {
1216
[chain in CHAIN_IDS]: `0x${string}`[]
1317
} = {
1418
[CHAIN_IDS.ARBITRUM_SEPOLIA]: ['0x00BFD44e79FB7f6dd5887A9426c8EF85A0CD23e0'],
19+
[CHAIN_IDS.BASE]: [
20+
'0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC
21+
],
22+
[CHAIN_IDS.BERACHAIN_TESTNET]: [
23+
'0x7EeCA4205fF31f947EdBd49195a7A88E6A91161B', // HONEY
24+
],
1525
}

src/constants/subgraph.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ const SUBGRAPH_URL: {
55
} = {
66
[CHAIN_IDS.ARBITRUM_SEPOLIA]:
77
'https://subgraph.satsuma-prod.com/f6a8c4889b7b/clober/v2-core-subgraph/api',
8+
[CHAIN_IDS.BASE]:
9+
'https://subgraph.satsuma-prod.com/f6a8c4889b7b/clober/v2-core-subgraph-base/api',
10+
[CHAIN_IDS.BERACHAIN_TESTNET]:
11+
'https://api.goldsky.com/api/public/project_clsljw95chutg01w45cio46j0/subgraphs/v2-core-subgraph/v1.2.0/gn',
812
}
913

1014
class Subgraph {

0 commit comments

Comments
 (0)