@tokemak/queries 0.2.1 → 0.3.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/getAutopoolUser.d.ts +14 -0
- package/dist/functions/getAutopoolUser.d.ts.map +1 -1
- package/dist/functions/getAutopools.d.ts +25 -15
- package/dist/functions/getAutopools.d.ts.map +1 -1
- package/dist/functions/getChainAutopools.d.ts +26 -16
- package/dist/functions/getChainAutopools.d.ts.map +1 -1
- package/dist/functions/getMerklCreatorApr.d.ts +1 -1
- package/dist/functions/getMerklCreatorApr.d.ts.map +1 -1
- package/dist/functions/getTokenPrices.d.ts +107 -71
- package/dist/functions/getTokenPrices.d.ts.map +1 -1
- package/dist/functions/getUserAutopool.d.ts +3 -3
- package/dist/functions/getUserAutopools.d.ts +27 -9
- package/dist/functions/getUserAutopools.d.ts.map +1 -1
- package/dist/functions/getUserMerklRewards.d.ts.map +1 -1
- package/dist/functions/getUserTokenBalances.d.ts +1 -2
- package/dist/functions/getUserTokenBalances.d.ts.map +1 -1
- package/dist/index.js +52 -52
- package/dist/index.mjs +49 -47
- package/dist/utils/convertBaseAssetToTokenPricesAndDenom.d.ts +2 -0
- package/dist/utils/convertBaseAssetToTokenPricesAndDenom.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -33,8 +33,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
33
33
|
AUTO: number;
|
|
34
34
|
SILO: number;
|
|
35
35
|
XPL: number;
|
|
36
|
+
MON: number;
|
|
36
37
|
WS: number;
|
|
37
38
|
WXPL: number;
|
|
39
|
+
WMON: number;
|
|
38
40
|
baseAsset: number;
|
|
39
41
|
USD: number;
|
|
40
42
|
};
|
|
@@ -53,8 +55,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
53
55
|
AUTO: number;
|
|
54
56
|
SILO: number;
|
|
55
57
|
XPL: number;
|
|
58
|
+
MON: number;
|
|
56
59
|
WS: number;
|
|
57
60
|
WXPL: number;
|
|
61
|
+
WMON: number;
|
|
58
62
|
baseAsset: number;
|
|
59
63
|
USD: number;
|
|
60
64
|
};
|
|
@@ -73,8 +77,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
73
77
|
AUTO: number;
|
|
74
78
|
SILO: number;
|
|
75
79
|
XPL: number;
|
|
80
|
+
MON: number;
|
|
76
81
|
WS: number;
|
|
77
82
|
WXPL: number;
|
|
83
|
+
WMON: number;
|
|
78
84
|
baseAsset: number;
|
|
79
85
|
USD: number;
|
|
80
86
|
};
|
|
@@ -94,8 +100,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
94
100
|
AUTO: number;
|
|
95
101
|
SILO: number;
|
|
96
102
|
XPL: number;
|
|
103
|
+
MON: number;
|
|
97
104
|
WS: number;
|
|
98
105
|
WXPL: number;
|
|
106
|
+
WMON: number;
|
|
99
107
|
baseAsset: number;
|
|
100
108
|
USD: number;
|
|
101
109
|
};
|
|
@@ -115,8 +123,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
115
123
|
AUTO: number;
|
|
116
124
|
SILO: number;
|
|
117
125
|
XPL: number;
|
|
126
|
+
MON: number;
|
|
118
127
|
WS: number;
|
|
119
128
|
WXPL: number;
|
|
129
|
+
WMON: number;
|
|
120
130
|
baseAsset: number;
|
|
121
131
|
USD: number;
|
|
122
132
|
};
|
|
@@ -135,8 +145,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
135
145
|
AUTO: number;
|
|
136
146
|
SILO: number;
|
|
137
147
|
XPL: number;
|
|
148
|
+
MON: number;
|
|
138
149
|
WS: number;
|
|
139
150
|
WXPL: number;
|
|
151
|
+
WMON: number;
|
|
140
152
|
baseAsset: number;
|
|
141
153
|
USD: number;
|
|
142
154
|
};
|
|
@@ -156,8 +168,10 @@ export declare const getAutopoolUser: (config: Config, { autopool, address, user
|
|
|
156
168
|
AUTO: number;
|
|
157
169
|
SILO: number;
|
|
158
170
|
XPL: number;
|
|
171
|
+
MON: number;
|
|
159
172
|
WS: number;
|
|
160
173
|
WXPL: number;
|
|
174
|
+
WMON: number;
|
|
161
175
|
baseAsset: number;
|
|
162
176
|
USD: number;
|
|
163
177
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutopoolUser.d.ts","sourceRoot":"","sources":["../../functions/getAutopoolUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAA+B,MAAM,aAAa,CAAC;AAOlE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,eAAO,MAAM,eAAe,GAC1B,QAAQ,MAAM,EACd,8CAKG;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,aAAa,CAAC;IAC5B,MAAM,EAAE,WAAW,CAAC;CACrB
|
|
1
|
+
{"version":3,"file":"getAutopoolUser.d.ts","sourceRoot":"","sources":["../../functions/getAutopoolUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAA+B,MAAM,aAAa,CAAC;AAOlE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,eAAO,MAAM,eAAe,GAC1B,QAAQ,MAAM,EACd,8CAKG;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,aAAa,CAAC;IAC5B,MAAM,EAAE,WAAW,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIF,CAAC"}
|
|
@@ -26,8 +26,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
26
26
|
AUTO: number;
|
|
27
27
|
SILO: number;
|
|
28
28
|
XPL: number;
|
|
29
|
+
MON: number;
|
|
29
30
|
WS: number;
|
|
30
31
|
WXPL: number;
|
|
32
|
+
WMON: number;
|
|
31
33
|
baseAsset: number;
|
|
32
34
|
USD: number;
|
|
33
35
|
};
|
|
@@ -39,7 +41,7 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
39
41
|
underlyingTokens: {
|
|
40
42
|
valueUsd: number;
|
|
41
43
|
value: number;
|
|
42
|
-
address:
|
|
44
|
+
address: import("abitype").Address;
|
|
43
45
|
chainId: number;
|
|
44
46
|
decimals: number;
|
|
45
47
|
logoURI: string;
|
|
@@ -47,10 +49,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
47
49
|
symbol: string;
|
|
48
50
|
audits?: string;
|
|
49
51
|
extensions?: {
|
|
50
|
-
bridgeMainnetAdapter?:
|
|
52
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
51
53
|
bridgeInfo?: {
|
|
52
54
|
[chainId: number]: {
|
|
53
|
-
tokenAddress:
|
|
55
|
+
tokenAddress: import("abitype").Address;
|
|
54
56
|
};
|
|
55
57
|
};
|
|
56
58
|
rebasing?: boolean;
|
|
@@ -125,7 +127,7 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
125
127
|
createdAt: Date;
|
|
126
128
|
baseAsset: {
|
|
127
129
|
price: number;
|
|
128
|
-
address:
|
|
130
|
+
address: import("abitype").Address;
|
|
129
131
|
chainId: number;
|
|
130
132
|
decimals: number;
|
|
131
133
|
logoURI: string;
|
|
@@ -133,10 +135,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
133
135
|
symbol: string;
|
|
134
136
|
audits?: string;
|
|
135
137
|
extensions?: {
|
|
136
|
-
bridgeMainnetAdapter?:
|
|
138
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
137
139
|
bridgeInfo?: {
|
|
138
140
|
[chainId: number]: {
|
|
139
|
-
tokenAddress:
|
|
141
|
+
tokenAddress: import("abitype").Address;
|
|
140
142
|
};
|
|
141
143
|
};
|
|
142
144
|
rebasing?: boolean;
|
|
@@ -145,7 +147,7 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
145
147
|
};
|
|
146
148
|
denomination: {
|
|
147
149
|
price: number;
|
|
148
|
-
address:
|
|
150
|
+
address: import("abitype").Address;
|
|
149
151
|
chainId: number;
|
|
150
152
|
decimals: number;
|
|
151
153
|
logoURI: string;
|
|
@@ -153,10 +155,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
153
155
|
symbol: string;
|
|
154
156
|
audits?: string;
|
|
155
157
|
extensions?: {
|
|
156
|
-
bridgeMainnetAdapter?:
|
|
158
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
157
159
|
bridgeInfo?: {
|
|
158
160
|
[chainId: number]: {
|
|
159
|
-
tokenAddress:
|
|
161
|
+
tokenAddress: import("abitype").Address;
|
|
160
162
|
};
|
|
161
163
|
};
|
|
162
164
|
rebasing?: boolean;
|
|
@@ -169,7 +171,7 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
169
171
|
valueUsd: number;
|
|
170
172
|
value: number;
|
|
171
173
|
allocation: number;
|
|
172
|
-
address:
|
|
174
|
+
address: import("abitype").Address;
|
|
173
175
|
chainId: number;
|
|
174
176
|
decimals: number;
|
|
175
177
|
logoURI: string;
|
|
@@ -177,10 +179,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
177
179
|
symbol: string;
|
|
178
180
|
audits?: string;
|
|
179
181
|
extensions?: {
|
|
180
|
-
bridgeMainnetAdapter?:
|
|
182
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
181
183
|
bridgeInfo?: {
|
|
182
184
|
[chainId: number]: {
|
|
183
|
-
tokenAddress:
|
|
185
|
+
tokenAddress: import("abitype").Address;
|
|
184
186
|
};
|
|
185
187
|
};
|
|
186
188
|
rebasing?: boolean;
|
|
@@ -200,7 +202,7 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
200
202
|
valueUsd: number;
|
|
201
203
|
value: number;
|
|
202
204
|
allocation: number;
|
|
203
|
-
address:
|
|
205
|
+
address: import("abitype").Address;
|
|
204
206
|
chainId: number;
|
|
205
207
|
decimals: number;
|
|
206
208
|
logoURI: string;
|
|
@@ -208,10 +210,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
208
210
|
symbol: string;
|
|
209
211
|
audits?: string;
|
|
210
212
|
extensions?: {
|
|
211
|
-
bridgeMainnetAdapter?:
|
|
213
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
212
214
|
bridgeInfo?: {
|
|
213
215
|
[chainId: number]: {
|
|
214
|
-
tokenAddress:
|
|
216
|
+
tokenAddress: import("abitype").Address;
|
|
215
217
|
};
|
|
216
218
|
};
|
|
217
219
|
rebasing?: boolean;
|
|
@@ -241,8 +243,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
241
243
|
AUTO: number;
|
|
242
244
|
SILO: number;
|
|
243
245
|
XPL: number;
|
|
246
|
+
MON: number;
|
|
244
247
|
WS: number;
|
|
245
248
|
WXPL: number;
|
|
249
|
+
WMON: number;
|
|
246
250
|
baseAsset: number;
|
|
247
251
|
USD: number;
|
|
248
252
|
};
|
|
@@ -261,8 +265,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
261
265
|
AUTO: number;
|
|
262
266
|
SILO: number;
|
|
263
267
|
XPL: number;
|
|
268
|
+
MON: number;
|
|
264
269
|
WS: number;
|
|
265
270
|
WXPL: number;
|
|
271
|
+
WMON: number;
|
|
266
272
|
baseAsset: number;
|
|
267
273
|
USD: number;
|
|
268
274
|
};
|
|
@@ -282,8 +288,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
282
288
|
AUTO: number;
|
|
283
289
|
SILO: number;
|
|
284
290
|
XPL: number;
|
|
291
|
+
MON: number;
|
|
285
292
|
WS: number;
|
|
286
293
|
WXPL: number;
|
|
294
|
+
WMON: number;
|
|
287
295
|
baseAsset: number;
|
|
288
296
|
USD: number;
|
|
289
297
|
};
|
|
@@ -304,8 +312,10 @@ export declare const getAutopools: (wagmiConfig: Config, { prices, includeTestne
|
|
|
304
312
|
AUTO: number;
|
|
305
313
|
SILO: number;
|
|
306
314
|
XPL: number;
|
|
315
|
+
MON: number;
|
|
307
316
|
WS: number;
|
|
308
317
|
WXPL: number;
|
|
318
|
+
WMON: number;
|
|
309
319
|
baseAsset: number;
|
|
310
320
|
USD: number;
|
|
311
321
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutopools.d.ts","sourceRoot":"","sources":["../../functions/getAutopools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,YAAY,GACvB,aAAa,MAAM,EACnB,6BAGG;IACD,MAAM,EAAE,WAAW,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B
|
|
1
|
+
{"version":3,"file":"getAutopools.d.ts","sourceRoot":"","sources":["../../functions/getAutopools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,YAAY,GACvB,aAAa,MAAM,EACnB,6BAGG;IACD,MAAM,EAAE,WAAW,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCACA,CAAC;0BAEe,CAAA;;;;;wBAKT,CAAR;2BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyBk+yjD,CAAC;kBAAwC,CAAC;;;;;;;;;;;;;;;;gCAhC1izjD,CAAC;sBAEe,CAAA;;;;;oBAKT,CAAR;uBAA8B,CAAC;;;;;;;;;;;;;gCAP9B,CAAC;sBAEe,CAAA;;;;;oBAKT,CAAR;uBAA8B,CAAC;;;;;;;;;;;;;;;;;gCAP9B,CAAC;sBAEe,CAAA;;;;;oBAKT,CAAR;uBAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;gCAP9B,CAAC;sBAEe,CAAA;;;;;oBAKT,CAAR;uBAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAqBhC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAClE,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type Currencies = TokenPrices & {
|
|
|
9
9
|
export type ExtraReward = IToken & {
|
|
10
10
|
apr: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices
|
|
12
|
+
export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices }: {
|
|
13
13
|
chainId: SupportedChainIds;
|
|
14
14
|
prices: TokenPrices;
|
|
15
15
|
}) => Promise<{
|
|
@@ -35,8 +35,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
35
35
|
AUTO: number;
|
|
36
36
|
SILO: number;
|
|
37
37
|
XPL: number;
|
|
38
|
+
MON: number;
|
|
38
39
|
WS: number;
|
|
39
40
|
WXPL: number;
|
|
41
|
+
WMON: number;
|
|
40
42
|
baseAsset: number;
|
|
41
43
|
USD: number;
|
|
42
44
|
};
|
|
@@ -48,7 +50,7 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
48
50
|
underlyingTokens: {
|
|
49
51
|
valueUsd: number;
|
|
50
52
|
value: number;
|
|
51
|
-
address:
|
|
53
|
+
address: import("abitype").Address;
|
|
52
54
|
chainId: number;
|
|
53
55
|
decimals: number;
|
|
54
56
|
logoURI: string;
|
|
@@ -56,10 +58,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
56
58
|
symbol: string;
|
|
57
59
|
audits?: string;
|
|
58
60
|
extensions?: {
|
|
59
|
-
bridgeMainnetAdapter?:
|
|
61
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
60
62
|
bridgeInfo?: {
|
|
61
63
|
[chainId: number]: {
|
|
62
|
-
tokenAddress:
|
|
64
|
+
tokenAddress: import("abitype").Address;
|
|
63
65
|
};
|
|
64
66
|
};
|
|
65
67
|
rebasing?: boolean;
|
|
@@ -134,7 +136,7 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
134
136
|
createdAt: Date;
|
|
135
137
|
baseAsset: {
|
|
136
138
|
price: number;
|
|
137
|
-
address:
|
|
139
|
+
address: import("abitype").Address;
|
|
138
140
|
chainId: number;
|
|
139
141
|
decimals: number;
|
|
140
142
|
logoURI: string;
|
|
@@ -142,10 +144,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
142
144
|
symbol: string;
|
|
143
145
|
audits?: string;
|
|
144
146
|
extensions?: {
|
|
145
|
-
bridgeMainnetAdapter?:
|
|
147
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
146
148
|
bridgeInfo?: {
|
|
147
149
|
[chainId: number]: {
|
|
148
|
-
tokenAddress:
|
|
150
|
+
tokenAddress: import("abitype").Address;
|
|
149
151
|
};
|
|
150
152
|
};
|
|
151
153
|
rebasing?: boolean;
|
|
@@ -154,7 +156,7 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
154
156
|
};
|
|
155
157
|
denomination: {
|
|
156
158
|
price: number;
|
|
157
|
-
address:
|
|
159
|
+
address: import("abitype").Address;
|
|
158
160
|
chainId: number;
|
|
159
161
|
decimals: number;
|
|
160
162
|
logoURI: string;
|
|
@@ -162,10 +164,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
162
164
|
symbol: string;
|
|
163
165
|
audits?: string;
|
|
164
166
|
extensions?: {
|
|
165
|
-
bridgeMainnetAdapter?:
|
|
167
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
166
168
|
bridgeInfo?: {
|
|
167
169
|
[chainId: number]: {
|
|
168
|
-
tokenAddress:
|
|
170
|
+
tokenAddress: import("abitype").Address;
|
|
169
171
|
};
|
|
170
172
|
};
|
|
171
173
|
rebasing?: boolean;
|
|
@@ -178,7 +180,7 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
178
180
|
valueUsd: number;
|
|
179
181
|
value: number;
|
|
180
182
|
allocation: number;
|
|
181
|
-
address:
|
|
183
|
+
address: import("abitype").Address;
|
|
182
184
|
chainId: number;
|
|
183
185
|
decimals: number;
|
|
184
186
|
logoURI: string;
|
|
@@ -186,10 +188,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
186
188
|
symbol: string;
|
|
187
189
|
audits?: string;
|
|
188
190
|
extensions?: {
|
|
189
|
-
bridgeMainnetAdapter?:
|
|
191
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
190
192
|
bridgeInfo?: {
|
|
191
193
|
[chainId: number]: {
|
|
192
|
-
tokenAddress:
|
|
194
|
+
tokenAddress: import("abitype").Address;
|
|
193
195
|
};
|
|
194
196
|
};
|
|
195
197
|
rebasing?: boolean;
|
|
@@ -209,7 +211,7 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
209
211
|
valueUsd: number;
|
|
210
212
|
value: number;
|
|
211
213
|
allocation: number;
|
|
212
|
-
address:
|
|
214
|
+
address: import("abitype").Address;
|
|
213
215
|
chainId: number;
|
|
214
216
|
decimals: number;
|
|
215
217
|
logoURI: string;
|
|
@@ -217,10 +219,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
217
219
|
symbol: string;
|
|
218
220
|
audits?: string;
|
|
219
221
|
extensions?: {
|
|
220
|
-
bridgeMainnetAdapter?:
|
|
222
|
+
bridgeMainnetAdapter?: import("abitype").Address;
|
|
221
223
|
bridgeInfo?: {
|
|
222
224
|
[chainId: number]: {
|
|
223
|
-
tokenAddress:
|
|
225
|
+
tokenAddress: import("abitype").Address;
|
|
224
226
|
};
|
|
225
227
|
};
|
|
226
228
|
rebasing?: boolean;
|
|
@@ -250,8 +252,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
250
252
|
AUTO: number;
|
|
251
253
|
SILO: number;
|
|
252
254
|
XPL: number;
|
|
255
|
+
MON: number;
|
|
253
256
|
WS: number;
|
|
254
257
|
WXPL: number;
|
|
258
|
+
WMON: number;
|
|
255
259
|
baseAsset: number;
|
|
256
260
|
USD: number;
|
|
257
261
|
};
|
|
@@ -270,8 +274,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
270
274
|
AUTO: number;
|
|
271
275
|
SILO: number;
|
|
272
276
|
XPL: number;
|
|
277
|
+
MON: number;
|
|
273
278
|
WS: number;
|
|
274
279
|
WXPL: number;
|
|
280
|
+
WMON: number;
|
|
275
281
|
baseAsset: number;
|
|
276
282
|
USD: number;
|
|
277
283
|
};
|
|
@@ -291,8 +297,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
291
297
|
AUTO: number;
|
|
292
298
|
SILO: number;
|
|
293
299
|
XPL: number;
|
|
300
|
+
MON: number;
|
|
294
301
|
WS: number;
|
|
295
302
|
WXPL: number;
|
|
303
|
+
WMON: number;
|
|
296
304
|
baseAsset: number;
|
|
297
305
|
USD: number;
|
|
298
306
|
};
|
|
@@ -313,8 +321,10 @@ export declare const getChainAutopools: (wagmiConfig: Config, { chainId, prices,
|
|
|
313
321
|
AUTO: number;
|
|
314
322
|
SILO: number;
|
|
315
323
|
XPL: number;
|
|
324
|
+
MON: number;
|
|
316
325
|
WS: number;
|
|
317
326
|
WXPL: number;
|
|
327
|
+
WMON: number;
|
|
318
328
|
baseAsset: number;
|
|
319
329
|
USD: number;
|
|
320
330
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChainAutopools.d.ts","sourceRoot":"","sources":["../../functions/getChainAutopools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAsBpD,OAAO,EAIL,SAAS,EACT,MAAM,EAMP,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAY/C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,EACnB,
|
|
1
|
+
{"version":3,"file":"getChainAutopools.d.ts","sourceRoot":"","sources":["../../functions/getChainAutopools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAsBpD,OAAO,EAIL,SAAS,EACT,MAAM,EAMP,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAY/C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,EACnB,qBAGG;IACD,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAdU,MAAM;aACZ,MAAM;;;;;;;;;;;;;;;;;;oCA/BgB,CAAC;0BAA6B,CAAC;;;;;wBAGxD,CAAC;2BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA4iB89wiD,CAAC;kBAAwC,CAAC;;;;;;;;;;;;;;;;gCA/iB/gxiD,CAAC;sBAA6B,CAAC;;;;;oBAGxD,CAAC;uBAA8B,CAAC;;;;;;;;;;;;;gCAHP,CAAC;sBAA6B,CAAC;;;;;oBAGxD,CAAC;uBAA8B,CAAC;;;;;;;;;;;;;;;;;gCAHP,CAAC;sBAA6B,CAAC;;;;;oBAGxD,CAAC;uBAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;gCAHP,CAAC;sBAA6B,CAAC;;;;;oBAGxD,CAAC;uBAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA2BvB,MAAM;iBACZ,MAAM;;;;;;;;;;;;;;;;;;;;;uBADA,MAAM;iBACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;mBADA,MAAM;aACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;mBADA,MAAM;aACZ,MAAM;;;;;;;;;;;;;;;;IA+gBZ,CAAC"}
|
|
@@ -18,7 +18,7 @@ export interface MerklCreatorAprResult {
|
|
|
18
18
|
* @param creatorAddress - The creator's wallet address
|
|
19
19
|
* @returns Combined APR data for all LIVE opportunities
|
|
20
20
|
*/
|
|
21
|
-
export declare function getMerklCreatorApr({ creatorAddress, identifier
|
|
21
|
+
export declare function getMerklCreatorApr({ creatorAddress, identifier }: {
|
|
22
22
|
creatorAddress: Address;
|
|
23
23
|
identifier?: string;
|
|
24
24
|
}): Promise<MerklCreatorAprResult | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMerklCreatorApr.d.ts","sourceRoot":"","sources":["../../functions/getMerklCreatorApr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,KAAK,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;CACJ;AAED;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,cAAc,EACd,UAAU,
|
|
1
|
+
{"version":3,"file":"getMerklCreatorApr.d.ts","sourceRoot":"","sources":["../../functions/getMerklCreatorApr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,KAAK,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;CACJ;AAED;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,cAAc,EACd,UAAU,EACX,EAAE;IACD,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CA2C7C"}
|