@@ -2,8 +2,13 @@ import { ChainId } from '@aave/contract-helpers';
2
2
import {
3
3
AaveV3Arbitrum ,
4
4
AaveV3ArbitrumSepolia ,
5
+ AaveV3Base ,
6
+ AaveV3BaseSepolia ,
5
7
AaveV3Ethereum ,
6
8
AaveV3Sepolia ,
9
+ GhoArbitrum ,
10
+ GhoBase ,
11
+ GhoEthereum ,
7
12
} from '@bgd-labs/aave-address-book' ;
8
13
import { constants } from 'ethers' ;
9
14
import { TokenInfoWithBalance } from 'src/hooks/generic/useTokensBalance' ;
@@ -39,9 +44,9 @@ const prodConfig: Config[] = [
39
44
{
40
45
sourceChainId : ChainId . mainnet ,
41
46
chainSelector : '5009297550715157269' ,
42
- lockReleaseTokenPool : '0x06179f7C1be40863405f374E7f5F8806c728660A' , // TODO: address book
47
+ lockReleaseTokenPool : GhoEthereum . GHO_CCIP_TOKEN_POOL ,
43
48
router : '0x80226fc0ee2b096224eeac085bb9a8cba1146f7d' ,
44
- tokenOracle : '0x3f12643d3f6f874d39c2a4c9f2cd6f2dbac877fc' ,
49
+ tokenOracle : '0x3f12643d3f6f874d39c2a4c9f2cd6f2dbac877fc' , // CL Feed
45
50
wrappedNativeOracle : AaveV3Ethereum . ASSETS . WETH . ORACLE ,
46
51
subgraphUrl : `https://gateway-arbitrum.network.thegraph.com/api/${ process . env . NEXT_PUBLIC_SUBGRAPH_API_KEY } /subgraphs/id/E11p8T4Ff1DHZbwSUC527hkUb5innVMdTuP6A2s1xtm1` ,
47
52
feeTokens : [
@@ -50,7 +55,7 @@ const prodConfig: Config[] = [
50
55
address : AaveV3Ethereum . ASSETS . GHO . UNDERLYING ,
51
56
symbol : 'GHO' ,
52
57
decimals : 18 ,
53
- chainId : 1 ,
58
+ chainId : ChainId . mainnet ,
54
59
logoURI :
55
60
'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092' ,
56
61
oracle : AaveV3Ethereum . ASSETS . GHO . ORACLE ,
@@ -64,7 +69,7 @@ const prodConfig: Config[] = [
64
69
symbol : 'ETH' ,
65
70
decimals : 18 ,
66
71
address : constants . AddressZero , // Use zero address for network token ccip
67
- chainId : 1 ,
72
+ chainId : ChainId . mainnet ,
68
73
logoURI :
69
74
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png' ,
70
75
extensions : {
@@ -77,9 +82,9 @@ const prodConfig: Config[] = [
77
82
{
78
83
sourceChainId : ChainId . arbitrum_one ,
79
84
chainSelector : '4949039107694359620' ,
80
- burnMintTokenPool : '0xB94Ab28c6869466a46a42abA834ca2B3cECCA5eB' , // TODO: address book
85
+ burnMintTokenPool : GhoArbitrum . GHO_CCIP_TOKEN_POOL ,
81
86
router : '0x141fa059441e0ca23ce184b6a78bafd2a517dde8' ,
82
- tokenOracle : '0xb05984ad83c20b3ade7bf97a9a0cb539dde28dbb' ,
87
+ tokenOracle : AaveV3Arbitrum . ASSETS . GHO . ORACLE ,
83
88
wrappedNativeOracle : AaveV3Arbitrum . ASSETS . WETH . ORACLE ,
84
89
subgraphUrl : `https://gateway-arbitrum.network.thegraph.com/api/${ process . env . NEXT_PUBLIC_SUBGRAPH_API_KEY } /subgraphs/id/GPpZfiGoDChLsiWoMG5fxXdRNEYrsVDrKJ39moGcbz6i` ,
85
90
feeTokens : [
@@ -88,7 +93,7 @@ const prodConfig: Config[] = [
88
93
address : AaveV3Arbitrum . ASSETS . GHO . UNDERLYING ,
89
94
symbol : 'GHO' ,
90
95
decimals : 18 ,
91
- chainId : 42161 ,
96
+ chainId : ChainId . arbitrum_one ,
92
97
logoURI :
93
98
'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092' ,
94
99
oracle : AaveV3Arbitrum . ASSETS . GHO . ORACLE ,
@@ -102,7 +107,31 @@ const prodConfig: Config[] = [
102
107
symbol : 'ETH' ,
103
108
decimals : 18 ,
104
109
address : constants . AddressZero , // Use zero address for network token ccip
105
- chainId : 42161 , // Arb
110
+ chainId : ChainId . arbitrum_one ,
111
+ logoURI :
112
+ 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png' ,
113
+ extensions : {
114
+ isNative : true ,
115
+ } ,
116
+ balance : '0' ,
117
+ } ,
118
+ ] ,
119
+ } ,
120
+ {
121
+ sourceChainId : ChainId . base ,
122
+ chainSelector : '15971525489660198786' ,
123
+ burnMintTokenPool : GhoBase . GHO_CCIP_TOKEN_POOL ,
124
+ router : '0x881e3A65B4d4a04dD529061dd0071cf975F58bCD' ,
125
+ tokenOracle : '0x42868EFcee13C0E71af89c04fF7d96f5bec479b0' ,
126
+ wrappedNativeOracle : AaveV3Base . ASSETS . WETH . ORACLE ,
127
+ subgraphUrl : `https://gateway.thegraph.com/api/${ process . env . NEXT_PUBLIC_SUBGRAPH_API_KEY } /subgraphs/id/7RqaLvSMWBv4Z3xmv4kb6Jq3t59ikYG3wpcsTnLgBWzt` ,
128
+ feeTokens : [
129
+ {
130
+ name : 'Ethereum' ,
131
+ symbol : 'ETH' ,
132
+ decimals : 18 ,
133
+ address : constants . AddressZero , // Use zero address for network token ccip
134
+ chainId : ChainId . base ,
106
135
logoURI :
107
136
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png' ,
108
137
extensions : {
@@ -191,6 +220,30 @@ const testnetConfig: Config[] = [
191
220
} ,
192
221
] ,
193
222
} ,
223
+ {
224
+ sourceChainId : ChainId . base_sepolia ,
225
+ burnMintTokenPool : '0x2a33945f942913b730aB36A24150A96c3D0CC9E9' ,
226
+ chainSelector : '10344971235874465080' ,
227
+ router : '0xD3b06cEbF099CE7DA4AcCf578aaebFDBd6e88a93' ,
228
+ tokenOracle : '0xFD5ea2e57CDC98D371D8eA899d1F2C24bfFb39BD' ,
229
+ wrappedNativeOracle : AaveV3BaseSepolia . ASSETS . WETH . ORACLE ,
230
+ subgraphUrl : `https://gateway.thegraph.com/api/${ process . env . NEXT_PUBLIC_SUBGRAPH_API_KEY } /subgraphs/id/8bpqvL6XBCVhN4heE9rdEwgTketeZ2U5vVGEh5fDoUEH` ,
231
+ feeTokens : [
232
+ {
233
+ name : 'Ethereum' ,
234
+ symbol : 'ETH' ,
235
+ decimals : 18 ,
236
+ address : constants . AddressZero ,
237
+ chainId : ChainId . base_sepolia ,
238
+ logoURI :
239
+ 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png' ,
240
+ extensions : {
241
+ isNative : true ,
242
+ } ,
243
+ balance : '0' ,
244
+ } ,
245
+ ] ,
246
+ } ,
194
247
] ;
195
248
196
249
export const laneConfig = ENABLE_TESTNET ? testnetConfig : prodConfig ;
0 commit comments