@polyester/sdk 0.24.0 → 0.25.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 +20 -0
- package/README.md +18 -12
- package/dist/account-signer/create-polyester-account-signer.d.ts +9 -5
- package/dist/account-signer/create-polyester-account-signer.d.ts.map +1 -1
- package/dist/account-signer/create-polyester-account-signer.js +9 -5
- package/dist/account-signer/create-polyester-account-signer.js.map +1 -1
- package/dist/account-signer/types.d.ts +10 -4
- package/dist/account-signer/types.d.ts.map +1 -1
- package/dist/account-signer/types.js.map +1 -1
- package/dist/core-client.d.ts +3 -0
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +23 -45
- package/dist/core-client.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +7 -4
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +313 -0
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -0
- package/dist/gen/claims/v1/claims_pb.js +135 -0
- package/dist/gen/claims/v1/claims_pb.js.map +1 -0
- package/dist/gen/index.d.ts +2 -1
- package/dist/gen/index.js +2 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +50 -3
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +55 -43
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +10 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +3 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/realtime/client.js +45 -26
- package/dist/realtime/client.js.map +1 -1
- package/dist/services/accounts/accounts.schemas.d.ts +2 -2
- package/dist/services/accounts/accounts.schemas.d.ts.map +1 -1
- package/dist/services/accounts/accounts.schemas.js +3 -3
- package/dist/services/accounts/accounts.schemas.js.map +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +67 -68
- package/dist/services/address-book/address-book.schemas.d.ts.map +1 -1
- package/dist/services/address-book/address-book.schemas.js +11 -13
- package/dist/services/address-book/address-book.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +1 -2
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +4 -9
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/auth/account-signer-auth.js +1 -1
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/auth.d.ts +2 -3
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +4 -2
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +7 -12
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +3 -3
- package/dist/services/candles/candles.schemas.d.ts.map +1 -1
- package/dist/services/candles/candles.schemas.js +5 -6
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts +3 -3
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts.map +1 -1
- package/dist/services/chain-analytics/chain-analytics.schemas.js +2 -3
- package/dist/services/chain-analytics/chain-analytics.schemas.js.map +1 -1
- package/dist/services/claims/claims.codecs.d.ts +8 -0
- package/dist/services/claims/claims.codecs.d.ts.map +1 -0
- package/dist/services/claims/claims.codecs.js +17 -0
- package/dist/services/claims/claims.codecs.js.map +1 -0
- package/dist/services/claims/claims.d.ts +19 -0
- package/dist/services/claims/claims.d.ts.map +1 -0
- package/dist/services/claims/claims.js +30 -0
- package/dist/services/claims/claims.js.map +1 -0
- package/dist/services/claims/claims.schemas.d.ts +122 -0
- package/dist/services/claims/claims.schemas.d.ts.map +1 -0
- package/dist/services/claims/claims.schemas.js +47 -0
- package/dist/services/claims/claims.schemas.js.map +1 -0
- package/dist/services/claims/claims.types.d.ts +3 -0
- package/dist/services/claims/index.d.ts +5 -0
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.js +10 -10
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +1 -5
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +90 -90
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +10 -11
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +3 -3
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/mfa/mfa.schemas.d.ts +11 -11
- package/dist/services/mfa/mfa.schemas.d.ts.map +1 -1
- package/dist/services/mfa/mfa.schemas.js +4 -5
- package/dist/services/mfa/mfa.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-enums.codecs.js +2 -1
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +4 -5
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +110 -32
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +9 -10
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +111 -8
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +20 -4
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +2 -2
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +3 -3
- package/dist/services/orders/orders-modify.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +48 -32
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +16 -16
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +0 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +4 -4
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +4 -4
- package/dist/services/policies/shared.codecs.js +3 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +0 -1
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +2 -3
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +2 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -5
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +6 -7
- package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.js +2 -3
- package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +4 -4
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +23 -24
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +10 -12
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.d.ts.map +1 -1
- package/dist/services/trades/trades.schemas.js +4 -8
- package/dist/services/trades/trades.schemas.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +3 -4
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +5 -10
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +56 -58
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +34 -36
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +42 -42
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +1 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +9 -10
- package/dist/services/whiteboard/whiteboard.schemas.js.map +1 -1
- package/dist/shared/proto-enum-codec.js +11 -6
- package/dist/shared/proto-enum-codec.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +4 -5
- package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
- package/dist/shared/rate-limit.schemas.js +41 -46
- package/dist/shared/rate-limit.schemas.js.map +1 -1
- package/dist/shared/schemas.js +5 -1
- package/dist/shared/schemas.js.map +1 -1
- package/dist/shared/transports.d.ts +5 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js.map +1 -1
- package/dist/utils/timestamp.js +8 -1
- package/dist/utils/timestamp.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +2 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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";
|
|
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
|
|
@@ -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.
|
|
10
|
+
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "completed" | "failed" | "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<"
|
|
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<"pending_source" | "pending_polyester_chain" | "pending_ledger" | "completed" | "failed" | "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<{
|
|
@@ -102,7 +102,7 @@ declare const LifecycleRequestFeeSchema: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
102
102
|
lo: bigint;
|
|
103
103
|
}, string>]>, undefined>;
|
|
104
104
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
105
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
105
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
106
106
|
}, undefined>, v.TransformAction<{
|
|
107
107
|
assetIds?: {
|
|
108
108
|
zippedAssetId: number;
|
|
@@ -139,7 +139,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
139
139
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
140
140
|
readonly txRef: v.StringSchema<undefined>;
|
|
141
141
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
142
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
142
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
143
143
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
144
144
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
145
145
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -151,7 +151,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
151
151
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
152
152
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
153
153
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
154
|
-
readonly kind: v.SchemaWithPipe<readonly [v.
|
|
154
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "minted">]>;
|
|
155
155
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
156
156
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
157
157
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -209,7 +209,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
209
209
|
}>]>;
|
|
210
210
|
declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
211
211
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
212
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
212
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
213
213
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
214
214
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
215
215
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -235,7 +235,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
235
235
|
lo: bigint;
|
|
236
236
|
}, string>]>, undefined>;
|
|
237
237
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
238
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
238
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
239
239
|
}, undefined>, v.TransformAction<{
|
|
240
240
|
assetIds?: {
|
|
241
241
|
zippedAssetId: number;
|
|
@@ -256,7 +256,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
256
256
|
amount?: string;
|
|
257
257
|
}>]>, undefined>;
|
|
258
258
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
259
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
259
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
260
260
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
261
261
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
262
262
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -276,7 +276,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
276
276
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
277
277
|
readonly txRef: v.StringSchema<undefined>;
|
|
278
278
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
279
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
279
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
280
280
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
281
281
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
282
282
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -288,7 +288,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
288
288
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
289
289
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
290
290
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
291
|
-
readonly kind: v.SchemaWithPipe<readonly [v.
|
|
291
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "minted">]>;
|
|
292
292
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
293
293
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
294
294
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -346,7 +346,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
346
346
|
}>]>, undefined>, readonly []>;
|
|
347
347
|
}, undefined>, v.TransformAction<{
|
|
348
348
|
sequence: number;
|
|
349
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
349
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
350
350
|
assetIds?: {
|
|
351
351
|
zippedAssetId: number;
|
|
352
352
|
unifiedAssetId: number;
|
|
@@ -407,7 +407,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
407
407
|
})[];
|
|
408
408
|
}, Omit<{
|
|
409
409
|
sequence: number;
|
|
410
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
410
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
411
411
|
assetIds?: {
|
|
412
412
|
zippedAssetId: number;
|
|
413
413
|
unifiedAssetId: number;
|
|
@@ -471,8 +471,8 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
471
471
|
}>]>;
|
|
472
472
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
473
473
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
474
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
475
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
474
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
475
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
476
476
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
477
477
|
}, undefined>;
|
|
478
478
|
declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
|
|
@@ -490,8 +490,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
490
490
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
491
491
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
492
492
|
readonly flowId: v.StringSchema<undefined>;
|
|
493
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
494
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
493
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
494
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
495
495
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
496
496
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
497
497
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -517,7 +517,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
517
517
|
lo: bigint;
|
|
518
518
|
}, string>]>, undefined>;
|
|
519
519
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
520
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
520
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
521
521
|
}, undefined>, v.TransformAction<{
|
|
522
522
|
assetIds?: {
|
|
523
523
|
zippedAssetId: number;
|
|
@@ -541,10 +541,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
541
541
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
542
542
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
543
543
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
544
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
545
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
544
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
545
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
546
546
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
547
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
547
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
548
548
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
549
549
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
550
550
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -571,8 +571,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
571
571
|
}, undefined>, undefined>;
|
|
572
572
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
573
573
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
574
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
575
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
574
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
575
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
576
576
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
577
577
|
}, undefined>, undefined>, readonly []>;
|
|
578
578
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -581,7 +581,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
581
581
|
smartAccountAddress: string;
|
|
582
582
|
flowId: string;
|
|
583
583
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
584
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
584
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
585
585
|
assetIds?: {
|
|
586
586
|
zippedAssetId: number;
|
|
587
587
|
unifiedAssetId: number;
|
|
@@ -633,7 +633,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
633
633
|
} | undefined;
|
|
634
634
|
progressTimeline: {
|
|
635
635
|
sequence: number;
|
|
636
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
636
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
637
637
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
638
638
|
expectedDurationMs: number;
|
|
639
639
|
}[];
|
|
@@ -643,7 +643,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
643
643
|
smartAccountAddress: string;
|
|
644
644
|
flowId: string;
|
|
645
645
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
646
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
646
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
647
647
|
assetIds?: {
|
|
648
648
|
zippedAssetId: number;
|
|
649
649
|
unifiedAssetId: number;
|
|
@@ -695,7 +695,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
695
695
|
} | undefined;
|
|
696
696
|
progressTimeline: {
|
|
697
697
|
sequence: number;
|
|
698
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
698
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
699
699
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
700
700
|
expectedDurationMs: number;
|
|
701
701
|
}[];
|
|
@@ -708,8 +708,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
708
708
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
709
709
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
710
710
|
readonly flowId: v.StringSchema<undefined>;
|
|
711
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
712
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
711
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
712
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
713
713
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
714
714
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
715
715
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -735,7 +735,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
735
735
|
lo: bigint;
|
|
736
736
|
}, string>]>, undefined>;
|
|
737
737
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
738
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
738
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
739
739
|
}, undefined>, v.TransformAction<{
|
|
740
740
|
assetIds?: {
|
|
741
741
|
zippedAssetId: number;
|
|
@@ -759,10 +759,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
759
759
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
760
760
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
761
761
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
762
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
763
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
762
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
763
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
764
764
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
765
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
765
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
766
766
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
767
767
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
768
768
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -789,8 +789,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
789
789
|
}, undefined>, undefined>;
|
|
790
790
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
791
791
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
792
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
793
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
792
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
793
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
794
794
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
795
795
|
}, undefined>, undefined>, readonly []>;
|
|
796
796
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -799,7 +799,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
799
799
|
smartAccountAddress: string;
|
|
800
800
|
flowId: string;
|
|
801
801
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
802
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
802
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
803
803
|
assetIds?: {
|
|
804
804
|
zippedAssetId: number;
|
|
805
805
|
unifiedAssetId: number;
|
|
@@ -851,7 +851,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
851
851
|
} | undefined;
|
|
852
852
|
progressTimeline: {
|
|
853
853
|
sequence: number;
|
|
854
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
854
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
855
855
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
856
856
|
expectedDurationMs: number;
|
|
857
857
|
}[];
|
|
@@ -861,7 +861,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
861
861
|
smartAccountAddress: string;
|
|
862
862
|
flowId: string;
|
|
863
863
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
864
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
864
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
865
865
|
assetIds?: {
|
|
866
866
|
zippedAssetId: number;
|
|
867
867
|
unifiedAssetId: number;
|
|
@@ -913,7 +913,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
913
913
|
} | undefined;
|
|
914
914
|
progressTimeline: {
|
|
915
915
|
sequence: number;
|
|
916
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
916
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
917
917
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
918
918
|
expectedDurationMs: number;
|
|
919
919
|
}[];
|
|
@@ -923,7 +923,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
923
923
|
}>]>, undefined>;
|
|
924
924
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
925
925
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
926
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
926
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
927
927
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
928
928
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
929
929
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -949,7 +949,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
949
949
|
lo: bigint;
|
|
950
950
|
}, string>]>, undefined>;
|
|
951
951
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
952
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
952
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
953
953
|
}, undefined>, v.TransformAction<{
|
|
954
954
|
assetIds?: {
|
|
955
955
|
zippedAssetId: number;
|
|
@@ -970,7 +970,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
970
970
|
amount?: string;
|
|
971
971
|
}>]>, undefined>;
|
|
972
972
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
973
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
973
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
974
974
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
975
975
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
976
976
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -990,7 +990,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
990
990
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
991
991
|
readonly txRef: v.StringSchema<undefined>;
|
|
992
992
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
993
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
993
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
994
994
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
995
995
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
996
996
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1002,7 +1002,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1002
1002
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1003
1003
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1004
1004
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1005
|
-
readonly kind: v.SchemaWithPipe<readonly [v.
|
|
1005
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "minted">]>;
|
|
1006
1006
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1007
1007
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1008
1008
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1060,7 +1060,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1060
1060
|
}>]>, undefined>, readonly []>;
|
|
1061
1061
|
}, undefined>, v.TransformAction<{
|
|
1062
1062
|
sequence: number;
|
|
1063
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1063
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1064
1064
|
assetIds?: {
|
|
1065
1065
|
zippedAssetId: number;
|
|
1066
1066
|
unifiedAssetId: number;
|
|
@@ -1121,7 +1121,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1121
1121
|
})[];
|
|
1122
1122
|
}, Omit<{
|
|
1123
1123
|
sequence: number;
|
|
1124
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1124
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1125
1125
|
assetIds?: {
|
|
1126
1126
|
zippedAssetId: number;
|
|
1127
1127
|
unifiedAssetId: number;
|
|
@@ -1190,8 +1190,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1190
1190
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1191
1191
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1192
1192
|
readonly flowId: v.StringSchema<undefined>;
|
|
1193
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
1194
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
1193
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1194
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1195
1195
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1196
1196
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1197
1197
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1217,7 +1217,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1217
1217
|
lo: bigint;
|
|
1218
1218
|
}, string>]>, undefined>;
|
|
1219
1219
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1220
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
1220
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1221
1221
|
}, undefined>, v.TransformAction<{
|
|
1222
1222
|
assetIds?: {
|
|
1223
1223
|
zippedAssetId: number;
|
|
@@ -1241,10 +1241,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1241
1241
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1242
1242
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1243
1243
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1244
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
1245
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
1244
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1245
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1246
1246
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1247
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
1247
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1248
1248
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1249
1249
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1250
1250
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1271,8 +1271,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1271
1271
|
}, undefined>, undefined>;
|
|
1272
1272
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1273
1273
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1274
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
1275
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
1274
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1275
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1276
1276
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1277
1277
|
}, undefined>, undefined>, readonly []>;
|
|
1278
1278
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1281,7 +1281,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1281
1281
|
smartAccountAddress: string;
|
|
1282
1282
|
flowId: string;
|
|
1283
1283
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1284
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1284
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1285
1285
|
assetIds?: {
|
|
1286
1286
|
zippedAssetId: number;
|
|
1287
1287
|
unifiedAssetId: number;
|
|
@@ -1333,7 +1333,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1333
1333
|
} | undefined;
|
|
1334
1334
|
progressTimeline: {
|
|
1335
1335
|
sequence: number;
|
|
1336
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1336
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1337
1337
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1338
1338
|
expectedDurationMs: number;
|
|
1339
1339
|
}[];
|
|
@@ -1343,7 +1343,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1343
1343
|
smartAccountAddress: string;
|
|
1344
1344
|
flowId: string;
|
|
1345
1345
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1346
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1346
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1347
1347
|
assetIds?: {
|
|
1348
1348
|
zippedAssetId: number;
|
|
1349
1349
|
unifiedAssetId: number;
|
|
@@ -1395,7 +1395,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1395
1395
|
} | undefined;
|
|
1396
1396
|
progressTimeline: {
|
|
1397
1397
|
sequence: number;
|
|
1398
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1398
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1399
1399
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1400
1400
|
expectedDurationMs: number;
|
|
1401
1401
|
}[];
|
|
@@ -1411,8 +1411,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1411
1411
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1412
1412
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1413
1413
|
readonly flowId: v.StringSchema<undefined>;
|
|
1414
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
1415
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
1414
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1415
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1416
1416
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1417
1417
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1418
1418
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1438,7 +1438,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1438
1438
|
lo: bigint;
|
|
1439
1439
|
}, string>]>, undefined>;
|
|
1440
1440
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1441
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
1441
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1442
1442
|
}, undefined>, v.TransformAction<{
|
|
1443
1443
|
assetIds?: {
|
|
1444
1444
|
zippedAssetId: number;
|
|
@@ -1462,10 +1462,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1462
1462
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1463
1463
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1464
1464
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1465
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
1466
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
1465
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1466
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1467
1467
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1468
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
1468
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1469
1469
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1470
1470
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1471
1471
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1492,8 +1492,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1492
1492
|
}, undefined>, undefined>;
|
|
1493
1493
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1494
1494
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1495
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
1496
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
1495
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1496
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1497
1497
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1498
1498
|
}, undefined>, undefined>, readonly []>;
|
|
1499
1499
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1502,7 +1502,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1502
1502
|
smartAccountAddress: string;
|
|
1503
1503
|
flowId: string;
|
|
1504
1504
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1505
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1505
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1506
1506
|
assetIds?: {
|
|
1507
1507
|
zippedAssetId: number;
|
|
1508
1508
|
unifiedAssetId: number;
|
|
@@ -1554,7 +1554,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1554
1554
|
} | undefined;
|
|
1555
1555
|
progressTimeline: {
|
|
1556
1556
|
sequence: number;
|
|
1557
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1557
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1558
1558
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1559
1559
|
expectedDurationMs: number;
|
|
1560
1560
|
}[];
|
|
@@ -1564,7 +1564,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1564
1564
|
smartAccountAddress: string;
|
|
1565
1565
|
flowId: string;
|
|
1566
1566
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1567
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1567
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1568
1568
|
assetIds?: {
|
|
1569
1569
|
zippedAssetId: number;
|
|
1570
1570
|
unifiedAssetId: number;
|
|
@@ -1616,7 +1616,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1616
1616
|
} | undefined;
|
|
1617
1617
|
progressTimeline: {
|
|
1618
1618
|
sequence: number;
|
|
1619
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1619
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1620
1620
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1621
1621
|
expectedDurationMs: number;
|
|
1622
1622
|
}[];
|
|
@@ -1626,7 +1626,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1626
1626
|
}>]>, undefined>;
|
|
1627
1627
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1628
1628
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1629
|
-
readonly step: v.SchemaWithPipe<readonly [v.
|
|
1629
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1630
1630
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1631
1631
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1632
1632
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1652,7 +1652,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1652
1652
|
lo: bigint;
|
|
1653
1653
|
}, string>]>, undefined>;
|
|
1654
1654
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1655
|
-
readonly status: v.SchemaWithPipe<readonly [v.
|
|
1655
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1656
1656
|
}, undefined>, v.TransformAction<{
|
|
1657
1657
|
assetIds?: {
|
|
1658
1658
|
zippedAssetId: number;
|
|
@@ -1673,7 +1673,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1673
1673
|
amount?: string;
|
|
1674
1674
|
}>]>, undefined>;
|
|
1675
1675
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1676
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
1676
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1677
1677
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1678
1678
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1679
1679
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1693,7 +1693,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1693
1693
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1694
1694
|
readonly txRef: v.StringSchema<undefined>;
|
|
1695
1695
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1696
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.
|
|
1696
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1697
1697
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1698
1698
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1699
1699
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1705,7 +1705,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1705
1705
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1706
1706
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1707
1707
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1708
|
-
readonly kind: v.SchemaWithPipe<readonly [v.
|
|
1708
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "minted">]>;
|
|
1709
1709
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1710
1710
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1711
1711
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1763,7 +1763,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1763
1763
|
}>]>, undefined>, readonly []>;
|
|
1764
1764
|
}, undefined>, v.TransformAction<{
|
|
1765
1765
|
sequence: number;
|
|
1766
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1766
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1767
1767
|
assetIds?: {
|
|
1768
1768
|
zippedAssetId: number;
|
|
1769
1769
|
unifiedAssetId: number;
|
|
@@ -1824,7 +1824,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1824
1824
|
})[];
|
|
1825
1825
|
}, Omit<{
|
|
1826
1826
|
sequence: number;
|
|
1827
|
-
step: "validation" | "unspecified" | "source" | "request" | "
|
|
1827
|
+
step: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1828
1828
|
assetIds?: {
|
|
1829
1829
|
zippedAssetId: number;
|
|
1830
1830
|
unifiedAssetId: number;
|
|
@@ -1893,13 +1893,13 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1893
1893
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1894
1894
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1895
1895
|
readonly flowId: v.StringSchema<undefined>;
|
|
1896
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
1896
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1897
1897
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1898
1898
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1899
1899
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1900
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
1901
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
1902
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
1900
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1901
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1902
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1903
1903
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1904
1904
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
1905
1905
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1933,7 +1933,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1933
1933
|
txOccurrenceIndex?: number | undefined;
|
|
1934
1934
|
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1935
1935
|
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1936
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1936
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1937
1937
|
isOpen: boolean;
|
|
1938
1938
|
isTerminal: boolean;
|
|
1939
1939
|
assetIds?: {
|
|
@@ -1961,7 +1961,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1961
1961
|
txOccurrenceIndex?: number | undefined;
|
|
1962
1962
|
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1963
1963
|
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1964
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
1964
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1965
1965
|
isOpen: boolean;
|
|
1966
1966
|
isTerminal: boolean;
|
|
1967
1967
|
assetIds?: {
|
|
@@ -1988,13 +1988,13 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
1988
1988
|
readonly ownerAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1989
1989
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1990
1990
|
readonly flowId: v.StringSchema<undefined>;
|
|
1991
|
-
readonly flowKind: v.SchemaWithPipe<readonly [v.
|
|
1991
|
+
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1992
1992
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1993
1993
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1994
1994
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1995
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.
|
|
1996
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.
|
|
1997
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.
|
|
1995
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1996
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1997
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1998
1998
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1999
1999
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2000
2000
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2028,7 +2028,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2028
2028
|
txOccurrenceIndex?: number | undefined;
|
|
2029
2029
|
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2030
2030
|
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2031
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
2031
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2032
2032
|
isOpen: boolean;
|
|
2033
2033
|
isTerminal: boolean;
|
|
2034
2034
|
assetIds?: {
|
|
@@ -2056,7 +2056,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2056
2056
|
txOccurrenceIndex?: number | undefined;
|
|
2057
2057
|
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2058
2058
|
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2059
|
-
currentStep: "validation" | "unspecified" | "source" | "request" | "
|
|
2059
|
+
currentStep: "validation" | "unspecified" | "source" | "request" | "transfer" | "failed" | "dropped" | "refunded" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2060
2060
|
isOpen: boolean;
|
|
2061
2061
|
isTerminal: boolean;
|
|
2062
2062
|
assetIds?: {
|