@polyester/sdk 0.35.0-devnet-20261108030630 → 0.35.0-devnet-20261108182734
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 +11 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +23 -3
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +23 -3
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +64 -5
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +42 -5
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +11 -1
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +11 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +50 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +13 -1
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.d.ts +5 -0
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +5 -0
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +141 -81
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +18 -3
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +2 -2
- package/dist/services/orders/orders-batch.schemas.d.ts +52 -52
- package/dist/services/orders/orders-input.schemas.d.ts +6 -6
- package/dist/services/orders/orders-output.schemas.d.ts +11 -11
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -12
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +15 -15
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +3 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/errors.d.ts +13 -2
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +14 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/transports.d.ts +10 -2
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js +6 -1
- package/dist/shared/transports.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowKind, FlowState } from "../../gen/chain/lifecycle/v1/types_pb.js";
|
|
2
|
-
import { ListOrderBy, ListScope, Sort, TxLookupKind } from "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
2
|
+
import { FlowParticipation, ListOrderBy, ListScope, Sort, TxLookupKind } from "../../gen/chain/lifecycle/v1/lifecycle_read_pb.js";
|
|
3
3
|
import { LifecycleListOrderByValue, LifecycleListScopeValue, LifecycleReasonValue, LifecycleRequestFeeStatusValue, LifecycleSortValue, LifecycleTxLookupKindValue } from "./lifecycle.codecs.js";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
//#region src/services/lifecycle/lifecycle.schemas.d.ts
|
|
@@ -45,12 +45,38 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
45
45
|
case: "smartAccountAddress";
|
|
46
46
|
value: string;
|
|
47
47
|
}>]>, undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Narrows an account's list to the flows it owns (`"owner"`, the list before
|
|
50
|
+
* received transfers were added) or the transfers it receives (`"recipient"`).
|
|
51
|
+
* Omit for both. Requires `accountSelector`.
|
|
52
|
+
*/
|
|
53
|
+
readonly participation: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["owner", "recipient"], undefined>, undefined>, v.TransformAction<"owner" | "recipient" | undefined, FlowParticipation>]>;
|
|
48
54
|
readonly polyesterChainIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
49
55
|
readonly zippedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
50
56
|
readonly unifiedAssetIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, undefined>;
|
|
51
57
|
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
52
58
|
readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["last_activity", "started_at"], undefined>, "last_activity">, v.TransformAction<"last_activity" | "started_at", ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT>]>;
|
|
53
|
-
}, undefined>, v.
|
|
59
|
+
}, undefined>, v.CheckAction<{
|
|
60
|
+
limit: number;
|
|
61
|
+
sort: Sort.NEWEST | Sort.OLDEST;
|
|
62
|
+
flowKind?: FlowKind | undefined;
|
|
63
|
+
flowState?: FlowState | undefined;
|
|
64
|
+
txRef?: string | undefined;
|
|
65
|
+
scope: ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY;
|
|
66
|
+
accountSelector?: {
|
|
67
|
+
case: "ownerAccountId";
|
|
68
|
+
value: bigint;
|
|
69
|
+
} | {
|
|
70
|
+
case: "smartAccountAddress";
|
|
71
|
+
value: string;
|
|
72
|
+
} | undefined;
|
|
73
|
+
participation?: FlowParticipation | undefined;
|
|
74
|
+
polyesterChainIds?: number[] | undefined;
|
|
75
|
+
zippedAssetIds?: number[] | undefined;
|
|
76
|
+
unifiedAssetIds?: number[] | undefined;
|
|
77
|
+
pageToken: string;
|
|
78
|
+
orderBy: ListOrderBy.ORDER_BY_LAST_ACTIVITY | ListOrderBy.ORDER_BY_STARTED_AT;
|
|
79
|
+
}, "participation requires accountSelector.">, v.TransformAction<{
|
|
54
80
|
limit: number;
|
|
55
81
|
sort: Sort.NEWEST | Sort.OLDEST;
|
|
56
82
|
flowKind?: FlowKind | undefined;
|
|
@@ -64,6 +90,7 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
64
90
|
case: "smartAccountAddress";
|
|
65
91
|
value: string;
|
|
66
92
|
} | undefined;
|
|
93
|
+
participation?: FlowParticipation | undefined;
|
|
67
94
|
polyesterChainIds?: number[] | undefined;
|
|
68
95
|
zippedAssetIds?: number[] | undefined;
|
|
69
96
|
unifiedAssetIds?: number[] | undefined;
|
|
@@ -83,6 +110,7 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
83
110
|
case: "smartAccountAddress";
|
|
84
111
|
value: string;
|
|
85
112
|
} | undefined;
|
|
113
|
+
participation: FlowParticipation | undefined;
|
|
86
114
|
polyesterChainIds: number[] | undefined;
|
|
87
115
|
zippedAssetIds: number[] | undefined;
|
|
88
116
|
unifiedAssetIds: number[] | undefined;
|
|
@@ -141,7 +169,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
141
169
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
142
170
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
143
171
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
144
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
145
173
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
146
174
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
147
175
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -169,7 +197,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
169
197
|
txRef: string;
|
|
170
198
|
txChainId: number;
|
|
171
199
|
occurredAtUnixMs: number;
|
|
172
|
-
lifecycleSource: "unspecified" | "
|
|
200
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
173
201
|
lifecycleReason: LifecycleReasonValue;
|
|
174
202
|
zipperReason?: {
|
|
175
203
|
code: number;
|
|
@@ -191,7 +219,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
191
219
|
txRef: string;
|
|
192
220
|
txChainId: number;
|
|
193
221
|
occurredAtUnixMs: number;
|
|
194
|
-
lifecycleSource: "unspecified" | "
|
|
222
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
195
223
|
lifecycleReason: LifecycleReasonValue;
|
|
196
224
|
zipperReason?: {
|
|
197
225
|
code: number;
|
|
@@ -213,7 +241,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
213
241
|
}>]>;
|
|
214
242
|
declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
215
243
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
216
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
217
245
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
218
246
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
219
247
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -262,7 +290,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
262
290
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
263
291
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
264
292
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
265
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
266
294
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
267
295
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
268
296
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -284,7 +312,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
284
312
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
285
313
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
286
314
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
287
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
288
316
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
289
317
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
290
318
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -312,7 +340,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
312
340
|
txRef: string;
|
|
313
341
|
txChainId: number;
|
|
314
342
|
occurredAtUnixMs: number;
|
|
315
|
-
lifecycleSource: "unspecified" | "
|
|
343
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
316
344
|
lifecycleReason: LifecycleReasonValue;
|
|
317
345
|
zipperReason?: {
|
|
318
346
|
code: number;
|
|
@@ -334,7 +362,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
334
362
|
txRef: string;
|
|
335
363
|
txChainId: number;
|
|
336
364
|
occurredAtUnixMs: number;
|
|
337
|
-
lifecycleSource: "unspecified" | "
|
|
365
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
338
366
|
lifecycleReason: LifecycleReasonValue;
|
|
339
367
|
zipperReason?: {
|
|
340
368
|
code: number;
|
|
@@ -356,7 +384,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
356
384
|
}>]>, undefined>, readonly []>;
|
|
357
385
|
}, undefined>, v.TransformAction<{
|
|
358
386
|
sequence: number;
|
|
359
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
387
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
360
388
|
assetIds?: {
|
|
361
389
|
zippedAssetId: number;
|
|
362
390
|
unifiedAssetId: number;
|
|
@@ -376,7 +404,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
376
404
|
}) | undefined;
|
|
377
405
|
milestoneTxRef: string;
|
|
378
406
|
milestoneTxChainId: number;
|
|
379
|
-
lifecycleSource: "unspecified" | "
|
|
407
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
380
408
|
lifecycleReason: LifecycleReasonValue;
|
|
381
409
|
zipperReason?: {
|
|
382
410
|
code: number;
|
|
@@ -397,7 +425,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
397
425
|
txRef: string;
|
|
398
426
|
txChainId: number;
|
|
399
427
|
occurredAtUnixMs: number;
|
|
400
|
-
lifecycleSource: "unspecified" | "
|
|
428
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
401
429
|
lifecycleReason: LifecycleReasonValue;
|
|
402
430
|
zipperReason?: {
|
|
403
431
|
code: number;
|
|
@@ -419,7 +447,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
419
447
|
})[];
|
|
420
448
|
}, Omit<{
|
|
421
449
|
sequence: number;
|
|
422
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
450
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
423
451
|
assetIds?: {
|
|
424
452
|
zippedAssetId: number;
|
|
425
453
|
unifiedAssetId: number;
|
|
@@ -439,7 +467,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
439
467
|
}) | undefined;
|
|
440
468
|
milestoneTxRef: string;
|
|
441
469
|
milestoneTxChainId: number;
|
|
442
|
-
lifecycleSource: "unspecified" | "
|
|
470
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
443
471
|
lifecycleReason: LifecycleReasonValue;
|
|
444
472
|
zipperReason?: {
|
|
445
473
|
code: number;
|
|
@@ -460,7 +488,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
460
488
|
txRef: string;
|
|
461
489
|
txChainId: number;
|
|
462
490
|
occurredAtUnixMs: number;
|
|
463
|
-
lifecycleSource: "unspecified" | "
|
|
491
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
464
492
|
lifecycleReason: LifecycleReasonValue;
|
|
465
493
|
zipperReason?: {
|
|
466
494
|
code: number;
|
|
@@ -485,7 +513,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
485
513
|
}>]>;
|
|
486
514
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
487
515
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
488
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
489
517
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
490
518
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
491
519
|
}, undefined>;
|
|
@@ -505,7 +533,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
505
533
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
506
534
|
readonly flowId: v.StringSchema<undefined>;
|
|
507
535
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
508
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
509
537
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
510
538
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
511
539
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -558,7 +586,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
558
586
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
559
587
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
560
588
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
561
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
562
590
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
563
591
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
564
592
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -585,19 +613,25 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
585
613
|
}, undefined>, undefined>;
|
|
586
614
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
587
615
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
588
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
589
617
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
590
618
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
591
619
|
}, undefined>, undefined>, readonly []>;
|
|
592
620
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
593
621
|
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
594
622
|
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
623
|
+
/**
|
|
624
|
+
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
625
|
+
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
626
|
+
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
627
|
+
*/
|
|
628
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
595
629
|
}, undefined>, v.TransformAction<{
|
|
596
630
|
ownerAccountId: string;
|
|
597
631
|
smartAccountAddress: string;
|
|
598
632
|
flowId: string;
|
|
599
633
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
600
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
634
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
601
635
|
assetIds?: {
|
|
602
636
|
zippedAssetId: number;
|
|
603
637
|
unifiedAssetId: number;
|
|
@@ -622,7 +656,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
622
656
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
623
657
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
624
658
|
latestTxRef: string;
|
|
625
|
-
latestLifecycleSource: "unspecified" | "
|
|
659
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
626
660
|
lifecycleReason: LifecycleReasonValue;
|
|
627
661
|
zipperReason?: {
|
|
628
662
|
code: number;
|
|
@@ -649,18 +683,19 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
649
683
|
} | undefined;
|
|
650
684
|
progressTimeline: {
|
|
651
685
|
sequence: number;
|
|
652
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
686
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
653
687
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
654
688
|
expectedDurationMs: number;
|
|
655
689
|
}[];
|
|
656
690
|
estimatedCompletionUnixMs: number;
|
|
657
691
|
isDelayed: boolean;
|
|
692
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
658
693
|
}, Omit<{
|
|
659
694
|
ownerAccountId: string;
|
|
660
695
|
smartAccountAddress: string;
|
|
661
696
|
flowId: string;
|
|
662
697
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
663
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
698
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
664
699
|
assetIds?: {
|
|
665
700
|
zippedAssetId: number;
|
|
666
701
|
unifiedAssetId: number;
|
|
@@ -685,7 +720,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
685
720
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
686
721
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
687
722
|
latestTxRef: string;
|
|
688
|
-
latestLifecycleSource: "unspecified" | "
|
|
723
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
689
724
|
lifecycleReason: LifecycleReasonValue;
|
|
690
725
|
zipperReason?: {
|
|
691
726
|
code: number;
|
|
@@ -712,12 +747,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
712
747
|
} | undefined;
|
|
713
748
|
progressTimeline: {
|
|
714
749
|
sequence: number;
|
|
715
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
750
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
716
751
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
717
752
|
expectedDurationMs: number;
|
|
718
753
|
}[];
|
|
719
754
|
estimatedCompletionUnixMs: number;
|
|
720
755
|
isDelayed: boolean;
|
|
756
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
721
757
|
}, "amountE18"> & {
|
|
722
758
|
amount?: string;
|
|
723
759
|
}>]>;
|
|
@@ -727,7 +763,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
727
763
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
728
764
|
readonly flowId: v.StringSchema<undefined>;
|
|
729
765
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
730
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
731
767
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
732
768
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
733
769
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -780,7 +816,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
780
816
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
781
817
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
782
818
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
783
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
784
820
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
785
821
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
786
822
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -807,19 +843,25 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
807
843
|
}, undefined>, undefined>;
|
|
808
844
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
809
845
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
810
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
811
847
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
812
848
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
813
849
|
}, undefined>, undefined>, readonly []>;
|
|
814
850
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
815
851
|
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
816
852
|
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
853
|
+
/**
|
|
854
|
+
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
855
|
+
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
856
|
+
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
857
|
+
*/
|
|
858
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
817
859
|
}, undefined>, v.TransformAction<{
|
|
818
860
|
ownerAccountId: string;
|
|
819
861
|
smartAccountAddress: string;
|
|
820
862
|
flowId: string;
|
|
821
863
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
822
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
864
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
823
865
|
assetIds?: {
|
|
824
866
|
zippedAssetId: number;
|
|
825
867
|
unifiedAssetId: number;
|
|
@@ -844,7 +886,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
844
886
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
845
887
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
846
888
|
latestTxRef: string;
|
|
847
|
-
latestLifecycleSource: "unspecified" | "
|
|
889
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
848
890
|
lifecycleReason: LifecycleReasonValue;
|
|
849
891
|
zipperReason?: {
|
|
850
892
|
code: number;
|
|
@@ -871,18 +913,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
871
913
|
} | undefined;
|
|
872
914
|
progressTimeline: {
|
|
873
915
|
sequence: number;
|
|
874
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
916
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
875
917
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
876
918
|
expectedDurationMs: number;
|
|
877
919
|
}[];
|
|
878
920
|
estimatedCompletionUnixMs: number;
|
|
879
921
|
isDelayed: boolean;
|
|
922
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
880
923
|
}, Omit<{
|
|
881
924
|
ownerAccountId: string;
|
|
882
925
|
smartAccountAddress: string;
|
|
883
926
|
flowId: string;
|
|
884
927
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
885
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
928
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
886
929
|
assetIds?: {
|
|
887
930
|
zippedAssetId: number;
|
|
888
931
|
unifiedAssetId: number;
|
|
@@ -907,7 +950,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
907
950
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
908
951
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
909
952
|
latestTxRef: string;
|
|
910
|
-
latestLifecycleSource: "unspecified" | "
|
|
953
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
911
954
|
lifecycleReason: LifecycleReasonValue;
|
|
912
955
|
zipperReason?: {
|
|
913
956
|
code: number;
|
|
@@ -934,18 +977,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
934
977
|
} | undefined;
|
|
935
978
|
progressTimeline: {
|
|
936
979
|
sequence: number;
|
|
937
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
980
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
938
981
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
939
982
|
expectedDurationMs: number;
|
|
940
983
|
}[];
|
|
941
984
|
estimatedCompletionUnixMs: number;
|
|
942
985
|
isDelayed: boolean;
|
|
986
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
943
987
|
}, "amountE18"> & {
|
|
944
988
|
amount?: string;
|
|
945
989
|
}>]>, undefined>;
|
|
946
990
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
947
991
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
948
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
949
993
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
950
994
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
951
995
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -994,7 +1038,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
994
1038
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
995
1039
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
996
1040
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
997
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
998
1042
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
999
1043
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1000
1044
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1016,7 +1060,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1016
1060
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1017
1061
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1018
1062
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1019
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1020
1064
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1021
1065
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1022
1066
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1044,7 +1088,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1044
1088
|
txRef: string;
|
|
1045
1089
|
txChainId: number;
|
|
1046
1090
|
occurredAtUnixMs: number;
|
|
1047
|
-
lifecycleSource: "unspecified" | "
|
|
1091
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1048
1092
|
lifecycleReason: LifecycleReasonValue;
|
|
1049
1093
|
zipperReason?: {
|
|
1050
1094
|
code: number;
|
|
@@ -1066,7 +1110,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1066
1110
|
txRef: string;
|
|
1067
1111
|
txChainId: number;
|
|
1068
1112
|
occurredAtUnixMs: number;
|
|
1069
|
-
lifecycleSource: "unspecified" | "
|
|
1113
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1070
1114
|
lifecycleReason: LifecycleReasonValue;
|
|
1071
1115
|
zipperReason?: {
|
|
1072
1116
|
code: number;
|
|
@@ -1088,7 +1132,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1088
1132
|
}>]>, undefined>, readonly []>;
|
|
1089
1133
|
}, undefined>, v.TransformAction<{
|
|
1090
1134
|
sequence: number;
|
|
1091
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1135
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1092
1136
|
assetIds?: {
|
|
1093
1137
|
zippedAssetId: number;
|
|
1094
1138
|
unifiedAssetId: number;
|
|
@@ -1108,7 +1152,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1108
1152
|
}) | undefined;
|
|
1109
1153
|
milestoneTxRef: string;
|
|
1110
1154
|
milestoneTxChainId: number;
|
|
1111
|
-
lifecycleSource: "unspecified" | "
|
|
1155
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1112
1156
|
lifecycleReason: LifecycleReasonValue;
|
|
1113
1157
|
zipperReason?: {
|
|
1114
1158
|
code: number;
|
|
@@ -1129,7 +1173,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1129
1173
|
txRef: string;
|
|
1130
1174
|
txChainId: number;
|
|
1131
1175
|
occurredAtUnixMs: number;
|
|
1132
|
-
lifecycleSource: "unspecified" | "
|
|
1176
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1133
1177
|
lifecycleReason: LifecycleReasonValue;
|
|
1134
1178
|
zipperReason?: {
|
|
1135
1179
|
code: number;
|
|
@@ -1151,7 +1195,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1151
1195
|
})[];
|
|
1152
1196
|
}, Omit<{
|
|
1153
1197
|
sequence: number;
|
|
1154
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1198
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1155
1199
|
assetIds?: {
|
|
1156
1200
|
zippedAssetId: number;
|
|
1157
1201
|
unifiedAssetId: number;
|
|
@@ -1171,7 +1215,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1171
1215
|
}) | undefined;
|
|
1172
1216
|
milestoneTxRef: string;
|
|
1173
1217
|
milestoneTxChainId: number;
|
|
1174
|
-
lifecycleSource: "unspecified" | "
|
|
1218
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1175
1219
|
lifecycleReason: LifecycleReasonValue;
|
|
1176
1220
|
zipperReason?: {
|
|
1177
1221
|
code: number;
|
|
@@ -1192,7 +1236,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1192
1236
|
txRef: string;
|
|
1193
1237
|
txChainId: number;
|
|
1194
1238
|
occurredAtUnixMs: number;
|
|
1195
|
-
lifecycleSource: "unspecified" | "
|
|
1239
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1196
1240
|
lifecycleReason: LifecycleReasonValue;
|
|
1197
1241
|
zipperReason?: {
|
|
1198
1242
|
code: number;
|
|
@@ -1223,7 +1267,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1223
1267
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1224
1268
|
readonly flowId: v.StringSchema<undefined>;
|
|
1225
1269
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1226
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1227
1271
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1228
1272
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1229
1273
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1276,7 +1320,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1276
1320
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1277
1321
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1278
1322
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1279
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1280
1324
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1281
1325
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1282
1326
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1303,19 +1347,25 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1303
1347
|
}, undefined>, undefined>;
|
|
1304
1348
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1305
1349
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1306
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1307
1351
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1308
1352
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1309
1353
|
}, undefined>, undefined>, readonly []>;
|
|
1310
1354
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1311
1355
|
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
1312
1356
|
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1357
|
+
/**
|
|
1358
|
+
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
1359
|
+
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1360
|
+
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1361
|
+
*/
|
|
1362
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1313
1363
|
}, undefined>, v.TransformAction<{
|
|
1314
1364
|
ownerAccountId: string;
|
|
1315
1365
|
smartAccountAddress: string;
|
|
1316
1366
|
flowId: string;
|
|
1317
1367
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1318
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1368
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1319
1369
|
assetIds?: {
|
|
1320
1370
|
zippedAssetId: number;
|
|
1321
1371
|
unifiedAssetId: number;
|
|
@@ -1340,7 +1390,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1340
1390
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1341
1391
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1342
1392
|
latestTxRef: string;
|
|
1343
|
-
latestLifecycleSource: "unspecified" | "
|
|
1393
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1344
1394
|
lifecycleReason: LifecycleReasonValue;
|
|
1345
1395
|
zipperReason?: {
|
|
1346
1396
|
code: number;
|
|
@@ -1367,18 +1417,19 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1367
1417
|
} | undefined;
|
|
1368
1418
|
progressTimeline: {
|
|
1369
1419
|
sequence: number;
|
|
1370
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1420
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1371
1421
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1372
1422
|
expectedDurationMs: number;
|
|
1373
1423
|
}[];
|
|
1374
1424
|
estimatedCompletionUnixMs: number;
|
|
1375
1425
|
isDelayed: boolean;
|
|
1426
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1376
1427
|
}, Omit<{
|
|
1377
1428
|
ownerAccountId: string;
|
|
1378
1429
|
smartAccountAddress: string;
|
|
1379
1430
|
flowId: string;
|
|
1380
1431
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1381
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1432
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1382
1433
|
assetIds?: {
|
|
1383
1434
|
zippedAssetId: number;
|
|
1384
1435
|
unifiedAssetId: number;
|
|
@@ -1403,7 +1454,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1403
1454
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1404
1455
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1405
1456
|
latestTxRef: string;
|
|
1406
|
-
latestLifecycleSource: "unspecified" | "
|
|
1457
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1407
1458
|
lifecycleReason: LifecycleReasonValue;
|
|
1408
1459
|
zipperReason?: {
|
|
1409
1460
|
code: number;
|
|
@@ -1430,12 +1481,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1430
1481
|
} | undefined;
|
|
1431
1482
|
progressTimeline: {
|
|
1432
1483
|
sequence: number;
|
|
1433
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1484
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1434
1485
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1435
1486
|
expectedDurationMs: number;
|
|
1436
1487
|
}[];
|
|
1437
1488
|
estimatedCompletionUnixMs: number;
|
|
1438
1489
|
isDelayed: boolean;
|
|
1490
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1439
1491
|
}, "amountE18"> & {
|
|
1440
1492
|
amount?: string;
|
|
1441
1493
|
}>]>, undefined>, readonly []>;
|
|
@@ -1448,7 +1500,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1448
1500
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1449
1501
|
readonly flowId: v.StringSchema<undefined>;
|
|
1450
1502
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1451
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1452
1504
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1453
1505
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1454
1506
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1501,7 +1553,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1501
1553
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1502
1554
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1503
1555
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1504
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1505
1557
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1506
1558
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1507
1559
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1528,19 +1580,25 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1528
1580
|
}, undefined>, undefined>;
|
|
1529
1581
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1530
1582
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1531
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1532
1584
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1533
1585
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1534
1586
|
}, undefined>, undefined>, readonly []>;
|
|
1535
1587
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1536
1588
|
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
1537
1589
|
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1590
|
+
/**
|
|
1591
|
+
* How the listed account takes part: `"owner"` for its own flows, including a
|
|
1592
|
+
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1593
|
+
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1594
|
+
*/
|
|
1595
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1538
1596
|
}, undefined>, v.TransformAction<{
|
|
1539
1597
|
ownerAccountId: string;
|
|
1540
1598
|
smartAccountAddress: string;
|
|
1541
1599
|
flowId: string;
|
|
1542
1600
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1543
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1601
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1544
1602
|
assetIds?: {
|
|
1545
1603
|
zippedAssetId: number;
|
|
1546
1604
|
unifiedAssetId: number;
|
|
@@ -1565,7 +1623,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1565
1623
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1566
1624
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1567
1625
|
latestTxRef: string;
|
|
1568
|
-
latestLifecycleSource: "unspecified" | "
|
|
1626
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1569
1627
|
lifecycleReason: LifecycleReasonValue;
|
|
1570
1628
|
zipperReason?: {
|
|
1571
1629
|
code: number;
|
|
@@ -1592,18 +1650,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1592
1650
|
} | undefined;
|
|
1593
1651
|
progressTimeline: {
|
|
1594
1652
|
sequence: number;
|
|
1595
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1653
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1596
1654
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1597
1655
|
expectedDurationMs: number;
|
|
1598
1656
|
}[];
|
|
1599
1657
|
estimatedCompletionUnixMs: number;
|
|
1600
1658
|
isDelayed: boolean;
|
|
1659
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1601
1660
|
}, Omit<{
|
|
1602
1661
|
ownerAccountId: string;
|
|
1603
1662
|
smartAccountAddress: string;
|
|
1604
1663
|
flowId: string;
|
|
1605
1664
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1606
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1665
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1607
1666
|
assetIds?: {
|
|
1608
1667
|
zippedAssetId: number;
|
|
1609
1668
|
unifiedAssetId: number;
|
|
@@ -1628,7 +1687,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1628
1687
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1629
1688
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1630
1689
|
latestTxRef: string;
|
|
1631
|
-
latestLifecycleSource: "unspecified" | "
|
|
1690
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1632
1691
|
lifecycleReason: LifecycleReasonValue;
|
|
1633
1692
|
zipperReason?: {
|
|
1634
1693
|
code: number;
|
|
@@ -1655,18 +1714,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1655
1714
|
} | undefined;
|
|
1656
1715
|
progressTimeline: {
|
|
1657
1716
|
sequence: number;
|
|
1658
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1717
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1659
1718
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1660
1719
|
expectedDurationMs: number;
|
|
1661
1720
|
}[];
|
|
1662
1721
|
estimatedCompletionUnixMs: number;
|
|
1663
1722
|
isDelayed: boolean;
|
|
1723
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1664
1724
|
}, "amountE18"> & {
|
|
1665
1725
|
amount?: string;
|
|
1666
1726
|
}>]>, undefined>;
|
|
1667
1727
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1668
1728
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1669
|
-
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1670
1730
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1671
1731
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1672
1732
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1715,7 +1775,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1715
1775
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1716
1776
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1717
1777
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1718
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1719
1779
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1720
1780
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1721
1781
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1737,7 +1797,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1737
1797
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1738
1798
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1739
1799
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1740
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1741
1801
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1742
1802
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1743
1803
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1765,7 +1825,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1765
1825
|
txRef: string;
|
|
1766
1826
|
txChainId: number;
|
|
1767
1827
|
occurredAtUnixMs: number;
|
|
1768
|
-
lifecycleSource: "unspecified" | "
|
|
1828
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1769
1829
|
lifecycleReason: LifecycleReasonValue;
|
|
1770
1830
|
zipperReason?: {
|
|
1771
1831
|
code: number;
|
|
@@ -1787,7 +1847,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1787
1847
|
txRef: string;
|
|
1788
1848
|
txChainId: number;
|
|
1789
1849
|
occurredAtUnixMs: number;
|
|
1790
|
-
lifecycleSource: "unspecified" | "
|
|
1850
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1791
1851
|
lifecycleReason: LifecycleReasonValue;
|
|
1792
1852
|
zipperReason?: {
|
|
1793
1853
|
code: number;
|
|
@@ -1809,7 +1869,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1809
1869
|
}>]>, undefined>, readonly []>;
|
|
1810
1870
|
}, undefined>, v.TransformAction<{
|
|
1811
1871
|
sequence: number;
|
|
1812
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1872
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1813
1873
|
assetIds?: {
|
|
1814
1874
|
zippedAssetId: number;
|
|
1815
1875
|
unifiedAssetId: number;
|
|
@@ -1829,7 +1889,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1829
1889
|
}) | undefined;
|
|
1830
1890
|
milestoneTxRef: string;
|
|
1831
1891
|
milestoneTxChainId: number;
|
|
1832
|
-
lifecycleSource: "unspecified" | "
|
|
1892
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1833
1893
|
lifecycleReason: LifecycleReasonValue;
|
|
1834
1894
|
zipperReason?: {
|
|
1835
1895
|
code: number;
|
|
@@ -1850,7 +1910,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1850
1910
|
txRef: string;
|
|
1851
1911
|
txChainId: number;
|
|
1852
1912
|
occurredAtUnixMs: number;
|
|
1853
|
-
lifecycleSource: "unspecified" | "
|
|
1913
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1854
1914
|
lifecycleReason: LifecycleReasonValue;
|
|
1855
1915
|
zipperReason?: {
|
|
1856
1916
|
code: number;
|
|
@@ -1872,7 +1932,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1872
1932
|
})[];
|
|
1873
1933
|
}, Omit<{
|
|
1874
1934
|
sequence: number;
|
|
1875
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1935
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1876
1936
|
assetIds?: {
|
|
1877
1937
|
zippedAssetId: number;
|
|
1878
1938
|
unifiedAssetId: number;
|
|
@@ -1892,7 +1952,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1892
1952
|
}) | undefined;
|
|
1893
1953
|
milestoneTxRef: string;
|
|
1894
1954
|
milestoneTxChainId: number;
|
|
1895
|
-
lifecycleSource: "unspecified" | "
|
|
1955
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1896
1956
|
lifecycleReason: LifecycleReasonValue;
|
|
1897
1957
|
zipperReason?: {
|
|
1898
1958
|
code: number;
|
|
@@ -1913,7 +1973,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1913
1973
|
txRef: string;
|
|
1914
1974
|
txChainId: number;
|
|
1915
1975
|
occurredAtUnixMs: number;
|
|
1916
|
-
lifecycleSource: "unspecified" | "
|
|
1976
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1917
1977
|
lifecycleReason: LifecycleReasonValue;
|
|
1918
1978
|
zipperReason?: {
|
|
1919
1979
|
code: number;
|
|
@@ -1949,7 +2009,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1949
2009
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1950
2010
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1951
2011
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1952
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2012
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1953
2013
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1954
2014
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
1955
2015
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1983,7 +2043,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1983
2043
|
txOccurrenceIndex?: number | undefined;
|
|
1984
2044
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1985
2045
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1986
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2046
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1987
2047
|
isOpen: boolean;
|
|
1988
2048
|
isTerminal: boolean;
|
|
1989
2049
|
assetIds?: {
|
|
@@ -2011,7 +2071,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2011
2071
|
txOccurrenceIndex?: number | undefined;
|
|
2012
2072
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2013
2073
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2014
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2074
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2015
2075
|
isOpen: boolean;
|
|
2016
2076
|
isTerminal: boolean;
|
|
2017
2077
|
assetIds?: {
|
|
@@ -2044,7 +2104,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2044
2104
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2045
2105
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2046
2106
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2047
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2107
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2048
2108
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2049
2109
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2050
2110
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2078,7 +2138,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2078
2138
|
txOccurrenceIndex?: number | undefined;
|
|
2079
2139
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2080
2140
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2081
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2141
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2082
2142
|
isOpen: boolean;
|
|
2083
2143
|
isTerminal: boolean;
|
|
2084
2144
|
assetIds?: {
|
|
@@ -2106,7 +2166,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2106
2166
|
txOccurrenceIndex?: number | undefined;
|
|
2107
2167
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2108
2168
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2109
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2169
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2110
2170
|
isOpen: boolean;
|
|
2111
2171
|
isTerminal: boolean;
|
|
2112
2172
|
assetIds?: {
|