@across-protocol/sdk 3.4.10 → 3.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/relayFeeCalculator/chain-queries/factory.d.ts +13 -13
- package/dist/cjs/relayFeeCalculator/relayFeeCalculator.d.ts +13 -13
- package/dist/cjs/utils/TokenUtils.d.ts +26 -26
- package/dist/esm/relayFeeCalculator/chain-queries/factory.d.ts +13 -13
- package/dist/esm/relayFeeCalculator/relayFeeCalculator.d.ts +13 -13
- package/dist/esm/utils/TokenUtils.d.ts +36 -36
- package/dist/types/relayFeeCalculator/chain-queries/factory.d.ts +13 -13
- package/dist/types/relayFeeCalculator/relayFeeCalculator.d.ts +13 -13
- package/dist/types/utils/TokenUtils.d.ts +36 -36
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ export declare class QueryBase__factory {
|
|
|
30
30
|
};
|
|
31
31
|
coingeckoId: string;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
BADGER: {
|
|
34
34
|
name: string;
|
|
35
35
|
symbol: string;
|
|
36
36
|
decimals: number;
|
|
@@ -39,7 +39,7 @@ export declare class QueryBase__factory {
|
|
|
39
39
|
};
|
|
40
40
|
coingeckoId: string;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
BAL: {
|
|
43
43
|
name: string;
|
|
44
44
|
symbol: string;
|
|
45
45
|
decimals: number;
|
|
@@ -84,6 +84,15 @@ export declare class QueryBase__factory {
|
|
|
84
84
|
};
|
|
85
85
|
coingeckoId: string;
|
|
86
86
|
};
|
|
87
|
+
GRASS: {
|
|
88
|
+
name: string;
|
|
89
|
+
symbol: string;
|
|
90
|
+
decimals: number;
|
|
91
|
+
addresses: {
|
|
92
|
+
[x: number]: string;
|
|
93
|
+
};
|
|
94
|
+
coingeckoId: string;
|
|
95
|
+
};
|
|
87
96
|
LSK: {
|
|
88
97
|
name: string;
|
|
89
98
|
symbol: string;
|
|
@@ -219,16 +228,7 @@ export declare class QueryBase__factory {
|
|
|
219
228
|
};
|
|
220
229
|
coingeckoId: string;
|
|
221
230
|
};
|
|
222
|
-
|
|
223
|
-
name: string;
|
|
224
|
-
symbol: string;
|
|
225
|
-
decimals: number;
|
|
226
|
-
addresses: {
|
|
227
|
-
[x: number]: string;
|
|
228
|
-
};
|
|
229
|
-
coingeckoId: string;
|
|
230
|
-
};
|
|
231
|
-
GRASS: {
|
|
231
|
+
WGRASS: {
|
|
232
232
|
name: string;
|
|
233
233
|
symbol: string;
|
|
234
234
|
decimals: number;
|
|
@@ -237,7 +237,7 @@ export declare class QueryBase__factory {
|
|
|
237
237
|
};
|
|
238
238
|
coingeckoId: string;
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
WMATIC: {
|
|
241
241
|
name: string;
|
|
242
242
|
symbol: string;
|
|
243
243
|
decimals: number;
|
|
@@ -114,7 +114,7 @@ export declare class RelayFeeCalculator {
|
|
|
114
114
|
};
|
|
115
115
|
coingeckoId: string;
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
BADGER: {
|
|
118
118
|
name: string;
|
|
119
119
|
symbol: string;
|
|
120
120
|
decimals: number;
|
|
@@ -123,7 +123,7 @@ export declare class RelayFeeCalculator {
|
|
|
123
123
|
};
|
|
124
124
|
coingeckoId: string;
|
|
125
125
|
};
|
|
126
|
-
|
|
126
|
+
BAL: {
|
|
127
127
|
name: string;
|
|
128
128
|
symbol: string;
|
|
129
129
|
decimals: number;
|
|
@@ -168,6 +168,15 @@ export declare class RelayFeeCalculator {
|
|
|
168
168
|
};
|
|
169
169
|
coingeckoId: string;
|
|
170
170
|
};
|
|
171
|
+
GRASS: {
|
|
172
|
+
name: string;
|
|
173
|
+
symbol: string;
|
|
174
|
+
decimals: number;
|
|
175
|
+
addresses: {
|
|
176
|
+
[x: number]: string;
|
|
177
|
+
};
|
|
178
|
+
coingeckoId: string;
|
|
179
|
+
};
|
|
171
180
|
LSK: {
|
|
172
181
|
name: string;
|
|
173
182
|
symbol: string;
|
|
@@ -303,16 +312,7 @@ export declare class RelayFeeCalculator {
|
|
|
303
312
|
};
|
|
304
313
|
coingeckoId: string;
|
|
305
314
|
};
|
|
306
|
-
|
|
307
|
-
name: string;
|
|
308
|
-
symbol: string;
|
|
309
|
-
decimals: number;
|
|
310
|
-
addresses: {
|
|
311
|
-
[x: number]: string;
|
|
312
|
-
};
|
|
313
|
-
coingeckoId: string;
|
|
314
|
-
};
|
|
315
|
-
GRASS: {
|
|
315
|
+
WGRASS: {
|
|
316
316
|
name: string;
|
|
317
317
|
symbol: string;
|
|
318
318
|
decimals: number;
|
|
@@ -321,7 +321,7 @@ export declare class RelayFeeCalculator {
|
|
|
321
321
|
};
|
|
322
322
|
coingeckoId: string;
|
|
323
323
|
};
|
|
324
|
-
|
|
324
|
+
WMATIC: {
|
|
325
325
|
name: string;
|
|
326
326
|
symbol: string;
|
|
327
327
|
decimals: number;
|
|
@@ -36,7 +36,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
36
36
|
};
|
|
37
37
|
coingeckoId: string;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
BADGER: {
|
|
40
40
|
name: string;
|
|
41
41
|
symbol: string;
|
|
42
42
|
decimals: number;
|
|
@@ -45,7 +45,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
45
45
|
};
|
|
46
46
|
coingeckoId: string;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
BAL: {
|
|
49
49
|
name: string;
|
|
50
50
|
symbol: string;
|
|
51
51
|
decimals: number;
|
|
@@ -90,6 +90,15 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
90
90
|
};
|
|
91
91
|
coingeckoId: string;
|
|
92
92
|
};
|
|
93
|
+
GRASS: {
|
|
94
|
+
name: string;
|
|
95
|
+
symbol: string;
|
|
96
|
+
decimals: number;
|
|
97
|
+
addresses: {
|
|
98
|
+
[x: number]: string;
|
|
99
|
+
};
|
|
100
|
+
coingeckoId: string;
|
|
101
|
+
};
|
|
93
102
|
LSK: {
|
|
94
103
|
name: string;
|
|
95
104
|
symbol: string;
|
|
@@ -225,16 +234,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
225
234
|
};
|
|
226
235
|
coingeckoId: string;
|
|
227
236
|
};
|
|
228
|
-
|
|
229
|
-
name: string;
|
|
230
|
-
symbol: string;
|
|
231
|
-
decimals: number;
|
|
232
|
-
addresses: {
|
|
233
|
-
[x: number]: string;
|
|
234
|
-
};
|
|
235
|
-
coingeckoId: string;
|
|
236
|
-
};
|
|
237
|
-
GRASS: {
|
|
237
|
+
WGRASS: {
|
|
238
238
|
name: string;
|
|
239
239
|
symbol: string;
|
|
240
240
|
decimals: number;
|
|
@@ -243,7 +243,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
243
243
|
};
|
|
244
244
|
coingeckoId: string;
|
|
245
245
|
};
|
|
246
|
-
|
|
246
|
+
WMATIC: {
|
|
247
247
|
name: string;
|
|
248
248
|
symbol: string;
|
|
249
249
|
decimals: number;
|
|
@@ -281,7 +281,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
281
281
|
};
|
|
282
282
|
coingeckoId: string;
|
|
283
283
|
};
|
|
284
|
-
|
|
284
|
+
BADGER: {
|
|
285
285
|
name: string;
|
|
286
286
|
symbol: string;
|
|
287
287
|
decimals: number;
|
|
@@ -290,7 +290,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
290
290
|
};
|
|
291
291
|
coingeckoId: string;
|
|
292
292
|
};
|
|
293
|
-
|
|
293
|
+
BAL: {
|
|
294
294
|
name: string;
|
|
295
295
|
symbol: string;
|
|
296
296
|
decimals: number;
|
|
@@ -335,6 +335,15 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
335
335
|
};
|
|
336
336
|
coingeckoId: string;
|
|
337
337
|
};
|
|
338
|
+
GRASS: {
|
|
339
|
+
name: string;
|
|
340
|
+
symbol: string;
|
|
341
|
+
decimals: number;
|
|
342
|
+
addresses: {
|
|
343
|
+
[x: number]: string;
|
|
344
|
+
};
|
|
345
|
+
coingeckoId: string;
|
|
346
|
+
};
|
|
338
347
|
LSK: {
|
|
339
348
|
name: string;
|
|
340
349
|
symbol: string;
|
|
@@ -470,16 +479,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
470
479
|
};
|
|
471
480
|
coingeckoId: string;
|
|
472
481
|
};
|
|
473
|
-
|
|
474
|
-
name: string;
|
|
475
|
-
symbol: string;
|
|
476
|
-
decimals: number;
|
|
477
|
-
addresses: {
|
|
478
|
-
[x: number]: string;
|
|
479
|
-
};
|
|
480
|
-
coingeckoId: string;
|
|
481
|
-
};
|
|
482
|
-
GRASS: {
|
|
482
|
+
WGRASS: {
|
|
483
483
|
name: string;
|
|
484
484
|
symbol: string;
|
|
485
485
|
decimals: number;
|
|
@@ -488,7 +488,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
488
488
|
};
|
|
489
489
|
coingeckoId: string;
|
|
490
490
|
};
|
|
491
|
-
|
|
491
|
+
WMATIC: {
|
|
492
492
|
name: string;
|
|
493
493
|
symbol: string;
|
|
494
494
|
decimals: number;
|
|
@@ -30,7 +30,7 @@ export declare class QueryBase__factory {
|
|
|
30
30
|
};
|
|
31
31
|
coingeckoId: string;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
BADGER: {
|
|
34
34
|
name: string;
|
|
35
35
|
symbol: string;
|
|
36
36
|
decimals: number;
|
|
@@ -39,7 +39,7 @@ export declare class QueryBase__factory {
|
|
|
39
39
|
};
|
|
40
40
|
coingeckoId: string;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
BAL: {
|
|
43
43
|
name: string;
|
|
44
44
|
symbol: string;
|
|
45
45
|
decimals: number;
|
|
@@ -84,6 +84,15 @@ export declare class QueryBase__factory {
|
|
|
84
84
|
};
|
|
85
85
|
coingeckoId: string;
|
|
86
86
|
};
|
|
87
|
+
GRASS: {
|
|
88
|
+
name: string;
|
|
89
|
+
symbol: string;
|
|
90
|
+
decimals: number;
|
|
91
|
+
addresses: {
|
|
92
|
+
[x: number]: string;
|
|
93
|
+
};
|
|
94
|
+
coingeckoId: string;
|
|
95
|
+
};
|
|
87
96
|
LSK: {
|
|
88
97
|
name: string;
|
|
89
98
|
symbol: string;
|
|
@@ -219,16 +228,7 @@ export declare class QueryBase__factory {
|
|
|
219
228
|
};
|
|
220
229
|
coingeckoId: string;
|
|
221
230
|
};
|
|
222
|
-
|
|
223
|
-
name: string;
|
|
224
|
-
symbol: string;
|
|
225
|
-
decimals: number;
|
|
226
|
-
addresses: {
|
|
227
|
-
[x: number]: string;
|
|
228
|
-
};
|
|
229
|
-
coingeckoId: string;
|
|
230
|
-
};
|
|
231
|
-
GRASS: {
|
|
231
|
+
WGRASS: {
|
|
232
232
|
name: string;
|
|
233
233
|
symbol: string;
|
|
234
234
|
decimals: number;
|
|
@@ -237,7 +237,7 @@ export declare class QueryBase__factory {
|
|
|
237
237
|
};
|
|
238
238
|
coingeckoId: string;
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
WMATIC: {
|
|
241
241
|
name: string;
|
|
242
242
|
symbol: string;
|
|
243
243
|
decimals: number;
|
|
@@ -152,7 +152,7 @@ export declare class RelayFeeCalculator {
|
|
|
152
152
|
};
|
|
153
153
|
coingeckoId: string;
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
BADGER: {
|
|
156
156
|
name: string;
|
|
157
157
|
symbol: string;
|
|
158
158
|
decimals: number;
|
|
@@ -161,7 +161,7 @@ export declare class RelayFeeCalculator {
|
|
|
161
161
|
};
|
|
162
162
|
coingeckoId: string;
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
BAL: {
|
|
165
165
|
name: string;
|
|
166
166
|
symbol: string;
|
|
167
167
|
decimals: number;
|
|
@@ -206,6 +206,15 @@ export declare class RelayFeeCalculator {
|
|
|
206
206
|
};
|
|
207
207
|
coingeckoId: string;
|
|
208
208
|
};
|
|
209
|
+
GRASS: {
|
|
210
|
+
name: string;
|
|
211
|
+
symbol: string;
|
|
212
|
+
decimals: number;
|
|
213
|
+
addresses: {
|
|
214
|
+
[x: number]: string;
|
|
215
|
+
};
|
|
216
|
+
coingeckoId: string;
|
|
217
|
+
};
|
|
209
218
|
LSK: {
|
|
210
219
|
name: string;
|
|
211
220
|
symbol: string;
|
|
@@ -341,16 +350,7 @@ export declare class RelayFeeCalculator {
|
|
|
341
350
|
};
|
|
342
351
|
coingeckoId: string;
|
|
343
352
|
};
|
|
344
|
-
|
|
345
|
-
name: string;
|
|
346
|
-
symbol: string;
|
|
347
|
-
decimals: number;
|
|
348
|
-
addresses: {
|
|
349
|
-
[x: number]: string;
|
|
350
|
-
};
|
|
351
|
-
coingeckoId: string;
|
|
352
|
-
};
|
|
353
|
-
GRASS: {
|
|
353
|
+
WGRASS: {
|
|
354
354
|
name: string;
|
|
355
355
|
symbol: string;
|
|
356
356
|
decimals: number;
|
|
@@ -359,7 +359,7 @@ export declare class RelayFeeCalculator {
|
|
|
359
359
|
};
|
|
360
360
|
coingeckoId: string;
|
|
361
361
|
};
|
|
362
|
-
|
|
362
|
+
WMATIC: {
|
|
363
363
|
name: string;
|
|
364
364
|
symbol: string;
|
|
365
365
|
decimals: number;
|
|
@@ -50,7 +50,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
50
50
|
};
|
|
51
51
|
coingeckoId: string;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
BADGER: {
|
|
54
54
|
name: string;
|
|
55
55
|
symbol: string;
|
|
56
56
|
decimals: number;
|
|
@@ -59,7 +59,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
59
59
|
};
|
|
60
60
|
coingeckoId: string;
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
BAL: {
|
|
63
63
|
name: string;
|
|
64
64
|
symbol: string;
|
|
65
65
|
decimals: number;
|
|
@@ -104,6 +104,15 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
104
104
|
};
|
|
105
105
|
coingeckoId: string;
|
|
106
106
|
};
|
|
107
|
+
GRASS: {
|
|
108
|
+
name: string;
|
|
109
|
+
symbol: string;
|
|
110
|
+
decimals: number;
|
|
111
|
+
addresses: {
|
|
112
|
+
[x: number]: string;
|
|
113
|
+
};
|
|
114
|
+
coingeckoId: string;
|
|
115
|
+
};
|
|
107
116
|
LSK: {
|
|
108
117
|
name: string;
|
|
109
118
|
symbol: string;
|
|
@@ -186,15 +195,6 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
186
195
|
coingeckoId: string;
|
|
187
196
|
};
|
|
188
197
|
USDbC: {
|
|
189
|
-
name: string;
|
|
190
|
-
symbol: string;
|
|
191
|
-
decimals: number;
|
|
192
|
-
addresses: {
|
|
193
|
-
[x: number]: string;
|
|
194
|
-
};
|
|
195
|
-
coingeckoId: string;
|
|
196
|
-
};
|
|
197
|
-
USDzC: {
|
|
198
198
|
name: string;
|
|
199
199
|
/**
|
|
200
200
|
* Retrieves the ERC20 balance for a given address and token address.
|
|
@@ -211,7 +211,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
211
211
|
};
|
|
212
212
|
coingeckoId: string;
|
|
213
213
|
};
|
|
214
|
-
|
|
214
|
+
USDzC: {
|
|
215
215
|
name: string;
|
|
216
216
|
symbol: string;
|
|
217
217
|
decimals: number;
|
|
@@ -220,7 +220,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
220
220
|
};
|
|
221
221
|
coingeckoId: string;
|
|
222
222
|
};
|
|
223
|
-
|
|
223
|
+
USDT: {
|
|
224
224
|
name: string;
|
|
225
225
|
symbol: string;
|
|
226
226
|
decimals: number;
|
|
@@ -229,7 +229,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
229
229
|
};
|
|
230
230
|
coingeckoId: string;
|
|
231
231
|
};
|
|
232
|
-
|
|
232
|
+
WAZERO: {
|
|
233
233
|
name: string;
|
|
234
234
|
symbol: string;
|
|
235
235
|
decimals: number;
|
|
@@ -238,7 +238,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
238
238
|
};
|
|
239
239
|
coingeckoId: string;
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
WBTC: {
|
|
242
242
|
name: string;
|
|
243
243
|
symbol: string;
|
|
244
244
|
decimals: number;
|
|
@@ -247,7 +247,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
247
247
|
};
|
|
248
248
|
coingeckoId: string;
|
|
249
249
|
};
|
|
250
|
-
|
|
250
|
+
WETH: {
|
|
251
251
|
name: string;
|
|
252
252
|
symbol: string;
|
|
253
253
|
decimals: number;
|
|
@@ -256,7 +256,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
256
256
|
};
|
|
257
257
|
coingeckoId: string;
|
|
258
258
|
};
|
|
259
|
-
|
|
259
|
+
WGRASS: {
|
|
260
260
|
name: string;
|
|
261
261
|
symbol: string;
|
|
262
262
|
decimals: number;
|
|
@@ -265,7 +265,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
265
265
|
};
|
|
266
266
|
coingeckoId: string;
|
|
267
267
|
};
|
|
268
|
-
|
|
268
|
+
WMATIC: {
|
|
269
269
|
name: string;
|
|
270
270
|
symbol: string;
|
|
271
271
|
decimals: number;
|
|
@@ -303,7 +303,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
303
303
|
};
|
|
304
304
|
coingeckoId: string;
|
|
305
305
|
};
|
|
306
|
-
|
|
306
|
+
BADGER: {
|
|
307
307
|
name: string;
|
|
308
308
|
symbol: string;
|
|
309
309
|
decimals: number;
|
|
@@ -312,7 +312,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
312
312
|
};
|
|
313
313
|
coingeckoId: string;
|
|
314
314
|
};
|
|
315
|
-
|
|
315
|
+
BAL: {
|
|
316
316
|
name: string;
|
|
317
317
|
symbol: string;
|
|
318
318
|
decimals: number;
|
|
@@ -357,6 +357,15 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
357
357
|
};
|
|
358
358
|
coingeckoId: string;
|
|
359
359
|
};
|
|
360
|
+
GRASS: {
|
|
361
|
+
name: string;
|
|
362
|
+
symbol: string;
|
|
363
|
+
decimals: number;
|
|
364
|
+
addresses: {
|
|
365
|
+
[x: number]: string;
|
|
366
|
+
};
|
|
367
|
+
coingeckoId: string;
|
|
368
|
+
};
|
|
360
369
|
LSK: {
|
|
361
370
|
name: string;
|
|
362
371
|
symbol: string;
|
|
@@ -439,15 +448,6 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
439
448
|
coingeckoId: string;
|
|
440
449
|
};
|
|
441
450
|
USDbC: {
|
|
442
|
-
name: string;
|
|
443
|
-
symbol: string;
|
|
444
|
-
decimals: number;
|
|
445
|
-
addresses: {
|
|
446
|
-
[x: number]: string;
|
|
447
|
-
};
|
|
448
|
-
coingeckoId: string;
|
|
449
|
-
};
|
|
450
|
-
USDzC: {
|
|
451
451
|
name: string;
|
|
452
452
|
/**
|
|
453
453
|
* Retrieves the ERC20 balance for a given address and token address.
|
|
@@ -464,7 +464,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
464
464
|
};
|
|
465
465
|
coingeckoId: string;
|
|
466
466
|
};
|
|
467
|
-
|
|
467
|
+
USDzC: {
|
|
468
468
|
name: string;
|
|
469
469
|
symbol: string;
|
|
470
470
|
decimals: number;
|
|
@@ -473,7 +473,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
473
473
|
};
|
|
474
474
|
coingeckoId: string;
|
|
475
475
|
};
|
|
476
|
-
|
|
476
|
+
USDT: {
|
|
477
477
|
name: string;
|
|
478
478
|
symbol: string;
|
|
479
479
|
decimals: number;
|
|
@@ -482,7 +482,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
482
482
|
};
|
|
483
483
|
coingeckoId: string;
|
|
484
484
|
};
|
|
485
|
-
|
|
485
|
+
WAZERO: {
|
|
486
486
|
name: string;
|
|
487
487
|
symbol: string;
|
|
488
488
|
decimals: number;
|
|
@@ -491,7 +491,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
491
491
|
};
|
|
492
492
|
coingeckoId: string;
|
|
493
493
|
};
|
|
494
|
-
|
|
494
|
+
WBTC: {
|
|
495
495
|
name: string;
|
|
496
496
|
symbol: string;
|
|
497
497
|
decimals: number;
|
|
@@ -500,7 +500,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
500
500
|
};
|
|
501
501
|
coingeckoId: string;
|
|
502
502
|
};
|
|
503
|
-
|
|
503
|
+
WETH: {
|
|
504
504
|
name: string;
|
|
505
505
|
symbol: string;
|
|
506
506
|
decimals: number;
|
|
@@ -509,7 +509,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
509
509
|
};
|
|
510
510
|
coingeckoId: string;
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
WGRASS: {
|
|
513
513
|
name: string;
|
|
514
514
|
symbol: string;
|
|
515
515
|
decimals: number;
|
|
@@ -518,7 +518,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
518
518
|
};
|
|
519
519
|
coingeckoId: string;
|
|
520
520
|
};
|
|
521
|
-
|
|
521
|
+
WMATIC: {
|
|
522
522
|
name: string;
|
|
523
523
|
symbol: string;
|
|
524
524
|
decimals: number;
|
|
@@ -30,7 +30,7 @@ export declare class QueryBase__factory {
|
|
|
30
30
|
};
|
|
31
31
|
coingeckoId: string;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
BADGER: {
|
|
34
34
|
name: string;
|
|
35
35
|
symbol: string;
|
|
36
36
|
decimals: number;
|
|
@@ -39,7 +39,7 @@ export declare class QueryBase__factory {
|
|
|
39
39
|
};
|
|
40
40
|
coingeckoId: string;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
BAL: {
|
|
43
43
|
name: string;
|
|
44
44
|
symbol: string;
|
|
45
45
|
decimals: number;
|
|
@@ -84,6 +84,15 @@ export declare class QueryBase__factory {
|
|
|
84
84
|
};
|
|
85
85
|
coingeckoId: string;
|
|
86
86
|
};
|
|
87
|
+
GRASS: {
|
|
88
|
+
name: string;
|
|
89
|
+
symbol: string;
|
|
90
|
+
decimals: number;
|
|
91
|
+
addresses: {
|
|
92
|
+
[x: number]: string;
|
|
93
|
+
};
|
|
94
|
+
coingeckoId: string;
|
|
95
|
+
};
|
|
87
96
|
LSK: {
|
|
88
97
|
name: string;
|
|
89
98
|
symbol: string;
|
|
@@ -219,16 +228,7 @@ export declare class QueryBase__factory {
|
|
|
219
228
|
};
|
|
220
229
|
coingeckoId: string;
|
|
221
230
|
};
|
|
222
|
-
|
|
223
|
-
name: string;
|
|
224
|
-
symbol: string;
|
|
225
|
-
decimals: number;
|
|
226
|
-
addresses: {
|
|
227
|
-
[x: number]: string;
|
|
228
|
-
};
|
|
229
|
-
coingeckoId: string;
|
|
230
|
-
};
|
|
231
|
-
GRASS: {
|
|
231
|
+
WGRASS: {
|
|
232
232
|
name: string;
|
|
233
233
|
symbol: string;
|
|
234
234
|
decimals: number;
|
|
@@ -237,7 +237,7 @@ export declare class QueryBase__factory {
|
|
|
237
237
|
};
|
|
238
238
|
coingeckoId: string;
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
WMATIC: {
|
|
241
241
|
name: string;
|
|
242
242
|
symbol: string;
|
|
243
243
|
decimals: number;
|
|
@@ -152,7 +152,7 @@ export declare class RelayFeeCalculator {
|
|
|
152
152
|
};
|
|
153
153
|
coingeckoId: string;
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
BADGER: {
|
|
156
156
|
name: string;
|
|
157
157
|
symbol: string;
|
|
158
158
|
decimals: number;
|
|
@@ -161,7 +161,7 @@ export declare class RelayFeeCalculator {
|
|
|
161
161
|
};
|
|
162
162
|
coingeckoId: string;
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
BAL: {
|
|
165
165
|
name: string;
|
|
166
166
|
symbol: string;
|
|
167
167
|
decimals: number;
|
|
@@ -206,6 +206,15 @@ export declare class RelayFeeCalculator {
|
|
|
206
206
|
};
|
|
207
207
|
coingeckoId: string;
|
|
208
208
|
};
|
|
209
|
+
GRASS: {
|
|
210
|
+
name: string;
|
|
211
|
+
symbol: string;
|
|
212
|
+
decimals: number;
|
|
213
|
+
addresses: {
|
|
214
|
+
[x: number]: string;
|
|
215
|
+
};
|
|
216
|
+
coingeckoId: string;
|
|
217
|
+
};
|
|
209
218
|
LSK: {
|
|
210
219
|
name: string;
|
|
211
220
|
symbol: string;
|
|
@@ -341,16 +350,7 @@ export declare class RelayFeeCalculator {
|
|
|
341
350
|
};
|
|
342
351
|
coingeckoId: string;
|
|
343
352
|
};
|
|
344
|
-
|
|
345
|
-
name: string;
|
|
346
|
-
symbol: string;
|
|
347
|
-
decimals: number;
|
|
348
|
-
addresses: {
|
|
349
|
-
[x: number]: string;
|
|
350
|
-
};
|
|
351
|
-
coingeckoId: string;
|
|
352
|
-
};
|
|
353
|
-
GRASS: {
|
|
353
|
+
WGRASS: {
|
|
354
354
|
name: string;
|
|
355
355
|
symbol: string;
|
|
356
356
|
decimals: number;
|
|
@@ -359,7 +359,7 @@ export declare class RelayFeeCalculator {
|
|
|
359
359
|
};
|
|
360
360
|
coingeckoId: string;
|
|
361
361
|
};
|
|
362
|
-
|
|
362
|
+
WMATIC: {
|
|
363
363
|
name: string;
|
|
364
364
|
symbol: string;
|
|
365
365
|
decimals: number;
|
|
@@ -50,7 +50,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
50
50
|
};
|
|
51
51
|
coingeckoId: string;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
BADGER: {
|
|
54
54
|
name: string;
|
|
55
55
|
symbol: string;
|
|
56
56
|
decimals: number;
|
|
@@ -59,7 +59,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
59
59
|
};
|
|
60
60
|
coingeckoId: string;
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
BAL: {
|
|
63
63
|
name: string;
|
|
64
64
|
symbol: string;
|
|
65
65
|
decimals: number;
|
|
@@ -104,6 +104,15 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
104
104
|
};
|
|
105
105
|
coingeckoId: string;
|
|
106
106
|
};
|
|
107
|
+
GRASS: {
|
|
108
|
+
name: string;
|
|
109
|
+
symbol: string;
|
|
110
|
+
decimals: number;
|
|
111
|
+
addresses: {
|
|
112
|
+
[x: number]: string;
|
|
113
|
+
};
|
|
114
|
+
coingeckoId: string;
|
|
115
|
+
};
|
|
107
116
|
LSK: {
|
|
108
117
|
name: string;
|
|
109
118
|
symbol: string;
|
|
@@ -186,15 +195,6 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
186
195
|
coingeckoId: string;
|
|
187
196
|
};
|
|
188
197
|
USDbC: {
|
|
189
|
-
name: string;
|
|
190
|
-
symbol: string;
|
|
191
|
-
decimals: number;
|
|
192
|
-
addresses: {
|
|
193
|
-
[x: number]: string;
|
|
194
|
-
};
|
|
195
|
-
coingeckoId: string;
|
|
196
|
-
};
|
|
197
|
-
USDzC: {
|
|
198
198
|
name: string;
|
|
199
199
|
/**
|
|
200
200
|
* Retrieves the ERC20 balance for a given address and token address.
|
|
@@ -211,7 +211,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
211
211
|
};
|
|
212
212
|
coingeckoId: string;
|
|
213
213
|
};
|
|
214
|
-
|
|
214
|
+
USDzC: {
|
|
215
215
|
name: string;
|
|
216
216
|
symbol: string;
|
|
217
217
|
decimals: number;
|
|
@@ -220,7 +220,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
220
220
|
};
|
|
221
221
|
coingeckoId: string;
|
|
222
222
|
};
|
|
223
|
-
|
|
223
|
+
USDT: {
|
|
224
224
|
name: string;
|
|
225
225
|
symbol: string;
|
|
226
226
|
decimals: number;
|
|
@@ -229,7 +229,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
229
229
|
};
|
|
230
230
|
coingeckoId: string;
|
|
231
231
|
};
|
|
232
|
-
|
|
232
|
+
WAZERO: {
|
|
233
233
|
name: string;
|
|
234
234
|
symbol: string;
|
|
235
235
|
decimals: number;
|
|
@@ -238,7 +238,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
238
238
|
};
|
|
239
239
|
coingeckoId: string;
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
WBTC: {
|
|
242
242
|
name: string;
|
|
243
243
|
symbol: string;
|
|
244
244
|
decimals: number;
|
|
@@ -247,7 +247,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
247
247
|
};
|
|
248
248
|
coingeckoId: string;
|
|
249
249
|
};
|
|
250
|
-
|
|
250
|
+
WETH: {
|
|
251
251
|
name: string;
|
|
252
252
|
symbol: string;
|
|
253
253
|
decimals: number;
|
|
@@ -256,7 +256,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
256
256
|
};
|
|
257
257
|
coingeckoId: string;
|
|
258
258
|
};
|
|
259
|
-
|
|
259
|
+
WGRASS: {
|
|
260
260
|
name: string;
|
|
261
261
|
symbol: string;
|
|
262
262
|
decimals: number;
|
|
@@ -265,7 +265,7 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: string
|
|
|
265
265
|
};
|
|
266
266
|
coingeckoId: string;
|
|
267
267
|
};
|
|
268
|
-
|
|
268
|
+
WMATIC: {
|
|
269
269
|
name: string;
|
|
270
270
|
symbol: string;
|
|
271
271
|
decimals: number;
|
|
@@ -303,7 +303,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
303
303
|
};
|
|
304
304
|
coingeckoId: string;
|
|
305
305
|
};
|
|
306
|
-
|
|
306
|
+
BADGER: {
|
|
307
307
|
name: string;
|
|
308
308
|
symbol: string;
|
|
309
309
|
decimals: number;
|
|
@@ -312,7 +312,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
312
312
|
};
|
|
313
313
|
coingeckoId: string;
|
|
314
314
|
};
|
|
315
|
-
|
|
315
|
+
BAL: {
|
|
316
316
|
name: string;
|
|
317
317
|
symbol: string;
|
|
318
318
|
decimals: number;
|
|
@@ -357,6 +357,15 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
357
357
|
};
|
|
358
358
|
coingeckoId: string;
|
|
359
359
|
};
|
|
360
|
+
GRASS: {
|
|
361
|
+
name: string;
|
|
362
|
+
symbol: string;
|
|
363
|
+
decimals: number;
|
|
364
|
+
addresses: {
|
|
365
|
+
[x: number]: string;
|
|
366
|
+
};
|
|
367
|
+
coingeckoId: string;
|
|
368
|
+
};
|
|
360
369
|
LSK: {
|
|
361
370
|
name: string;
|
|
362
371
|
symbol: string;
|
|
@@ -439,15 +448,6 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
439
448
|
coingeckoId: string;
|
|
440
449
|
};
|
|
441
450
|
USDbC: {
|
|
442
|
-
name: string;
|
|
443
|
-
symbol: string;
|
|
444
|
-
decimals: number;
|
|
445
|
-
addresses: {
|
|
446
|
-
[x: number]: string;
|
|
447
|
-
};
|
|
448
|
-
coingeckoId: string;
|
|
449
|
-
};
|
|
450
|
-
USDzC: {
|
|
451
451
|
name: string;
|
|
452
452
|
/**
|
|
453
453
|
* Retrieves the ERC20 balance for a given address and token address.
|
|
@@ -464,7 +464,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
464
464
|
};
|
|
465
465
|
coingeckoId: string;
|
|
466
466
|
};
|
|
467
|
-
|
|
467
|
+
USDzC: {
|
|
468
468
|
name: string;
|
|
469
469
|
symbol: string;
|
|
470
470
|
decimals: number;
|
|
@@ -473,7 +473,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
473
473
|
};
|
|
474
474
|
coingeckoId: string;
|
|
475
475
|
};
|
|
476
|
-
|
|
476
|
+
USDT: {
|
|
477
477
|
name: string;
|
|
478
478
|
symbol: string;
|
|
479
479
|
decimals: number;
|
|
@@ -482,7 +482,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
482
482
|
};
|
|
483
483
|
coingeckoId: string;
|
|
484
484
|
};
|
|
485
|
-
|
|
485
|
+
WAZERO: {
|
|
486
486
|
name: string;
|
|
487
487
|
symbol: string;
|
|
488
488
|
decimals: number;
|
|
@@ -491,7 +491,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
491
491
|
};
|
|
492
492
|
coingeckoId: string;
|
|
493
493
|
};
|
|
494
|
-
|
|
494
|
+
WBTC: {
|
|
495
495
|
name: string;
|
|
496
496
|
symbol: string;
|
|
497
497
|
decimals: number;
|
|
@@ -500,7 +500,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
500
500
|
};
|
|
501
501
|
coingeckoId: string;
|
|
502
502
|
};
|
|
503
|
-
|
|
503
|
+
WETH: {
|
|
504
504
|
name: string;
|
|
505
505
|
symbol: string;
|
|
506
506
|
decimals: number;
|
|
@@ -509,7 +509,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
509
509
|
};
|
|
510
510
|
coingeckoId: string;
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
WGRASS: {
|
|
513
513
|
name: string;
|
|
514
514
|
symbol: string;
|
|
515
515
|
decimals: number;
|
|
@@ -518,7 +518,7 @@ export declare function getTokenInformationFromAddress(address: string, tokenMap
|
|
|
518
518
|
};
|
|
519
519
|
coingeckoId: string;
|
|
520
520
|
};
|
|
521
|
-
|
|
521
|
+
WMATIC: {
|
|
522
522
|
name: string;
|
|
523
523
|
symbol: string;
|
|
524
524
|
decimals: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@across-protocol/sdk",
|
|
3
3
|
"author": "UMA Team",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.12",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"homepage": "https://docs.across.to/reference/sdk",
|
|
7
7
|
"files": [
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"@across-protocol/across-token": "^1.0.0",
|
|
102
|
-
"@across-protocol/constants": "^3.1.
|
|
103
|
-
"@across-protocol/contracts": "^3.0.
|
|
102
|
+
"@across-protocol/constants": "^3.1.30",
|
|
103
|
+
"@across-protocol/contracts": "^3.0.25",
|
|
104
104
|
"@eth-optimism/sdk": "^3.3.1",
|
|
105
105
|
"@ethersproject/bignumber": "^5.7.0",
|
|
106
106
|
"@pinata/sdk": "^2.1.0",
|