@polyester/sdk 0.31.0 → 0.32.0-devnet-20261102134326
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 +116 -0
- package/README.md +7 -0
- package/dist/browser-core.d.ts.map +1 -1
- package/dist/browser-core.js.map +1 -1
- package/dist/catalogs/market-data-catalog.d.ts +2 -0
- package/dist/catalogs/market-data-catalog.d.ts.map +1 -1
- package/dist/catalogs/market-data-catalog.js +1 -0
- package/dist/catalogs/market-data-catalog.js.map +1 -1
- package/dist/catalogs/snapshot-validation.js +6 -0
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +1 -0
- package/dist/core-client.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +6 -3
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +16 -2
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +16 -2
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +26 -2
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +26 -2
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +41 -17
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +20 -3
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js +2 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +10 -6
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js +2 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +32 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +2 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +19 -3
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +18 -2
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +840 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +351 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +22 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +17 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +14 -0
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js +15 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1134 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js +327 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -0
- package/dist/gen/claims/v1/claims_pb.d.ts +61 -4
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +26 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +2 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +7 -5
- package/dist/gen/index.js +12 -10
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +45 -3
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +19 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +248 -27
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +73 -20
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +2 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +16 -4
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +1222 -63
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +971 -44
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +214 -25
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +159 -20
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +8 -1
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +8 -1
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1419 -0
- package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -0
- package/dist/gen/privatews/v1/private_ws_pb.js +551 -0
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +6 -0
- package/dist/gen/rewards/v1/rewards_pb.d.ts.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.js +1 -1
- package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +2108 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +522 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +2296 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1014 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -0
- package/dist/gen/swap/v1/swap_pb.d.ts +958 -0
- package/dist/gen/swap/v1/swap_pb.d.ts.map +1 -0
- package/dist/gen/swap/v1/swap_pb.js +434 -0
- package/dist/gen/swap/v1/swap_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +68 -3
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +612 -33
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +437 -20
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +95 -7
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
- package/dist/gen/vip/v1/vip_pb.js +53 -5
- package/dist/gen/vip/v1/vip_pb.js.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.js +2 -2
- package/dist/realtime/client.d.ts +3 -0
- package/dist/realtime/client.d.ts.map +1 -1
- package/dist/realtime/client.js +76 -24
- package/dist/realtime/client.js.map +1 -1
- package/dist/realtime/index.d.ts +2 -1
- package/dist/realtime/private-orders.d.ts +38 -0
- package/dist/realtime/private-orders.d.ts.map +1 -0
- package/dist/realtime/private-orders.js +594 -0
- package/dist/realtime/private-orders.js.map +1 -0
- package/dist/realtime/ready-gated-subscription.js +10 -4
- package/dist/realtime/ready-gated-subscription.js.map +1 -1
- package/dist/realtime/types.d.ts +3 -0
- package/dist/realtime/types.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.d.ts +5 -3
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +21 -3
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.codecs.js +15 -0
- package/dist/services/candles/candles.codecs.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +13 -13
- package/dist/services/checkpoints/checkpoints.codecs.d.ts +8 -0
- package/dist/services/checkpoints/checkpoints.codecs.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.codecs.js +36 -0
- package/dist/services/checkpoints/checkpoints.codecs.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.d.ts +22 -0
- package/dist/services/checkpoints/checkpoints.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.js +31 -0
- package/dist/services/checkpoints/checkpoints.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +437 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.js +176 -0
- package/dist/services/checkpoints/checkpoints.schemas.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.types.d.ts +3 -0
- package/dist/services/checkpoints/service.d.ts +8 -0
- package/dist/services/checkpoints/service.d.ts.map +1 -0
- package/dist/services/checkpoints/service.js +9 -0
- package/dist/services/checkpoints/service.js.map +1 -0
- package/dist/services/claims/claims.codecs.d.ts +1 -1
- package/dist/services/claims/claims.codecs.d.ts.map +1 -1
- package/dist/services/claims/claims.codecs.js +2 -1
- package/dist/services/claims/claims.codecs.js.map +1 -1
- package/dist/services/claims/claims.d.ts +13 -5
- package/dist/services/claims/claims.d.ts.map +1 -1
- package/dist/services/claims/claims.js +15 -6
- package/dist/services/claims/claims.js.map +1 -1
- package/dist/services/claims/claims.schemas.d.ts +13 -3
- package/dist/services/claims/claims.schemas.d.ts.map +1 -1
- package/dist/services/claims/claims.schemas.js +10 -4
- package/dist/services/claims/claims.schemas.js.map +1 -1
- package/dist/services/claims/claims.types.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +4 -2
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +185 -135
- 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.codecs.js +2 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +10 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +21 -9
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +29 -2
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +53 -4
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +2 -2
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.d.ts +2 -1
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +17 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +5 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +2 -0
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-enums.codecs.js +7 -1
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +4 -2
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +4 -1
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +375 -54
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +12 -2
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +551 -9
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +23 -5
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +106 -1
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +80 -61
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +15 -22
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +69 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +21 -11
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +26 -2
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/orders/orders.d.ts +31 -5
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +53 -15
- 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/shared.codecs.js +8 -2
- 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 +4 -1
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.codecs.js +4 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +1 -2
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +10 -10
- package/dist/services/trades/trades.d.ts +2 -0
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +6 -6
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +9 -5
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +45 -26
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +12 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +26 -6
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trailing-oneof-inputs.js +6 -1
- package/dist/services/trailing-oneof-inputs.js.map +1 -1
- package/dist/services/transfers/transfers.d.ts +2 -0
- package/dist/services/transfers/transfers.d.ts.map +1 -1
- package/dist/services/transfers/transfers.js +6 -11
- package/dist/services/transfers/transfers.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +4 -1
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +3 -1
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +23 -18
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +291 -28
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +38 -22
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +183 -59
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +28 -20
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +66 -3
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +6 -2
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +10 -8
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +23 -1
- package/dist/services/vip/vip.schemas.d.ts.map +1 -1
- package/dist/services/vip/vip.schemas.js +20 -2
- package/dist/services/vip/vip.schemas.js.map +1 -1
- package/dist/services/vip/vip.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +14 -2
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js +2 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts +3 -0
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +45 -6
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/errors.d.ts +79 -6
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +92 -4
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/request-options.d.ts +7 -0
- package/dist/shared/request-options.d.ts.map +1 -1
- package/dist/shared/request-options.js +6 -1
- package/dist/shared/request-options.js.map +1 -1
- package/dist/shared/schemas.js +1 -1
- package/dist/shared/subscription-errors.js +12 -1
- package/dist/shared/subscription-errors.js.map +1 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js +9 -2
- package/dist/shared/transports.js.map +1 -1
- package/dist/shared/wire-bounds.js +3 -1
- package/dist/shared/wire-bounds.js.map +1 -1
- package/dist/smart-account/index.d.ts +2 -1
- package/dist/smart-account/index.js +2 -1
- package/dist/smart-account/smart-account.d.ts +5 -4
- package/dist/smart-account/smart-account.d.ts.map +1 -1
- package/dist/smart-account/smart-account.js +37 -8
- package/dist/smart-account/smart-account.js.map +1 -1
- package/dist/utils/numbers.js +4 -1
- package/dist/utils/numbers.js.map +1 -1
- package/dist/wired-services.js +5 -5
- package/dist/wired-services.js.map +1 -1
- package/package.json +9 -4
- package/dist/gen/collab/v1/whiteboard_pb.d.ts +0 -829
- package/dist/gen/collab/v1/whiteboard_pb.d.ts.map +0 -1
- package/dist/gen/collab/v1/whiteboard_pb.js +0 -250
- package/dist/gen/collab/v1/whiteboard_pb.js.map +0 -1
- package/dist/gen/layout/v1/layout_pb.d.ts +0 -1289
- package/dist/gen/layout/v1/layout_pb.d.ts.map +0 -1
- package/dist/gen/layout/v1/layout_pb.js +0 -313
- package/dist/gen/layout/v1/layout_pb.js.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts +0 -192
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.js +0 -57
- package/dist/gen/polychart/events/v1/polychart_events_pb.js.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.d.ts +0 -1208
- package/dist/gen/polychart/v1/polychart_pb.d.ts.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.js +0 -244
- package/dist/gen/polychart/v1/polychart_pb.js.map +0 -1
- package/dist/services/whiteboard/service.d.ts +0 -8
- package/dist/services/whiteboard/service.d.ts.map +0 -1
- package/dist/services/whiteboard/service.js +0 -9
- package/dist/services/whiteboard/service.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.codecs.js +0 -55
- package/dist/services/whiteboard/whiteboard.codecs.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.d.ts +0 -42
- package/dist/services/whiteboard/whiteboard.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.js +0 -76
- package/dist/services/whiteboard/whiteboard.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +0 -771
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +0 -132
- package/dist/services/whiteboard/whiteboard.schemas.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.types.d.ts +0 -2
|
@@ -7,7 +7,7 @@ declare const LifecycleAssetIdsSchema: v.ObjectSchema<{
|
|
|
7
7
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
8
8
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "
|
|
10
|
+
declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "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<"failed" | "
|
|
20
|
+
readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"failed" | "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<{
|
|
@@ -138,8 +138,10 @@ declare const ListLifecycleFlowsByTxInputSchema: v.StrictObjectSchema<{
|
|
|
138
138
|
declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
139
139
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
140
140
|
readonly txRef: v.StringSchema<undefined>;
|
|
141
|
+
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
142
|
+
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
141
143
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
142
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
144
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
143
145
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
144
146
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
145
147
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -151,7 +153,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
151
153
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
152
154
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
153
155
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
154
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
156
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
155
157
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
156
158
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
157
159
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -165,8 +167,9 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
165
167
|
}, undefined>, v.TransformAction<{
|
|
166
168
|
sequence: number;
|
|
167
169
|
txRef: string;
|
|
170
|
+
txChainId: number;
|
|
168
171
|
occurredAtUnixMs: number;
|
|
169
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
172
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
170
173
|
lifecycleReason: LifecycleReasonValue;
|
|
171
174
|
zipperReason?: {
|
|
172
175
|
code: number;
|
|
@@ -178,7 +181,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
178
181
|
approveCount: number;
|
|
179
182
|
rejectCount: number;
|
|
180
183
|
validatorCount: number;
|
|
181
|
-
kind: "unspecified" | "
|
|
184
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
182
185
|
requiredApprovals: number;
|
|
183
186
|
requiredRejections: number;
|
|
184
187
|
amountE18?: string | undefined;
|
|
@@ -186,8 +189,9 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
186
189
|
}, Omit<{
|
|
187
190
|
sequence: number;
|
|
188
191
|
txRef: string;
|
|
192
|
+
txChainId: number;
|
|
189
193
|
occurredAtUnixMs: number;
|
|
190
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
194
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
191
195
|
lifecycleReason: LifecycleReasonValue;
|
|
192
196
|
zipperReason?: {
|
|
193
197
|
code: number;
|
|
@@ -199,7 +203,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
199
203
|
approveCount: number;
|
|
200
204
|
rejectCount: number;
|
|
201
205
|
validatorCount: number;
|
|
202
|
-
kind: "unspecified" | "
|
|
206
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
203
207
|
requiredApprovals: number;
|
|
204
208
|
requiredRejections: number;
|
|
205
209
|
amountE18?: string | undefined;
|
|
@@ -209,7 +213,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
209
213
|
}>]>;
|
|
210
214
|
declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
211
215
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
212
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
216
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
213
217
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
214
218
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
215
219
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -256,7 +260,9 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
256
260
|
amount?: string;
|
|
257
261
|
}>]>, undefined>;
|
|
258
262
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
259
|
-
|
|
263
|
+
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
264
|
+
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
265
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
260
266
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
261
267
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
262
268
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -275,8 +281,10 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
275
281
|
readonly activities: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
276
282
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
277
283
|
readonly txRef: v.StringSchema<undefined>;
|
|
284
|
+
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
285
|
+
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
278
286
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
279
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
287
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
280
288
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
281
289
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
282
290
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -288,7 +296,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
288
296
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
289
297
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
290
298
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
291
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
299
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
292
300
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
293
301
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
294
302
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -302,8 +310,9 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
302
310
|
}, undefined>, v.TransformAction<{
|
|
303
311
|
sequence: number;
|
|
304
312
|
txRef: string;
|
|
313
|
+
txChainId: number;
|
|
305
314
|
occurredAtUnixMs: number;
|
|
306
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
315
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
307
316
|
lifecycleReason: LifecycleReasonValue;
|
|
308
317
|
zipperReason?: {
|
|
309
318
|
code: number;
|
|
@@ -315,7 +324,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
315
324
|
approveCount: number;
|
|
316
325
|
rejectCount: number;
|
|
317
326
|
validatorCount: number;
|
|
318
|
-
kind: "unspecified" | "
|
|
327
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
319
328
|
requiredApprovals: number;
|
|
320
329
|
requiredRejections: number;
|
|
321
330
|
amountE18?: string | undefined;
|
|
@@ -323,8 +332,9 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
323
332
|
}, Omit<{
|
|
324
333
|
sequence: number;
|
|
325
334
|
txRef: string;
|
|
335
|
+
txChainId: number;
|
|
326
336
|
occurredAtUnixMs: number;
|
|
327
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
337
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
328
338
|
lifecycleReason: LifecycleReasonValue;
|
|
329
339
|
zipperReason?: {
|
|
330
340
|
code: number;
|
|
@@ -336,7 +346,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
336
346
|
approveCount: number;
|
|
337
347
|
rejectCount: number;
|
|
338
348
|
validatorCount: number;
|
|
339
|
-
kind: "unspecified" | "
|
|
349
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
340
350
|
requiredApprovals: number;
|
|
341
351
|
requiredRejections: number;
|
|
342
352
|
amountE18?: string | undefined;
|
|
@@ -346,7 +356,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
346
356
|
}>]>, undefined>, readonly []>;
|
|
347
357
|
}, undefined>, v.TransformAction<{
|
|
348
358
|
sequence: number;
|
|
349
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
359
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
350
360
|
assetIds?: {
|
|
351
361
|
zippedAssetId: number;
|
|
352
362
|
unifiedAssetId: number;
|
|
@@ -365,7 +375,8 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
365
375
|
amount?: string;
|
|
366
376
|
}) | undefined;
|
|
367
377
|
milestoneTxRef: string;
|
|
368
|
-
|
|
378
|
+
milestoneTxChainId: number;
|
|
379
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
369
380
|
lifecycleReason: LifecycleReasonValue;
|
|
370
381
|
zipperReason?: {
|
|
371
382
|
code: number;
|
|
@@ -384,8 +395,9 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
384
395
|
activities: (Omit<{
|
|
385
396
|
sequence: number;
|
|
386
397
|
txRef: string;
|
|
398
|
+
txChainId: number;
|
|
387
399
|
occurredAtUnixMs: number;
|
|
388
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
400
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
389
401
|
lifecycleReason: LifecycleReasonValue;
|
|
390
402
|
zipperReason?: {
|
|
391
403
|
code: number;
|
|
@@ -397,7 +409,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
397
409
|
approveCount: number;
|
|
398
410
|
rejectCount: number;
|
|
399
411
|
validatorCount: number;
|
|
400
|
-
kind: "unspecified" | "
|
|
412
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
401
413
|
requiredApprovals: number;
|
|
402
414
|
requiredRejections: number;
|
|
403
415
|
amountE18?: string | undefined;
|
|
@@ -407,7 +419,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
407
419
|
})[];
|
|
408
420
|
}, Omit<{
|
|
409
421
|
sequence: number;
|
|
410
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
422
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
411
423
|
assetIds?: {
|
|
412
424
|
zippedAssetId: number;
|
|
413
425
|
unifiedAssetId: number;
|
|
@@ -426,7 +438,8 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
426
438
|
amount?: string;
|
|
427
439
|
}) | undefined;
|
|
428
440
|
milestoneTxRef: string;
|
|
429
|
-
|
|
441
|
+
milestoneTxChainId: number;
|
|
442
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
430
443
|
lifecycleReason: LifecycleReasonValue;
|
|
431
444
|
zipperReason?: {
|
|
432
445
|
code: number;
|
|
@@ -445,8 +458,9 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
445
458
|
activities: (Omit<{
|
|
446
459
|
sequence: number;
|
|
447
460
|
txRef: string;
|
|
461
|
+
txChainId: number;
|
|
448
462
|
occurredAtUnixMs: number;
|
|
449
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
463
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
450
464
|
lifecycleReason: LifecycleReasonValue;
|
|
451
465
|
zipperReason?: {
|
|
452
466
|
code: number;
|
|
@@ -458,7 +472,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
458
472
|
approveCount: number;
|
|
459
473
|
rejectCount: number;
|
|
460
474
|
validatorCount: number;
|
|
461
|
-
kind: "unspecified" | "
|
|
475
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
462
476
|
requiredApprovals: number;
|
|
463
477
|
requiredRejections: number;
|
|
464
478
|
amountE18?: string | undefined;
|
|
@@ -471,7 +485,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
471
485
|
}>]>;
|
|
472
486
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
473
487
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
474
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
488
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
475
489
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
476
490
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
477
491
|
}, undefined>;
|
|
@@ -491,7 +505,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
491
505
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
492
506
|
readonly flowId: v.StringSchema<undefined>;
|
|
493
507
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
494
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
508
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
495
509
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
496
510
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
497
511
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -541,10 +555,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
541
555
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
542
556
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
543
557
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
544
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
545
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
558
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
559
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
546
560
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
547
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
561
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
548
562
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
549
563
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
550
564
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -571,17 +585,19 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
571
585
|
}, undefined>, undefined>;
|
|
572
586
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
573
587
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
574
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
588
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
575
589
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
576
590
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
577
591
|
}, undefined>, undefined>, readonly []>;
|
|
578
592
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
593
|
+
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
594
|
+
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
579
595
|
}, undefined>, v.TransformAction<{
|
|
580
596
|
ownerAccountId: string;
|
|
581
597
|
smartAccountAddress: string;
|
|
582
598
|
flowId: string;
|
|
583
599
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
584
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
600
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
585
601
|
assetIds?: {
|
|
586
602
|
zippedAssetId: number;
|
|
587
603
|
unifiedAssetId: number;
|
|
@@ -603,10 +619,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
603
619
|
txOccurrenceIndex?: number | undefined;
|
|
604
620
|
sourceAddress: string;
|
|
605
621
|
destinationAddress: string;
|
|
606
|
-
sourceDomain: "unspecified" | "
|
|
607
|
-
destinationDomain: "unspecified" | "
|
|
622
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
623
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
608
624
|
latestTxRef: string;
|
|
609
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
625
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
610
626
|
lifecycleReason: LifecycleReasonValue;
|
|
611
627
|
zipperReason?: {
|
|
612
628
|
code: number;
|
|
@@ -633,17 +649,18 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
633
649
|
} | undefined;
|
|
634
650
|
progressTimeline: {
|
|
635
651
|
sequence: number;
|
|
636
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
652
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
637
653
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
638
654
|
expectedDurationMs: number;
|
|
639
655
|
}[];
|
|
640
656
|
estimatedCompletionUnixMs: number;
|
|
657
|
+
isDelayed: boolean;
|
|
641
658
|
}, Omit<{
|
|
642
659
|
ownerAccountId: string;
|
|
643
660
|
smartAccountAddress: string;
|
|
644
661
|
flowId: string;
|
|
645
662
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
646
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
663
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
647
664
|
assetIds?: {
|
|
648
665
|
zippedAssetId: number;
|
|
649
666
|
unifiedAssetId: number;
|
|
@@ -665,10 +682,10 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
665
682
|
txOccurrenceIndex?: number | undefined;
|
|
666
683
|
sourceAddress: string;
|
|
667
684
|
destinationAddress: string;
|
|
668
|
-
sourceDomain: "unspecified" | "
|
|
669
|
-
destinationDomain: "unspecified" | "
|
|
685
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
686
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
670
687
|
latestTxRef: string;
|
|
671
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
688
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
672
689
|
lifecycleReason: LifecycleReasonValue;
|
|
673
690
|
zipperReason?: {
|
|
674
691
|
code: number;
|
|
@@ -695,11 +712,12 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
695
712
|
} | undefined;
|
|
696
713
|
progressTimeline: {
|
|
697
714
|
sequence: number;
|
|
698
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
715
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
699
716
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
700
717
|
expectedDurationMs: number;
|
|
701
718
|
}[];
|
|
702
719
|
estimatedCompletionUnixMs: number;
|
|
720
|
+
isDelayed: boolean;
|
|
703
721
|
}, "amountE18"> & {
|
|
704
722
|
amount?: string;
|
|
705
723
|
}>]>;
|
|
@@ -709,7 +727,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
709
727
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
710
728
|
readonly flowId: v.StringSchema<undefined>;
|
|
711
729
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
712
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
730
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
713
731
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
714
732
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
715
733
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -759,10 +777,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
759
777
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
760
778
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
761
779
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
762
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
763
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
780
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
781
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
764
782
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
765
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
783
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
766
784
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
767
785
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
768
786
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -789,17 +807,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
789
807
|
}, undefined>, undefined>;
|
|
790
808
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
791
809
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
792
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
810
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
793
811
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
794
812
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
795
813
|
}, undefined>, undefined>, readonly []>;
|
|
796
814
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
815
|
+
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
816
|
+
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
797
817
|
}, undefined>, v.TransformAction<{
|
|
798
818
|
ownerAccountId: string;
|
|
799
819
|
smartAccountAddress: string;
|
|
800
820
|
flowId: string;
|
|
801
821
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
802
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
822
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
803
823
|
assetIds?: {
|
|
804
824
|
zippedAssetId: number;
|
|
805
825
|
unifiedAssetId: number;
|
|
@@ -821,10 +841,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
821
841
|
txOccurrenceIndex?: number | undefined;
|
|
822
842
|
sourceAddress: string;
|
|
823
843
|
destinationAddress: string;
|
|
824
|
-
sourceDomain: "unspecified" | "
|
|
825
|
-
destinationDomain: "unspecified" | "
|
|
844
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
845
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
826
846
|
latestTxRef: string;
|
|
827
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
847
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
828
848
|
lifecycleReason: LifecycleReasonValue;
|
|
829
849
|
zipperReason?: {
|
|
830
850
|
code: number;
|
|
@@ -851,17 +871,18 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
851
871
|
} | undefined;
|
|
852
872
|
progressTimeline: {
|
|
853
873
|
sequence: number;
|
|
854
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
874
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
855
875
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
856
876
|
expectedDurationMs: number;
|
|
857
877
|
}[];
|
|
858
878
|
estimatedCompletionUnixMs: number;
|
|
879
|
+
isDelayed: boolean;
|
|
859
880
|
}, Omit<{
|
|
860
881
|
ownerAccountId: string;
|
|
861
882
|
smartAccountAddress: string;
|
|
862
883
|
flowId: string;
|
|
863
884
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
864
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
885
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
865
886
|
assetIds?: {
|
|
866
887
|
zippedAssetId: number;
|
|
867
888
|
unifiedAssetId: number;
|
|
@@ -883,10 +904,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
883
904
|
txOccurrenceIndex?: number | undefined;
|
|
884
905
|
sourceAddress: string;
|
|
885
906
|
destinationAddress: string;
|
|
886
|
-
sourceDomain: "unspecified" | "
|
|
887
|
-
destinationDomain: "unspecified" | "
|
|
907
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
908
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
888
909
|
latestTxRef: string;
|
|
889
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
910
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
890
911
|
lifecycleReason: LifecycleReasonValue;
|
|
891
912
|
zipperReason?: {
|
|
892
913
|
code: number;
|
|
@@ -913,17 +934,18 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
913
934
|
} | undefined;
|
|
914
935
|
progressTimeline: {
|
|
915
936
|
sequence: number;
|
|
916
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
937
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
917
938
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
918
939
|
expectedDurationMs: number;
|
|
919
940
|
}[];
|
|
920
941
|
estimatedCompletionUnixMs: number;
|
|
942
|
+
isDelayed: boolean;
|
|
921
943
|
}, "amountE18"> & {
|
|
922
944
|
amount?: string;
|
|
923
945
|
}>]>, undefined>;
|
|
924
946
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
925
947
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
926
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
948
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
927
949
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
928
950
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
929
951
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -970,7 +992,9 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
970
992
|
amount?: string;
|
|
971
993
|
}>]>, undefined>;
|
|
972
994
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
973
|
-
|
|
995
|
+
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
996
|
+
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
997
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
974
998
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
975
999
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
976
1000
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -989,8 +1013,10 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
989
1013
|
readonly activities: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
990
1014
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
991
1015
|
readonly txRef: v.StringSchema<undefined>;
|
|
1016
|
+
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1017
|
+
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
992
1018
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
993
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1019
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
994
1020
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
995
1021
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
996
1022
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1002,7 +1028,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1002
1028
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1003
1029
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1004
1030
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1005
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1031
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1006
1032
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1007
1033
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1008
1034
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1016,8 +1042,9 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1016
1042
|
}, undefined>, v.TransformAction<{
|
|
1017
1043
|
sequence: number;
|
|
1018
1044
|
txRef: string;
|
|
1045
|
+
txChainId: number;
|
|
1019
1046
|
occurredAtUnixMs: number;
|
|
1020
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1047
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1021
1048
|
lifecycleReason: LifecycleReasonValue;
|
|
1022
1049
|
zipperReason?: {
|
|
1023
1050
|
code: number;
|
|
@@ -1029,7 +1056,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1029
1056
|
approveCount: number;
|
|
1030
1057
|
rejectCount: number;
|
|
1031
1058
|
validatorCount: number;
|
|
1032
|
-
kind: "unspecified" | "
|
|
1059
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1033
1060
|
requiredApprovals: number;
|
|
1034
1061
|
requiredRejections: number;
|
|
1035
1062
|
amountE18?: string | undefined;
|
|
@@ -1037,8 +1064,9 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1037
1064
|
}, Omit<{
|
|
1038
1065
|
sequence: number;
|
|
1039
1066
|
txRef: string;
|
|
1067
|
+
txChainId: number;
|
|
1040
1068
|
occurredAtUnixMs: number;
|
|
1041
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1069
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1042
1070
|
lifecycleReason: LifecycleReasonValue;
|
|
1043
1071
|
zipperReason?: {
|
|
1044
1072
|
code: number;
|
|
@@ -1050,7 +1078,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1050
1078
|
approveCount: number;
|
|
1051
1079
|
rejectCount: number;
|
|
1052
1080
|
validatorCount: number;
|
|
1053
|
-
kind: "unspecified" | "
|
|
1081
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1054
1082
|
requiredApprovals: number;
|
|
1055
1083
|
requiredRejections: number;
|
|
1056
1084
|
amountE18?: string | undefined;
|
|
@@ -1060,7 +1088,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1060
1088
|
}>]>, undefined>, readonly []>;
|
|
1061
1089
|
}, undefined>, v.TransformAction<{
|
|
1062
1090
|
sequence: number;
|
|
1063
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1091
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1064
1092
|
assetIds?: {
|
|
1065
1093
|
zippedAssetId: number;
|
|
1066
1094
|
unifiedAssetId: number;
|
|
@@ -1079,7 +1107,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1079
1107
|
amount?: string;
|
|
1080
1108
|
}) | undefined;
|
|
1081
1109
|
milestoneTxRef: string;
|
|
1082
|
-
|
|
1110
|
+
milestoneTxChainId: number;
|
|
1111
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1083
1112
|
lifecycleReason: LifecycleReasonValue;
|
|
1084
1113
|
zipperReason?: {
|
|
1085
1114
|
code: number;
|
|
@@ -1098,8 +1127,9 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1098
1127
|
activities: (Omit<{
|
|
1099
1128
|
sequence: number;
|
|
1100
1129
|
txRef: string;
|
|
1130
|
+
txChainId: number;
|
|
1101
1131
|
occurredAtUnixMs: number;
|
|
1102
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1132
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1103
1133
|
lifecycleReason: LifecycleReasonValue;
|
|
1104
1134
|
zipperReason?: {
|
|
1105
1135
|
code: number;
|
|
@@ -1111,7 +1141,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1111
1141
|
approveCount: number;
|
|
1112
1142
|
rejectCount: number;
|
|
1113
1143
|
validatorCount: number;
|
|
1114
|
-
kind: "unspecified" | "
|
|
1144
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1115
1145
|
requiredApprovals: number;
|
|
1116
1146
|
requiredRejections: number;
|
|
1117
1147
|
amountE18?: string | undefined;
|
|
@@ -1121,7 +1151,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1121
1151
|
})[];
|
|
1122
1152
|
}, Omit<{
|
|
1123
1153
|
sequence: number;
|
|
1124
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1154
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1125
1155
|
assetIds?: {
|
|
1126
1156
|
zippedAssetId: number;
|
|
1127
1157
|
unifiedAssetId: number;
|
|
@@ -1140,7 +1170,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1140
1170
|
amount?: string;
|
|
1141
1171
|
}) | undefined;
|
|
1142
1172
|
milestoneTxRef: string;
|
|
1143
|
-
|
|
1173
|
+
milestoneTxChainId: number;
|
|
1174
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1144
1175
|
lifecycleReason: LifecycleReasonValue;
|
|
1145
1176
|
zipperReason?: {
|
|
1146
1177
|
code: number;
|
|
@@ -1159,8 +1190,9 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1159
1190
|
activities: (Omit<{
|
|
1160
1191
|
sequence: number;
|
|
1161
1192
|
txRef: string;
|
|
1193
|
+
txChainId: number;
|
|
1162
1194
|
occurredAtUnixMs: number;
|
|
1163
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1195
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1164
1196
|
lifecycleReason: LifecycleReasonValue;
|
|
1165
1197
|
zipperReason?: {
|
|
1166
1198
|
code: number;
|
|
@@ -1172,7 +1204,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1172
1204
|
approveCount: number;
|
|
1173
1205
|
rejectCount: number;
|
|
1174
1206
|
validatorCount: number;
|
|
1175
|
-
kind: "unspecified" | "
|
|
1207
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1176
1208
|
requiredApprovals: number;
|
|
1177
1209
|
requiredRejections: number;
|
|
1178
1210
|
amountE18?: string | undefined;
|
|
@@ -1191,7 +1223,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1191
1223
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1192
1224
|
readonly flowId: v.StringSchema<undefined>;
|
|
1193
1225
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1194
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1226
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1195
1227
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1196
1228
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1197
1229
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1241,10 +1273,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1241
1273
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1242
1274
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1243
1275
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1244
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1245
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1276
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1277
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1246
1278
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1247
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1279
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1248
1280
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1249
1281
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1250
1282
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1271,17 +1303,19 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1271
1303
|
}, undefined>, undefined>;
|
|
1272
1304
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1273
1305
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1274
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1306
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1275
1307
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1276
1308
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1277
1309
|
}, undefined>, undefined>, readonly []>;
|
|
1278
1310
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1311
|
+
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
1312
|
+
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1279
1313
|
}, undefined>, v.TransformAction<{
|
|
1280
1314
|
ownerAccountId: string;
|
|
1281
1315
|
smartAccountAddress: string;
|
|
1282
1316
|
flowId: string;
|
|
1283
1317
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1284
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1318
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1285
1319
|
assetIds?: {
|
|
1286
1320
|
zippedAssetId: number;
|
|
1287
1321
|
unifiedAssetId: number;
|
|
@@ -1303,10 +1337,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1303
1337
|
txOccurrenceIndex?: number | undefined;
|
|
1304
1338
|
sourceAddress: string;
|
|
1305
1339
|
destinationAddress: string;
|
|
1306
|
-
sourceDomain: "unspecified" | "
|
|
1307
|
-
destinationDomain: "unspecified" | "
|
|
1340
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1341
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1308
1342
|
latestTxRef: string;
|
|
1309
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1343
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1310
1344
|
lifecycleReason: LifecycleReasonValue;
|
|
1311
1345
|
zipperReason?: {
|
|
1312
1346
|
code: number;
|
|
@@ -1333,17 +1367,18 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1333
1367
|
} | undefined;
|
|
1334
1368
|
progressTimeline: {
|
|
1335
1369
|
sequence: number;
|
|
1336
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1370
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1337
1371
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1338
1372
|
expectedDurationMs: number;
|
|
1339
1373
|
}[];
|
|
1340
1374
|
estimatedCompletionUnixMs: number;
|
|
1375
|
+
isDelayed: boolean;
|
|
1341
1376
|
}, Omit<{
|
|
1342
1377
|
ownerAccountId: string;
|
|
1343
1378
|
smartAccountAddress: string;
|
|
1344
1379
|
flowId: string;
|
|
1345
1380
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1346
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1381
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1347
1382
|
assetIds?: {
|
|
1348
1383
|
zippedAssetId: number;
|
|
1349
1384
|
unifiedAssetId: number;
|
|
@@ -1365,10 +1400,10 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1365
1400
|
txOccurrenceIndex?: number | undefined;
|
|
1366
1401
|
sourceAddress: string;
|
|
1367
1402
|
destinationAddress: string;
|
|
1368
|
-
sourceDomain: "unspecified" | "
|
|
1369
|
-
destinationDomain: "unspecified" | "
|
|
1403
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1404
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1370
1405
|
latestTxRef: string;
|
|
1371
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1406
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1372
1407
|
lifecycleReason: LifecycleReasonValue;
|
|
1373
1408
|
zipperReason?: {
|
|
1374
1409
|
code: number;
|
|
@@ -1395,11 +1430,12 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1395
1430
|
} | undefined;
|
|
1396
1431
|
progressTimeline: {
|
|
1397
1432
|
sequence: number;
|
|
1398
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1433
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1399
1434
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1400
1435
|
expectedDurationMs: number;
|
|
1401
1436
|
}[];
|
|
1402
1437
|
estimatedCompletionUnixMs: number;
|
|
1438
|
+
isDelayed: boolean;
|
|
1403
1439
|
}, "amountE18"> & {
|
|
1404
1440
|
amount?: string;
|
|
1405
1441
|
}>]>, undefined>, readonly []>;
|
|
@@ -1412,7 +1448,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1412
1448
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1413
1449
|
readonly flowId: v.StringSchema<undefined>;
|
|
1414
1450
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1415
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1451
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1416
1452
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1417
1453
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1418
1454
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1462,10 +1498,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1462
1498
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1463
1499
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1464
1500
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1465
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1466
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1501
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1502
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1467
1503
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1468
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1504
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1469
1505
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1470
1506
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1471
1507
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1492,17 +1528,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1492
1528
|
}, undefined>, undefined>;
|
|
1493
1529
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1494
1530
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1495
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1531
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1496
1532
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "current" | "planned">]>;
|
|
1497
1533
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1498
1534
|
}, undefined>, undefined>, readonly []>;
|
|
1499
1535
|
readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1536
|
+
/** An open flow has stalled well past its current step's expected time; `estimatedCompletionUnixMs` is 0 meanwhile. */
|
|
1537
|
+
readonly isDelayed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1500
1538
|
}, undefined>, v.TransformAction<{
|
|
1501
1539
|
ownerAccountId: string;
|
|
1502
1540
|
smartAccountAddress: string;
|
|
1503
1541
|
flowId: string;
|
|
1504
1542
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1505
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1543
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1506
1544
|
assetIds?: {
|
|
1507
1545
|
zippedAssetId: number;
|
|
1508
1546
|
unifiedAssetId: number;
|
|
@@ -1524,10 +1562,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1524
1562
|
txOccurrenceIndex?: number | undefined;
|
|
1525
1563
|
sourceAddress: string;
|
|
1526
1564
|
destinationAddress: string;
|
|
1527
|
-
sourceDomain: "unspecified" | "
|
|
1528
|
-
destinationDomain: "unspecified" | "
|
|
1565
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1566
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1529
1567
|
latestTxRef: string;
|
|
1530
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1568
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1531
1569
|
lifecycleReason: LifecycleReasonValue;
|
|
1532
1570
|
zipperReason?: {
|
|
1533
1571
|
code: number;
|
|
@@ -1554,17 +1592,18 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1554
1592
|
} | undefined;
|
|
1555
1593
|
progressTimeline: {
|
|
1556
1594
|
sequence: number;
|
|
1557
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1595
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1558
1596
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1559
1597
|
expectedDurationMs: number;
|
|
1560
1598
|
}[];
|
|
1561
1599
|
estimatedCompletionUnixMs: number;
|
|
1600
|
+
isDelayed: boolean;
|
|
1562
1601
|
}, Omit<{
|
|
1563
1602
|
ownerAccountId: string;
|
|
1564
1603
|
smartAccountAddress: string;
|
|
1565
1604
|
flowId: string;
|
|
1566
1605
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1567
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1606
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1568
1607
|
assetIds?: {
|
|
1569
1608
|
zippedAssetId: number;
|
|
1570
1609
|
unifiedAssetId: number;
|
|
@@ -1586,10 +1625,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1586
1625
|
txOccurrenceIndex?: number | undefined;
|
|
1587
1626
|
sourceAddress: string;
|
|
1588
1627
|
destinationAddress: string;
|
|
1589
|
-
sourceDomain: "unspecified" | "
|
|
1590
|
-
destinationDomain: "unspecified" | "
|
|
1628
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1629
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1591
1630
|
latestTxRef: string;
|
|
1592
|
-
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1631
|
+
latestLifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1593
1632
|
lifecycleReason: LifecycleReasonValue;
|
|
1594
1633
|
zipperReason?: {
|
|
1595
1634
|
code: number;
|
|
@@ -1616,17 +1655,18 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1616
1655
|
} | undefined;
|
|
1617
1656
|
progressTimeline: {
|
|
1618
1657
|
sequence: number;
|
|
1619
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1658
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1620
1659
|
status: "unspecified" | "completed" | "current" | "planned";
|
|
1621
1660
|
expectedDurationMs: number;
|
|
1622
1661
|
}[];
|
|
1623
1662
|
estimatedCompletionUnixMs: number;
|
|
1663
|
+
isDelayed: boolean;
|
|
1624
1664
|
}, "amountE18"> & {
|
|
1625
1665
|
amount?: string;
|
|
1626
1666
|
}>]>, undefined>;
|
|
1627
1667
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1628
1668
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1629
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1669
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1630
1670
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1631
1671
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1632
1672
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1673,7 +1713,9 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1673
1713
|
amount?: string;
|
|
1674
1714
|
}>]>, undefined>;
|
|
1675
1715
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1676
|
-
|
|
1716
|
+
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1717
|
+
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1718
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1677
1719
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1678
1720
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1679
1721
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1692,8 +1734,10 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1692
1734
|
readonly activities: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1693
1735
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1694
1736
|
readonly txRef: v.StringSchema<undefined>;
|
|
1737
|
+
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1738
|
+
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1695
1739
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1696
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor">]>;
|
|
1740
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle">]>;
|
|
1697
1741
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1698
1742
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1699
1743
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1705,7 +1749,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1705
1749
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1706
1750
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1707
1751
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1708
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1752
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1709
1753
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1710
1754
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1711
1755
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1719,8 +1763,9 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1719
1763
|
}, undefined>, v.TransformAction<{
|
|
1720
1764
|
sequence: number;
|
|
1721
1765
|
txRef: string;
|
|
1766
|
+
txChainId: number;
|
|
1722
1767
|
occurredAtUnixMs: number;
|
|
1723
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1768
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1724
1769
|
lifecycleReason: LifecycleReasonValue;
|
|
1725
1770
|
zipperReason?: {
|
|
1726
1771
|
code: number;
|
|
@@ -1732,7 +1777,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1732
1777
|
approveCount: number;
|
|
1733
1778
|
rejectCount: number;
|
|
1734
1779
|
validatorCount: number;
|
|
1735
|
-
kind: "unspecified" | "
|
|
1780
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1736
1781
|
requiredApprovals: number;
|
|
1737
1782
|
requiredRejections: number;
|
|
1738
1783
|
amountE18?: string | undefined;
|
|
@@ -1740,8 +1785,9 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1740
1785
|
}, Omit<{
|
|
1741
1786
|
sequence: number;
|
|
1742
1787
|
txRef: string;
|
|
1788
|
+
txChainId: number;
|
|
1743
1789
|
occurredAtUnixMs: number;
|
|
1744
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1790
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1745
1791
|
lifecycleReason: LifecycleReasonValue;
|
|
1746
1792
|
zipperReason?: {
|
|
1747
1793
|
code: number;
|
|
@@ -1753,7 +1799,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1753
1799
|
approveCount: number;
|
|
1754
1800
|
rejectCount: number;
|
|
1755
1801
|
validatorCount: number;
|
|
1756
|
-
kind: "unspecified" | "
|
|
1802
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1757
1803
|
requiredApprovals: number;
|
|
1758
1804
|
requiredRejections: number;
|
|
1759
1805
|
amountE18?: string | undefined;
|
|
@@ -1763,7 +1809,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1763
1809
|
}>]>, undefined>, readonly []>;
|
|
1764
1810
|
}, undefined>, v.TransformAction<{
|
|
1765
1811
|
sequence: number;
|
|
1766
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1812
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1767
1813
|
assetIds?: {
|
|
1768
1814
|
zippedAssetId: number;
|
|
1769
1815
|
unifiedAssetId: number;
|
|
@@ -1782,7 +1828,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1782
1828
|
amount?: string;
|
|
1783
1829
|
}) | undefined;
|
|
1784
1830
|
milestoneTxRef: string;
|
|
1785
|
-
|
|
1831
|
+
milestoneTxChainId: number;
|
|
1832
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1786
1833
|
lifecycleReason: LifecycleReasonValue;
|
|
1787
1834
|
zipperReason?: {
|
|
1788
1835
|
code: number;
|
|
@@ -1801,8 +1848,9 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1801
1848
|
activities: (Omit<{
|
|
1802
1849
|
sequence: number;
|
|
1803
1850
|
txRef: string;
|
|
1851
|
+
txChainId: number;
|
|
1804
1852
|
occurredAtUnixMs: number;
|
|
1805
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1853
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1806
1854
|
lifecycleReason: LifecycleReasonValue;
|
|
1807
1855
|
zipperReason?: {
|
|
1808
1856
|
code: number;
|
|
@@ -1814,7 +1862,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1814
1862
|
approveCount: number;
|
|
1815
1863
|
rejectCount: number;
|
|
1816
1864
|
validatorCount: number;
|
|
1817
|
-
kind: "unspecified" | "
|
|
1865
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1818
1866
|
requiredApprovals: number;
|
|
1819
1867
|
requiredRejections: number;
|
|
1820
1868
|
amountE18?: string | undefined;
|
|
@@ -1824,7 +1872,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1824
1872
|
})[];
|
|
1825
1873
|
}, Omit<{
|
|
1826
1874
|
sequence: number;
|
|
1827
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1875
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1828
1876
|
assetIds?: {
|
|
1829
1877
|
zippedAssetId: number;
|
|
1830
1878
|
unifiedAssetId: number;
|
|
@@ -1843,7 +1891,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1843
1891
|
amount?: string;
|
|
1844
1892
|
}) | undefined;
|
|
1845
1893
|
milestoneTxRef: string;
|
|
1846
|
-
|
|
1894
|
+
milestoneTxChainId: number;
|
|
1895
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1847
1896
|
lifecycleReason: LifecycleReasonValue;
|
|
1848
1897
|
zipperReason?: {
|
|
1849
1898
|
code: number;
|
|
@@ -1862,8 +1911,9 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1862
1911
|
activities: (Omit<{
|
|
1863
1912
|
sequence: number;
|
|
1864
1913
|
txRef: string;
|
|
1914
|
+
txChainId: number;
|
|
1865
1915
|
occurredAtUnixMs: number;
|
|
1866
|
-
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor";
|
|
1916
|
+
lifecycleSource: "unspecified" | "ledger" | "relayer" | "polyester_chain" | "executor" | "lifecycle";
|
|
1867
1917
|
lifecycleReason: LifecycleReasonValue;
|
|
1868
1918
|
zipperReason?: {
|
|
1869
1919
|
code: number;
|
|
@@ -1875,7 +1925,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1875
1925
|
approveCount: number;
|
|
1876
1926
|
rejectCount: number;
|
|
1877
1927
|
validatorCount: number;
|
|
1878
|
-
kind: "unspecified" | "
|
|
1928
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1879
1929
|
requiredApprovals: number;
|
|
1880
1930
|
requiredRejections: number;
|
|
1881
1931
|
amountE18?: string | undefined;
|
|
@@ -1897,9 +1947,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1897
1947
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1898
1948
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1899
1949
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1900
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1901
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1902
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1950
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1951
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1952
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1903
1953
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1904
1954
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
1905
1955
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1931,9 +1981,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1931
1981
|
sourceTxHash: string;
|
|
1932
1982
|
latestTxRef: string;
|
|
1933
1983
|
txOccurrenceIndex?: number | undefined;
|
|
1934
|
-
sourceDomain: "unspecified" | "
|
|
1935
|
-
destinationDomain: "unspecified" | "
|
|
1936
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1984
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1985
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1986
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1937
1987
|
isOpen: boolean;
|
|
1938
1988
|
isTerminal: boolean;
|
|
1939
1989
|
assetIds?: {
|
|
@@ -1959,9 +2009,9 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1959
2009
|
sourceTxHash: string;
|
|
1960
2010
|
latestTxRef: string;
|
|
1961
2011
|
txOccurrenceIndex?: number | undefined;
|
|
1962
|
-
sourceDomain: "unspecified" | "
|
|
1963
|
-
destinationDomain: "unspecified" | "
|
|
1964
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2012
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2013
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2014
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1965
2015
|
isOpen: boolean;
|
|
1966
2016
|
isTerminal: boolean;
|
|
1967
2017
|
assetIds?: {
|
|
@@ -1992,9 +2042,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
1992
2042
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1993
2043
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1994
2044
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1995
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1996
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1997
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
2045
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2046
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2047
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1998
2048
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1999
2049
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2000
2050
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2026,9 +2076,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2026
2076
|
sourceTxHash: string;
|
|
2027
2077
|
latestTxRef: string;
|
|
2028
2078
|
txOccurrenceIndex?: number | undefined;
|
|
2029
|
-
sourceDomain: "unspecified" | "
|
|
2030
|
-
destinationDomain: "unspecified" | "
|
|
2031
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2079
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2080
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2081
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2032
2082
|
isOpen: boolean;
|
|
2033
2083
|
isTerminal: boolean;
|
|
2034
2084
|
assetIds?: {
|
|
@@ -2054,9 +2104,9 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2054
2104
|
sourceTxHash: string;
|
|
2055
2105
|
latestTxRef: string;
|
|
2056
2106
|
txOccurrenceIndex?: number | undefined;
|
|
2057
|
-
sourceDomain: "unspecified" | "
|
|
2058
|
-
destinationDomain: "unspecified" | "
|
|
2059
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2107
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2108
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2109
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2060
2110
|
isOpen: boolean;
|
|
2061
2111
|
isTerminal: boolean;
|
|
2062
2112
|
assetIds?: {
|