@polyester/sdk 0.35.0-devnet-20261111161451 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -1
- package/dist/services/accounts/accounts.d.ts +1 -1
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +2 -2
- package/dist/services/api-keys/api-keys.js +2 -2
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/assistant/assistant-events.schemas.d.ts +129 -101
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.d.ts +2 -2
- package/dist/services/auth/profile/profile.js +2 -2
- package/dist/services/auth/profile/profile.js.map +1 -1
- 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.d.ts +2 -2
- package/dist/services/checkpoints/checkpoints.js +2 -2
- package/dist/services/checkpoints/checkpoints.js.map +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/deposit/deposit.d.ts +2 -2
- package/dist/services/deposit/deposit.js +2 -2
- package/dist/services/deposit/deposit.js.map +1 -1
- package/dist/services/guard-signer/guard-signer.d.ts +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/guard-signer/guard-signer.js.map +1 -1
- 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 +148 -148
- 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/orders-batch.schemas.d.ts +19 -19
- package/dist/services/orders/orders-input.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +22 -22
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +2 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.d.ts +1 -1
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.js +6 -6
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -12
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +37 -37
- package/dist/services/vip/vip.d.ts +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.js.map +1 -1
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ declare const LifecycleAssetIdsSchema: v.ObjectSchema<{
|
|
|
7
7
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
8
8
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "
|
|
10
|
+
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "completed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded">]>;
|
|
11
11
|
declare const LifecycleZipperReasonSchema: v.ObjectSchema<{
|
|
12
12
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
13
13
|
readonly reasonId: v.StringSchema<undefined>;
|
|
@@ -17,7 +17,7 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
17
17
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, 100>;
|
|
18
18
|
readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["newest", "oldest"], undefined>, "newest">, v.TransformAction<"newest" | "oldest", Sort.NEWEST | Sort.OLDEST>]>;
|
|
19
19
|
readonly flowKind: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["deposit", "withdraw", "transfer"], undefined>, undefined>, v.TransformAction<"deposit" | "withdraw" | "transfer" | undefined, FlowKind>]>;
|
|
20
|
-
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"failed" | "
|
|
20
|
+
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"failed" | "completed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
|
|
21
21
|
readonly txRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "txHash is required.">, v.CheckAction<string, "txHash must be a valid EVM hash or chain-native transaction id.">, v.TransformAction<string, string>]>, undefined>;
|
|
22
22
|
readonly scope: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["all", "open", "terminal"], undefined>, "all">, v.TransformAction<"open" | "all" | "terminal", ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY>]>;
|
|
23
23
|
readonly accountSelector: v.OptionalSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
@@ -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" | "execution" | "source" | "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;
|
|
@@ -390,7 +390,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
390
390
|
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
391
391
|
}, undefined>, v.TransformAction<{
|
|
392
392
|
sequence: number;
|
|
393
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
393
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
394
394
|
assetIds?: {
|
|
395
395
|
zippedAssetId: number;
|
|
396
396
|
unifiedAssetId: number;
|
|
@@ -410,7 +410,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
410
410
|
}) | undefined;
|
|
411
411
|
milestoneTxRef: string;
|
|
412
412
|
milestoneTxChainId: number;
|
|
413
|
-
lifecycleSource: "unspecified" | "
|
|
413
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
414
414
|
lifecycleReason: LifecycleReasonValue;
|
|
415
415
|
zipperReason?: {
|
|
416
416
|
code: number;
|
|
@@ -431,7 +431,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
431
431
|
txRef: string;
|
|
432
432
|
txChainId: number;
|
|
433
433
|
occurredAtUnixMs: number;
|
|
434
|
-
lifecycleSource: "unspecified" | "
|
|
434
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
435
435
|
lifecycleReason: LifecycleReasonValue;
|
|
436
436
|
zipperReason?: {
|
|
437
437
|
code: number;
|
|
@@ -443,7 +443,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
443
443
|
approveCount: number;
|
|
444
444
|
rejectCount: number;
|
|
445
445
|
validatorCount: number;
|
|
446
|
-
kind: "unspecified" | "
|
|
446
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
447
447
|
requiredApprovals: number;
|
|
448
448
|
requiredRejections: number;
|
|
449
449
|
amountE18?: string | undefined;
|
|
@@ -454,7 +454,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
454
454
|
refundAddress: string;
|
|
455
455
|
}, Omit<{
|
|
456
456
|
sequence: number;
|
|
457
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
457
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
458
458
|
assetIds?: {
|
|
459
459
|
zippedAssetId: number;
|
|
460
460
|
unifiedAssetId: number;
|
|
@@ -474,7 +474,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
474
474
|
}) | undefined;
|
|
475
475
|
milestoneTxRef: string;
|
|
476
476
|
milestoneTxChainId: number;
|
|
477
|
-
lifecycleSource: "unspecified" | "
|
|
477
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
478
478
|
lifecycleReason: LifecycleReasonValue;
|
|
479
479
|
zipperReason?: {
|
|
480
480
|
code: number;
|
|
@@ -495,7 +495,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
495
495
|
txRef: string;
|
|
496
496
|
txChainId: number;
|
|
497
497
|
occurredAtUnixMs: number;
|
|
498
|
-
lifecycleSource: "unspecified" | "
|
|
498
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
499
499
|
lifecycleReason: LifecycleReasonValue;
|
|
500
500
|
zipperReason?: {
|
|
501
501
|
code: number;
|
|
@@ -507,7 +507,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
507
507
|
approveCount: number;
|
|
508
508
|
rejectCount: number;
|
|
509
509
|
validatorCount: number;
|
|
510
|
-
kind: "unspecified" | "
|
|
510
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
511
511
|
requiredApprovals: number;
|
|
512
512
|
requiredRejections: number;
|
|
513
513
|
amountE18?: string | undefined;
|
|
@@ -521,8 +521,8 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
521
521
|
}>]>;
|
|
522
522
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
523
523
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
524
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
525
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "
|
|
524
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
525
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
526
526
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
527
527
|
}, undefined>;
|
|
528
528
|
declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
|
|
@@ -541,7 +541,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
541
541
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
542
542
|
readonly flowId: v.StringSchema<undefined>;
|
|
543
543
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
544
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
544
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
545
545
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
546
546
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
547
547
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -591,10 +591,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
591
591
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
592
592
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
593
593
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
594
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
595
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
594
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
595
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
596
596
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
597
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
597
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
598
598
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
599
599
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
600
600
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -621,8 +621,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
621
621
|
}, undefined>, undefined>;
|
|
622
622
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
623
623
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
624
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
625
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "
|
|
624
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
625
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
626
626
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
627
627
|
}, undefined>, undefined>, readonly []>;
|
|
628
628
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -639,7 +639,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
639
639
|
smartAccountAddress: string;
|
|
640
640
|
flowId: string;
|
|
641
641
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
642
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
642
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
643
643
|
assetIds?: {
|
|
644
644
|
zippedAssetId: number;
|
|
645
645
|
unifiedAssetId: number;
|
|
@@ -661,10 +661,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
661
661
|
txOccurrenceIndex?: number | undefined;
|
|
662
662
|
sourceAddress: string;
|
|
663
663
|
destinationAddress: string;
|
|
664
|
-
sourceDomain: "unspecified" | "
|
|
665
|
-
destinationDomain: "unspecified" | "
|
|
664
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
665
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
666
666
|
latestTxRef: string;
|
|
667
|
-
latestLifecycleSource: "unspecified" | "
|
|
667
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
668
668
|
lifecycleReason: LifecycleReasonValue;
|
|
669
669
|
zipperReason?: {
|
|
670
670
|
code: number;
|
|
@@ -691,8 +691,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
691
691
|
} | undefined;
|
|
692
692
|
progressTimeline: {
|
|
693
693
|
sequence: number;
|
|
694
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
695
|
-
status: "unspecified" | "completed" | "
|
|
694
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
695
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
696
696
|
expectedDurationMs: number;
|
|
697
697
|
}[];
|
|
698
698
|
estimatedCompletionUnixMs: number;
|
|
@@ -703,7 +703,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
703
703
|
smartAccountAddress: string;
|
|
704
704
|
flowId: string;
|
|
705
705
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
706
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
706
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
707
707
|
assetIds?: {
|
|
708
708
|
zippedAssetId: number;
|
|
709
709
|
unifiedAssetId: number;
|
|
@@ -725,10 +725,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
725
725
|
txOccurrenceIndex?: number | undefined;
|
|
726
726
|
sourceAddress: string;
|
|
727
727
|
destinationAddress: string;
|
|
728
|
-
sourceDomain: "unspecified" | "
|
|
729
|
-
destinationDomain: "unspecified" | "
|
|
728
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
729
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
730
730
|
latestTxRef: string;
|
|
731
|
-
latestLifecycleSource: "unspecified" | "
|
|
731
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
732
732
|
lifecycleReason: LifecycleReasonValue;
|
|
733
733
|
zipperReason?: {
|
|
734
734
|
code: number;
|
|
@@ -755,8 +755,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
755
755
|
} | undefined;
|
|
756
756
|
progressTimeline: {
|
|
757
757
|
sequence: number;
|
|
758
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
759
|
-
status: "unspecified" | "completed" | "
|
|
758
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
759
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
760
760
|
expectedDurationMs: number;
|
|
761
761
|
}[];
|
|
762
762
|
estimatedCompletionUnixMs: number;
|
|
@@ -771,7 +771,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
771
771
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
772
772
|
readonly flowId: v.StringSchema<undefined>;
|
|
773
773
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
774
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
774
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
775
775
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
776
776
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
777
777
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -821,10 +821,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
821
821
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
822
822
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
823
823
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
824
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
825
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
824
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
825
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
826
826
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
827
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
827
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
828
828
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
829
829
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
830
830
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -851,8 +851,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
851
851
|
}, undefined>, undefined>;
|
|
852
852
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
853
853
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
854
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
855
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "
|
|
854
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
855
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
856
856
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
857
857
|
}, undefined>, undefined>, readonly []>;
|
|
858
858
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -869,7 +869,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
869
869
|
smartAccountAddress: string;
|
|
870
870
|
flowId: string;
|
|
871
871
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
872
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
872
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
873
873
|
assetIds?: {
|
|
874
874
|
zippedAssetId: number;
|
|
875
875
|
unifiedAssetId: number;
|
|
@@ -891,10 +891,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
891
891
|
txOccurrenceIndex?: number | undefined;
|
|
892
892
|
sourceAddress: string;
|
|
893
893
|
destinationAddress: string;
|
|
894
|
-
sourceDomain: "unspecified" | "
|
|
895
|
-
destinationDomain: "unspecified" | "
|
|
894
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
895
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
896
896
|
latestTxRef: string;
|
|
897
|
-
latestLifecycleSource: "unspecified" | "
|
|
897
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
898
898
|
lifecycleReason: LifecycleReasonValue;
|
|
899
899
|
zipperReason?: {
|
|
900
900
|
code: number;
|
|
@@ -921,8 +921,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
921
921
|
} | undefined;
|
|
922
922
|
progressTimeline: {
|
|
923
923
|
sequence: number;
|
|
924
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
925
|
-
status: "unspecified" | "completed" | "
|
|
924
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
925
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
926
926
|
expectedDurationMs: number;
|
|
927
927
|
}[];
|
|
928
928
|
estimatedCompletionUnixMs: number;
|
|
@@ -933,7 +933,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
933
933
|
smartAccountAddress: string;
|
|
934
934
|
flowId: string;
|
|
935
935
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
936
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
936
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
937
937
|
assetIds?: {
|
|
938
938
|
zippedAssetId: number;
|
|
939
939
|
unifiedAssetId: number;
|
|
@@ -955,10 +955,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
955
955
|
txOccurrenceIndex?: number | undefined;
|
|
956
956
|
sourceAddress: string;
|
|
957
957
|
destinationAddress: string;
|
|
958
|
-
sourceDomain: "unspecified" | "
|
|
959
|
-
destinationDomain: "unspecified" | "
|
|
958
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
959
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
960
960
|
latestTxRef: string;
|
|
961
|
-
latestLifecycleSource: "unspecified" | "
|
|
961
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
962
962
|
lifecycleReason: LifecycleReasonValue;
|
|
963
963
|
zipperReason?: {
|
|
964
964
|
code: number;
|
|
@@ -985,8 +985,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
985
985
|
} | undefined;
|
|
986
986
|
progressTimeline: {
|
|
987
987
|
sequence: number;
|
|
988
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
989
|
-
status: "unspecified" | "completed" | "
|
|
988
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
989
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
990
990
|
expectedDurationMs: number;
|
|
991
991
|
}[];
|
|
992
992
|
estimatedCompletionUnixMs: number;
|
|
@@ -997,7 +997,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
997
997
|
}>]>, undefined>;
|
|
998
998
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
999
999
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1000
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1000
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1001
1001
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1002
1002
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1003
1003
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1046,7 +1046,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1046
1046
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1047
1047
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1048
1048
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1049
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1049
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1050
1050
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1051
1051
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1052
1052
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1068,7 +1068,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1068
1068
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1069
1069
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1070
1070
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1071
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1071
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1072
1072
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1073
1073
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1074
1074
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1080,7 +1080,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1080
1080
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1081
1081
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1082
1082
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1083
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1083
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1084
1084
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1085
1085
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1086
1086
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1096,7 +1096,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1096
1096
|
txRef: string;
|
|
1097
1097
|
txChainId: number;
|
|
1098
1098
|
occurredAtUnixMs: number;
|
|
1099
|
-
lifecycleSource: "unspecified" | "
|
|
1099
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1100
1100
|
lifecycleReason: LifecycleReasonValue;
|
|
1101
1101
|
zipperReason?: {
|
|
1102
1102
|
code: number;
|
|
@@ -1108,7 +1108,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1108
1108
|
approveCount: number;
|
|
1109
1109
|
rejectCount: number;
|
|
1110
1110
|
validatorCount: number;
|
|
1111
|
-
kind: "unspecified" | "
|
|
1111
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1112
1112
|
requiredApprovals: number;
|
|
1113
1113
|
requiredRejections: number;
|
|
1114
1114
|
amountE18?: string | undefined;
|
|
@@ -1118,7 +1118,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1118
1118
|
txRef: string;
|
|
1119
1119
|
txChainId: number;
|
|
1120
1120
|
occurredAtUnixMs: number;
|
|
1121
|
-
lifecycleSource: "unspecified" | "
|
|
1121
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1122
1122
|
lifecycleReason: LifecycleReasonValue;
|
|
1123
1123
|
zipperReason?: {
|
|
1124
1124
|
code: number;
|
|
@@ -1130,7 +1130,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1130
1130
|
approveCount: number;
|
|
1131
1131
|
rejectCount: number;
|
|
1132
1132
|
validatorCount: number;
|
|
1133
|
-
kind: "unspecified" | "
|
|
1133
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1134
1134
|
requiredApprovals: number;
|
|
1135
1135
|
requiredRejections: number;
|
|
1136
1136
|
amountE18?: string | undefined;
|
|
@@ -1146,7 +1146,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1146
1146
|
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
1147
1147
|
}, undefined>, v.TransformAction<{
|
|
1148
1148
|
sequence: number;
|
|
1149
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1149
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1150
1150
|
assetIds?: {
|
|
1151
1151
|
zippedAssetId: number;
|
|
1152
1152
|
unifiedAssetId: number;
|
|
@@ -1166,7 +1166,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1166
1166
|
}) | undefined;
|
|
1167
1167
|
milestoneTxRef: string;
|
|
1168
1168
|
milestoneTxChainId: number;
|
|
1169
|
-
lifecycleSource: "unspecified" | "
|
|
1169
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1170
1170
|
lifecycleReason: LifecycleReasonValue;
|
|
1171
1171
|
zipperReason?: {
|
|
1172
1172
|
code: number;
|
|
@@ -1187,7 +1187,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1187
1187
|
txRef: string;
|
|
1188
1188
|
txChainId: number;
|
|
1189
1189
|
occurredAtUnixMs: number;
|
|
1190
|
-
lifecycleSource: "unspecified" | "
|
|
1190
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1191
1191
|
lifecycleReason: LifecycleReasonValue;
|
|
1192
1192
|
zipperReason?: {
|
|
1193
1193
|
code: number;
|
|
@@ -1199,7 +1199,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1199
1199
|
approveCount: number;
|
|
1200
1200
|
rejectCount: number;
|
|
1201
1201
|
validatorCount: number;
|
|
1202
|
-
kind: "unspecified" | "
|
|
1202
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1203
1203
|
requiredApprovals: number;
|
|
1204
1204
|
requiredRejections: number;
|
|
1205
1205
|
amountE18?: string | undefined;
|
|
@@ -1210,7 +1210,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1210
1210
|
refundAddress: string;
|
|
1211
1211
|
}, Omit<{
|
|
1212
1212
|
sequence: number;
|
|
1213
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1213
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1214
1214
|
assetIds?: {
|
|
1215
1215
|
zippedAssetId: number;
|
|
1216
1216
|
unifiedAssetId: number;
|
|
@@ -1230,7 +1230,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1230
1230
|
}) | undefined;
|
|
1231
1231
|
milestoneTxRef: string;
|
|
1232
1232
|
milestoneTxChainId: number;
|
|
1233
|
-
lifecycleSource: "unspecified" | "
|
|
1233
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1234
1234
|
lifecycleReason: LifecycleReasonValue;
|
|
1235
1235
|
zipperReason?: {
|
|
1236
1236
|
code: number;
|
|
@@ -1251,7 +1251,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1251
1251
|
txRef: string;
|
|
1252
1252
|
txChainId: number;
|
|
1253
1253
|
occurredAtUnixMs: number;
|
|
1254
|
-
lifecycleSource: "unspecified" | "
|
|
1254
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1255
1255
|
lifecycleReason: LifecycleReasonValue;
|
|
1256
1256
|
zipperReason?: {
|
|
1257
1257
|
code: number;
|
|
@@ -1263,7 +1263,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1263
1263
|
approveCount: number;
|
|
1264
1264
|
rejectCount: number;
|
|
1265
1265
|
validatorCount: number;
|
|
1266
|
-
kind: "unspecified" | "
|
|
1266
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1267
1267
|
requiredApprovals: number;
|
|
1268
1268
|
requiredRejections: number;
|
|
1269
1269
|
amountE18?: string | undefined;
|
|
@@ -1283,7 +1283,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1283
1283
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1284
1284
|
readonly flowId: v.StringSchema<undefined>;
|
|
1285
1285
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1286
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1286
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1287
1287
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1288
1288
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1289
1289
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1333,10 +1333,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1333
1333
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1334
1334
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1335
1335
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1336
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1337
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1336
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1337
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1338
1338
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1339
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1339
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1340
1340
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1341
1341
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1342
1342
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1363,8 +1363,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1363
1363
|
}, undefined>, undefined>;
|
|
1364
1364
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1365
1365
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1366
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1367
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "
|
|
1366
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1367
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
1368
1368
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1369
1369
|
}, undefined>, undefined>, readonly []>;
|
|
1370
1370
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1381,7 +1381,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1381
1381
|
smartAccountAddress: string;
|
|
1382
1382
|
flowId: string;
|
|
1383
1383
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1384
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1384
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1385
1385
|
assetIds?: {
|
|
1386
1386
|
zippedAssetId: number;
|
|
1387
1387
|
unifiedAssetId: number;
|
|
@@ -1403,10 +1403,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1403
1403
|
txOccurrenceIndex?: number | undefined;
|
|
1404
1404
|
sourceAddress: string;
|
|
1405
1405
|
destinationAddress: string;
|
|
1406
|
-
sourceDomain: "unspecified" | "
|
|
1407
|
-
destinationDomain: "unspecified" | "
|
|
1406
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1407
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1408
1408
|
latestTxRef: string;
|
|
1409
|
-
latestLifecycleSource: "unspecified" | "
|
|
1409
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1410
1410
|
lifecycleReason: LifecycleReasonValue;
|
|
1411
1411
|
zipperReason?: {
|
|
1412
1412
|
code: number;
|
|
@@ -1433,8 +1433,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1433
1433
|
} | undefined;
|
|
1434
1434
|
progressTimeline: {
|
|
1435
1435
|
sequence: number;
|
|
1436
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1437
|
-
status: "unspecified" | "completed" | "
|
|
1436
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1437
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1438
1438
|
expectedDurationMs: number;
|
|
1439
1439
|
}[];
|
|
1440
1440
|
estimatedCompletionUnixMs: number;
|
|
@@ -1445,7 +1445,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1445
1445
|
smartAccountAddress: string;
|
|
1446
1446
|
flowId: string;
|
|
1447
1447
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1448
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1448
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1449
1449
|
assetIds?: {
|
|
1450
1450
|
zippedAssetId: number;
|
|
1451
1451
|
unifiedAssetId: number;
|
|
@@ -1467,10 +1467,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1467
1467
|
txOccurrenceIndex?: number | undefined;
|
|
1468
1468
|
sourceAddress: string;
|
|
1469
1469
|
destinationAddress: string;
|
|
1470
|
-
sourceDomain: "unspecified" | "
|
|
1471
|
-
destinationDomain: "unspecified" | "
|
|
1470
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1471
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1472
1472
|
latestTxRef: string;
|
|
1473
|
-
latestLifecycleSource: "unspecified" | "
|
|
1473
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1474
1474
|
lifecycleReason: LifecycleReasonValue;
|
|
1475
1475
|
zipperReason?: {
|
|
1476
1476
|
code: number;
|
|
@@ -1497,8 +1497,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1497
1497
|
} | undefined;
|
|
1498
1498
|
progressTimeline: {
|
|
1499
1499
|
sequence: number;
|
|
1500
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1501
|
-
status: "unspecified" | "completed" | "
|
|
1500
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1501
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1502
1502
|
expectedDurationMs: number;
|
|
1503
1503
|
}[];
|
|
1504
1504
|
estimatedCompletionUnixMs: number;
|
|
@@ -1516,7 +1516,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1516
1516
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1517
1517
|
readonly flowId: v.StringSchema<undefined>;
|
|
1518
1518
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1519
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1519
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1520
1520
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1521
1521
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1522
1522
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1566,10 +1566,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1566
1566
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1567
1567
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1568
1568
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1569
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1570
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1569
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1570
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1571
1571
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1572
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1572
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1573
1573
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1574
1574
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1575
1575
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1596,8 +1596,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1596
1596
|
}, undefined>, undefined>;
|
|
1597
1597
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1598
1598
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1599
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1600
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "
|
|
1599
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1600
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
|
|
1601
1601
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1602
1602
|
}, undefined>, undefined>, readonly []>;
|
|
1603
1603
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1614,7 +1614,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1614
1614
|
smartAccountAddress: string;
|
|
1615
1615
|
flowId: string;
|
|
1616
1616
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1617
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1617
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1618
1618
|
assetIds?: {
|
|
1619
1619
|
zippedAssetId: number;
|
|
1620
1620
|
unifiedAssetId: number;
|
|
@@ -1636,10 +1636,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1636
1636
|
txOccurrenceIndex?: number | undefined;
|
|
1637
1637
|
sourceAddress: string;
|
|
1638
1638
|
destinationAddress: string;
|
|
1639
|
-
sourceDomain: "unspecified" | "
|
|
1640
|
-
destinationDomain: "unspecified" | "
|
|
1639
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1640
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1641
1641
|
latestTxRef: string;
|
|
1642
|
-
latestLifecycleSource: "unspecified" | "
|
|
1642
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1643
1643
|
lifecycleReason: LifecycleReasonValue;
|
|
1644
1644
|
zipperReason?: {
|
|
1645
1645
|
code: number;
|
|
@@ -1666,8 +1666,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1666
1666
|
} | undefined;
|
|
1667
1667
|
progressTimeline: {
|
|
1668
1668
|
sequence: number;
|
|
1669
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1670
|
-
status: "unspecified" | "completed" | "
|
|
1669
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1670
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1671
1671
|
expectedDurationMs: number;
|
|
1672
1672
|
}[];
|
|
1673
1673
|
estimatedCompletionUnixMs: number;
|
|
@@ -1678,7 +1678,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1678
1678
|
smartAccountAddress: string;
|
|
1679
1679
|
flowId: string;
|
|
1680
1680
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1681
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1681
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1682
1682
|
assetIds?: {
|
|
1683
1683
|
zippedAssetId: number;
|
|
1684
1684
|
unifiedAssetId: number;
|
|
@@ -1700,10 +1700,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1700
1700
|
txOccurrenceIndex?: number | undefined;
|
|
1701
1701
|
sourceAddress: string;
|
|
1702
1702
|
destinationAddress: string;
|
|
1703
|
-
sourceDomain: "unspecified" | "
|
|
1704
|
-
destinationDomain: "unspecified" | "
|
|
1703
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1704
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1705
1705
|
latestTxRef: string;
|
|
1706
|
-
latestLifecycleSource: "unspecified" | "
|
|
1706
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1707
1707
|
lifecycleReason: LifecycleReasonValue;
|
|
1708
1708
|
zipperReason?: {
|
|
1709
1709
|
code: number;
|
|
@@ -1730,8 +1730,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1730
1730
|
} | undefined;
|
|
1731
1731
|
progressTimeline: {
|
|
1732
1732
|
sequence: number;
|
|
1733
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1734
|
-
status: "unspecified" | "completed" | "
|
|
1733
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1734
|
+
status: "unspecified" | "completed" | "planned" | "current";
|
|
1735
1735
|
expectedDurationMs: number;
|
|
1736
1736
|
}[];
|
|
1737
1737
|
estimatedCompletionUnixMs: number;
|
|
@@ -1742,7 +1742,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1742
1742
|
}>]>, undefined>;
|
|
1743
1743
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1744
1744
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1745
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1745
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1746
1746
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1747
1747
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1748
1748
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1791,7 +1791,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1791
1791
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1792
1792
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1793
1793
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1794
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1794
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1795
1795
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1796
1796
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1797
1797
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1813,7 +1813,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1813
1813
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1814
1814
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1815
1815
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1816
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1816
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1817
1817
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1818
1818
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1819
1819
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1825,7 +1825,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1825
1825
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1826
1826
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1827
1827
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1828
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1828
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1829
1829
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1830
1830
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1831
1831
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1841,7 +1841,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1841
1841
|
txRef: string;
|
|
1842
1842
|
txChainId: number;
|
|
1843
1843
|
occurredAtUnixMs: number;
|
|
1844
|
-
lifecycleSource: "unspecified" | "
|
|
1844
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1845
1845
|
lifecycleReason: LifecycleReasonValue;
|
|
1846
1846
|
zipperReason?: {
|
|
1847
1847
|
code: number;
|
|
@@ -1853,7 +1853,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1853
1853
|
approveCount: number;
|
|
1854
1854
|
rejectCount: number;
|
|
1855
1855
|
validatorCount: number;
|
|
1856
|
-
kind: "unspecified" | "
|
|
1856
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1857
1857
|
requiredApprovals: number;
|
|
1858
1858
|
requiredRejections: number;
|
|
1859
1859
|
amountE18?: string | undefined;
|
|
@@ -1863,7 +1863,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1863
1863
|
txRef: string;
|
|
1864
1864
|
txChainId: number;
|
|
1865
1865
|
occurredAtUnixMs: number;
|
|
1866
|
-
lifecycleSource: "unspecified" | "
|
|
1866
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1867
1867
|
lifecycleReason: LifecycleReasonValue;
|
|
1868
1868
|
zipperReason?: {
|
|
1869
1869
|
code: number;
|
|
@@ -1875,7 +1875,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1875
1875
|
approveCount: number;
|
|
1876
1876
|
rejectCount: number;
|
|
1877
1877
|
validatorCount: number;
|
|
1878
|
-
kind: "unspecified" | "
|
|
1878
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1879
1879
|
requiredApprovals: number;
|
|
1880
1880
|
requiredRejections: number;
|
|
1881
1881
|
amountE18?: string | undefined;
|
|
@@ -1891,7 +1891,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1891
1891
|
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
1892
1892
|
}, undefined>, v.TransformAction<{
|
|
1893
1893
|
sequence: number;
|
|
1894
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1894
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1895
1895
|
assetIds?: {
|
|
1896
1896
|
zippedAssetId: number;
|
|
1897
1897
|
unifiedAssetId: number;
|
|
@@ -1911,7 +1911,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1911
1911
|
}) | undefined;
|
|
1912
1912
|
milestoneTxRef: string;
|
|
1913
1913
|
milestoneTxChainId: number;
|
|
1914
|
-
lifecycleSource: "unspecified" | "
|
|
1914
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1915
1915
|
lifecycleReason: LifecycleReasonValue;
|
|
1916
1916
|
zipperReason?: {
|
|
1917
1917
|
code: number;
|
|
@@ -1932,7 +1932,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1932
1932
|
txRef: string;
|
|
1933
1933
|
txChainId: number;
|
|
1934
1934
|
occurredAtUnixMs: number;
|
|
1935
|
-
lifecycleSource: "unspecified" | "
|
|
1935
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1936
1936
|
lifecycleReason: LifecycleReasonValue;
|
|
1937
1937
|
zipperReason?: {
|
|
1938
1938
|
code: number;
|
|
@@ -1944,7 +1944,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1944
1944
|
approveCount: number;
|
|
1945
1945
|
rejectCount: number;
|
|
1946
1946
|
validatorCount: number;
|
|
1947
|
-
kind: "unspecified" | "
|
|
1947
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1948
1948
|
requiredApprovals: number;
|
|
1949
1949
|
requiredRejections: number;
|
|
1950
1950
|
amountE18?: string | undefined;
|
|
@@ -1955,7 +1955,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1955
1955
|
refundAddress: string;
|
|
1956
1956
|
}, Omit<{
|
|
1957
1957
|
sequence: number;
|
|
1958
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1958
|
+
step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1959
1959
|
assetIds?: {
|
|
1960
1960
|
zippedAssetId: number;
|
|
1961
1961
|
unifiedAssetId: number;
|
|
@@ -1975,7 +1975,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1975
1975
|
}) | undefined;
|
|
1976
1976
|
milestoneTxRef: string;
|
|
1977
1977
|
milestoneTxChainId: number;
|
|
1978
|
-
lifecycleSource: "unspecified" | "
|
|
1978
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1979
1979
|
lifecycleReason: LifecycleReasonValue;
|
|
1980
1980
|
zipperReason?: {
|
|
1981
1981
|
code: number;
|
|
@@ -1996,7 +1996,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1996
1996
|
txRef: string;
|
|
1997
1997
|
txChainId: number;
|
|
1998
1998
|
occurredAtUnixMs: number;
|
|
1999
|
-
lifecycleSource: "unspecified" | "
|
|
1999
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
2000
2000
|
lifecycleReason: LifecycleReasonValue;
|
|
2001
2001
|
zipperReason?: {
|
|
2002
2002
|
code: number;
|
|
@@ -2008,7 +2008,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
2008
2008
|
approveCount: number;
|
|
2009
2009
|
rejectCount: number;
|
|
2010
2010
|
validatorCount: number;
|
|
2011
|
-
kind: "unspecified" | "
|
|
2011
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
2012
2012
|
requiredApprovals: number;
|
|
2013
2013
|
requiredRejections: number;
|
|
2014
2014
|
amountE18?: string | undefined;
|
|
@@ -2031,9 +2031,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2031
2031
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2032
2032
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2033
2033
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2034
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2035
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2036
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2034
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2035
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2036
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2037
2037
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2038
2038
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2039
2039
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2065,9 +2065,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2065
2065
|
sourceTxHash: string;
|
|
2066
2066
|
latestTxRef: string;
|
|
2067
2067
|
txOccurrenceIndex?: number | undefined;
|
|
2068
|
-
sourceDomain: "unspecified" | "
|
|
2069
|
-
destinationDomain: "unspecified" | "
|
|
2070
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2068
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2069
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2070
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2071
2071
|
isOpen: boolean;
|
|
2072
2072
|
isTerminal: boolean;
|
|
2073
2073
|
assetIds?: {
|
|
@@ -2093,9 +2093,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2093
2093
|
sourceTxHash: string;
|
|
2094
2094
|
latestTxRef: string;
|
|
2095
2095
|
txOccurrenceIndex?: number | undefined;
|
|
2096
|
-
sourceDomain: "unspecified" | "
|
|
2097
|
-
destinationDomain: "unspecified" | "
|
|
2098
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2096
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2097
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2098
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2099
2099
|
isOpen: boolean;
|
|
2100
2100
|
isTerminal: boolean;
|
|
2101
2101
|
assetIds?: {
|
|
@@ -2126,9 +2126,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2126
2126
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2127
2127
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2128
2128
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2129
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2130
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2131
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2129
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2130
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2131
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2132
2132
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2133
2133
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2134
2134
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2160,9 +2160,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2160
2160
|
sourceTxHash: string;
|
|
2161
2161
|
latestTxRef: string;
|
|
2162
2162
|
txOccurrenceIndex?: number | undefined;
|
|
2163
|
-
sourceDomain: "unspecified" | "
|
|
2164
|
-
destinationDomain: "unspecified" | "
|
|
2165
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2163
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2164
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2165
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2166
2166
|
isOpen: boolean;
|
|
2167
2167
|
isTerminal: boolean;
|
|
2168
2168
|
assetIds?: {
|
|
@@ -2188,9 +2188,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2188
2188
|
sourceTxHash: string;
|
|
2189
2189
|
latestTxRef: string;
|
|
2190
2190
|
txOccurrenceIndex?: number | undefined;
|
|
2191
|
-
sourceDomain: "unspecified" | "
|
|
2192
|
-
destinationDomain: "unspecified" | "
|
|
2193
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2191
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2192
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2193
|
+
currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2194
2194
|
isOpen: boolean;
|
|
2195
2195
|
isTerminal: boolean;
|
|
2196
2196
|
assetIds?: {
|