@privy-io/api-types 0.8.0 → 0.9.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/CHANGELOG.md +19 -0
- package/client.d.mts +19 -19
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -19
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +16 -2
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +16 -2
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +14 -14
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +14 -14
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +50 -50
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +50 -50
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/index.d.mts +11 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +2 -2
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +2 -2
- package/resources/intents.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +52 -1
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +52 -1
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/policies.d.mts +223 -112
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +223 -112
- package/resources/policies.d.ts.map +1 -1
- package/resources/swaps.d.mts +3 -3
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +3 -3
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +10 -20
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +10 -20
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +199 -199
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +199 -199
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +255 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +255 -3
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +2 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +2 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +10 -30
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -30
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +222 -116
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +222 -116
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +6 -5
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +6 -5
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +798 -93
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +798 -93
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +163 -35
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/apps.ts +24 -1
- package/src/resources/client-auth.ts +17 -17
- package/src/resources/embedded-wallets.ts +59 -59
- package/src/resources/index.ts +92 -31
- package/src/resources/intents.ts +2 -2
- package/src/resources/kraken-embed.ts +105 -0
- package/src/resources/policies.ts +310 -181
- package/src/resources/swaps.ts +4 -4
- package/src/resources/transactions.ts +11 -38
- package/src/resources/users.ts +724 -724
- package/src/resources/wallet-actions.ts +324 -2
- package/src/resources/wallets/balance.ts +2 -1
- package/src/resources/wallets/index.ts +13 -2
- package/src/resources/wallets/transactions.ts +10 -88
- package/src/resources/wallets/wallets.ts +319 -136
- package/src/resources/webhooks.ts +1021 -141
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,7 +4,7 @@ export declare class WalletActions extends APIResource {
|
|
|
4
4
|
/**
|
|
5
5
|
* Type of wallet action
|
|
6
6
|
*/
|
|
7
|
-
export type WalletActionType = 'swap' | 'transfer';
|
|
7
|
+
export type WalletActionType = 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim';
|
|
8
8
|
/**
|
|
9
9
|
* Status of a wallet action.
|
|
10
10
|
*/
|
|
@@ -130,6 +130,10 @@ export interface SwapActionResponse {
|
|
|
130
130
|
* The ID of the wallet involved in the action.
|
|
131
131
|
*/
|
|
132
132
|
wallet_id: string;
|
|
133
|
+
/**
|
|
134
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
135
|
+
*/
|
|
136
|
+
failure_reason?: FailureReason;
|
|
133
137
|
/**
|
|
134
138
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
135
139
|
*/
|
|
@@ -172,6 +176,203 @@ export interface TransferActionResponse {
|
|
|
172
176
|
* The ID of the wallet involved in the action.
|
|
173
177
|
*/
|
|
174
178
|
wallet_id: string;
|
|
179
|
+
/**
|
|
180
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
181
|
+
*/
|
|
182
|
+
failure_reason?: FailureReason;
|
|
183
|
+
/**
|
|
184
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
185
|
+
*/
|
|
186
|
+
steps?: Array<WalletActionStep>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* A specific reward token and amount associated with an earn incentive claim.
|
|
190
|
+
*/
|
|
191
|
+
export interface EarnIncetiveClaimRewardEntry {
|
|
192
|
+
/**
|
|
193
|
+
* Claimable amount in base units.
|
|
194
|
+
*/
|
|
195
|
+
amount: string;
|
|
196
|
+
/**
|
|
197
|
+
* Address of the reward token.
|
|
198
|
+
*/
|
|
199
|
+
token_address: string;
|
|
200
|
+
/**
|
|
201
|
+
* Symbol of the reward token (e.g. "MORPHO").
|
|
202
|
+
*/
|
|
203
|
+
token_symbol: string;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Response for an earn deposit action.
|
|
207
|
+
*/
|
|
208
|
+
export interface EarnDepositActionResponse {
|
|
209
|
+
/**
|
|
210
|
+
* The ID of the wallet action.
|
|
211
|
+
*/
|
|
212
|
+
id: string;
|
|
213
|
+
/**
|
|
214
|
+
* Underlying asset token address.
|
|
215
|
+
*/
|
|
216
|
+
asset_address: string;
|
|
217
|
+
/**
|
|
218
|
+
* CAIP-2 chain identifier.
|
|
219
|
+
*/
|
|
220
|
+
caip2: string;
|
|
221
|
+
/**
|
|
222
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
223
|
+
*/
|
|
224
|
+
created_at: string;
|
|
225
|
+
/**
|
|
226
|
+
* Base-unit amount of asset deposited (e.g. "1500000").
|
|
227
|
+
*/
|
|
228
|
+
raw_amount: string;
|
|
229
|
+
/**
|
|
230
|
+
* Vault shares received in base units. Populated after on-chain confirmation.
|
|
231
|
+
*/
|
|
232
|
+
share_amount: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* Status of a wallet action.
|
|
235
|
+
*/
|
|
236
|
+
status: WalletActionStatus;
|
|
237
|
+
type: 'earn_deposit';
|
|
238
|
+
/**
|
|
239
|
+
* ERC-4626 vault contract address.
|
|
240
|
+
*/
|
|
241
|
+
vault_address: string;
|
|
242
|
+
/**
|
|
243
|
+
* The vault ID.
|
|
244
|
+
*/
|
|
245
|
+
vault_id: string;
|
|
246
|
+
/**
|
|
247
|
+
* The ID of the wallet involved in the action.
|
|
248
|
+
*/
|
|
249
|
+
wallet_id: string;
|
|
250
|
+
/**
|
|
251
|
+
* Human-readable decimal amount of asset deposited (e.g. "1.5"). Only present when
|
|
252
|
+
* the token is known in the asset registry.
|
|
253
|
+
*/
|
|
254
|
+
amount?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
257
|
+
* the asset registry.
|
|
258
|
+
*/
|
|
259
|
+
asset?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
262
|
+
* present when the token is known in the asset registry.
|
|
263
|
+
*/
|
|
264
|
+
decimals?: number;
|
|
265
|
+
/**
|
|
266
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
267
|
+
*/
|
|
268
|
+
failure_reason?: FailureReason;
|
|
269
|
+
/**
|
|
270
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
271
|
+
*/
|
|
272
|
+
steps?: Array<WalletActionStep>;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Response for an earn withdraw action.
|
|
276
|
+
*/
|
|
277
|
+
export interface EarnWithdrawActionResponse {
|
|
278
|
+
/**
|
|
279
|
+
* The ID of the wallet action.
|
|
280
|
+
*/
|
|
281
|
+
id: string;
|
|
282
|
+
/**
|
|
283
|
+
* Underlying asset token address.
|
|
284
|
+
*/
|
|
285
|
+
asset_address: string;
|
|
286
|
+
/**
|
|
287
|
+
* CAIP-2 chain identifier.
|
|
288
|
+
*/
|
|
289
|
+
caip2: string;
|
|
290
|
+
/**
|
|
291
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
292
|
+
*/
|
|
293
|
+
created_at: string;
|
|
294
|
+
/**
|
|
295
|
+
* Base-unit amount of asset withdrawn (e.g. "1500000").
|
|
296
|
+
*/
|
|
297
|
+
raw_amount: string;
|
|
298
|
+
/**
|
|
299
|
+
* Vault shares burned in base units. Populated after on-chain confirmation.
|
|
300
|
+
*/
|
|
301
|
+
share_amount: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* Status of a wallet action.
|
|
304
|
+
*/
|
|
305
|
+
status: WalletActionStatus;
|
|
306
|
+
type: 'earn_withdraw';
|
|
307
|
+
/**
|
|
308
|
+
* ERC-4626 vault contract address.
|
|
309
|
+
*/
|
|
310
|
+
vault_address: string;
|
|
311
|
+
/**
|
|
312
|
+
* The vault ID.
|
|
313
|
+
*/
|
|
314
|
+
vault_id: string;
|
|
315
|
+
/**
|
|
316
|
+
* The ID of the wallet involved in the action.
|
|
317
|
+
*/
|
|
318
|
+
wallet_id: string;
|
|
319
|
+
/**
|
|
320
|
+
* Human-readable decimal amount of asset withdrawn (e.g. "1.5"). Only present when
|
|
321
|
+
* the token is known in the asset registry.
|
|
322
|
+
*/
|
|
323
|
+
amount?: string;
|
|
324
|
+
/**
|
|
325
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
326
|
+
* the asset registry.
|
|
327
|
+
*/
|
|
328
|
+
asset?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
331
|
+
* present when the token is known in the asset registry.
|
|
332
|
+
*/
|
|
333
|
+
decimals?: number;
|
|
334
|
+
/**
|
|
335
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
336
|
+
*/
|
|
337
|
+
failure_reason?: FailureReason;
|
|
338
|
+
/**
|
|
339
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
340
|
+
*/
|
|
341
|
+
steps?: Array<WalletActionStep>;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Response for an earn incentive claim action.
|
|
345
|
+
*/
|
|
346
|
+
export interface EarnIncentiveClaimActionResponse {
|
|
347
|
+
/**
|
|
348
|
+
* The ID of the wallet action.
|
|
349
|
+
*/
|
|
350
|
+
id: string;
|
|
351
|
+
/**
|
|
352
|
+
* EVM chain name (e.g. "base", "ethereum").
|
|
353
|
+
*/
|
|
354
|
+
chain: string;
|
|
355
|
+
/**
|
|
356
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
357
|
+
*/
|
|
358
|
+
created_at: string;
|
|
359
|
+
/**
|
|
360
|
+
* Claimed reward tokens. Populated after the preparation step fetches from Merkl.
|
|
361
|
+
*/
|
|
362
|
+
rewards: Array<EarnIncetiveClaimRewardEntry> | null;
|
|
363
|
+
/**
|
|
364
|
+
* Status of a wallet action.
|
|
365
|
+
*/
|
|
366
|
+
status: WalletActionStatus;
|
|
367
|
+
type: 'earn_incentive_claim';
|
|
368
|
+
/**
|
|
369
|
+
* The ID of the wallet involved in the action.
|
|
370
|
+
*/
|
|
371
|
+
wallet_id: string;
|
|
372
|
+
/**
|
|
373
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
374
|
+
*/
|
|
375
|
+
failure_reason?: FailureReason;
|
|
175
376
|
/**
|
|
176
377
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
177
378
|
*/
|
|
@@ -180,8 +381,59 @@ export interface TransferActionResponse {
|
|
|
180
381
|
/**
|
|
181
382
|
* Response for a wallet action, discriminated on type.
|
|
182
383
|
*/
|
|
183
|
-
export type WalletActionResponse = SwapActionResponse | TransferActionResponse;
|
|
384
|
+
export type WalletActionResponse = SwapActionResponse | TransferActionResponse | EarnDepositActionResponse | EarnWithdrawActionResponse | EarnIncentiveClaimActionResponse;
|
|
385
|
+
/**
|
|
386
|
+
* Input for depositing assets into an ERC-4626 vault. Exactly one of `amount` or
|
|
387
|
+
* `raw_amount` must be provided.
|
|
388
|
+
*/
|
|
389
|
+
export interface EarnDepositRequestBody {
|
|
390
|
+
/**
|
|
391
|
+
* The ID of the vault to deposit into.
|
|
392
|
+
*/
|
|
393
|
+
vault_id: string;
|
|
394
|
+
/**
|
|
395
|
+
* Human-readable decimal amount to deposit (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
396
|
+
* of `amount` or `raw_amount` must be provided.
|
|
397
|
+
*/
|
|
398
|
+
amount?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Amount in smallest unit to deposit (e.g. "1500000" for 1.5 USDC with 6
|
|
401
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
402
|
+
*/
|
|
403
|
+
raw_amount?: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Input for withdrawing assets from an ERC-4626 vault. Exactly one of `amount` or
|
|
407
|
+
* `raw_amount` must be provided.
|
|
408
|
+
*/
|
|
409
|
+
export interface EarnWithdrawRequestBody {
|
|
410
|
+
/**
|
|
411
|
+
* The ID of the vault to withdraw from.
|
|
412
|
+
*/
|
|
413
|
+
vault_id: string;
|
|
414
|
+
/**
|
|
415
|
+
* Human-readable decimal amount to withdraw (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
416
|
+
* of `amount` or `raw_amount` must be provided.
|
|
417
|
+
*/
|
|
418
|
+
amount?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Amount in smallest unit to withdraw (e.g. "1500000" for 1.5 USDC with 6
|
|
421
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
422
|
+
*/
|
|
423
|
+
raw_amount?: string;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Input for claiming incentive rewards.
|
|
427
|
+
*/
|
|
428
|
+
export interface EarnIncentiveClaimRequestBody {
|
|
429
|
+
/**
|
|
430
|
+
* The blockchain network on which to perform the incentive claim. Supported chains
|
|
431
|
+
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more, along
|
|
432
|
+
* with their respective testnets.
|
|
433
|
+
*/
|
|
434
|
+
chain: string;
|
|
435
|
+
}
|
|
184
436
|
export declare namespace WalletActions {
|
|
185
|
-
export { type WalletActionType as WalletActionType, type WalletActionStatus as WalletActionStatus, type WalletActionStepType as WalletActionStepType, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type FailureReason as FailureReason, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type WalletActionStep as WalletActionStep, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type WalletActionResponse as WalletActionResponse, };
|
|
437
|
+
export { type WalletActionType as WalletActionType, type WalletActionStatus as WalletActionStatus, type WalletActionStepType as WalletActionStepType, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type FailureReason as FailureReason, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type WalletActionStep as WalletActionStep, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type WalletActionResponse as WalletActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, };
|
|
186
438
|
}
|
|
187
439
|
//# sourceMappingURL=wallet-actions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-actions.d.mts","sourceRoot":"","sources":["../src/resources/wallet-actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,aAAc,SAAQ,WAAW;CAAG;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"wallet-actions.d.mts","s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Type of wallet action
|
|
6
6
|
*/
|
|
7
|
-
export type WalletActionType = 'swap' | 'transfer';
|
|
7
|
+
export type WalletActionType = 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim';
|
|
8
8
|
/**
|
|
9
9
|
* Status of a wallet action.
|
|
10
10
|
*/
|
|
@@ -130,6 +130,10 @@ export interface SwapActionResponse {
|
|
|
130
130
|
* The ID of the wallet involved in the action.
|
|
131
131
|
*/
|
|
132
132
|
wallet_id: string;
|
|
133
|
+
/**
|
|
134
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
135
|
+
*/
|
|
136
|
+
failure_reason?: FailureReason;
|
|
133
137
|
/**
|
|
134
138
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
135
139
|
*/
|
|
@@ -172,6 +176,203 @@ export interface TransferActionResponse {
|
|
|
172
176
|
* The ID of the wallet involved in the action.
|
|
173
177
|
*/
|
|
174
178
|
wallet_id: string;
|
|
179
|
+
/**
|
|
180
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
181
|
+
*/
|
|
182
|
+
failure_reason?: FailureReason;
|
|
183
|
+
/**
|
|
184
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
185
|
+
*/
|
|
186
|
+
steps?: Array<WalletActionStep>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* A specific reward token and amount associated with an earn incentive claim.
|
|
190
|
+
*/
|
|
191
|
+
export interface EarnIncetiveClaimRewardEntry {
|
|
192
|
+
/**
|
|
193
|
+
* Claimable amount in base units.
|
|
194
|
+
*/
|
|
195
|
+
amount: string;
|
|
196
|
+
/**
|
|
197
|
+
* Address of the reward token.
|
|
198
|
+
*/
|
|
199
|
+
token_address: string;
|
|
200
|
+
/**
|
|
201
|
+
* Symbol of the reward token (e.g. "MORPHO").
|
|
202
|
+
*/
|
|
203
|
+
token_symbol: string;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Response for an earn deposit action.
|
|
207
|
+
*/
|
|
208
|
+
export interface EarnDepositActionResponse {
|
|
209
|
+
/**
|
|
210
|
+
* The ID of the wallet action.
|
|
211
|
+
*/
|
|
212
|
+
id: string;
|
|
213
|
+
/**
|
|
214
|
+
* Underlying asset token address.
|
|
215
|
+
*/
|
|
216
|
+
asset_address: string;
|
|
217
|
+
/**
|
|
218
|
+
* CAIP-2 chain identifier.
|
|
219
|
+
*/
|
|
220
|
+
caip2: string;
|
|
221
|
+
/**
|
|
222
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
223
|
+
*/
|
|
224
|
+
created_at: string;
|
|
225
|
+
/**
|
|
226
|
+
* Base-unit amount of asset deposited (e.g. "1500000").
|
|
227
|
+
*/
|
|
228
|
+
raw_amount: string;
|
|
229
|
+
/**
|
|
230
|
+
* Vault shares received in base units. Populated after on-chain confirmation.
|
|
231
|
+
*/
|
|
232
|
+
share_amount: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* Status of a wallet action.
|
|
235
|
+
*/
|
|
236
|
+
status: WalletActionStatus;
|
|
237
|
+
type: 'earn_deposit';
|
|
238
|
+
/**
|
|
239
|
+
* ERC-4626 vault contract address.
|
|
240
|
+
*/
|
|
241
|
+
vault_address: string;
|
|
242
|
+
/**
|
|
243
|
+
* The vault ID.
|
|
244
|
+
*/
|
|
245
|
+
vault_id: string;
|
|
246
|
+
/**
|
|
247
|
+
* The ID of the wallet involved in the action.
|
|
248
|
+
*/
|
|
249
|
+
wallet_id: string;
|
|
250
|
+
/**
|
|
251
|
+
* Human-readable decimal amount of asset deposited (e.g. "1.5"). Only present when
|
|
252
|
+
* the token is known in the asset registry.
|
|
253
|
+
*/
|
|
254
|
+
amount?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
257
|
+
* the asset registry.
|
|
258
|
+
*/
|
|
259
|
+
asset?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
262
|
+
* present when the token is known in the asset registry.
|
|
263
|
+
*/
|
|
264
|
+
decimals?: number;
|
|
265
|
+
/**
|
|
266
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
267
|
+
*/
|
|
268
|
+
failure_reason?: FailureReason;
|
|
269
|
+
/**
|
|
270
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
271
|
+
*/
|
|
272
|
+
steps?: Array<WalletActionStep>;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Response for an earn withdraw action.
|
|
276
|
+
*/
|
|
277
|
+
export interface EarnWithdrawActionResponse {
|
|
278
|
+
/**
|
|
279
|
+
* The ID of the wallet action.
|
|
280
|
+
*/
|
|
281
|
+
id: string;
|
|
282
|
+
/**
|
|
283
|
+
* Underlying asset token address.
|
|
284
|
+
*/
|
|
285
|
+
asset_address: string;
|
|
286
|
+
/**
|
|
287
|
+
* CAIP-2 chain identifier.
|
|
288
|
+
*/
|
|
289
|
+
caip2: string;
|
|
290
|
+
/**
|
|
291
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
292
|
+
*/
|
|
293
|
+
created_at: string;
|
|
294
|
+
/**
|
|
295
|
+
* Base-unit amount of asset withdrawn (e.g. "1500000").
|
|
296
|
+
*/
|
|
297
|
+
raw_amount: string;
|
|
298
|
+
/**
|
|
299
|
+
* Vault shares burned in base units. Populated after on-chain confirmation.
|
|
300
|
+
*/
|
|
301
|
+
share_amount: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* Status of a wallet action.
|
|
304
|
+
*/
|
|
305
|
+
status: WalletActionStatus;
|
|
306
|
+
type: 'earn_withdraw';
|
|
307
|
+
/**
|
|
308
|
+
* ERC-4626 vault contract address.
|
|
309
|
+
*/
|
|
310
|
+
vault_address: string;
|
|
311
|
+
/**
|
|
312
|
+
* The vault ID.
|
|
313
|
+
*/
|
|
314
|
+
vault_id: string;
|
|
315
|
+
/**
|
|
316
|
+
* The ID of the wallet involved in the action.
|
|
317
|
+
*/
|
|
318
|
+
wallet_id: string;
|
|
319
|
+
/**
|
|
320
|
+
* Human-readable decimal amount of asset withdrawn (e.g. "1.5"). Only present when
|
|
321
|
+
* the token is known in the asset registry.
|
|
322
|
+
*/
|
|
323
|
+
amount?: string;
|
|
324
|
+
/**
|
|
325
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
326
|
+
* the asset registry.
|
|
327
|
+
*/
|
|
328
|
+
asset?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
331
|
+
* present when the token is known in the asset registry.
|
|
332
|
+
*/
|
|
333
|
+
decimals?: number;
|
|
334
|
+
/**
|
|
335
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
336
|
+
*/
|
|
337
|
+
failure_reason?: FailureReason;
|
|
338
|
+
/**
|
|
339
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
340
|
+
*/
|
|
341
|
+
steps?: Array<WalletActionStep>;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Response for an earn incentive claim action.
|
|
345
|
+
*/
|
|
346
|
+
export interface EarnIncentiveClaimActionResponse {
|
|
347
|
+
/**
|
|
348
|
+
* The ID of the wallet action.
|
|
349
|
+
*/
|
|
350
|
+
id: string;
|
|
351
|
+
/**
|
|
352
|
+
* EVM chain name (e.g. "base", "ethereum").
|
|
353
|
+
*/
|
|
354
|
+
chain: string;
|
|
355
|
+
/**
|
|
356
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
357
|
+
*/
|
|
358
|
+
created_at: string;
|
|
359
|
+
/**
|
|
360
|
+
* Claimed reward tokens. Populated after the preparation step fetches from Merkl.
|
|
361
|
+
*/
|
|
362
|
+
rewards: Array<EarnIncetiveClaimRewardEntry> | null;
|
|
363
|
+
/**
|
|
364
|
+
* Status of a wallet action.
|
|
365
|
+
*/
|
|
366
|
+
status: WalletActionStatus;
|
|
367
|
+
type: 'earn_incentive_claim';
|
|
368
|
+
/**
|
|
369
|
+
* The ID of the wallet involved in the action.
|
|
370
|
+
*/
|
|
371
|
+
wallet_id: string;
|
|
372
|
+
/**
|
|
373
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
374
|
+
*/
|
|
375
|
+
failure_reason?: FailureReason;
|
|
175
376
|
/**
|
|
176
377
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
177
378
|
*/
|
|
@@ -180,8 +381,59 @@ export interface TransferActionResponse {
|
|
|
180
381
|
/**
|
|
181
382
|
* Response for a wallet action, discriminated on type.
|
|
182
383
|
*/
|
|
183
|
-
export type WalletActionResponse = SwapActionResponse | TransferActionResponse;
|
|
384
|
+
export type WalletActionResponse = SwapActionResponse | TransferActionResponse | EarnDepositActionResponse | EarnWithdrawActionResponse | EarnIncentiveClaimActionResponse;
|
|
385
|
+
/**
|
|
386
|
+
* Input for depositing assets into an ERC-4626 vault. Exactly one of `amount` or
|
|
387
|
+
* `raw_amount` must be provided.
|
|
388
|
+
*/
|
|
389
|
+
export interface EarnDepositRequestBody {
|
|
390
|
+
/**
|
|
391
|
+
* The ID of the vault to deposit into.
|
|
392
|
+
*/
|
|
393
|
+
vault_id: string;
|
|
394
|
+
/**
|
|
395
|
+
* Human-readable decimal amount to deposit (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
396
|
+
* of `amount` or `raw_amount` must be provided.
|
|
397
|
+
*/
|
|
398
|
+
amount?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Amount in smallest unit to deposit (e.g. "1500000" for 1.5 USDC with 6
|
|
401
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
402
|
+
*/
|
|
403
|
+
raw_amount?: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Input for withdrawing assets from an ERC-4626 vault. Exactly one of `amount` or
|
|
407
|
+
* `raw_amount` must be provided.
|
|
408
|
+
*/
|
|
409
|
+
export interface EarnWithdrawRequestBody {
|
|
410
|
+
/**
|
|
411
|
+
* The ID of the vault to withdraw from.
|
|
412
|
+
*/
|
|
413
|
+
vault_id: string;
|
|
414
|
+
/**
|
|
415
|
+
* Human-readable decimal amount to withdraw (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
416
|
+
* of `amount` or `raw_amount` must be provided.
|
|
417
|
+
*/
|
|
418
|
+
amount?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Amount in smallest unit to withdraw (e.g. "1500000" for 1.5 USDC with 6
|
|
421
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
422
|
+
*/
|
|
423
|
+
raw_amount?: string;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Input for claiming incentive rewards.
|
|
427
|
+
*/
|
|
428
|
+
export interface EarnIncentiveClaimRequestBody {
|
|
429
|
+
/**
|
|
430
|
+
* The blockchain network on which to perform the incentive claim. Supported chains
|
|
431
|
+
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more, along
|
|
432
|
+
* with their respective testnets.
|
|
433
|
+
*/
|
|
434
|
+
chain: string;
|
|
435
|
+
}
|
|
184
436
|
export declare namespace WalletActions {
|
|
185
|
-
export { type WalletActionType as WalletActionType, type WalletActionStatus as WalletActionStatus, type WalletActionStepType as WalletActionStepType, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type FailureReason as FailureReason, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type WalletActionStep as WalletActionStep, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type WalletActionResponse as WalletActionResponse, };
|
|
437
|
+
export { type WalletActionType as WalletActionType, type WalletActionStatus as WalletActionStatus, type WalletActionStepType as WalletActionStepType, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type FailureReason as FailureReason, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type WalletActionStep as WalletActionStep, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type WalletActionResponse as WalletActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, };
|
|
186
438
|
}
|
|
187
439
|
//# sourceMappingURL=wallet-actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-actions.d.ts","sourceRoot":"","sources":["../src/resources/wallet-actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,aAAc,SAAQ,WAAW;CAAG;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"wallet-actions.d.ts","sourceRoot":"","sources":["../src/resources/wallet-actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,aAAc,SAAQ,WAAW;CAAG;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,UAAU,GACV,cAAc,GACd,eAAe,GACf,sBAAsB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,yBAAyB,GACjC,WAAW,GACX,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,GACX,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,CAAC;AAEhB;;GAEG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ACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as WalletsAPI from "./wallets.mjs";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
5
|
/**
|
|
@@ -38,7 +39,7 @@ export interface BalanceGetParams {
|
|
|
38
39
|
* "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
|
|
39
40
|
*/
|
|
40
41
|
token?: string | Array<string>;
|
|
41
|
-
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<
|
|
42
|
+
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
|
|
42
43
|
chain?: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
|
|
43
44
|
include_currency?: 'usd' | 'eur';
|
|
44
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAAO;QACtB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;QAE5F,KAAK,EACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,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AS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC;QAErB,cAAc,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAE1C,SAAS,EAAE,MAAM,CAAC;QAElB,kBAAkB,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B,KAAK,CAAC,EACF,MAAM,GACN,QAAQ,GACR,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAElC,KAAK,CAAC,EACF,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,KAAK,CACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CACnB,CAAC;IAEN,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as WalletsAPI from "./wallets.js";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
5
|
/**
|
|
@@ -38,7 +39,7 @@ export interface BalanceGetParams {
|
|
|
38
39
|
* "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
|
|
39
40
|
*/
|
|
40
41
|
token?: string | Array<string>;
|
|
41
|
-
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<
|
|
42
|
+
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
|
|
42
43
|
chain?: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
|
|
43
44
|
include_currency?: 'usd' | 'eur';
|
|
44
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAAO;QACtB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;QAE5F,KAAK,EACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC;QAErB,cAAc,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAE1C,SAAS,EAAE,MAAM,CAAC;QAElB,kBAAkB,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B,KAAK,CAAC,EACF,MAAM,GACN,QAAQ,GACR,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,G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e,GACf,gBAAgB,GAChB,KAAK,CACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CACnB,CAAC;IAEN,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAgB,EAChB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AAlBD,0BAkBC"}
|