File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ const adapter: BridgeAdapter = {
353
353
blast : constructParams ( "blast" ) ,
354
354
bsc : constructParams ( "bsc" ) ,
355
355
celo : constructParams ( "celo" ) ,
356
- cfg : constructParams ( "cfg " ) , //cfg
356
+ cfg : constructParams ( "centrifuge " ) , //cfg
357
357
ethereum : constructParams ( "ethereum" ) ,
358
358
fantom : constructParams ( "fantom" ) ,
359
359
filecoin : constructParams ( "filecoin" ) ,
Original file line number Diff line number Diff line change @@ -120,20 +120,17 @@ const getSymbol = (rawSymbol: string) => {
120
120
}
121
121
122
122
export const fetchAssets = ( ) => {
123
- return retry ( ( ) =>
124
- fetch ( "https://api.axelarscan.io/" , {
125
- method : "POST" ,
126
- headers : {
127
- "Content-Type" : "application/json" ,
128
- } ,
129
- body : JSON . stringify ( {
130
- method : "getAssets" ,
131
- } ) ,
132
- } ) . then ( ( res : any ) => {
133
- console . log ( res , 'the res' )
134
- res . json ( )
135
- } )
136
- ) ;
123
+ return retry ( ( ) =>
124
+ fetch ( "https://api.axelarscan.io/" , {
125
+ method : "POST" ,
126
+ headers : {
127
+ "Content-Type" : "application/json" ,
128
+ } ,
129
+ body : JSON . stringify ( {
130
+ method : "getAssets" ,
131
+ } ) ,
132
+ } ) . then ( ( res : any ) => res . json ( ) )
133
+ ) ;
137
134
}
138
135
139
136
export const isStablecoin = ( tokenAddress : string , chain : string ) => {
You can’t perform that action at this time.
0 commit comments