@tokemak/queries 0.1.7 → 0.2.0
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/functions/getAutopoolDayData.d.ts.map +1 -1
- package/dist/functions/getAutopoolHistory.d.ts.map +1 -1
- package/dist/functions/getAutopoolUserHistory.d.ts +1 -0
- package/dist/functions/getAutopoolUserHistory.d.ts.map +1 -1
- package/dist/functions/getAutopools.d.ts +15 -15
- package/dist/functions/getAutopools.d.ts.map +1 -1
- package/dist/functions/getAutopoolsRebalances.d.ts.map +1 -1
- package/dist/functions/getBaseChainUserActivity.d.ts +10 -0
- package/dist/functions/getBaseChainUserActivity.d.ts.map +1 -0
- package/dist/functions/getChainAutopools.d.ts +15 -15
- package/dist/functions/getChainAutopools.d.ts.map +1 -1
- package/dist/functions/getChainSTokeRewards.d.ts.map +1 -1
- package/dist/functions/getChainUserActivity.d.ts +1 -0
- package/dist/functions/getChainUserActivity.d.ts.map +1 -1
- package/dist/functions/getCombinedRewards.d.ts.map +1 -1
- package/dist/functions/getMultipleAutopoolRebalances.d.ts.map +1 -1
- package/dist/functions/getTokenPrices.d.ts +71 -71
- package/dist/functions/getUserAutopool.d.ts +3 -3
- package/dist/functions/getUserAutopoolBalanceChanges.d.ts.map +1 -1
- package/dist/functions/getUserAutopools.d.ts +9 -9
- package/dist/functions/getUserMerklRewards.d.ts +2 -1
- package/dist/functions/getUserMerklRewards.d.ts.map +1 -1
- package/dist/functions/index.d.ts +1 -0
- package/dist/functions/index.d.ts.map +1 -1
- package/dist/index.js +71 -30
- package/dist/index.mjs +70 -30
- package/package.json +5 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const BASE_ASSETS: readonly [{
|
|
2
2
|
readonly symbol: "ETH";
|
|
3
3
|
readonly coinGeckoId: "ethereum";
|
|
4
|
-
readonly address:
|
|
4
|
+
readonly address: `0x${string}`;
|
|
5
5
|
readonly chainId: number;
|
|
6
6
|
readonly decimals: number;
|
|
7
7
|
readonly logoURI: string;
|
|
8
8
|
readonly name: string;
|
|
9
9
|
readonly audits?: string;
|
|
10
10
|
readonly extensions?: {
|
|
11
|
-
bridgeMainnetAdapter?:
|
|
11
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
12
12
|
bridgeInfo?: {
|
|
13
13
|
[chainId: number]: {
|
|
14
|
-
tokenAddress:
|
|
14
|
+
tokenAddress: `0x${string}`;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
rebasing?: boolean;
|
|
@@ -20,17 +20,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
20
20
|
}, {
|
|
21
21
|
readonly symbol: "PXETH";
|
|
22
22
|
readonly coinGeckoId: "dinero-staked-eth";
|
|
23
|
-
readonly address:
|
|
23
|
+
readonly address: `0x${string}`;
|
|
24
24
|
readonly chainId: number;
|
|
25
25
|
readonly decimals: number;
|
|
26
26
|
readonly logoURI: string;
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly audits?: string;
|
|
29
29
|
readonly extensions?: {
|
|
30
|
-
bridgeMainnetAdapter?:
|
|
30
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
31
31
|
bridgeInfo?: {
|
|
32
32
|
[chainId: number]: {
|
|
33
|
-
tokenAddress:
|
|
33
|
+
tokenAddress: `0x${string}`;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
rebasing?: boolean;
|
|
@@ -39,17 +39,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
39
39
|
}, {
|
|
40
40
|
readonly symbol: "USDC";
|
|
41
41
|
readonly coinGeckoId: "usd-coin";
|
|
42
|
-
readonly address:
|
|
42
|
+
readonly address: `0x${string}`;
|
|
43
43
|
readonly chainId: number;
|
|
44
44
|
readonly decimals: number;
|
|
45
45
|
readonly logoURI: string;
|
|
46
46
|
readonly name: string;
|
|
47
47
|
readonly audits?: string;
|
|
48
48
|
readonly extensions?: {
|
|
49
|
-
bridgeMainnetAdapter?:
|
|
49
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
50
50
|
bridgeInfo?: {
|
|
51
51
|
[chainId: number]: {
|
|
52
|
-
tokenAddress:
|
|
52
|
+
tokenAddress: `0x${string}`;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
rebasing?: boolean;
|
|
@@ -58,17 +58,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
58
58
|
}, {
|
|
59
59
|
readonly symbol: "DOLA";
|
|
60
60
|
readonly coinGeckoId: "dola-usd";
|
|
61
|
-
readonly address:
|
|
61
|
+
readonly address: `0x${string}`;
|
|
62
62
|
readonly chainId: number;
|
|
63
63
|
readonly decimals: number;
|
|
64
64
|
readonly logoURI: string;
|
|
65
65
|
readonly name: string;
|
|
66
66
|
readonly audits?: string;
|
|
67
67
|
readonly extensions?: {
|
|
68
|
-
bridgeMainnetAdapter?:
|
|
68
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
69
69
|
bridgeInfo?: {
|
|
70
70
|
[chainId: number]: {
|
|
71
|
-
tokenAddress:
|
|
71
|
+
tokenAddress: `0x${string}`;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
rebasing?: boolean;
|
|
@@ -76,17 +76,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
76
76
|
};
|
|
77
77
|
}, {
|
|
78
78
|
readonly symbol: "S";
|
|
79
|
-
readonly address:
|
|
79
|
+
readonly address: `0x${string}`;
|
|
80
80
|
readonly chainId: number;
|
|
81
81
|
readonly decimals: number;
|
|
82
82
|
readonly logoURI: string;
|
|
83
83
|
readonly name: string;
|
|
84
84
|
readonly audits?: string;
|
|
85
85
|
readonly extensions?: {
|
|
86
|
-
bridgeMainnetAdapter?:
|
|
86
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
87
87
|
bridgeInfo?: {
|
|
88
88
|
[chainId: number]: {
|
|
89
|
-
tokenAddress:
|
|
89
|
+
tokenAddress: `0x${string}`;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
rebasing?: boolean;
|
|
@@ -95,17 +95,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
95
95
|
}, {
|
|
96
96
|
readonly symbol: "EURC";
|
|
97
97
|
readonly coinGeckoId: "euro-coin";
|
|
98
|
-
readonly address:
|
|
98
|
+
readonly address: `0x${string}`;
|
|
99
99
|
readonly chainId: number;
|
|
100
100
|
readonly decimals: number;
|
|
101
101
|
readonly logoURI: string;
|
|
102
102
|
readonly name: string;
|
|
103
103
|
readonly audits?: string;
|
|
104
104
|
readonly extensions?: {
|
|
105
|
-
bridgeMainnetAdapter?:
|
|
105
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
106
106
|
bridgeInfo?: {
|
|
107
107
|
[chainId: number]: {
|
|
108
|
-
tokenAddress:
|
|
108
|
+
tokenAddress: `0x${string}`;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
rebasing?: boolean;
|
|
@@ -114,17 +114,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
114
114
|
}, {
|
|
115
115
|
readonly symbol: "USDT";
|
|
116
116
|
readonly coinGeckoId: "tether";
|
|
117
|
-
readonly address:
|
|
117
|
+
readonly address: `0x${string}`;
|
|
118
118
|
readonly chainId: number;
|
|
119
119
|
readonly decimals: number;
|
|
120
120
|
readonly logoURI: string;
|
|
121
121
|
readonly name: string;
|
|
122
122
|
readonly audits?: string;
|
|
123
123
|
readonly extensions?: {
|
|
124
|
-
bridgeMainnetAdapter?:
|
|
124
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
125
125
|
bridgeInfo?: {
|
|
126
126
|
[chainId: number]: {
|
|
127
|
-
tokenAddress:
|
|
127
|
+
tokenAddress: `0x${string}`;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
rebasing?: boolean;
|
|
@@ -133,17 +133,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
133
133
|
}, {
|
|
134
134
|
readonly symbol: "USDT0";
|
|
135
135
|
readonly coinGeckoId: "tether";
|
|
136
|
-
readonly address:
|
|
136
|
+
readonly address: `0x${string}`;
|
|
137
137
|
readonly chainId: number;
|
|
138
138
|
readonly decimals: number;
|
|
139
139
|
readonly logoURI: string;
|
|
140
140
|
readonly name: string;
|
|
141
141
|
readonly audits?: string;
|
|
142
142
|
readonly extensions?: {
|
|
143
|
-
bridgeMainnetAdapter?:
|
|
143
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
144
144
|
bridgeInfo?: {
|
|
145
145
|
[chainId: number]: {
|
|
146
|
-
tokenAddress:
|
|
146
|
+
tokenAddress: `0x${string}`;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
149
|
rebasing?: boolean;
|
|
@@ -153,17 +153,17 @@ export declare const BASE_ASSETS: readonly [{
|
|
|
153
153
|
export declare const PRICED_TOKENS: readonly [{
|
|
154
154
|
readonly symbol: "ETH";
|
|
155
155
|
readonly coinGeckoId: "ethereum";
|
|
156
|
-
readonly address:
|
|
156
|
+
readonly address: `0x${string}`;
|
|
157
157
|
readonly chainId: number;
|
|
158
158
|
readonly decimals: number;
|
|
159
159
|
readonly logoURI: string;
|
|
160
160
|
readonly name: string;
|
|
161
161
|
readonly audits?: string;
|
|
162
162
|
readonly extensions?: {
|
|
163
|
-
bridgeMainnetAdapter?:
|
|
163
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
164
164
|
bridgeInfo?: {
|
|
165
165
|
[chainId: number]: {
|
|
166
|
-
tokenAddress:
|
|
166
|
+
tokenAddress: `0x${string}`;
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
rebasing?: boolean;
|
|
@@ -172,17 +172,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
172
172
|
}, {
|
|
173
173
|
readonly symbol: "PXETH";
|
|
174
174
|
readonly coinGeckoId: "dinero-staked-eth";
|
|
175
|
-
readonly address:
|
|
175
|
+
readonly address: `0x${string}`;
|
|
176
176
|
readonly chainId: number;
|
|
177
177
|
readonly decimals: number;
|
|
178
178
|
readonly logoURI: string;
|
|
179
179
|
readonly name: string;
|
|
180
180
|
readonly audits?: string;
|
|
181
181
|
readonly extensions?: {
|
|
182
|
-
bridgeMainnetAdapter?:
|
|
182
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
183
183
|
bridgeInfo?: {
|
|
184
184
|
[chainId: number]: {
|
|
185
|
-
tokenAddress:
|
|
185
|
+
tokenAddress: `0x${string}`;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
rebasing?: boolean;
|
|
@@ -191,17 +191,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
191
191
|
}, {
|
|
192
192
|
readonly symbol: "USDC";
|
|
193
193
|
readonly coinGeckoId: "usd-coin";
|
|
194
|
-
readonly address:
|
|
194
|
+
readonly address: `0x${string}`;
|
|
195
195
|
readonly chainId: number;
|
|
196
196
|
readonly decimals: number;
|
|
197
197
|
readonly logoURI: string;
|
|
198
198
|
readonly name: string;
|
|
199
199
|
readonly audits?: string;
|
|
200
200
|
readonly extensions?: {
|
|
201
|
-
bridgeMainnetAdapter?:
|
|
201
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
202
202
|
bridgeInfo?: {
|
|
203
203
|
[chainId: number]: {
|
|
204
|
-
tokenAddress:
|
|
204
|
+
tokenAddress: `0x${string}`;
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
rebasing?: boolean;
|
|
@@ -210,17 +210,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
210
210
|
}, {
|
|
211
211
|
readonly symbol: "DOLA";
|
|
212
212
|
readonly coinGeckoId: "dola-usd";
|
|
213
|
-
readonly address:
|
|
213
|
+
readonly address: `0x${string}`;
|
|
214
214
|
readonly chainId: number;
|
|
215
215
|
readonly decimals: number;
|
|
216
216
|
readonly logoURI: string;
|
|
217
217
|
readonly name: string;
|
|
218
218
|
readonly audits?: string;
|
|
219
219
|
readonly extensions?: {
|
|
220
|
-
bridgeMainnetAdapter?:
|
|
220
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
221
221
|
bridgeInfo?: {
|
|
222
222
|
[chainId: number]: {
|
|
223
|
-
tokenAddress:
|
|
223
|
+
tokenAddress: `0x${string}`;
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
rebasing?: boolean;
|
|
@@ -228,17 +228,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
228
228
|
};
|
|
229
229
|
}, {
|
|
230
230
|
readonly symbol: "S";
|
|
231
|
-
readonly address:
|
|
231
|
+
readonly address: `0x${string}`;
|
|
232
232
|
readonly chainId: number;
|
|
233
233
|
readonly decimals: number;
|
|
234
234
|
readonly logoURI: string;
|
|
235
235
|
readonly name: string;
|
|
236
236
|
readonly audits?: string;
|
|
237
237
|
readonly extensions?: {
|
|
238
|
-
bridgeMainnetAdapter?:
|
|
238
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
239
239
|
bridgeInfo?: {
|
|
240
240
|
[chainId: number]: {
|
|
241
|
-
tokenAddress:
|
|
241
|
+
tokenAddress: `0x${string}`;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
rebasing?: boolean;
|
|
@@ -247,17 +247,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
247
247
|
}, {
|
|
248
248
|
readonly symbol: "EURC";
|
|
249
249
|
readonly coinGeckoId: "euro-coin";
|
|
250
|
-
readonly address:
|
|
250
|
+
readonly address: `0x${string}`;
|
|
251
251
|
readonly chainId: number;
|
|
252
252
|
readonly decimals: number;
|
|
253
253
|
readonly logoURI: string;
|
|
254
254
|
readonly name: string;
|
|
255
255
|
readonly audits?: string;
|
|
256
256
|
readonly extensions?: {
|
|
257
|
-
bridgeMainnetAdapter?:
|
|
257
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
258
258
|
bridgeInfo?: {
|
|
259
259
|
[chainId: number]: {
|
|
260
|
-
tokenAddress:
|
|
260
|
+
tokenAddress: `0x${string}`;
|
|
261
261
|
};
|
|
262
262
|
};
|
|
263
263
|
rebasing?: boolean;
|
|
@@ -266,17 +266,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
266
266
|
}, {
|
|
267
267
|
readonly symbol: "USDT";
|
|
268
268
|
readonly coinGeckoId: "tether";
|
|
269
|
-
readonly address:
|
|
269
|
+
readonly address: `0x${string}`;
|
|
270
270
|
readonly chainId: number;
|
|
271
271
|
readonly decimals: number;
|
|
272
272
|
readonly logoURI: string;
|
|
273
273
|
readonly name: string;
|
|
274
274
|
readonly audits?: string;
|
|
275
275
|
readonly extensions?: {
|
|
276
|
-
bridgeMainnetAdapter?:
|
|
276
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
277
277
|
bridgeInfo?: {
|
|
278
278
|
[chainId: number]: {
|
|
279
|
-
tokenAddress:
|
|
279
|
+
tokenAddress: `0x${string}`;
|
|
280
280
|
};
|
|
281
281
|
};
|
|
282
282
|
rebasing?: boolean;
|
|
@@ -285,17 +285,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
285
285
|
}, {
|
|
286
286
|
readonly symbol: "USDT0";
|
|
287
287
|
readonly coinGeckoId: "tether";
|
|
288
|
-
readonly address:
|
|
288
|
+
readonly address: `0x${string}`;
|
|
289
289
|
readonly chainId: number;
|
|
290
290
|
readonly decimals: number;
|
|
291
291
|
readonly logoURI: string;
|
|
292
292
|
readonly name: string;
|
|
293
293
|
readonly audits?: string;
|
|
294
294
|
readonly extensions?: {
|
|
295
|
-
bridgeMainnetAdapter?:
|
|
295
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
296
296
|
bridgeInfo?: {
|
|
297
297
|
[chainId: number]: {
|
|
298
|
-
tokenAddress:
|
|
298
|
+
tokenAddress: `0x${string}`;
|
|
299
299
|
};
|
|
300
300
|
};
|
|
301
301
|
rebasing?: boolean;
|
|
@@ -303,17 +303,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
303
303
|
};
|
|
304
304
|
}, {
|
|
305
305
|
readonly symbol: "TOKE";
|
|
306
|
-
readonly address:
|
|
306
|
+
readonly address: `0x${string}`;
|
|
307
307
|
readonly chainId: number;
|
|
308
308
|
readonly decimals: number;
|
|
309
309
|
readonly logoURI: string;
|
|
310
310
|
readonly name: string;
|
|
311
311
|
readonly audits?: string;
|
|
312
312
|
readonly extensions?: {
|
|
313
|
-
bridgeMainnetAdapter?:
|
|
313
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
314
314
|
bridgeInfo?: {
|
|
315
315
|
[chainId: number]: {
|
|
316
|
-
tokenAddress:
|
|
316
|
+
tokenAddress: `0x${string}`;
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
319
|
rebasing?: boolean;
|
|
@@ -321,17 +321,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
321
321
|
};
|
|
322
322
|
}, {
|
|
323
323
|
readonly symbol: "AUTO";
|
|
324
|
-
readonly address:
|
|
324
|
+
readonly address: `0x${string}`;
|
|
325
325
|
readonly chainId: number;
|
|
326
326
|
readonly decimals: number;
|
|
327
327
|
readonly logoURI: string;
|
|
328
328
|
readonly name: string;
|
|
329
329
|
readonly audits?: string;
|
|
330
330
|
readonly extensions?: {
|
|
331
|
-
bridgeMainnetAdapter?:
|
|
331
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
332
332
|
bridgeInfo?: {
|
|
333
333
|
[chainId: number]: {
|
|
334
|
-
tokenAddress:
|
|
334
|
+
tokenAddress: `0x${string}`;
|
|
335
335
|
};
|
|
336
336
|
};
|
|
337
337
|
rebasing?: boolean;
|
|
@@ -339,17 +339,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
339
339
|
};
|
|
340
340
|
}, {
|
|
341
341
|
readonly symbol: "SILO";
|
|
342
|
-
readonly address:
|
|
342
|
+
readonly address: `0x${string}`;
|
|
343
343
|
readonly chainId: number;
|
|
344
344
|
readonly decimals: number;
|
|
345
345
|
readonly logoURI: string;
|
|
346
346
|
readonly name: string;
|
|
347
347
|
readonly audits?: string;
|
|
348
348
|
readonly extensions?: {
|
|
349
|
-
bridgeMainnetAdapter?:
|
|
349
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
350
350
|
bridgeInfo?: {
|
|
351
351
|
[chainId: number]: {
|
|
352
|
-
tokenAddress:
|
|
352
|
+
tokenAddress: `0x${string}`;
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
rebasing?: boolean;
|
|
@@ -364,10 +364,10 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
364
364
|
readonly name: string;
|
|
365
365
|
readonly audits?: string;
|
|
366
366
|
readonly extensions?: {
|
|
367
|
-
bridgeMainnetAdapter?:
|
|
367
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
368
368
|
bridgeInfo?: {
|
|
369
369
|
[chainId: number]: {
|
|
370
|
-
tokenAddress:
|
|
370
|
+
tokenAddress: `0x${string}`;
|
|
371
371
|
};
|
|
372
372
|
};
|
|
373
373
|
rebasing?: boolean;
|
|
@@ -375,17 +375,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
375
375
|
};
|
|
376
376
|
}, {
|
|
377
377
|
readonly symbol: "USDT0";
|
|
378
|
-
readonly address:
|
|
378
|
+
readonly address: `0x${string}`;
|
|
379
379
|
readonly chainId: number;
|
|
380
380
|
readonly decimals: number;
|
|
381
381
|
readonly logoURI: string;
|
|
382
382
|
readonly name: string;
|
|
383
383
|
readonly audits?: string;
|
|
384
384
|
readonly extensions?: {
|
|
385
|
-
bridgeMainnetAdapter?:
|
|
385
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
386
386
|
bridgeInfo?: {
|
|
387
387
|
[chainId: number]: {
|
|
388
|
-
tokenAddress:
|
|
388
|
+
tokenAddress: `0x${string}`;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
rebasing?: boolean;
|
|
@@ -395,17 +395,17 @@ export declare const PRICED_TOKENS: readonly [{
|
|
|
395
395
|
export type BaseAsset = (typeof BASE_ASSETS)[number]["symbol"];
|
|
396
396
|
declare const WRAPPED_TOKENS: readonly [{
|
|
397
397
|
readonly symbol: "WETH";
|
|
398
|
-
readonly address:
|
|
398
|
+
readonly address: `0x${string}`;
|
|
399
399
|
readonly chainId: number;
|
|
400
400
|
readonly decimals: number;
|
|
401
401
|
readonly logoURI: string;
|
|
402
402
|
readonly name: string;
|
|
403
403
|
readonly audits?: string;
|
|
404
404
|
readonly extensions?: {
|
|
405
|
-
bridgeMainnetAdapter?:
|
|
405
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
406
406
|
bridgeInfo?: {
|
|
407
407
|
[chainId: number]: {
|
|
408
|
-
tokenAddress:
|
|
408
|
+
tokenAddress: `0x${string}`;
|
|
409
409
|
};
|
|
410
410
|
};
|
|
411
411
|
rebasing?: boolean;
|
|
@@ -413,17 +413,17 @@ declare const WRAPPED_TOKENS: readonly [{
|
|
|
413
413
|
};
|
|
414
414
|
}, {
|
|
415
415
|
readonly symbol: "WS";
|
|
416
|
-
readonly address:
|
|
416
|
+
readonly address: `0x${string}`;
|
|
417
417
|
readonly chainId: number;
|
|
418
418
|
readonly decimals: number;
|
|
419
419
|
readonly logoURI: string;
|
|
420
420
|
readonly name: string;
|
|
421
421
|
readonly audits?: string;
|
|
422
422
|
readonly extensions?: {
|
|
423
|
-
bridgeMainnetAdapter?:
|
|
423
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
424
424
|
bridgeInfo?: {
|
|
425
425
|
[chainId: number]: {
|
|
426
|
-
tokenAddress:
|
|
426
|
+
tokenAddress: `0x${string}`;
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
429
|
rebasing?: boolean;
|
|
@@ -431,17 +431,17 @@ declare const WRAPPED_TOKENS: readonly [{
|
|
|
431
431
|
};
|
|
432
432
|
}, {
|
|
433
433
|
readonly symbol: "WXPL";
|
|
434
|
-
readonly address:
|
|
434
|
+
readonly address: `0x${string}`;
|
|
435
435
|
readonly chainId: number;
|
|
436
436
|
readonly decimals: number;
|
|
437
437
|
readonly logoURI: string;
|
|
438
438
|
readonly name: string;
|
|
439
439
|
readonly audits?: string;
|
|
440
440
|
readonly extensions?: {
|
|
441
|
-
bridgeMainnetAdapter?:
|
|
441
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
442
442
|
bridgeInfo?: {
|
|
443
443
|
[chainId: number]: {
|
|
444
|
-
tokenAddress:
|
|
444
|
+
tokenAddress: `0x${string}`;
|
|
445
445
|
};
|
|
446
446
|
};
|
|
447
447
|
rebasing?: boolean;
|
|
@@ -31,7 +31,7 @@ export declare const getUserAutopool: (wagmiConfig: Config, { address, autopool,
|
|
|
31
31
|
useDenomination: boolean;
|
|
32
32
|
denomination: {
|
|
33
33
|
price: number;
|
|
34
|
-
address:
|
|
34
|
+
address: `0x${string}`;
|
|
35
35
|
chainId: number;
|
|
36
36
|
decimals: number;
|
|
37
37
|
logoURI: string;
|
|
@@ -39,10 +39,10 @@ export declare const getUserAutopool: (wagmiConfig: Config, { address, autopool,
|
|
|
39
39
|
symbol: string;
|
|
40
40
|
audits?: string;
|
|
41
41
|
extensions?: {
|
|
42
|
-
bridgeMainnetAdapter?:
|
|
42
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
43
43
|
bridgeInfo?: {
|
|
44
44
|
[chainId: number]: {
|
|
45
|
-
tokenAddress:
|
|
45
|
+
tokenAddress: `0x${string}`;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
rebasing?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserAutopoolBalanceChanges.d.ts","sourceRoot":"","sources":["../../functions/getUserAutopoolBalanceChanges.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIpD,eAAO,MAAM,6BAA6B,GAAU,6BAGjD;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;;;;;
|
|
1
|
+
{"version":3,"file":"getUserAutopoolBalanceChanges.d.ts","sourceRoot":"","sources":["../../functions/getUserAutopoolBalanceChanges.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIpD,eAAO,MAAM,6BAA6B,GAAU,6BAGjD;IACD,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;;;;;kBA0BuxmkD,CAAC;;;;;IADxxmkD,CAAC"}
|
|
@@ -201,7 +201,7 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
201
201
|
allocation: number;
|
|
202
202
|
valueUsd: number;
|
|
203
203
|
value: number;
|
|
204
|
-
address:
|
|
204
|
+
address: `0x${string}`;
|
|
205
205
|
chainId: number;
|
|
206
206
|
decimals: number;
|
|
207
207
|
logoURI: string;
|
|
@@ -209,10 +209,10 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
209
209
|
symbol: string;
|
|
210
210
|
audits?: string;
|
|
211
211
|
extensions?: {
|
|
212
|
-
bridgeMainnetAdapter?:
|
|
212
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
213
213
|
bridgeInfo?: {
|
|
214
214
|
[chainId: number]: {
|
|
215
|
-
tokenAddress:
|
|
215
|
+
tokenAddress: `0x${string}`;
|
|
216
216
|
};
|
|
217
217
|
};
|
|
218
218
|
rebasing?: boolean;
|
|
@@ -227,7 +227,7 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
227
227
|
underlyingTokens: {
|
|
228
228
|
valueUsd: number;
|
|
229
229
|
value: number;
|
|
230
|
-
address:
|
|
230
|
+
address: `0x${string}`;
|
|
231
231
|
chainId: number;
|
|
232
232
|
decimals: number;
|
|
233
233
|
logoURI: string;
|
|
@@ -235,10 +235,10 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
235
235
|
symbol: string;
|
|
236
236
|
audits?: string;
|
|
237
237
|
extensions?: {
|
|
238
|
-
bridgeMainnetAdapter?:
|
|
238
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
239
239
|
bridgeInfo?: {
|
|
240
240
|
[chainId: number]: {
|
|
241
|
-
tokenAddress:
|
|
241
|
+
tokenAddress: `0x${string}`;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
rebasing?: boolean;
|
|
@@ -392,7 +392,7 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
392
392
|
baseAsset: IToken;
|
|
393
393
|
denomination: {
|
|
394
394
|
price: number;
|
|
395
|
-
address:
|
|
395
|
+
address: `0x${string}`;
|
|
396
396
|
chainId: number;
|
|
397
397
|
decimals: number;
|
|
398
398
|
logoURI: string;
|
|
@@ -400,10 +400,10 @@ export declare const getUserAutopools: ({ address, includeTestnet, autopools, us
|
|
|
400
400
|
symbol: string;
|
|
401
401
|
audits?: string;
|
|
402
402
|
extensions?: {
|
|
403
|
-
bridgeMainnetAdapter?:
|
|
403
|
+
bridgeMainnetAdapter?: `0x${string}`;
|
|
404
404
|
bridgeInfo?: {
|
|
405
405
|
[chainId: number]: {
|
|
406
|
-
tokenAddress:
|
|
406
|
+
tokenAddress: `0x${string}`;
|
|
407
407
|
};
|
|
408
408
|
};
|
|
409
409
|
rebasing?: boolean;
|
|
@@ -17,6 +17,7 @@ export declare const getUserMerklRewards: (address: Address) => Promise<{
|
|
|
17
17
|
pending: string;
|
|
18
18
|
campaignId: string;
|
|
19
19
|
campaignStatus?: {
|
|
20
|
+
campaignId: string;
|
|
20
21
|
computedUntil: string | number;
|
|
21
22
|
processingStarted: string | number;
|
|
22
23
|
status: string;
|
|
@@ -24,7 +25,7 @@ export declare const getUserMerklRewards: (address: Address) => Promise<{
|
|
|
24
25
|
preComputeStatus: string;
|
|
25
26
|
delay?: number | undefined;
|
|
26
27
|
error?: string | undefined;
|
|
27
|
-
details?:
|
|
28
|
+
details?: unknown;
|
|
28
29
|
} | undefined;
|
|
29
30
|
}[];
|
|
30
31
|
claimed: string | bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserMerklRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserMerklRewards.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,eAAO,MAAM,mBAAmB,GAAU,SAAS,OAAO;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getUserMerklRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserMerklRewards.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,eAAO,MAAM,mBAAmB,GAAU,SAAS,OAAO;;;;;;;;;;;;;;;;;0BAkBsm3gC,CAAC;;;;;;;qBAA6e,CAAC;qBAAuE,CAAC;uBAAyE,CAAC;;;;;;;;EADhy4gC,CAAC"}
|
|
@@ -38,6 +38,7 @@ export * from "./getTokenList";
|
|
|
38
38
|
export * from "./getTopAutopoolHolders";
|
|
39
39
|
export * from "./getAllowance";
|
|
40
40
|
export * from "./getUserActivity";
|
|
41
|
+
export * from "./getBaseChainUserActivity";
|
|
41
42
|
export * from "./getUserAutopoolsRewards";
|
|
42
43
|
export * from "./getAmountWithdrawn";
|
|
43
44
|
export * from "./getAmountDeposited";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB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