@polyester/sdk 0.35.0-devnet-20261111025029 → 0.35.0-devnet-20261111140253
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 +43 -1
- package/dist/catalogs/index.d.ts +2 -2
- package/dist/catalogs/snapshot-validation.js +7 -3
- package/dist/catalogs/snapshot-validation.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 +247 -3
- 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 +55 -6
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +55 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +186 -14
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +163 -6
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +4 -2
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -0
- package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +170 -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 +25 -9
- 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 +172 -4
- 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/chain/zipper/v1/zipper_pb.d.ts +57 -3
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +41 -3
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +2 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +20 -3
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +12 -3
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/index.d.ts +9 -5
- package/dist/gen/index.js +5 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +52 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +52 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +6 -0
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_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 +29 -8
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +18 -5
- package/dist/gen/orders/v1/orders_pb.js.map +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/rewards/v1/rewards_pb.d.ts +74 -3
- package/dist/gen/rewards/v1/rewards_pb.d.ts.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.js +16 -4
- package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1268 -67
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +306 -5
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +298 -54
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +183 -37
- 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/gen/transfer/v1/internal_transfer_pb.d.ts +101 -2
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +14 -2
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -0
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
- package/dist/gen/vip/v1/vip_pb.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +2 -2
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- 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.schemas.d.ts +4 -0
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +3 -1
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- 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 +375 -7
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +66 -11
- 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/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/claims/claims.d.ts +5 -2
- package/dist/services/claims/claims.d.ts.map +1 -1
- package/dist/services/claims/claims.js +5 -2
- package/dist/services/claims/claims.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.d.ts +13 -4
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +17 -3
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +59 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +32 -2
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
- 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 +114 -90
- 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.schemas.js +7 -2
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +2 -2
- package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
- package/dist/services/orders/orders-input.schemas.d.ts +7 -7
- package/dist/services/orders/orders-output.schemas.d.ts +19 -19
- package/dist/services/orders/orders.d.ts +2 -0
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +2 -0
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
- package/dist/services/policies/shared.codecs.js +85 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +5 -14
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +3 -3
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/rewards/rewards.d.ts +13 -3
- package/dist/services/rewards/rewards.d.ts.map +1 -1
- package/dist/services/rewards/rewards.js +17 -3
- package/dist/services/rewards/rewards.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +101 -4
- package/dist/services/rewards/rewards.schemas.d.ts.map +1 -1
- package/dist/services/rewards/rewards.schemas.js +12 -2
- package/dist/services/rewards/rewards.schemas.js.map +1 -1
- package/dist/services/rewards/rewards.types.d.ts +2 -2
- 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 +17 -17
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- 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 +4 -4
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +30 -30
- package/dist/services/zipper/zipper.schemas.d.ts +2 -2
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.js +13 -2
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/services/zipper/zipper.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +18 -1
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js +7 -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 +5 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +8 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/claims.js +7 -2
- package/dist/shared/error-details/claims.js.map +1 -1
- package/dist/shared/error-details/withdraw.js +11 -2
- package/dist/shared/error-details/withdraw.js.map +1 -1
- package/dist/shared/errors.d.ts +20 -3
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +17 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/ledger-codes.d.ts +7 -1
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +27 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +2 -2
- 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/package.json +1 -1
|
@@ -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
|
}>]>;
|
|
@@ -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" | "source" | "
|
|
244
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
245
245
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
246
246
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
247
247
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -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,7 +283,7 @@ 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>;
|
|
@@ -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" | "source" | "
|
|
393
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
388
394
|
assetIds?: {
|
|
389
395
|
zippedAssetId: number;
|
|
390
396
|
unifiedAssetId: number;
|
|
@@ -398,7 +404,7 @@ 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;
|
|
@@ -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" | "source" | "
|
|
457
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
451
458
|
assetIds?: {
|
|
452
459
|
zippedAssetId: number;
|
|
453
460
|
unifiedAssetId: number;
|
|
@@ -461,7 +468,7 @@ 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;
|
|
@@ -508,12 +515,13 @@ 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" | "source" | "
|
|
524
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
517
525
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
518
526
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
519
527
|
}, undefined>;
|
|
@@ -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" | "source" | "
|
|
544
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
537
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>;
|
|
@@ -613,7 +621,7 @@ 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" | "source" | "
|
|
624
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
617
625
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
618
626
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
619
627
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -625,13 +633,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
625
633
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
626
634
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
627
635
|
*/
|
|
628
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
636
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
629
637
|
}, undefined>, v.TransformAction<{
|
|
630
638
|
ownerAccountId: string;
|
|
631
639
|
smartAccountAddress: string;
|
|
632
640
|
flowId: string;
|
|
633
641
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
634
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
642
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -683,19 +691,19 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
683
691
|
} | undefined;
|
|
684
692
|
progressTimeline: {
|
|
685
693
|
sequence: number;
|
|
686
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
694
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
687
695
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
688
696
|
expectedDurationMs: number;
|
|
689
697
|
}[];
|
|
690
698
|
estimatedCompletionUnixMs: number;
|
|
691
699
|
isDelayed: boolean;
|
|
692
|
-
participation: "
|
|
700
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
693
701
|
}, Omit<{
|
|
694
702
|
ownerAccountId: string;
|
|
695
703
|
smartAccountAddress: string;
|
|
696
704
|
flowId: string;
|
|
697
705
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
698
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
706
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -747,13 +755,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
747
755
|
} | undefined;
|
|
748
756
|
progressTimeline: {
|
|
749
757
|
sequence: number;
|
|
750
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
758
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
751
759
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
752
760
|
expectedDurationMs: number;
|
|
753
761
|
}[];
|
|
754
762
|
estimatedCompletionUnixMs: number;
|
|
755
763
|
isDelayed: boolean;
|
|
756
|
-
participation: "
|
|
764
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
757
765
|
}, "amountE18"> & {
|
|
758
766
|
amount?: string;
|
|
759
767
|
}>]>;
|
|
@@ -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" | "source" | "
|
|
774
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
767
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>;
|
|
@@ -843,7 +851,7 @@ 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" | "source" | "
|
|
854
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
847
855
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
848
856
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
849
857
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -855,13 +863,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
855
863
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
856
864
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
857
865
|
*/
|
|
858
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
866
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
859
867
|
}, undefined>, v.TransformAction<{
|
|
860
868
|
ownerAccountId: string;
|
|
861
869
|
smartAccountAddress: string;
|
|
862
870
|
flowId: string;
|
|
863
871
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
864
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
872
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -913,19 +921,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
913
921
|
} | undefined;
|
|
914
922
|
progressTimeline: {
|
|
915
923
|
sequence: number;
|
|
916
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
924
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
917
925
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
918
926
|
expectedDurationMs: number;
|
|
919
927
|
}[];
|
|
920
928
|
estimatedCompletionUnixMs: number;
|
|
921
929
|
isDelayed: boolean;
|
|
922
|
-
participation: "
|
|
930
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
923
931
|
}, Omit<{
|
|
924
932
|
ownerAccountId: string;
|
|
925
933
|
smartAccountAddress: string;
|
|
926
934
|
flowId: string;
|
|
927
935
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
928
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
936
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -977,19 +985,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
977
985
|
} | undefined;
|
|
978
986
|
progressTimeline: {
|
|
979
987
|
sequence: number;
|
|
980
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
988
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
981
989
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
982
990
|
expectedDurationMs: number;
|
|
983
991
|
}[];
|
|
984
992
|
estimatedCompletionUnixMs: number;
|
|
985
993
|
isDelayed: boolean;
|
|
986
|
-
participation: "
|
|
994
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
987
995
|
}, "amountE18"> & {
|
|
988
996
|
amount?: string;
|
|
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" | "source" | "
|
|
1000
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
993
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,7 +1039,7 @@ 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>;
|
|
@@ -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" | "source" | "
|
|
1149
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1136
1150
|
assetIds?: {
|
|
1137
1151
|
zippedAssetId: number;
|
|
1138
1152
|
unifiedAssetId: number;
|
|
@@ -1146,7 +1160,7 @@ 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;
|
|
@@ -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" | "source" | "
|
|
1213
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1199
1214
|
assetIds?: {
|
|
1200
1215
|
zippedAssetId: number;
|
|
1201
1216
|
unifiedAssetId: number;
|
|
@@ -1209,7 +1224,7 @@ 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;
|
|
@@ -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" | "source" | "
|
|
1286
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1271
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>;
|
|
@@ -1347,7 +1363,7 @@ 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" | "source" | "
|
|
1366
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1351
1367
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1352
1368
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1353
1369
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1359,13 +1375,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1359
1375
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1360
1376
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1361
1377
|
*/
|
|
1362
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1378
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1363
1379
|
}, undefined>, v.TransformAction<{
|
|
1364
1380
|
ownerAccountId: string;
|
|
1365
1381
|
smartAccountAddress: string;
|
|
1366
1382
|
flowId: string;
|
|
1367
1383
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1368
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1384
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -1417,19 +1433,19 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1417
1433
|
} | undefined;
|
|
1418
1434
|
progressTimeline: {
|
|
1419
1435
|
sequence: number;
|
|
1420
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1436
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1421
1437
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1422
1438
|
expectedDurationMs: number;
|
|
1423
1439
|
}[];
|
|
1424
1440
|
estimatedCompletionUnixMs: number;
|
|
1425
1441
|
isDelayed: boolean;
|
|
1426
|
-
participation: "
|
|
1442
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1427
1443
|
}, Omit<{
|
|
1428
1444
|
ownerAccountId: string;
|
|
1429
1445
|
smartAccountAddress: string;
|
|
1430
1446
|
flowId: string;
|
|
1431
1447
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1432
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1448
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -1481,13 +1497,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1481
1497
|
} | undefined;
|
|
1482
1498
|
progressTimeline: {
|
|
1483
1499
|
sequence: number;
|
|
1484
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1500
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1485
1501
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1486
1502
|
expectedDurationMs: number;
|
|
1487
1503
|
}[];
|
|
1488
1504
|
estimatedCompletionUnixMs: number;
|
|
1489
1505
|
isDelayed: boolean;
|
|
1490
|
-
participation: "
|
|
1506
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1491
1507
|
}, "amountE18"> & {
|
|
1492
1508
|
amount?: string;
|
|
1493
1509
|
}>]>, undefined>, readonly []>;
|
|
@@ -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" | "source" | "
|
|
1519
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1504
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>;
|
|
@@ -1580,7 +1596,7 @@ 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" | "source" | "
|
|
1599
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1584
1600
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1585
1601
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1586
1602
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1592,13 +1608,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1592
1608
|
* transfer it sent, `"recipient"` for a transfer another account sent it.
|
|
1593
1609
|
* `"unspecified"` outside an account-scoped `listFlows`.
|
|
1594
1610
|
*/
|
|
1595
|
-
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "
|
|
1611
|
+
readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
|
|
1596
1612
|
}, undefined>, v.TransformAction<{
|
|
1597
1613
|
ownerAccountId: string;
|
|
1598
1614
|
smartAccountAddress: string;
|
|
1599
1615
|
flowId: string;
|
|
1600
1616
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1601
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1617
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -1650,19 +1666,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1650
1666
|
} | undefined;
|
|
1651
1667
|
progressTimeline: {
|
|
1652
1668
|
sequence: number;
|
|
1653
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1669
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1654
1670
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1655
1671
|
expectedDurationMs: number;
|
|
1656
1672
|
}[];
|
|
1657
1673
|
estimatedCompletionUnixMs: number;
|
|
1658
1674
|
isDelayed: boolean;
|
|
1659
|
-
participation: "
|
|
1675
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1660
1676
|
}, Omit<{
|
|
1661
1677
|
ownerAccountId: string;
|
|
1662
1678
|
smartAccountAddress: string;
|
|
1663
1679
|
flowId: string;
|
|
1664
1680
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1665
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1681
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "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;
|
|
@@ -1714,19 +1730,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1714
1730
|
} | undefined;
|
|
1715
1731
|
progressTimeline: {
|
|
1716
1732
|
sequence: number;
|
|
1717
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1733
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1718
1734
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1719
1735
|
expectedDurationMs: number;
|
|
1720
1736
|
}[];
|
|
1721
1737
|
estimatedCompletionUnixMs: number;
|
|
1722
1738
|
isDelayed: boolean;
|
|
1723
|
-
participation: "
|
|
1739
|
+
participation: "unspecified" | "owner" | "recipient";
|
|
1724
1740
|
}, "amountE18"> & {
|
|
1725
1741
|
amount?: string;
|
|
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" | "source" | "
|
|
1745
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1730
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,7 +1784,7 @@ 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>;
|
|
@@ -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" | "source" | "
|
|
1894
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1873
1895
|
assetIds?: {
|
|
1874
1896
|
zippedAssetId: number;
|
|
1875
1897
|
unifiedAssetId: number;
|
|
@@ -1883,7 +1905,7 @@ 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;
|
|
@@ -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" | "source" | "
|
|
1958
|
+
step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1936
1959
|
assetIds?: {
|
|
1937
1960
|
zippedAssetId: number;
|
|
1938
1961
|
unifiedAssetId: number;
|
|
@@ -1946,7 +1969,7 @@ 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;
|
|
@@ -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 []>;
|
|
@@ -2009,7 +2033,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2009
2033
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2010
2034
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2011
2035
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2012
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
2036
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2013
2037
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2014
2038
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2015
2039
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2043,7 +2067,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2043
2067
|
txOccurrenceIndex?: number | undefined;
|
|
2044
2068
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2045
2069
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2046
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2070
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2047
2071
|
isOpen: boolean;
|
|
2048
2072
|
isTerminal: boolean;
|
|
2049
2073
|
assetIds?: {
|
|
@@ -2071,7 +2095,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2071
2095
|
txOccurrenceIndex?: number | undefined;
|
|
2072
2096
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2073
2097
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2074
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2098
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2075
2099
|
isOpen: boolean;
|
|
2076
2100
|
isTerminal: boolean;
|
|
2077
2101
|
assetIds?: {
|
|
@@ -2104,7 +2128,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2104
2128
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2105
2129
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2106
2130
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2107
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
2131
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2108
2132
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2109
2133
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2110
2134
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2138,7 +2162,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2138
2162
|
txOccurrenceIndex?: number | undefined;
|
|
2139
2163
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2140
2164
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2141
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2165
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2142
2166
|
isOpen: boolean;
|
|
2143
2167
|
isTerminal: boolean;
|
|
2144
2168
|
assetIds?: {
|
|
@@ -2166,7 +2190,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2166
2190
|
txOccurrenceIndex?: number | undefined;
|
|
2167
2191
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2168
2192
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2169
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2193
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2170
2194
|
isOpen: boolean;
|
|
2171
2195
|
isTerminal: boolean;
|
|
2172
2196
|
assetIds?: {
|