@polyester/sdk 0.35.0-devnet-20261110194522 → 0.35.0-devnet-20261111024759
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 +5 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +145 -145
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-enums.codecs.js +4 -4
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +51 -51
- package/dist/services/orders/orders-input.schemas.d.ts +4 -4
- package/dist/services/orders/orders-modify.schemas.d.ts +5 -5
- package/dist/services/orders/orders-output.schemas.d.ts +21 -21
- package/dist/services/orders/orders.codecs.js +14 -14
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +14 -14
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +43 -22
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +6 -2
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/package.json +1 -1
|
@@ -169,7 +169,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
169
169
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
170
170
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
171
171
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
172
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
172
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
173
173
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
174
174
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
175
175
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -181,7 +181,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
181
181
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
182
182
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
183
183
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
184
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
184
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
185
185
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
186
186
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
187
187
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -197,7 +197,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
197
197
|
txRef: string;
|
|
198
198
|
txChainId: number;
|
|
199
199
|
occurredAtUnixMs: number;
|
|
200
|
-
lifecycleSource: "unspecified" | "
|
|
200
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
201
201
|
lifecycleReason: LifecycleReasonValue;
|
|
202
202
|
zipperReason?: {
|
|
203
203
|
code: number;
|
|
@@ -209,7 +209,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
209
209
|
approveCount: number;
|
|
210
210
|
rejectCount: number;
|
|
211
211
|
validatorCount: number;
|
|
212
|
-
kind: "unspecified" | "
|
|
212
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
213
213
|
requiredApprovals: number;
|
|
214
214
|
requiredRejections: number;
|
|
215
215
|
amountE18?: string | undefined;
|
|
@@ -219,7 +219,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
219
219
|
txRef: string;
|
|
220
220
|
txChainId: number;
|
|
221
221
|
occurredAtUnixMs: number;
|
|
222
|
-
lifecycleSource: "unspecified" | "
|
|
222
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
223
223
|
lifecycleReason: LifecycleReasonValue;
|
|
224
224
|
zipperReason?: {
|
|
225
225
|
code: number;
|
|
@@ -231,7 +231,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
231
231
|
approveCount: number;
|
|
232
232
|
rejectCount: number;
|
|
233
233
|
validatorCount: number;
|
|
234
|
-
kind: "unspecified" | "
|
|
234
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
235
235
|
requiredApprovals: number;
|
|
236
236
|
requiredRejections: number;
|
|
237
237
|
amountE18?: string | undefined;
|
|
@@ -241,7 +241,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
241
241
|
}>]>;
|
|
242
242
|
declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
243
243
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
244
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
244
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
245
245
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
246
246
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
247
247
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -290,7 +290,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
290
290
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
291
291
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
292
292
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
293
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
293
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
294
294
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
295
295
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
296
296
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -312,7 +312,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
312
312
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
313
313
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
314
314
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
315
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
315
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
316
316
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
317
317
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
318
318
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -324,7 +324,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
324
324
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
325
325
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
326
326
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
327
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
327
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
328
328
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
329
329
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
330
330
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -340,7 +340,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
340
340
|
txRef: string;
|
|
341
341
|
txChainId: number;
|
|
342
342
|
occurredAtUnixMs: number;
|
|
343
|
-
lifecycleSource: "unspecified" | "
|
|
343
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
344
344
|
lifecycleReason: LifecycleReasonValue;
|
|
345
345
|
zipperReason?: {
|
|
346
346
|
code: number;
|
|
@@ -352,7 +352,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
352
352
|
approveCount: number;
|
|
353
353
|
rejectCount: number;
|
|
354
354
|
validatorCount: number;
|
|
355
|
-
kind: "unspecified" | "
|
|
355
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
356
356
|
requiredApprovals: number;
|
|
357
357
|
requiredRejections: number;
|
|
358
358
|
amountE18?: string | undefined;
|
|
@@ -362,7 +362,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
362
362
|
txRef: string;
|
|
363
363
|
txChainId: number;
|
|
364
364
|
occurredAtUnixMs: number;
|
|
365
|
-
lifecycleSource: "unspecified" | "
|
|
365
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
366
366
|
lifecycleReason: LifecycleReasonValue;
|
|
367
367
|
zipperReason?: {
|
|
368
368
|
code: number;
|
|
@@ -374,7 +374,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
374
374
|
approveCount: number;
|
|
375
375
|
rejectCount: number;
|
|
376
376
|
validatorCount: number;
|
|
377
|
-
kind: "unspecified" | "
|
|
377
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
378
378
|
requiredApprovals: number;
|
|
379
379
|
requiredRejections: number;
|
|
380
380
|
amountE18?: string | undefined;
|
|
@@ -384,7 +384,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
384
384
|
}>]>, undefined>, readonly []>;
|
|
385
385
|
}, undefined>, v.TransformAction<{
|
|
386
386
|
sequence: number;
|
|
387
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
387
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
388
388
|
assetIds?: {
|
|
389
389
|
zippedAssetId: number;
|
|
390
390
|
unifiedAssetId: number;
|
|
@@ -404,7 +404,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
404
404
|
}) | undefined;
|
|
405
405
|
milestoneTxRef: string;
|
|
406
406
|
milestoneTxChainId: number;
|
|
407
|
-
lifecycleSource: "unspecified" | "
|
|
407
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
408
408
|
lifecycleReason: LifecycleReasonValue;
|
|
409
409
|
zipperReason?: {
|
|
410
410
|
code: number;
|
|
@@ -425,7 +425,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
425
425
|
txRef: string;
|
|
426
426
|
txChainId: number;
|
|
427
427
|
occurredAtUnixMs: number;
|
|
428
|
-
lifecycleSource: "unspecified" | "
|
|
428
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
429
429
|
lifecycleReason: LifecycleReasonValue;
|
|
430
430
|
zipperReason?: {
|
|
431
431
|
code: number;
|
|
@@ -437,7 +437,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
437
437
|
approveCount: number;
|
|
438
438
|
rejectCount: number;
|
|
439
439
|
validatorCount: number;
|
|
440
|
-
kind: "unspecified" | "
|
|
440
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
441
441
|
requiredApprovals: number;
|
|
442
442
|
requiredRejections: number;
|
|
443
443
|
amountE18?: string | undefined;
|
|
@@ -447,7 +447,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
447
447
|
})[];
|
|
448
448
|
}, Omit<{
|
|
449
449
|
sequence: number;
|
|
450
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
450
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
451
451
|
assetIds?: {
|
|
452
452
|
zippedAssetId: number;
|
|
453
453
|
unifiedAssetId: number;
|
|
@@ -467,7 +467,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
467
467
|
}) | undefined;
|
|
468
468
|
milestoneTxRef: string;
|
|
469
469
|
milestoneTxChainId: number;
|
|
470
|
-
lifecycleSource: "unspecified" | "
|
|
470
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
471
471
|
lifecycleReason: LifecycleReasonValue;
|
|
472
472
|
zipperReason?: {
|
|
473
473
|
code: number;
|
|
@@ -488,7 +488,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
488
488
|
txRef: string;
|
|
489
489
|
txChainId: number;
|
|
490
490
|
occurredAtUnixMs: number;
|
|
491
|
-
lifecycleSource: "unspecified" | "
|
|
491
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
492
492
|
lifecycleReason: LifecycleReasonValue;
|
|
493
493
|
zipperReason?: {
|
|
494
494
|
code: number;
|
|
@@ -500,7 +500,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
500
500
|
approveCount: number;
|
|
501
501
|
rejectCount: number;
|
|
502
502
|
validatorCount: number;
|
|
503
|
-
kind: "unspecified" | "
|
|
503
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
504
504
|
requiredApprovals: number;
|
|
505
505
|
requiredRejections: number;
|
|
506
506
|
amountE18?: string | undefined;
|
|
@@ -513,7 +513,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
513
513
|
}>]>;
|
|
514
514
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
515
515
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
516
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
516
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
517
517
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
518
518
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
519
519
|
}, undefined>;
|
|
@@ -533,7 +533,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
533
533
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
534
534
|
readonly flowId: v.StringSchema<undefined>;
|
|
535
535
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
536
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
536
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
537
537
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
538
538
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
539
539
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -583,10 +583,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
583
583
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
584
584
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
585
585
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
586
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
587
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
586
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
587
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
588
588
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
589
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
589
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
590
590
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
591
591
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
592
592
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -613,7 +613,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
613
613
|
}, undefined>, undefined>;
|
|
614
614
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
615
615
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
616
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
616
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
617
617
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
618
618
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
619
619
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -625,13 +625,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
625
625
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
626
626
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
627
627
|
*/
|
|
628
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
628
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
629
629
|
}, undefined>, v.TransformAction<{
|
|
630
630
|
ownerAccountId: string;
|
|
631
631
|
smartAccountAddress: string;
|
|
632
632
|
flowId: string;
|
|
633
633
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
634
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
634
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
635
635
|
assetIds?: {
|
|
636
636
|
zippedAssetId: number;
|
|
637
637
|
unifiedAssetId: number;
|
|
@@ -653,10 +653,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
653
653
|
txOccurrenceIndex?: number | undefined;
|
|
654
654
|
sourceAddress: string;
|
|
655
655
|
destinationAddress: string;
|
|
656
|
-
sourceDomain: "unspecified" | "
|
|
657
|
-
destinationDomain: "unspecified" | "
|
|
656
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
657
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
658
658
|
latestTxRef: string;
|
|
659
|
-
latestLifecycleSource: "unspecified" | "
|
|
659
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
660
660
|
lifecycleReason: LifecycleReasonValue;
|
|
661
661
|
zipperReason?: {
|
|
662
662
|
code: number;
|
|
@@ -683,19 +683,19 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
683
683
|
} | undefined;
|
|
684
684
|
progressTimeline: {
|
|
685
685
|
sequence: number;
|
|
686
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
686
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
687
687
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
688
688
|
expectedDurationMs: number;
|
|
689
689
|
}[];
|
|
690
690
|
estimatedCompletionUnixMs: number;
|
|
691
691
|
isDelayed: boolean;
|
|
692
|
-
participation: "
|
|
692
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
693
693
|
}, Omit<{
|
|
694
694
|
ownerAccountId: string;
|
|
695
695
|
smartAccountAddress: string;
|
|
696
696
|
flowId: string;
|
|
697
697
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
698
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
698
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
699
699
|
assetIds?: {
|
|
700
700
|
zippedAssetId: number;
|
|
701
701
|
unifiedAssetId: number;
|
|
@@ -717,10 +717,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
717
717
|
txOccurrenceIndex?: number | undefined;
|
|
718
718
|
sourceAddress: string;
|
|
719
719
|
destinationAddress: string;
|
|
720
|
-
sourceDomain: "unspecified" | "
|
|
721
|
-
destinationDomain: "unspecified" | "
|
|
720
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
721
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
722
722
|
latestTxRef: string;
|
|
723
|
-
latestLifecycleSource: "unspecified" | "
|
|
723
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
724
724
|
lifecycleReason: LifecycleReasonValue;
|
|
725
725
|
zipperReason?: {
|
|
726
726
|
code: number;
|
|
@@ -747,13 +747,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
747
747
|
} | undefined;
|
|
748
748
|
progressTimeline: {
|
|
749
749
|
sequence: number;
|
|
750
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
750
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
751
751
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
752
752
|
expectedDurationMs: number;
|
|
753
753
|
}[];
|
|
754
754
|
estimatedCompletionUnixMs: number;
|
|
755
755
|
isDelayed: boolean;
|
|
756
|
-
participation: "
|
|
756
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
757
757
|
}, "amountE18"> & {
|
|
758
758
|
amount?: string;
|
|
759
759
|
}>]>;
|
|
@@ -763,7 +763,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
763
763
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
764
764
|
readonly flowId: v.StringSchema<undefined>;
|
|
765
765
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
766
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
766
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
767
767
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
768
768
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
769
769
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -813,10 +813,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
813
813
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
814
814
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
815
815
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
816
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
817
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
816
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
817
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
818
818
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
819
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
819
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
820
820
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
821
821
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
822
822
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -843,7 +843,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
843
843
|
}, undefined>, undefined>;
|
|
844
844
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
845
845
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
846
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
846
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
847
847
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
848
848
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
849
849
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -855,13 +855,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
855
855
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
856
856
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
857
857
|
*/
|
|
858
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
858
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
859
859
|
}, undefined>, v.TransformAction<{
|
|
860
860
|
ownerAccountId: string;
|
|
861
861
|
smartAccountAddress: string;
|
|
862
862
|
flowId: string;
|
|
863
863
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
864
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
864
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
865
865
|
assetIds?: {
|
|
866
866
|
zippedAssetId: number;
|
|
867
867
|
unifiedAssetId: number;
|
|
@@ -883,10 +883,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
883
883
|
txOccurrenceIndex?: number | undefined;
|
|
884
884
|
sourceAddress: string;
|
|
885
885
|
destinationAddress: string;
|
|
886
|
-
sourceDomain: "unspecified" | "
|
|
887
|
-
destinationDomain: "unspecified" | "
|
|
886
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
887
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
888
888
|
latestTxRef: string;
|
|
889
|
-
latestLifecycleSource: "unspecified" | "
|
|
889
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
890
890
|
lifecycleReason: LifecycleReasonValue;
|
|
891
891
|
zipperReason?: {
|
|
892
892
|
code: number;
|
|
@@ -913,19 +913,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
913
913
|
} | undefined;
|
|
914
914
|
progressTimeline: {
|
|
915
915
|
sequence: number;
|
|
916
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
916
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
917
917
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
918
918
|
expectedDurationMs: number;
|
|
919
919
|
}[];
|
|
920
920
|
estimatedCompletionUnixMs: number;
|
|
921
921
|
isDelayed: boolean;
|
|
922
|
-
participation: "
|
|
922
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
923
923
|
}, Omit<{
|
|
924
924
|
ownerAccountId: string;
|
|
925
925
|
smartAccountAddress: string;
|
|
926
926
|
flowId: string;
|
|
927
927
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
928
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
928
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
929
929
|
assetIds?: {
|
|
930
930
|
zippedAssetId: number;
|
|
931
931
|
unifiedAssetId: number;
|
|
@@ -947,10 +947,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
947
947
|
txOccurrenceIndex?: number | undefined;
|
|
948
948
|
sourceAddress: string;
|
|
949
949
|
destinationAddress: string;
|
|
950
|
-
sourceDomain: "unspecified" | "
|
|
951
|
-
destinationDomain: "unspecified" | "
|
|
950
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
951
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
952
952
|
latestTxRef: string;
|
|
953
|
-
latestLifecycleSource: "unspecified" | "
|
|
953
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
954
954
|
lifecycleReason: LifecycleReasonValue;
|
|
955
955
|
zipperReason?: {
|
|
956
956
|
code: number;
|
|
@@ -977,19 +977,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
977
977
|
} | undefined;
|
|
978
978
|
progressTimeline: {
|
|
979
979
|
sequence: number;
|
|
980
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
980
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
981
981
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
982
982
|
expectedDurationMs: number;
|
|
983
983
|
}[];
|
|
984
984
|
estimatedCompletionUnixMs: number;
|
|
985
985
|
isDelayed: boolean;
|
|
986
|
-
participation: "
|
|
986
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
987
987
|
}, "amountE18"> & {
|
|
988
988
|
amount?: string;
|
|
989
989
|
}>]>, undefined>;
|
|
990
990
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
991
991
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
992
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
992
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
993
993
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
994
994
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
995
995
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1038,7 +1038,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1038
1038
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1039
1039
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1040
1040
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1041
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1041
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1042
1042
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1043
1043
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1044
1044
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1060,7 +1060,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1060
1060
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1061
1061
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1062
1062
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1063
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1063
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1064
1064
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1065
1065
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1066
1066
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1072,7 +1072,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1072
1072
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1073
1073
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1074
1074
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1075
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1075
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1076
1076
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1077
1077
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1078
1078
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1088,7 +1088,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1088
1088
|
txRef: string;
|
|
1089
1089
|
txChainId: number;
|
|
1090
1090
|
occurredAtUnixMs: number;
|
|
1091
|
-
lifecycleSource: "unspecified" | "
|
|
1091
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1092
1092
|
lifecycleReason: LifecycleReasonValue;
|
|
1093
1093
|
zipperReason?: {
|
|
1094
1094
|
code: number;
|
|
@@ -1100,7 +1100,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1100
1100
|
approveCount: number;
|
|
1101
1101
|
rejectCount: number;
|
|
1102
1102
|
validatorCount: number;
|
|
1103
|
-
kind: "unspecified" | "
|
|
1103
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1104
1104
|
requiredApprovals: number;
|
|
1105
1105
|
requiredRejections: number;
|
|
1106
1106
|
amountE18?: string | undefined;
|
|
@@ -1110,7 +1110,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1110
1110
|
txRef: string;
|
|
1111
1111
|
txChainId: number;
|
|
1112
1112
|
occurredAtUnixMs: number;
|
|
1113
|
-
lifecycleSource: "unspecified" | "
|
|
1113
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1114
1114
|
lifecycleReason: LifecycleReasonValue;
|
|
1115
1115
|
zipperReason?: {
|
|
1116
1116
|
code: number;
|
|
@@ -1122,7 +1122,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1122
1122
|
approveCount: number;
|
|
1123
1123
|
rejectCount: number;
|
|
1124
1124
|
validatorCount: number;
|
|
1125
|
-
kind: "unspecified" | "
|
|
1125
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1126
1126
|
requiredApprovals: number;
|
|
1127
1127
|
requiredRejections: number;
|
|
1128
1128
|
amountE18?: string | undefined;
|
|
@@ -1132,7 +1132,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1132
1132
|
}>]>, undefined>, readonly []>;
|
|
1133
1133
|
}, undefined>, v.TransformAction<{
|
|
1134
1134
|
sequence: number;
|
|
1135
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1135
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1136
1136
|
assetIds?: {
|
|
1137
1137
|
zippedAssetId: number;
|
|
1138
1138
|
unifiedAssetId: number;
|
|
@@ -1152,7 +1152,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1152
1152
|
}) | undefined;
|
|
1153
1153
|
milestoneTxRef: string;
|
|
1154
1154
|
milestoneTxChainId: number;
|
|
1155
|
-
lifecycleSource: "unspecified" | "
|
|
1155
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1156
1156
|
lifecycleReason: LifecycleReasonValue;
|
|
1157
1157
|
zipperReason?: {
|
|
1158
1158
|
code: number;
|
|
@@ -1173,7 +1173,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1173
1173
|
txRef: string;
|
|
1174
1174
|
txChainId: number;
|
|
1175
1175
|
occurredAtUnixMs: number;
|
|
1176
|
-
lifecycleSource: "unspecified" | "
|
|
1176
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1177
1177
|
lifecycleReason: LifecycleReasonValue;
|
|
1178
1178
|
zipperReason?: {
|
|
1179
1179
|
code: number;
|
|
@@ -1185,7 +1185,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1185
1185
|
approveCount: number;
|
|
1186
1186
|
rejectCount: number;
|
|
1187
1187
|
validatorCount: number;
|
|
1188
|
-
kind: "unspecified" | "
|
|
1188
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1189
1189
|
requiredApprovals: number;
|
|
1190
1190
|
requiredRejections: number;
|
|
1191
1191
|
amountE18?: string | undefined;
|
|
@@ -1195,7 +1195,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1195
1195
|
})[];
|
|
1196
1196
|
}, Omit<{
|
|
1197
1197
|
sequence: number;
|
|
1198
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1198
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1199
1199
|
assetIds?: {
|
|
1200
1200
|
zippedAssetId: number;
|
|
1201
1201
|
unifiedAssetId: number;
|
|
@@ -1215,7 +1215,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1215
1215
|
}) | undefined;
|
|
1216
1216
|
milestoneTxRef: string;
|
|
1217
1217
|
milestoneTxChainId: number;
|
|
1218
|
-
lifecycleSource: "unspecified" | "
|
|
1218
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1219
1219
|
lifecycleReason: LifecycleReasonValue;
|
|
1220
1220
|
zipperReason?: {
|
|
1221
1221
|
code: number;
|
|
@@ -1236,7 +1236,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1236
1236
|
txRef: string;
|
|
1237
1237
|
txChainId: number;
|
|
1238
1238
|
occurredAtUnixMs: number;
|
|
1239
|
-
lifecycleSource: "unspecified" | "
|
|
1239
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1240
1240
|
lifecycleReason: LifecycleReasonValue;
|
|
1241
1241
|
zipperReason?: {
|
|
1242
1242
|
code: number;
|
|
@@ -1248,7 +1248,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1248
1248
|
approveCount: number;
|
|
1249
1249
|
rejectCount: number;
|
|
1250
1250
|
validatorCount: number;
|
|
1251
|
-
kind: "unspecified" | "
|
|
1251
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1252
1252
|
requiredApprovals: number;
|
|
1253
1253
|
requiredRejections: number;
|
|
1254
1254
|
amountE18?: string | undefined;
|
|
@@ -1267,7 +1267,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1267
1267
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1268
1268
|
readonly flowId: v.StringSchema<undefined>;
|
|
1269
1269
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1270
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1270
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1271
1271
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1272
1272
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1273
1273
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1317,10 +1317,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1317
1317
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1318
1318
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1319
1319
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1320
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1321
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1320
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1321
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1322
1322
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1323
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1323
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1324
1324
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1325
1325
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1326
1326
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1347,7 +1347,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1347
1347
|
}, undefined>, undefined>;
|
|
1348
1348
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1349
1349
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1350
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1350
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1351
1351
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1352
1352
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1353
1353
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1359,13 +1359,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1359
1359
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1360
1360
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1361
1361
|
*/
|
|
1362
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1362
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1363
1363
|
}, undefined>, v.TransformAction<{
|
|
1364
1364
|
ownerAccountId: string;
|
|
1365
1365
|
smartAccountAddress: string;
|
|
1366
1366
|
flowId: string;
|
|
1367
1367
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1368
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1368
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1369
1369
|
assetIds?: {
|
|
1370
1370
|
zippedAssetId: number;
|
|
1371
1371
|
unifiedAssetId: number;
|
|
@@ -1387,10 +1387,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1387
1387
|
txOccurrenceIndex?: number | undefined;
|
|
1388
1388
|
sourceAddress: string;
|
|
1389
1389
|
destinationAddress: string;
|
|
1390
|
-
sourceDomain: "unspecified" | "
|
|
1391
|
-
destinationDomain: "unspecified" | "
|
|
1390
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1391
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1392
1392
|
latestTxRef: string;
|
|
1393
|
-
latestLifecycleSource: "unspecified" | "
|
|
1393
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1394
1394
|
lifecycleReason: LifecycleReasonValue;
|
|
1395
1395
|
zipperReason?: {
|
|
1396
1396
|
code: number;
|
|
@@ -1417,19 +1417,19 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1417
1417
|
} | undefined;
|
|
1418
1418
|
progressTimeline: {
|
|
1419
1419
|
sequence: number;
|
|
1420
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1420
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1421
1421
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1422
1422
|
expectedDurationMs: number;
|
|
1423
1423
|
}[];
|
|
1424
1424
|
estimatedCompletionUnixMs: number;
|
|
1425
1425
|
isDelayed: boolean;
|
|
1426
|
-
participation: "
|
|
1426
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1427
1427
|
}, Omit<{
|
|
1428
1428
|
ownerAccountId: string;
|
|
1429
1429
|
smartAccountAddress: string;
|
|
1430
1430
|
flowId: string;
|
|
1431
1431
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1432
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1432
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1433
1433
|
assetIds?: {
|
|
1434
1434
|
zippedAssetId: number;
|
|
1435
1435
|
unifiedAssetId: number;
|
|
@@ -1451,10 +1451,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1451
1451
|
txOccurrenceIndex?: number | undefined;
|
|
1452
1452
|
sourceAddress: string;
|
|
1453
1453
|
destinationAddress: string;
|
|
1454
|
-
sourceDomain: "unspecified" | "
|
|
1455
|
-
destinationDomain: "unspecified" | "
|
|
1454
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1455
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1456
1456
|
latestTxRef: string;
|
|
1457
|
-
latestLifecycleSource: "unspecified" | "
|
|
1457
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1458
1458
|
lifecycleReason: LifecycleReasonValue;
|
|
1459
1459
|
zipperReason?: {
|
|
1460
1460
|
code: number;
|
|
@@ -1481,13 +1481,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1481
1481
|
} | undefined;
|
|
1482
1482
|
progressTimeline: {
|
|
1483
1483
|
sequence: number;
|
|
1484
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1484
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1485
1485
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1486
1486
|
expectedDurationMs: number;
|
|
1487
1487
|
}[];
|
|
1488
1488
|
estimatedCompletionUnixMs: number;
|
|
1489
1489
|
isDelayed: boolean;
|
|
1490
|
-
participation: "
|
|
1490
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1491
1491
|
}, "amountE18"> & {
|
|
1492
1492
|
amount?: string;
|
|
1493
1493
|
}>]>, undefined>, readonly []>;
|
|
@@ -1500,7 +1500,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1500
1500
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1501
1501
|
readonly flowId: v.StringSchema<undefined>;
|
|
1502
1502
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1503
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1503
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1504
1504
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1505
1505
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1506
1506
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1550,10 +1550,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1550
1550
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1551
1551
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1552
1552
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1553
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1554
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1553
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1554
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1555
1555
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1556
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1556
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1557
1557
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1558
1558
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1559
1559
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1580,7 +1580,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1580
1580
|
}, undefined>, undefined>;
|
|
1581
1581
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1582
1582
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1583
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1583
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1584
1584
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1585
1585
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1586
1586
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1592,13 +1592,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1592
1592
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1593
1593
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1594
1594
|
*/
|
|
1595
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1595
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1596
1596
|
}, undefined>, v.TransformAction<{
|
|
1597
1597
|
ownerAccountId: string;
|
|
1598
1598
|
smartAccountAddress: string;
|
|
1599
1599
|
flowId: string;
|
|
1600
1600
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1601
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1601
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1602
1602
|
assetIds?: {
|
|
1603
1603
|
zippedAssetId: number;
|
|
1604
1604
|
unifiedAssetId: number;
|
|
@@ -1620,10 +1620,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1620
1620
|
txOccurrenceIndex?: number | undefined;
|
|
1621
1621
|
sourceAddress: string;
|
|
1622
1622
|
destinationAddress: string;
|
|
1623
|
-
sourceDomain: "unspecified" | "
|
|
1624
|
-
destinationDomain: "unspecified" | "
|
|
1623
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1624
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1625
1625
|
latestTxRef: string;
|
|
1626
|
-
latestLifecycleSource: "unspecified" | "
|
|
1626
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1627
1627
|
lifecycleReason: LifecycleReasonValue;
|
|
1628
1628
|
zipperReason?: {
|
|
1629
1629
|
code: number;
|
|
@@ -1650,19 +1650,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1650
1650
|
} | undefined;
|
|
1651
1651
|
progressTimeline: {
|
|
1652
1652
|
sequence: number;
|
|
1653
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1653
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1654
1654
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1655
1655
|
expectedDurationMs: number;
|
|
1656
1656
|
}[];
|
|
1657
1657
|
estimatedCompletionUnixMs: number;
|
|
1658
1658
|
isDelayed: boolean;
|
|
1659
|
-
participation: "
|
|
1659
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1660
1660
|
}, Omit<{
|
|
1661
1661
|
ownerAccountId: string;
|
|
1662
1662
|
smartAccountAddress: string;
|
|
1663
1663
|
flowId: string;
|
|
1664
1664
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1665
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1665
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1666
1666
|
assetIds?: {
|
|
1667
1667
|
zippedAssetId: number;
|
|
1668
1668
|
unifiedAssetId: number;
|
|
@@ -1684,10 +1684,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1684
1684
|
txOccurrenceIndex?: number | undefined;
|
|
1685
1685
|
sourceAddress: string;
|
|
1686
1686
|
destinationAddress: string;
|
|
1687
|
-
sourceDomain: "unspecified" | "
|
|
1688
|
-
destinationDomain: "unspecified" | "
|
|
1687
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1688
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1689
1689
|
latestTxRef: string;
|
|
1690
|
-
latestLifecycleSource: "unspecified" | "
|
|
1690
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1691
1691
|
lifecycleReason: LifecycleReasonValue;
|
|
1692
1692
|
zipperReason?: {
|
|
1693
1693
|
code: number;
|
|
@@ -1714,19 +1714,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1714
1714
|
} | undefined;
|
|
1715
1715
|
progressTimeline: {
|
|
1716
1716
|
sequence: number;
|
|
1717
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1717
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1718
1718
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1719
1719
|
expectedDurationMs: number;
|
|
1720
1720
|
}[];
|
|
1721
1721
|
estimatedCompletionUnixMs: number;
|
|
1722
1722
|
isDelayed: boolean;
|
|
1723
|
-
participation: "
|
|
1723
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1724
1724
|
}, "amountE18"> & {
|
|
1725
1725
|
amount?: string;
|
|
1726
1726
|
}>]>, undefined>;
|
|
1727
1727
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1728
1728
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1729
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1729
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1730
1730
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1731
1731
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1732
1732
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1775,7 +1775,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1775
1775
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1776
1776
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1777
1777
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1778
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1778
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1779
1779
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1780
1780
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1781
1781
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1797,7 +1797,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1797
1797
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1798
1798
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1799
1799
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1800
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1800
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1801
1801
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1802
1802
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1803
1803
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1809,7 +1809,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1809
1809
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1810
1810
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1811
1811
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1812
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1812
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1813
1813
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1814
1814
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1815
1815
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1825,7 +1825,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1825
1825
|
txRef: string;
|
|
1826
1826
|
txChainId: number;
|
|
1827
1827
|
occurredAtUnixMs: number;
|
|
1828
|
-
lifecycleSource: "unspecified" | "
|
|
1828
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1829
1829
|
lifecycleReason: LifecycleReasonValue;
|
|
1830
1830
|
zipperReason?: {
|
|
1831
1831
|
code: number;
|
|
@@ -1837,7 +1837,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1837
1837
|
approveCount: number;
|
|
1838
1838
|
rejectCount: number;
|
|
1839
1839
|
validatorCount: number;
|
|
1840
|
-
kind: "unspecified" | "
|
|
1840
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1841
1841
|
requiredApprovals: number;
|
|
1842
1842
|
requiredRejections: number;
|
|
1843
1843
|
amountE18?: string | undefined;
|
|
@@ -1847,7 +1847,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1847
1847
|
txRef: string;
|
|
1848
1848
|
txChainId: number;
|
|
1849
1849
|
occurredAtUnixMs: number;
|
|
1850
|
-
lifecycleSource: "unspecified" | "
|
|
1850
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1851
1851
|
lifecycleReason: LifecycleReasonValue;
|
|
1852
1852
|
zipperReason?: {
|
|
1853
1853
|
code: number;
|
|
@@ -1859,7 +1859,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1859
1859
|
approveCount: number;
|
|
1860
1860
|
rejectCount: number;
|
|
1861
1861
|
validatorCount: number;
|
|
1862
|
-
kind: "unspecified" | "
|
|
1862
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1863
1863
|
requiredApprovals: number;
|
|
1864
1864
|
requiredRejections: number;
|
|
1865
1865
|
amountE18?: string | undefined;
|
|
@@ -1869,7 +1869,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1869
1869
|
}>]>, undefined>, readonly []>;
|
|
1870
1870
|
}, undefined>, v.TransformAction<{
|
|
1871
1871
|
sequence: number;
|
|
1872
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1872
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1873
1873
|
assetIds?: {
|
|
1874
1874
|
zippedAssetId: number;
|
|
1875
1875
|
unifiedAssetId: number;
|
|
@@ -1889,7 +1889,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1889
1889
|
}) | undefined;
|
|
1890
1890
|
milestoneTxRef: string;
|
|
1891
1891
|
milestoneTxChainId: number;
|
|
1892
|
-
lifecycleSource: "unspecified" | "
|
|
1892
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1893
1893
|
lifecycleReason: LifecycleReasonValue;
|
|
1894
1894
|
zipperReason?: {
|
|
1895
1895
|
code: number;
|
|
@@ -1910,7 +1910,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1910
1910
|
txRef: string;
|
|
1911
1911
|
txChainId: number;
|
|
1912
1912
|
occurredAtUnixMs: number;
|
|
1913
|
-
lifecycleSource: "unspecified" | "
|
|
1913
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1914
1914
|
lifecycleReason: LifecycleReasonValue;
|
|
1915
1915
|
zipperReason?: {
|
|
1916
1916
|
code: number;
|
|
@@ -1922,7 +1922,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1922
1922
|
approveCount: number;
|
|
1923
1923
|
rejectCount: number;
|
|
1924
1924
|
validatorCount: number;
|
|
1925
|
-
kind: "unspecified" | "
|
|
1925
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1926
1926
|
requiredApprovals: number;
|
|
1927
1927
|
requiredRejections: number;
|
|
1928
1928
|
amountE18?: string | undefined;
|
|
@@ -1932,7 +1932,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1932
1932
|
})[];
|
|
1933
1933
|
}, Omit<{
|
|
1934
1934
|
sequence: number;
|
|
1935
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1935
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1936
1936
|
assetIds?: {
|
|
1937
1937
|
zippedAssetId: number;
|
|
1938
1938
|
unifiedAssetId: number;
|
|
@@ -1952,7 +1952,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1952
1952
|
}) | undefined;
|
|
1953
1953
|
milestoneTxRef: string;
|
|
1954
1954
|
milestoneTxChainId: number;
|
|
1955
|
-
lifecycleSource: "unspecified" | "
|
|
1955
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1956
1956
|
lifecycleReason: LifecycleReasonValue;
|
|
1957
1957
|
zipperReason?: {
|
|
1958
1958
|
code: number;
|
|
@@ -1973,7 +1973,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1973
1973
|
txRef: string;
|
|
1974
1974
|
txChainId: number;
|
|
1975
1975
|
occurredAtUnixMs: number;
|
|
1976
|
-
lifecycleSource: "unspecified" | "
|
|
1976
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1977
1977
|
lifecycleReason: LifecycleReasonValue;
|
|
1978
1978
|
zipperReason?: {
|
|
1979
1979
|
code: number;
|
|
@@ -1985,7 +1985,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1985
1985
|
approveCount: number;
|
|
1986
1986
|
rejectCount: number;
|
|
1987
1987
|
validatorCount: number;
|
|
1988
|
-
kind: "unspecified" | "
|
|
1988
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1989
1989
|
requiredApprovals: number;
|
|
1990
1990
|
requiredRejections: number;
|
|
1991
1991
|
amountE18?: string | undefined;
|
|
@@ -2007,9 +2007,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2007
2007
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2008
2008
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2009
2009
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2010
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2011
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2012
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2010
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2011
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2012
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2013
2013
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2014
2014
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2015
2015
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2041,9 +2041,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2041
2041
|
sourceTxHash: string;
|
|
2042
2042
|
latestTxRef: string;
|
|
2043
2043
|
txOccurrenceIndex?: number | undefined;
|
|
2044
|
-
sourceDomain: "unspecified" | "
|
|
2045
|
-
destinationDomain: "unspecified" | "
|
|
2046
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2044
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2045
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2046
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2047
2047
|
isOpen: boolean;
|
|
2048
2048
|
isTerminal: boolean;
|
|
2049
2049
|
assetIds?: {
|
|
@@ -2069,9 +2069,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2069
2069
|
sourceTxHash: string;
|
|
2070
2070
|
latestTxRef: string;
|
|
2071
2071
|
txOccurrenceIndex?: number | undefined;
|
|
2072
|
-
sourceDomain: "unspecified" | "
|
|
2073
|
-
destinationDomain: "unspecified" | "
|
|
2074
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2072
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2073
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2074
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2075
2075
|
isOpen: boolean;
|
|
2076
2076
|
isTerminal: boolean;
|
|
2077
2077
|
assetIds?: {
|
|
@@ -2102,9 +2102,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2102
2102
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2103
2103
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2104
2104
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2105
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2106
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2107
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2105
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2106
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2107
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2108
2108
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2109
2109
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2110
2110
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2136,9 +2136,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2136
2136
|
sourceTxHash: string;
|
|
2137
2137
|
latestTxRef: string;
|
|
2138
2138
|
txOccurrenceIndex?: number | undefined;
|
|
2139
|
-
sourceDomain: "unspecified" | "
|
|
2140
|
-
destinationDomain: "unspecified" | "
|
|
2141
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2139
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2140
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2141
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2142
2142
|
isOpen: boolean;
|
|
2143
2143
|
isTerminal: boolean;
|
|
2144
2144
|
assetIds?: {
|
|
@@ -2164,9 +2164,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2164
2164
|
sourceTxHash: string;
|
|
2165
2165
|
latestTxRef: string;
|
|
2166
2166
|
txOccurrenceIndex?: number | undefined;
|
|
2167
|
-
sourceDomain: "unspecified" | "
|
|
2168
|
-
destinationDomain: "unspecified" | "
|
|
2169
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2167
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2168
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2169
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2170
2170
|
isOpen: boolean;
|
|
2171
2171
|
isTerminal: boolean;
|
|
2172
2172
|
assetIds?: {
|