@polyester/sdk 0.35.0-devnet-20261111031027 → 0.35.0-devnet-20261111161451
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 +35 -1
- package/dist/catalogs/snapshot-validation.js +2 -1
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +4164 -0
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -0
- package/dist/gen/ai/v1/assistant_pb.js +1174 -0
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -0
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +776 -0
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -0
- package/dist/gen/alerts/v1/price_alerts_pb.js +378 -0
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts +6 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +6 -0
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +242 -2
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +81 -2
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +48 -6
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +48 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +83 -19
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +74 -16
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +167 -11
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +41 -3
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -6
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -2
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +5 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +10 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +32 -4
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +32 -4
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +391 -42
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +103 -17
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +170 -3
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +63 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.js +1 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/index.d.ts +14 -10
- package/dist/gen/index.js +11 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +9 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +8 -0
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +4 -4
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +20 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.js +20 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1186 -127
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +282 -5
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +253 -38
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +180 -36
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +933 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +292 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -0
- package/dist/gen/system/v1/system_pb.d.ts +77 -0
- package/dist/gen/system/v1/system_pb.d.ts.map +1 -0
- package/dist/gen/system/v1/system_pb.js +34 -0
- package/dist/gen/system/v1/system_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +2 -2
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/index.d.ts +14 -6
- package/dist/services/api-keys/api-keys.codecs.js +10 -1
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +16 -1
- package/dist/services/api-keys/api-keys.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.js +25 -1
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +116 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +29 -3
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.types.d.ts +2 -2
- package/dist/services/api-keys/index.d.ts +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +4618 -0
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -0
- package/dist/services/assistant/assistant-events.schemas.js +485 -0
- package/dist/services/assistant/assistant-events.schemas.js.map +1 -0
- package/dist/services/assistant/assistant.codecs.d.ts +24 -0
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -0
- package/dist/services/assistant/assistant.codecs.js +88 -0
- package/dist/services/assistant/assistant.codecs.js.map +1 -0
- package/dist/services/assistant/assistant.d.ts +76 -0
- package/dist/services/assistant/assistant.d.ts.map +1 -0
- package/dist/services/assistant/assistant.js +133 -0
- package/dist/services/assistant/assistant.js.map +1 -0
- package/dist/services/assistant/assistant.schemas.d.ts +184 -0
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -0
- package/dist/services/assistant/assistant.schemas.js +135 -0
- package/dist/services/assistant/assistant.schemas.js.map +1 -0
- package/dist/services/assistant/assistant.types.d.ts +4 -0
- package/dist/services/assistant/service.d.ts +8 -0
- package/dist/services/assistant/service.d.ts.map +1 -0
- package/dist/services/assistant/service.js +9 -0
- package/dist/services/assistant/service.js.map +1 -0
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +9 -2
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js +9 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.d.ts +15 -4
- package/dist/services/auto-withdraw/auto-withdraw.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +24 -8
- package/dist/services/auto-withdraw/auto-withdraw.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +394 -26
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +67 -12
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.types.d.ts +3 -3
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/candles/candles.schemas.js +5 -2
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +2 -2
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +3 -1
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +210 -186
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.js +1 -1
- package/dist/services/market-data/market-data.schemas.js +7 -2
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +2 -2
- package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
- package/dist/services/orders/orders-input.schemas.d.ts +6 -6
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +16 -16
- package/dist/services/orders/orders-output.schemas.js +3 -3
- package/dist/services/orders/orders-risk.schemas.js +1 -1
- package/dist/services/orders/orders.codecs.js +1 -1
- package/dist/services/orders/orders.js +3 -3
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +24 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/price-alerts/price-alerts.codecs.d.ts +20 -0
- package/dist/services/price-alerts/price-alerts.codecs.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.codecs.js +66 -0
- package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.d.ts +38 -0
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.js +60 -0
- package/dist/services/price-alerts/price-alerts.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +309 -0
- package/dist/services/price-alerts/price-alerts.schemas.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.schemas.js +130 -0
- package/dist/services/price-alerts/price-alerts.schemas.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.types.d.ts +3 -0
- package/dist/services/price-alerts/service.d.ts +8 -0
- package/dist/services/price-alerts/service.d.ts.map +1 -0
- package/dist/services/price-alerts/service.js +9 -0
- package/dist/services/price-alerts/service.js.map +1 -0
- package/dist/services/social-verification/social-verification.codecs.js +13 -5
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +18 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js +26 -3
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +33 -7
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +35 -10
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/social-verification/social-verification.types.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +8 -8
- package/dist/services/system/service.d.ts +8 -0
- package/dist/services/system/service.d.ts.map +1 -0
- package/dist/services/system/service.js +9 -0
- package/dist/services/system/service.js.map +1 -0
- package/dist/services/system/system.d.ts +25 -0
- package/dist/services/system/system.d.ts.map +1 -0
- package/dist/services/system/system.js +24 -0
- package/dist/services/system/system.js.map +1 -0
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +7 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +11 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +42 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +19 -3
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
- package/dist/services/transfers/transfers.schemas.d.ts +5 -5
- package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/trigger-input.schemas.js +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +49 -49
- package/dist/services/triggers/triggers.codecs.js +1 -1
- package/dist/services/triggers/triggers.js +2 -2
- package/dist/shared/catalog-config.d.ts +5 -0
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -0
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +24 -10
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +2 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +15 -0
- package/dist/shared/error-details/alerts.js.map +1 -0
- package/dist/shared/error-details/assistant.js +15 -0
- package/dist/shared/error-details/assistant.js.map +1 -0
- package/dist/shared/error-details/withdraw.js +11 -2
- package/dist/shared/error-details/withdraw.js.map +1 -1
- package/dist/shared/ledger-codes.d.ts +4 -2
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +6 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +3 -3
- package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
- package/dist/shared/rate-limit.schemas.js +4 -1
- package/dist/shared/rate-limit.schemas.js.map +1 -1
- package/dist/shared/transports.d.ts +2 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +11 -5
- package/dist/wired-services.js.map +1 -1
- 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" | "
|
|
10
|
+
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "completed" | "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<"failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "completed" | "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<{
|
|
@@ -130,7 +130,7 @@ declare const LifecycleRequestFeeSchema: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
130
130
|
lo: bigint;
|
|
131
131
|
}, string>]>, undefined>;
|
|
132
132
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
133
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
133
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
134
134
|
}, undefined>, v.TransformAction<{
|
|
135
135
|
assetIds?: {
|
|
136
136
|
zippedAssetId: number;
|
|
@@ -138,7 +138,7 @@ declare const LifecycleRequestFeeSchema: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
138
138
|
} | undefined;
|
|
139
139
|
amountE18?: string | undefined;
|
|
140
140
|
recipientAddress: string;
|
|
141
|
-
status: "unspecified" | "locked" | "settled";
|
|
141
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
142
142
|
}, Omit<{
|
|
143
143
|
assetIds?: {
|
|
144
144
|
zippedAssetId: number;
|
|
@@ -146,7 +146,7 @@ declare const LifecycleRequestFeeSchema: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
amountE18?: string | undefined;
|
|
148
148
|
recipientAddress: string;
|
|
149
|
-
status: "unspecified" | "locked" | "settled";
|
|
149
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
150
150
|
}, "amountE18"> & {
|
|
151
151
|
amount?: string;
|
|
152
152
|
}>]>;
|
|
@@ -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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading">]>;
|
|
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading";
|
|
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading";
|
|
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" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "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>]>;
|
|
@@ -267,7 +267,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
267
267
|
lo: bigint;
|
|
268
268
|
}, string>]>, undefined>;
|
|
269
269
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
270
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
270
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
271
271
|
}, undefined>, v.TransformAction<{
|
|
272
272
|
assetIds?: {
|
|
273
273
|
zippedAssetId: number;
|
|
@@ -275,7 +275,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
275
275
|
} | undefined;
|
|
276
276
|
amountE18?: string | undefined;
|
|
277
277
|
recipientAddress: string;
|
|
278
|
-
status: "unspecified" | "locked" | "settled";
|
|
278
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
279
279
|
}, Omit<{
|
|
280
280
|
assetIds?: {
|
|
281
281
|
zippedAssetId: number;
|
|
@@ -283,14 +283,14 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
283
283
|
} | undefined;
|
|
284
284
|
amountE18?: string | undefined;
|
|
285
285
|
recipientAddress: string;
|
|
286
|
-
status: "unspecified" | "locked" | "settled";
|
|
286
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
287
287
|
}, "amountE18"> & {
|
|
288
288
|
amount?: string;
|
|
289
289
|
}>]>, undefined>;
|
|
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading">]>;
|
|
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading";
|
|
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "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" | "minted" | "funding" | "trading";
|
|
378
378
|
requiredApprovals: number;
|
|
379
379
|
requiredRejections: number;
|
|
380
380
|
amountE18?: string | undefined;
|
|
@@ -382,9 +382,15 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
382
382
|
}, "amountE18"> & {
|
|
383
383
|
amount?: string;
|
|
384
384
|
}>]>, undefined>, readonly []>;
|
|
385
|
+
/**
|
|
386
|
+
* Polyester Chain smart account a rejected withdrawal's zTokens (net of the kept
|
|
387
|
+
* request fee) were returned to; set only on a withdrawal's `refunded` step, `""`
|
|
388
|
+
* otherwise. The zTokens stay there until moved.
|
|
389
|
+
*/
|
|
390
|
+
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
385
391
|
}, undefined>, v.TransformAction<{
|
|
386
392
|
sequence: number;
|
|
387
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
393
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
388
394
|
assetIds?: {
|
|
389
395
|
zippedAssetId: number;
|
|
390
396
|
unifiedAssetId: number;
|
|
@@ -398,13 +404,13 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
398
404
|
} | undefined;
|
|
399
405
|
amountE18?: string | undefined;
|
|
400
406
|
recipientAddress: string;
|
|
401
|
-
status: "unspecified" | "locked" | "settled";
|
|
407
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
402
408
|
}, "amountE18"> & {
|
|
403
409
|
amount?: string;
|
|
404
410
|
}) | undefined;
|
|
405
411
|
milestoneTxRef: string;
|
|
406
412
|
milestoneTxChainId: number;
|
|
407
|
-
lifecycleSource: "unspecified" | "
|
|
413
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
408
414
|
lifecycleReason: LifecycleReasonValue;
|
|
409
415
|
zipperReason?: {
|
|
410
416
|
code: number;
|
|
@@ -425,7 +431,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
425
431
|
txRef: string;
|
|
426
432
|
txChainId: number;
|
|
427
433
|
occurredAtUnixMs: number;
|
|
428
|
-
lifecycleSource: "unspecified" | "
|
|
434
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
429
435
|
lifecycleReason: LifecycleReasonValue;
|
|
430
436
|
zipperReason?: {
|
|
431
437
|
code: number;
|
|
@@ -437,7 +443,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
437
443
|
approveCount: number;
|
|
438
444
|
rejectCount: number;
|
|
439
445
|
validatorCount: number;
|
|
440
|
-
kind: "unspecified" | "
|
|
446
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
441
447
|
requiredApprovals: number;
|
|
442
448
|
requiredRejections: number;
|
|
443
449
|
amountE18?: string | undefined;
|
|
@@ -445,9 +451,10 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
445
451
|
}, "amountE18"> & {
|
|
446
452
|
amount?: string;
|
|
447
453
|
})[];
|
|
454
|
+
refundAddress: string;
|
|
448
455
|
}, Omit<{
|
|
449
456
|
sequence: number;
|
|
450
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
457
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
451
458
|
assetIds?: {
|
|
452
459
|
zippedAssetId: number;
|
|
453
460
|
unifiedAssetId: number;
|
|
@@ -461,13 +468,13 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
461
468
|
} | undefined;
|
|
462
469
|
amountE18?: string | undefined;
|
|
463
470
|
recipientAddress: string;
|
|
464
|
-
status: "unspecified" | "locked" | "settled";
|
|
471
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
465
472
|
}, "amountE18"> & {
|
|
466
473
|
amount?: string;
|
|
467
474
|
}) | undefined;
|
|
468
475
|
milestoneTxRef: string;
|
|
469
476
|
milestoneTxChainId: number;
|
|
470
|
-
lifecycleSource: "unspecified" | "
|
|
477
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
471
478
|
lifecycleReason: LifecycleReasonValue;
|
|
472
479
|
zipperReason?: {
|
|
473
480
|
code: number;
|
|
@@ -488,7 +495,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
488
495
|
txRef: string;
|
|
489
496
|
txChainId: number;
|
|
490
497
|
occurredAtUnixMs: number;
|
|
491
|
-
lifecycleSource: "unspecified" | "
|
|
498
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
492
499
|
lifecycleReason: LifecycleReasonValue;
|
|
493
500
|
zipperReason?: {
|
|
494
501
|
code: number;
|
|
@@ -500,7 +507,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
500
507
|
approveCount: number;
|
|
501
508
|
rejectCount: number;
|
|
502
509
|
validatorCount: number;
|
|
503
|
-
kind: "unspecified" | "
|
|
510
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
504
511
|
requiredApprovals: number;
|
|
505
512
|
requiredRejections: number;
|
|
506
513
|
amountE18?: string | undefined;
|
|
@@ -508,13 +515,14 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
508
515
|
}, "amountE18"> & {
|
|
509
516
|
amount?: string;
|
|
510
517
|
})[];
|
|
518
|
+
refundAddress: string;
|
|
511
519
|
}, "amountE18"> & {
|
|
512
520
|
amount?: string;
|
|
513
521
|
}>]>;
|
|
514
522
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
515
523
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
516
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
517
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
524
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
525
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
518
526
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
519
527
|
}, undefined>;
|
|
520
528
|
declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
|
|
@@ -533,7 +541,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
533
541
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
534
542
|
readonly flowId: v.StringSchema<undefined>;
|
|
535
543
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
536
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
544
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
537
545
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
538
546
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
539
547
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -559,7 +567,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
559
567
|
lo: bigint;
|
|
560
568
|
}, string>]>, undefined>;
|
|
561
569
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
562
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
570
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
563
571
|
}, undefined>, v.TransformAction<{
|
|
564
572
|
assetIds?: {
|
|
565
573
|
zippedAssetId: number;
|
|
@@ -567,7 +575,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
567
575
|
} | undefined;
|
|
568
576
|
amountE18?: string | undefined;
|
|
569
577
|
recipientAddress: string;
|
|
570
|
-
status: "unspecified" | "locked" | "settled";
|
|
578
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
571
579
|
}, Omit<{
|
|
572
580
|
assetIds?: {
|
|
573
581
|
zippedAssetId: number;
|
|
@@ -575,7 +583,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
575
583
|
} | undefined;
|
|
576
584
|
amountE18?: string | undefined;
|
|
577
585
|
recipientAddress: string;
|
|
578
|
-
status: "unspecified" | "locked" | "settled";
|
|
586
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
579
587
|
}, "amountE18"> & {
|
|
580
588
|
amount?: string;
|
|
581
589
|
}>]>, undefined>;
|
|
@@ -583,10 +591,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
583
591
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
584
592
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
585
593
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
586
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
587
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
594
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
595
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
588
596
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
589
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
590
598
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
591
599
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
592
600
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -613,8 +621,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
613
621
|
}, undefined>, undefined>;
|
|
614
622
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
615
623
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
616
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
617
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
624
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
625
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
618
626
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
619
627
|
}, undefined>, undefined>, readonly []>;
|
|
620
628
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -631,7 +639,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
631
639
|
smartAccountAddress: string;
|
|
632
640
|
flowId: string;
|
|
633
641
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
634
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
642
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
635
643
|
assetIds?: {
|
|
636
644
|
zippedAssetId: number;
|
|
637
645
|
unifiedAssetId: number;
|
|
@@ -645,7 +653,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
645
653
|
} | undefined;
|
|
646
654
|
amountE18?: string | undefined;
|
|
647
655
|
recipientAddress: string;
|
|
648
|
-
status: "unspecified" | "locked" | "settled";
|
|
656
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
649
657
|
}, "amountE18"> & {
|
|
650
658
|
amount?: string;
|
|
651
659
|
}) | undefined;
|
|
@@ -653,10 +661,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
653
661
|
txOccurrenceIndex?: number | undefined;
|
|
654
662
|
sourceAddress: string;
|
|
655
663
|
destinationAddress: string;
|
|
656
|
-
sourceDomain: "unspecified" | "
|
|
657
|
-
destinationDomain: "unspecified" | "
|
|
664
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
665
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
658
666
|
latestTxRef: string;
|
|
659
|
-
latestLifecycleSource: "unspecified" | "
|
|
667
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
660
668
|
lifecycleReason: LifecycleReasonValue;
|
|
661
669
|
zipperReason?: {
|
|
662
670
|
code: number;
|
|
@@ -683,8 +691,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
683
691
|
} | undefined;
|
|
684
692
|
progressTimeline: {
|
|
685
693
|
sequence: number;
|
|
686
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
687
|
-
status: "unspecified" | "
|
|
694
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
695
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
688
696
|
expectedDurationMs: number;
|
|
689
697
|
}[];
|
|
690
698
|
estimatedCompletionUnixMs: number;
|
|
@@ -695,7 +703,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
695
703
|
smartAccountAddress: string;
|
|
696
704
|
flowId: string;
|
|
697
705
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
698
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
706
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
699
707
|
assetIds?: {
|
|
700
708
|
zippedAssetId: number;
|
|
701
709
|
unifiedAssetId: number;
|
|
@@ -709,7 +717,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
709
717
|
} | undefined;
|
|
710
718
|
amountE18?: string | undefined;
|
|
711
719
|
recipientAddress: string;
|
|
712
|
-
status: "unspecified" | "locked" | "settled";
|
|
720
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
713
721
|
}, "amountE18"> & {
|
|
714
722
|
amount?: string;
|
|
715
723
|
}) | undefined;
|
|
@@ -717,10 +725,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
717
725
|
txOccurrenceIndex?: number | undefined;
|
|
718
726
|
sourceAddress: string;
|
|
719
727
|
destinationAddress: string;
|
|
720
|
-
sourceDomain: "unspecified" | "
|
|
721
|
-
destinationDomain: "unspecified" | "
|
|
728
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
729
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
722
730
|
latestTxRef: string;
|
|
723
|
-
latestLifecycleSource: "unspecified" | "
|
|
731
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
724
732
|
lifecycleReason: LifecycleReasonValue;
|
|
725
733
|
zipperReason?: {
|
|
726
734
|
code: number;
|
|
@@ -747,8 +755,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
747
755
|
} | undefined;
|
|
748
756
|
progressTimeline: {
|
|
749
757
|
sequence: number;
|
|
750
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
751
|
-
status: "unspecified" | "
|
|
758
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
759
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
752
760
|
expectedDurationMs: number;
|
|
753
761
|
}[];
|
|
754
762
|
estimatedCompletionUnixMs: number;
|
|
@@ -763,7 +771,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
763
771
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
764
772
|
readonly flowId: v.StringSchema<undefined>;
|
|
765
773
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
766
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
774
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
767
775
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
768
776
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
769
777
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -789,7 +797,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
789
797
|
lo: bigint;
|
|
790
798
|
}, string>]>, undefined>;
|
|
791
799
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
792
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
800
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
793
801
|
}, undefined>, v.TransformAction<{
|
|
794
802
|
assetIds?: {
|
|
795
803
|
zippedAssetId: number;
|
|
@@ -797,7 +805,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
797
805
|
} | undefined;
|
|
798
806
|
amountE18?: string | undefined;
|
|
799
807
|
recipientAddress: string;
|
|
800
|
-
status: "unspecified" | "locked" | "settled";
|
|
808
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
801
809
|
}, Omit<{
|
|
802
810
|
assetIds?: {
|
|
803
811
|
zippedAssetId: number;
|
|
@@ -805,7 +813,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
805
813
|
} | undefined;
|
|
806
814
|
amountE18?: string | undefined;
|
|
807
815
|
recipientAddress: string;
|
|
808
|
-
status: "unspecified" | "locked" | "settled";
|
|
816
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
809
817
|
}, "amountE18"> & {
|
|
810
818
|
amount?: string;
|
|
811
819
|
}>]>, undefined>;
|
|
@@ -813,10 +821,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
813
821
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
814
822
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
815
823
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
816
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
817
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
824
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
825
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
818
826
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
819
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
820
828
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
821
829
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
822
830
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -843,8 +851,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
843
851
|
}, undefined>, undefined>;
|
|
844
852
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
845
853
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
846
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
847
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
854
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
855
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
848
856
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
849
857
|
}, undefined>, undefined>, readonly []>;
|
|
850
858
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -861,7 +869,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
861
869
|
smartAccountAddress: string;
|
|
862
870
|
flowId: string;
|
|
863
871
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
864
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
872
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
865
873
|
assetIds?: {
|
|
866
874
|
zippedAssetId: number;
|
|
867
875
|
unifiedAssetId: number;
|
|
@@ -875,7 +883,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
875
883
|
} | undefined;
|
|
876
884
|
amountE18?: string | undefined;
|
|
877
885
|
recipientAddress: string;
|
|
878
|
-
status: "unspecified" | "locked" | "settled";
|
|
886
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
879
887
|
}, "amountE18"> & {
|
|
880
888
|
amount?: string;
|
|
881
889
|
}) | undefined;
|
|
@@ -883,10 +891,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
883
891
|
txOccurrenceIndex?: number | undefined;
|
|
884
892
|
sourceAddress: string;
|
|
885
893
|
destinationAddress: string;
|
|
886
|
-
sourceDomain: "unspecified" | "
|
|
887
|
-
destinationDomain: "unspecified" | "
|
|
894
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
895
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
888
896
|
latestTxRef: string;
|
|
889
|
-
latestLifecycleSource: "unspecified" | "
|
|
897
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
890
898
|
lifecycleReason: LifecycleReasonValue;
|
|
891
899
|
zipperReason?: {
|
|
892
900
|
code: number;
|
|
@@ -913,8 +921,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
913
921
|
} | undefined;
|
|
914
922
|
progressTimeline: {
|
|
915
923
|
sequence: number;
|
|
916
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
917
|
-
status: "unspecified" | "
|
|
924
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
925
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
918
926
|
expectedDurationMs: number;
|
|
919
927
|
}[];
|
|
920
928
|
estimatedCompletionUnixMs: number;
|
|
@@ -925,7 +933,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
925
933
|
smartAccountAddress: string;
|
|
926
934
|
flowId: string;
|
|
927
935
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
928
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
936
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
929
937
|
assetIds?: {
|
|
930
938
|
zippedAssetId: number;
|
|
931
939
|
unifiedAssetId: number;
|
|
@@ -939,7 +947,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
939
947
|
} | undefined;
|
|
940
948
|
amountE18?: string | undefined;
|
|
941
949
|
recipientAddress: string;
|
|
942
|
-
status: "unspecified" | "locked" | "settled";
|
|
950
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
943
951
|
}, "amountE18"> & {
|
|
944
952
|
amount?: string;
|
|
945
953
|
}) | undefined;
|
|
@@ -947,10 +955,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
947
955
|
txOccurrenceIndex?: number | undefined;
|
|
948
956
|
sourceAddress: string;
|
|
949
957
|
destinationAddress: string;
|
|
950
|
-
sourceDomain: "unspecified" | "
|
|
951
|
-
destinationDomain: "unspecified" | "
|
|
958
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
959
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
952
960
|
latestTxRef: string;
|
|
953
|
-
latestLifecycleSource: "unspecified" | "
|
|
961
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
954
962
|
lifecycleReason: LifecycleReasonValue;
|
|
955
963
|
zipperReason?: {
|
|
956
964
|
code: number;
|
|
@@ -977,8 +985,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
977
985
|
} | undefined;
|
|
978
986
|
progressTimeline: {
|
|
979
987
|
sequence: number;
|
|
980
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
981
|
-
status: "unspecified" | "
|
|
988
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
989
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
982
990
|
expectedDurationMs: number;
|
|
983
991
|
}[];
|
|
984
992
|
estimatedCompletionUnixMs: number;
|
|
@@ -989,7 +997,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
989
997
|
}>]>, undefined>;
|
|
990
998
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
991
999
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
992
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1000
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
993
1001
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
994
1002
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
995
1003
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1015,7 +1023,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1015
1023
|
lo: bigint;
|
|
1016
1024
|
}, string>]>, undefined>;
|
|
1017
1025
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1018
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1026
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
1019
1027
|
}, undefined>, v.TransformAction<{
|
|
1020
1028
|
assetIds?: {
|
|
1021
1029
|
zippedAssetId: number;
|
|
@@ -1023,7 +1031,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1023
1031
|
} | undefined;
|
|
1024
1032
|
amountE18?: string | undefined;
|
|
1025
1033
|
recipientAddress: string;
|
|
1026
|
-
status: "unspecified" | "locked" | "settled";
|
|
1034
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1027
1035
|
}, Omit<{
|
|
1028
1036
|
assetIds?: {
|
|
1029
1037
|
zippedAssetId: number;
|
|
@@ -1031,14 +1039,14 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1031
1039
|
} | undefined;
|
|
1032
1040
|
amountE18?: string | undefined;
|
|
1033
1041
|
recipientAddress: string;
|
|
1034
|
-
status: "unspecified" | "locked" | "settled";
|
|
1042
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1035
1043
|
}, "amountE18"> & {
|
|
1036
1044
|
amount?: string;
|
|
1037
1045
|
}>]>, undefined>;
|
|
1038
1046
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1039
1047
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1040
1048
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1041
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1049
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1042
1050
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1043
1051
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1044
1052
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1060,7 +1068,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1060
1068
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1061
1069
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1062
1070
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1063
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1071
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1064
1072
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1065
1073
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1066
1074
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1072,7 +1080,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1072
1080
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1073
1081
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1074
1082
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1075
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1083
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "minted" | "funding" | "trading">]>;
|
|
1076
1084
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1077
1085
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1078
1086
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1088,7 +1096,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1088
1096
|
txRef: string;
|
|
1089
1097
|
txChainId: number;
|
|
1090
1098
|
occurredAtUnixMs: number;
|
|
1091
|
-
lifecycleSource: "unspecified" | "
|
|
1099
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1092
1100
|
lifecycleReason: LifecycleReasonValue;
|
|
1093
1101
|
zipperReason?: {
|
|
1094
1102
|
code: number;
|
|
@@ -1100,7 +1108,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1100
1108
|
approveCount: number;
|
|
1101
1109
|
rejectCount: number;
|
|
1102
1110
|
validatorCount: number;
|
|
1103
|
-
kind: "unspecified" | "
|
|
1111
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1104
1112
|
requiredApprovals: number;
|
|
1105
1113
|
requiredRejections: number;
|
|
1106
1114
|
amountE18?: string | undefined;
|
|
@@ -1110,7 +1118,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1110
1118
|
txRef: string;
|
|
1111
1119
|
txChainId: number;
|
|
1112
1120
|
occurredAtUnixMs: number;
|
|
1113
|
-
lifecycleSource: "unspecified" | "
|
|
1121
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1114
1122
|
lifecycleReason: LifecycleReasonValue;
|
|
1115
1123
|
zipperReason?: {
|
|
1116
1124
|
code: number;
|
|
@@ -1122,7 +1130,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1122
1130
|
approveCount: number;
|
|
1123
1131
|
rejectCount: number;
|
|
1124
1132
|
validatorCount: number;
|
|
1125
|
-
kind: "unspecified" | "
|
|
1133
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1126
1134
|
requiredApprovals: number;
|
|
1127
1135
|
requiredRejections: number;
|
|
1128
1136
|
amountE18?: string | undefined;
|
|
@@ -1130,9 +1138,15 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1130
1138
|
}, "amountE18"> & {
|
|
1131
1139
|
amount?: string;
|
|
1132
1140
|
}>]>, undefined>, readonly []>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Polyester Chain smart account a rejected withdrawal's zTokens (net of the kept
|
|
1143
|
+
* request fee) were returned to; set only on a withdrawal's `refunded` step, `""`
|
|
1144
|
+
* otherwise. The zTokens stay there until moved.
|
|
1145
|
+
*/
|
|
1146
|
+
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
1133
1147
|
}, undefined>, v.TransformAction<{
|
|
1134
1148
|
sequence: number;
|
|
1135
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1149
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1136
1150
|
assetIds?: {
|
|
1137
1151
|
zippedAssetId: number;
|
|
1138
1152
|
unifiedAssetId: number;
|
|
@@ -1146,13 +1160,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1146
1160
|
} | undefined;
|
|
1147
1161
|
amountE18?: string | undefined;
|
|
1148
1162
|
recipientAddress: string;
|
|
1149
|
-
status: "unspecified" | "locked" | "settled";
|
|
1163
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1150
1164
|
}, "amountE18"> & {
|
|
1151
1165
|
amount?: string;
|
|
1152
1166
|
}) | undefined;
|
|
1153
1167
|
milestoneTxRef: string;
|
|
1154
1168
|
milestoneTxChainId: number;
|
|
1155
|
-
lifecycleSource: "unspecified" | "
|
|
1169
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1156
1170
|
lifecycleReason: LifecycleReasonValue;
|
|
1157
1171
|
zipperReason?: {
|
|
1158
1172
|
code: number;
|
|
@@ -1173,7 +1187,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1173
1187
|
txRef: string;
|
|
1174
1188
|
txChainId: number;
|
|
1175
1189
|
occurredAtUnixMs: number;
|
|
1176
|
-
lifecycleSource: "unspecified" | "
|
|
1190
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1177
1191
|
lifecycleReason: LifecycleReasonValue;
|
|
1178
1192
|
zipperReason?: {
|
|
1179
1193
|
code: number;
|
|
@@ -1185,7 +1199,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1185
1199
|
approveCount: number;
|
|
1186
1200
|
rejectCount: number;
|
|
1187
1201
|
validatorCount: number;
|
|
1188
|
-
kind: "unspecified" | "
|
|
1202
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1189
1203
|
requiredApprovals: number;
|
|
1190
1204
|
requiredRejections: number;
|
|
1191
1205
|
amountE18?: string | undefined;
|
|
@@ -1193,9 +1207,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1193
1207
|
}, "amountE18"> & {
|
|
1194
1208
|
amount?: string;
|
|
1195
1209
|
})[];
|
|
1210
|
+
refundAddress: string;
|
|
1196
1211
|
}, Omit<{
|
|
1197
1212
|
sequence: number;
|
|
1198
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1213
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1199
1214
|
assetIds?: {
|
|
1200
1215
|
zippedAssetId: number;
|
|
1201
1216
|
unifiedAssetId: number;
|
|
@@ -1209,13 +1224,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1209
1224
|
} | undefined;
|
|
1210
1225
|
amountE18?: string | undefined;
|
|
1211
1226
|
recipientAddress: string;
|
|
1212
|
-
status: "unspecified" | "locked" | "settled";
|
|
1227
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1213
1228
|
}, "amountE18"> & {
|
|
1214
1229
|
amount?: string;
|
|
1215
1230
|
}) | undefined;
|
|
1216
1231
|
milestoneTxRef: string;
|
|
1217
1232
|
milestoneTxChainId: number;
|
|
1218
|
-
lifecycleSource: "unspecified" | "
|
|
1233
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1219
1234
|
lifecycleReason: LifecycleReasonValue;
|
|
1220
1235
|
zipperReason?: {
|
|
1221
1236
|
code: number;
|
|
@@ -1236,7 +1251,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1236
1251
|
txRef: string;
|
|
1237
1252
|
txChainId: number;
|
|
1238
1253
|
occurredAtUnixMs: number;
|
|
1239
|
-
lifecycleSource: "unspecified" | "
|
|
1254
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1240
1255
|
lifecycleReason: LifecycleReasonValue;
|
|
1241
1256
|
zipperReason?: {
|
|
1242
1257
|
code: number;
|
|
@@ -1248,7 +1263,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1248
1263
|
approveCount: number;
|
|
1249
1264
|
rejectCount: number;
|
|
1250
1265
|
validatorCount: number;
|
|
1251
|
-
kind: "unspecified" | "
|
|
1266
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1252
1267
|
requiredApprovals: number;
|
|
1253
1268
|
requiredRejections: number;
|
|
1254
1269
|
amountE18?: string | undefined;
|
|
@@ -1256,6 +1271,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1256
1271
|
}, "amountE18"> & {
|
|
1257
1272
|
amount?: string;
|
|
1258
1273
|
})[];
|
|
1274
|
+
refundAddress: string;
|
|
1259
1275
|
}, "amountE18"> & {
|
|
1260
1276
|
amount?: string;
|
|
1261
1277
|
}>]>, undefined>, readonly []>;
|
|
@@ -1267,7 +1283,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1267
1283
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1268
1284
|
readonly flowId: v.StringSchema<undefined>;
|
|
1269
1285
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1270
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1286
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1271
1287
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1272
1288
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1273
1289
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1293,7 +1309,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1293
1309
|
lo: bigint;
|
|
1294
1310
|
}, string>]>, undefined>;
|
|
1295
1311
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1296
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1312
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
1297
1313
|
}, undefined>, v.TransformAction<{
|
|
1298
1314
|
assetIds?: {
|
|
1299
1315
|
zippedAssetId: number;
|
|
@@ -1301,7 +1317,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1301
1317
|
} | undefined;
|
|
1302
1318
|
amountE18?: string | undefined;
|
|
1303
1319
|
recipientAddress: string;
|
|
1304
|
-
status: "unspecified" | "locked" | "settled";
|
|
1320
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1305
1321
|
}, Omit<{
|
|
1306
1322
|
assetIds?: {
|
|
1307
1323
|
zippedAssetId: number;
|
|
@@ -1309,7 +1325,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1309
1325
|
} | undefined;
|
|
1310
1326
|
amountE18?: string | undefined;
|
|
1311
1327
|
recipientAddress: string;
|
|
1312
|
-
status: "unspecified" | "locked" | "settled";
|
|
1328
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1313
1329
|
}, "amountE18"> & {
|
|
1314
1330
|
amount?: string;
|
|
1315
1331
|
}>]>, undefined>;
|
|
@@ -1317,10 +1333,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1317
1333
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1318
1334
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1319
1335
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1320
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1321
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1336
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1337
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1322
1338
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1323
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1324
1340
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1325
1341
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1326
1342
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1347,8 +1363,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1347
1363
|
}, undefined>, undefined>;
|
|
1348
1364
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1349
1365
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1350
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1351
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1366
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1367
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1352
1368
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1353
1369
|
}, undefined>, undefined>, readonly []>;
|
|
1354
1370
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1365,7 +1381,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1365
1381
|
smartAccountAddress: string;
|
|
1366
1382
|
flowId: string;
|
|
1367
1383
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1368
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1384
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1369
1385
|
assetIds?: {
|
|
1370
1386
|
zippedAssetId: number;
|
|
1371
1387
|
unifiedAssetId: number;
|
|
@@ -1379,7 +1395,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1379
1395
|
} | undefined;
|
|
1380
1396
|
amountE18?: string | undefined;
|
|
1381
1397
|
recipientAddress: string;
|
|
1382
|
-
status: "unspecified" | "locked" | "settled";
|
|
1398
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1383
1399
|
}, "amountE18"> & {
|
|
1384
1400
|
amount?: string;
|
|
1385
1401
|
}) | undefined;
|
|
@@ -1387,10 +1403,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1387
1403
|
txOccurrenceIndex?: number | undefined;
|
|
1388
1404
|
sourceAddress: string;
|
|
1389
1405
|
destinationAddress: string;
|
|
1390
|
-
sourceDomain: "unspecified" | "
|
|
1391
|
-
destinationDomain: "unspecified" | "
|
|
1406
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1407
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1392
1408
|
latestTxRef: string;
|
|
1393
|
-
latestLifecycleSource: "unspecified" | "
|
|
1409
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1394
1410
|
lifecycleReason: LifecycleReasonValue;
|
|
1395
1411
|
zipperReason?: {
|
|
1396
1412
|
code: number;
|
|
@@ -1417,8 +1433,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1417
1433
|
} | undefined;
|
|
1418
1434
|
progressTimeline: {
|
|
1419
1435
|
sequence: number;
|
|
1420
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1421
|
-
status: "unspecified" | "
|
|
1436
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1437
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
1422
1438
|
expectedDurationMs: number;
|
|
1423
1439
|
}[];
|
|
1424
1440
|
estimatedCompletionUnixMs: number;
|
|
@@ -1429,7 +1445,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1429
1445
|
smartAccountAddress: string;
|
|
1430
1446
|
flowId: string;
|
|
1431
1447
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1432
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1448
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1433
1449
|
assetIds?: {
|
|
1434
1450
|
zippedAssetId: number;
|
|
1435
1451
|
unifiedAssetId: number;
|
|
@@ -1443,7 +1459,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1443
1459
|
} | undefined;
|
|
1444
1460
|
amountE18?: string | undefined;
|
|
1445
1461
|
recipientAddress: string;
|
|
1446
|
-
status: "unspecified" | "locked" | "settled";
|
|
1462
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1447
1463
|
}, "amountE18"> & {
|
|
1448
1464
|
amount?: string;
|
|
1449
1465
|
}) | undefined;
|
|
@@ -1451,10 +1467,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1451
1467
|
txOccurrenceIndex?: number | undefined;
|
|
1452
1468
|
sourceAddress: string;
|
|
1453
1469
|
destinationAddress: string;
|
|
1454
|
-
sourceDomain: "unspecified" | "
|
|
1455
|
-
destinationDomain: "unspecified" | "
|
|
1470
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1471
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1456
1472
|
latestTxRef: string;
|
|
1457
|
-
latestLifecycleSource: "unspecified" | "
|
|
1473
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1458
1474
|
lifecycleReason: LifecycleReasonValue;
|
|
1459
1475
|
zipperReason?: {
|
|
1460
1476
|
code: number;
|
|
@@ -1481,8 +1497,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1481
1497
|
} | undefined;
|
|
1482
1498
|
progressTimeline: {
|
|
1483
1499
|
sequence: number;
|
|
1484
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1485
|
-
status: "unspecified" | "
|
|
1500
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1501
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
1486
1502
|
expectedDurationMs: number;
|
|
1487
1503
|
}[];
|
|
1488
1504
|
estimatedCompletionUnixMs: number;
|
|
@@ -1500,7 +1516,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1500
1516
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1501
1517
|
readonly flowId: v.StringSchema<undefined>;
|
|
1502
1518
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1503
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1519
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1504
1520
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1505
1521
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1506
1522
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1526,7 +1542,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1526
1542
|
lo: bigint;
|
|
1527
1543
|
}, string>]>, undefined>;
|
|
1528
1544
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1529
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1545
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
1530
1546
|
}, undefined>, v.TransformAction<{
|
|
1531
1547
|
assetIds?: {
|
|
1532
1548
|
zippedAssetId: number;
|
|
@@ -1534,7 +1550,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1534
1550
|
} | undefined;
|
|
1535
1551
|
amountE18?: string | undefined;
|
|
1536
1552
|
recipientAddress: string;
|
|
1537
|
-
status: "unspecified" | "locked" | "settled";
|
|
1553
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1538
1554
|
}, Omit<{
|
|
1539
1555
|
assetIds?: {
|
|
1540
1556
|
zippedAssetId: number;
|
|
@@ -1542,7 +1558,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1542
1558
|
} | undefined;
|
|
1543
1559
|
amountE18?: string | undefined;
|
|
1544
1560
|
recipientAddress: string;
|
|
1545
|
-
status: "unspecified" | "locked" | "settled";
|
|
1561
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1546
1562
|
}, "amountE18"> & {
|
|
1547
1563
|
amount?: string;
|
|
1548
1564
|
}>]>, undefined>;
|
|
@@ -1550,10 +1566,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1550
1566
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1551
1567
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1552
1568
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1553
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1554
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1569
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1570
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
1555
1571
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1556
|
-
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" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1557
1573
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1558
1574
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1559
1575
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1580,8 +1596,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1580
1596
|
}, undefined>, undefined>;
|
|
1581
1597
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1582
1598
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1583
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1584
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1599
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1600
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1585
1601
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1586
1602
|
}, undefined>, undefined>, readonly []>;
|
|
1587
1603
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -1598,7 +1614,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1598
1614
|
smartAccountAddress: string;
|
|
1599
1615
|
flowId: string;
|
|
1600
1616
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1601
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1617
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1602
1618
|
assetIds?: {
|
|
1603
1619
|
zippedAssetId: number;
|
|
1604
1620
|
unifiedAssetId: number;
|
|
@@ -1612,7 +1628,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1612
1628
|
} | undefined;
|
|
1613
1629
|
amountE18?: string | undefined;
|
|
1614
1630
|
recipientAddress: string;
|
|
1615
|
-
status: "unspecified" | "locked" | "settled";
|
|
1631
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1616
1632
|
}, "amountE18"> & {
|
|
1617
1633
|
amount?: string;
|
|
1618
1634
|
}) | undefined;
|
|
@@ -1620,10 +1636,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1620
1636
|
txOccurrenceIndex?: number | undefined;
|
|
1621
1637
|
sourceAddress: string;
|
|
1622
1638
|
destinationAddress: string;
|
|
1623
|
-
sourceDomain: "unspecified" | "
|
|
1624
|
-
destinationDomain: "unspecified" | "
|
|
1639
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1640
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1625
1641
|
latestTxRef: string;
|
|
1626
|
-
latestLifecycleSource: "unspecified" | "
|
|
1642
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1627
1643
|
lifecycleReason: LifecycleReasonValue;
|
|
1628
1644
|
zipperReason?: {
|
|
1629
1645
|
code: number;
|
|
@@ -1650,8 +1666,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1650
1666
|
} | undefined;
|
|
1651
1667
|
progressTimeline: {
|
|
1652
1668
|
sequence: number;
|
|
1653
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1654
|
-
status: "unspecified" | "
|
|
1669
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1670
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
1655
1671
|
expectedDurationMs: number;
|
|
1656
1672
|
}[];
|
|
1657
1673
|
estimatedCompletionUnixMs: number;
|
|
@@ -1662,7 +1678,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1662
1678
|
smartAccountAddress: string;
|
|
1663
1679
|
flowId: string;
|
|
1664
1680
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1665
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
1681
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1666
1682
|
assetIds?: {
|
|
1667
1683
|
zippedAssetId: number;
|
|
1668
1684
|
unifiedAssetId: number;
|
|
@@ -1676,7 +1692,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1676
1692
|
} | undefined;
|
|
1677
1693
|
amountE18?: string | undefined;
|
|
1678
1694
|
recipientAddress: string;
|
|
1679
|
-
status: "unspecified" | "locked" | "settled";
|
|
1695
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1680
1696
|
}, "amountE18"> & {
|
|
1681
1697
|
amount?: string;
|
|
1682
1698
|
}) | undefined;
|
|
@@ -1684,10 +1700,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1684
1700
|
txOccurrenceIndex?: number | undefined;
|
|
1685
1701
|
sourceAddress: string;
|
|
1686
1702
|
destinationAddress: string;
|
|
1687
|
-
sourceDomain: "unspecified" | "
|
|
1688
|
-
destinationDomain: "unspecified" | "
|
|
1703
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1704
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
1689
1705
|
latestTxRef: string;
|
|
1690
|
-
latestLifecycleSource: "unspecified" | "
|
|
1706
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1691
1707
|
lifecycleReason: LifecycleReasonValue;
|
|
1692
1708
|
zipperReason?: {
|
|
1693
1709
|
code: number;
|
|
@@ -1714,8 +1730,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1714
1730
|
} | undefined;
|
|
1715
1731
|
progressTimeline: {
|
|
1716
1732
|
sequence: number;
|
|
1717
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1718
|
-
status: "unspecified" | "
|
|
1733
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1734
|
+
status: "unspecified" | "completed" | "current" | "planned";
|
|
1719
1735
|
expectedDurationMs: number;
|
|
1720
1736
|
}[];
|
|
1721
1737
|
estimatedCompletionUnixMs: number;
|
|
@@ -1726,7 +1742,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1726
1742
|
}>]>, undefined>;
|
|
1727
1743
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1728
1744
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1729
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
1745
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1730
1746
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1731
1747
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1732
1748
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1752,7 +1768,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1752
1768
|
lo: bigint;
|
|
1753
1769
|
}, string>]>, undefined>;
|
|
1754
1770
|
readonly recipientAddress: v.StringSchema<undefined>;
|
|
1755
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled">]>;
|
|
1771
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "locked" | "settled" | "kept">]>;
|
|
1756
1772
|
}, undefined>, v.TransformAction<{
|
|
1757
1773
|
assetIds?: {
|
|
1758
1774
|
zippedAssetId: number;
|
|
@@ -1760,7 +1776,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1760
1776
|
} | undefined;
|
|
1761
1777
|
amountE18?: string | undefined;
|
|
1762
1778
|
recipientAddress: string;
|
|
1763
|
-
status: "unspecified" | "locked" | "settled";
|
|
1779
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1764
1780
|
}, Omit<{
|
|
1765
1781
|
assetIds?: {
|
|
1766
1782
|
zippedAssetId: number;
|
|
@@ -1768,14 +1784,14 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1768
1784
|
} | undefined;
|
|
1769
1785
|
amountE18?: string | undefined;
|
|
1770
1786
|
recipientAddress: string;
|
|
1771
|
-
status: "unspecified" | "locked" | "settled";
|
|
1787
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1772
1788
|
}, "amountE18"> & {
|
|
1773
1789
|
amount?: string;
|
|
1774
1790
|
}>]>, undefined>;
|
|
1775
1791
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1776
1792
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1777
1793
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1778
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1794
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1779
1795
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1780
1796
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1781
1797
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1797,7 +1813,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1797
1813
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1798
1814
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1799
1815
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1800
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1816
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1801
1817
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1802
1818
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1803
1819
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1809,7 +1825,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1809
1825
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1810
1826
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1811
1827
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1812
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1828
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "minted" | "funding" | "trading">]>;
|
|
1813
1829
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1814
1830
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1815
1831
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1825,7 +1841,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1825
1841
|
txRef: string;
|
|
1826
1842
|
txChainId: number;
|
|
1827
1843
|
occurredAtUnixMs: number;
|
|
1828
|
-
lifecycleSource: "unspecified" | "
|
|
1844
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1829
1845
|
lifecycleReason: LifecycleReasonValue;
|
|
1830
1846
|
zipperReason?: {
|
|
1831
1847
|
code: number;
|
|
@@ -1837,7 +1853,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1837
1853
|
approveCount: number;
|
|
1838
1854
|
rejectCount: number;
|
|
1839
1855
|
validatorCount: number;
|
|
1840
|
-
kind: "unspecified" | "
|
|
1856
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1841
1857
|
requiredApprovals: number;
|
|
1842
1858
|
requiredRejections: number;
|
|
1843
1859
|
amountE18?: string | undefined;
|
|
@@ -1847,7 +1863,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1847
1863
|
txRef: string;
|
|
1848
1864
|
txChainId: number;
|
|
1849
1865
|
occurredAtUnixMs: number;
|
|
1850
|
-
lifecycleSource: "unspecified" | "
|
|
1866
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1851
1867
|
lifecycleReason: LifecycleReasonValue;
|
|
1852
1868
|
zipperReason?: {
|
|
1853
1869
|
code: number;
|
|
@@ -1859,7 +1875,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1859
1875
|
approveCount: number;
|
|
1860
1876
|
rejectCount: number;
|
|
1861
1877
|
validatorCount: number;
|
|
1862
|
-
kind: "unspecified" | "
|
|
1878
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1863
1879
|
requiredApprovals: number;
|
|
1864
1880
|
requiredRejections: number;
|
|
1865
1881
|
amountE18?: string | undefined;
|
|
@@ -1867,9 +1883,15 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1867
1883
|
}, "amountE18"> & {
|
|
1868
1884
|
amount?: string;
|
|
1869
1885
|
}>]>, undefined>, readonly []>;
|
|
1886
|
+
/**
|
|
1887
|
+
* Polyester Chain smart account a rejected withdrawal's zTokens (net of the kept
|
|
1888
|
+
* request fee) were returned to; set only on a withdrawal's `refunded` step, `""`
|
|
1889
|
+
* otherwise. The zTokens stay there until moved.
|
|
1890
|
+
*/
|
|
1891
|
+
readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
|
|
1870
1892
|
}, undefined>, v.TransformAction<{
|
|
1871
1893
|
sequence: number;
|
|
1872
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1894
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1873
1895
|
assetIds?: {
|
|
1874
1896
|
zippedAssetId: number;
|
|
1875
1897
|
unifiedAssetId: number;
|
|
@@ -1883,13 +1905,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1883
1905
|
} | undefined;
|
|
1884
1906
|
amountE18?: string | undefined;
|
|
1885
1907
|
recipientAddress: string;
|
|
1886
|
-
status: "unspecified" | "locked" | "settled";
|
|
1908
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1887
1909
|
}, "amountE18"> & {
|
|
1888
1910
|
amount?: string;
|
|
1889
1911
|
}) | undefined;
|
|
1890
1912
|
milestoneTxRef: string;
|
|
1891
1913
|
milestoneTxChainId: number;
|
|
1892
|
-
lifecycleSource: "unspecified" | "
|
|
1914
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1893
1915
|
lifecycleReason: LifecycleReasonValue;
|
|
1894
1916
|
zipperReason?: {
|
|
1895
1917
|
code: number;
|
|
@@ -1910,7 +1932,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1910
1932
|
txRef: string;
|
|
1911
1933
|
txChainId: number;
|
|
1912
1934
|
occurredAtUnixMs: number;
|
|
1913
|
-
lifecycleSource: "unspecified" | "
|
|
1935
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1914
1936
|
lifecycleReason: LifecycleReasonValue;
|
|
1915
1937
|
zipperReason?: {
|
|
1916
1938
|
code: number;
|
|
@@ -1922,7 +1944,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1922
1944
|
approveCount: number;
|
|
1923
1945
|
rejectCount: number;
|
|
1924
1946
|
validatorCount: number;
|
|
1925
|
-
kind: "unspecified" | "
|
|
1947
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1926
1948
|
requiredApprovals: number;
|
|
1927
1949
|
requiredRejections: number;
|
|
1928
1950
|
amountE18?: string | undefined;
|
|
@@ -1930,9 +1952,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1930
1952
|
}, "amountE18"> & {
|
|
1931
1953
|
amount?: string;
|
|
1932
1954
|
})[];
|
|
1955
|
+
refundAddress: string;
|
|
1933
1956
|
}, Omit<{
|
|
1934
1957
|
sequence: number;
|
|
1935
|
-
step: "validation" | "unspecified" | "failed" | "
|
|
1958
|
+
step: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1936
1959
|
assetIds?: {
|
|
1937
1960
|
zippedAssetId: number;
|
|
1938
1961
|
unifiedAssetId: number;
|
|
@@ -1946,13 +1969,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1946
1969
|
} | undefined;
|
|
1947
1970
|
amountE18?: string | undefined;
|
|
1948
1971
|
recipientAddress: string;
|
|
1949
|
-
status: "unspecified" | "locked" | "settled";
|
|
1972
|
+
status: "unspecified" | "locked" | "settled" | "kept";
|
|
1950
1973
|
}, "amountE18"> & {
|
|
1951
1974
|
amount?: string;
|
|
1952
1975
|
}) | undefined;
|
|
1953
1976
|
milestoneTxRef: string;
|
|
1954
1977
|
milestoneTxChainId: number;
|
|
1955
|
-
lifecycleSource: "unspecified" | "
|
|
1978
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1956
1979
|
lifecycleReason: LifecycleReasonValue;
|
|
1957
1980
|
zipperReason?: {
|
|
1958
1981
|
code: number;
|
|
@@ -1973,7 +1996,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1973
1996
|
txRef: string;
|
|
1974
1997
|
txChainId: number;
|
|
1975
1998
|
occurredAtUnixMs: number;
|
|
1976
|
-
lifecycleSource: "unspecified" | "
|
|
1999
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1977
2000
|
lifecycleReason: LifecycleReasonValue;
|
|
1978
2001
|
zipperReason?: {
|
|
1979
2002
|
code: number;
|
|
@@ -1985,7 +2008,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1985
2008
|
approveCount: number;
|
|
1986
2009
|
rejectCount: number;
|
|
1987
2010
|
validatorCount: number;
|
|
1988
|
-
kind: "unspecified" | "
|
|
2011
|
+
kind: "unspecified" | "minted" | "funding" | "trading";
|
|
1989
2012
|
requiredApprovals: number;
|
|
1990
2013
|
requiredRejections: number;
|
|
1991
2014
|
amountE18?: string | undefined;
|
|
@@ -1993,6 +2016,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1993
2016
|
}, "amountE18"> & {
|
|
1994
2017
|
amount?: string;
|
|
1995
2018
|
})[];
|
|
2019
|
+
refundAddress: string;
|
|
1996
2020
|
}, "amountE18"> & {
|
|
1997
2021
|
amount?: string;
|
|
1998
2022
|
}>]>, undefined>, readonly []>;
|
|
@@ -2007,9 +2031,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2007
2031
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2008
2032
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2009
2033
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2010
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2011
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2012
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2034
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
2035
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
2036
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2013
2037
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2014
2038
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2015
2039
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2041,9 +2065,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2041
2065
|
sourceTxHash: string;
|
|
2042
2066
|
latestTxRef: string;
|
|
2043
2067
|
txOccurrenceIndex?: number | undefined;
|
|
2044
|
-
sourceDomain: "unspecified" | "
|
|
2045
|
-
destinationDomain: "unspecified" | "
|
|
2046
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2068
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2069
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2070
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2047
2071
|
isOpen: boolean;
|
|
2048
2072
|
isTerminal: boolean;
|
|
2049
2073
|
assetIds?: {
|
|
@@ -2069,9 +2093,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2069
2093
|
sourceTxHash: string;
|
|
2070
2094
|
latestTxRef: string;
|
|
2071
2095
|
txOccurrenceIndex?: number | undefined;
|
|
2072
|
-
sourceDomain: "unspecified" | "
|
|
2073
|
-
destinationDomain: "unspecified" | "
|
|
2074
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2096
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2097
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2098
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2075
2099
|
isOpen: boolean;
|
|
2076
2100
|
isTerminal: boolean;
|
|
2077
2101
|
assetIds?: {
|
|
@@ -2102,9 +2126,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2102
2126
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2103
2127
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2104
2128
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2105
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2106
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2107
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "
|
|
2129
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
2130
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending">]>;
|
|
2131
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2108
2132
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2109
2133
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2110
2134
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2136,9 +2160,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2136
2160
|
sourceTxHash: string;
|
|
2137
2161
|
latestTxRef: string;
|
|
2138
2162
|
txOccurrenceIndex?: number | undefined;
|
|
2139
|
-
sourceDomain: "unspecified" | "
|
|
2140
|
-
destinationDomain: "unspecified" | "
|
|
2141
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2163
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2164
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2165
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2142
2166
|
isOpen: boolean;
|
|
2143
2167
|
isTerminal: boolean;
|
|
2144
2168
|
assetIds?: {
|
|
@@ -2164,9 +2188,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2164
2188
|
sourceTxHash: string;
|
|
2165
2189
|
latestTxRef: string;
|
|
2166
2190
|
txOccurrenceIndex?: number | undefined;
|
|
2167
|
-
sourceDomain: "unspecified" | "
|
|
2168
|
-
destinationDomain: "unspecified" | "
|
|
2169
|
-
currentStep: "validation" | "unspecified" | "failed" | "
|
|
2191
|
+
sourceDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2192
|
+
destinationDomain: "unspecified" | "funding" | "trading" | "external_chain" | "zipper" | "lending";
|
|
2193
|
+
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2170
2194
|
isOpen: boolean;
|
|
2171
2195
|
isTerminal: boolean;
|
|
2172
2196
|
assetIds?: {
|