@polyester/sdk 0.36.0-devnet-20261117035807 → 0.36.0-devnet-20261118141710
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 +66 -8
- package/dist/catalogs/index.d.ts +2 -2
- package/dist/catalogs/snapshot-validation.js +10 -1
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/catalogs/zipper-catalog.d.ts +2 -0
- package/dist/catalogs/zipper-catalog.d.ts.map +1 -1
- package/dist/catalogs/zipper-catalog.js.map +1 -1
- package/dist/catalogs/zipper-supply.d.ts +2 -0
- package/dist/catalogs/zipper-supply.d.ts.map +1 -1
- package/dist/catalogs/zipper-supply.js +7 -5
- package/dist/catalogs/zipper-supply.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +679 -13
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +355 -97
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +33 -4
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js +23 -2
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -1
- package/dist/gen/auth/v1/activity_pb.d.ts +148 -0
- package/dist/gen/auth/v1/activity_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/activity_pb.js +40 -0
- package/dist/gen/auth/v1/activity_pb.js.map +1 -0
- package/dist/gen/auth/v1/api_keys_pb.d.ts +10 -4
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +3 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +61 -5
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +23 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +140 -2
- package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +80 -8
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +18 -3
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +18 -3
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +36 -15
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +15 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +6 -2
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +104 -6
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +49 -3
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +76 -3
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +46 -2
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/index.d.ts +3 -1
- package/dist/gen/index.js +4 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +21 -139
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +16 -17
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +236 -20
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.js +44 -10
- package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +9 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +158 -7
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.js +56 -6
- package/dist/gen/marketdata/v1/asset_info_pb.js.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +45 -6
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.js +23 -5
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +105 -29
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +14 -2
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +50 -20
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +11 -2
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +13 -3
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +13 -3
- package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +126 -10
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +14 -6
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +665 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +216 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +166 -52
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +50 -12
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +49 -2
- package/dist/gen/system/v1/system_pb.d.ts.map +1 -1
- package/dist/gen/system/v1/system_pb.js +18 -6
- package/dist/gen/system/v1/system_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +150 -71
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +56 -34
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +117 -16
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +45 -2
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +13 -9
- package/dist/realtime/client.js +5 -1
- package/dist/realtime/client.js.map +1 -1
- package/dist/realtime/snapshot-then-stream.js +5 -3
- package/dist/realtime/snapshot-then-stream.js.map +1 -1
- package/dist/services/account-activity/account-activity.d.ts +22 -0
- package/dist/services/account-activity/account-activity.d.ts.map +1 -0
- package/dist/services/account-activity/account-activity.js +32 -0
- package/dist/services/account-activity/account-activity.js.map +1 -0
- package/dist/services/account-activity/account-activity.schemas.d.ts +78 -0
- package/dist/services/account-activity/account-activity.schemas.d.ts.map +1 -0
- package/dist/services/account-activity/account-activity.schemas.js +44 -0
- package/dist/services/account-activity/account-activity.schemas.js.map +1 -0
- package/dist/services/account-activity/account-activity.types.d.ts +2 -0
- package/dist/services/account-activity/service.d.ts +8 -0
- package/dist/services/account-activity/service.d.ts.map +1 -0
- package/dist/services/account-activity/service.js +9 -0
- package/dist/services/account-activity/service.js.map +1 -0
- package/dist/services/address-book/address-book.schemas.js +2 -2
- package/dist/services/api-keys/api-keys.schemas.js +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +81 -81
- package/dist/services/assistant/assistant.codecs.d.ts +7 -2
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +18 -2
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.d.ts +29 -2
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +44 -2
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +111 -6
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +74 -6
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +3 -3
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +15 -13
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -0
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
- package/dist/services/balances/balances.d.ts +1 -13
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +1 -45
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +1 -67
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +1 -22
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/balances/balances.types.d.ts +2 -2
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +3 -3
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +11 -11
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts.map +1 -1
- package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.schemas.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +11 -6
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.js +6 -6
- package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.d.ts +17 -10
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +21 -10
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +43 -31
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +23 -12
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
- package/dist/services/lifecycle/lifecycle.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.js +2 -3
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +40 -40
- package/dist/services/market-data/market-data.codecs.d.ts +8 -0
- package/dist/services/market-data/market-data.codecs.d.ts.map +1 -0
- package/dist/services/market-data/market-data.codecs.js +7 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +3 -2
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +3 -2
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +332 -4
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +56 -8
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +3 -2
- package/dist/services/notifications/notifications.codecs.d.ts +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
- package/dist/services/notifications/notifications.codecs.js +2 -1
- package/dist/services/notifications/notifications.codecs.js.map +1 -1
- package/dist/services/notifications/notifications.d.ts +4 -2
- package/dist/services/notifications/notifications.d.ts.map +1 -1
- package/dist/services/notifications/notifications.js +4 -2
- package/dist/services/notifications/notifications.js.map +1 -1
- package/dist/services/notifications/notifications.schemas.d.ts +63 -7
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
- package/dist/services/notifications/notifications.schemas.js +5 -0
- package/dist/services/notifications/notifications.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.js +3 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orders/order-enums.codecs.d.ts +2 -0
- package/dist/services/orders/order-errors.schemas.d.ts +50 -5
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +13 -3
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +310 -70
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +58 -11
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +13 -13
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
- package/dist/services/policies/shared.codecs.js +12 -6
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.js +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 +4 -30
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.d.ts +5 -2
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -1
- package/dist/services/price-alerts/price-alerts.js +5 -2
- package/dist/services/price-alerts/price-alerts.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.schemas.d.ts +9 -0
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +9 -2
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.codecs.d.ts +3 -2
- package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.codecs.js +2 -1
- package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.d.ts +25 -10
- package/dist/services/statement-exports/statement-exports.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.js +33 -10
- package/dist/services/statement-exports/statement-exports.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +38 -10
- package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.js +25 -6
- package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.types.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.codecs.js +112 -38
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +2 -1
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +3 -3
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -5
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +10 -3
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/system/system.d.ts +12 -1
- package/dist/services/system/system.d.ts.map +1 -1
- package/dist/services/system/system.js +5 -0
- package/dist/services/system/system.js.map +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/system/system.types.d.ts +2 -2
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts +8 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js +7 -1
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +2 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +2 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +15 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +16 -2
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -1
- package/dist/services/transfers/transfers.schemas.d.ts +4 -4
- package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +10 -10
- package/dist/services/triggers/triggers-output.schemas.d.ts +170 -52
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +13 -3
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.d.ts +10 -0
- package/dist/services/triggers/triggers.codecs.d.ts.map +1 -0
- package/dist/services/triggers/triggers.codecs.js +7 -1
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +2 -2
- package/dist/services/triggers/triggers.js +2 -2
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/zipper/zipper.d.ts.map +1 -1
- package/dist/services/zipper/zipper.js +13 -7
- package/dist/services/zipper/zipper.js.map +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts +7 -2
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.js +29 -9
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/services/zipper/zipper.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +16 -2
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +27 -4
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +10 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/auth.js +6 -0
- package/dist/shared/error-details/auth.js.map +1 -1
- package/dist/shared/errors.d.ts +5 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +3 -0
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/ledger-codes.d.ts +3 -1
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +6 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +3 -1
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRo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Jhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXNwb25zZSIAEnwKFUNyZWF0ZVRyYWRpbmdXaXRoZHJhdxIvLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaMC5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAEo4BChtDcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXcSNS5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABoAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Field the error is about, as a protobuf field path such as\n * destinations[0].min_amount_e18; empty when the error concerns no single\n * field. Usually a field of the request. A refused auto-withdraw resume\n * names a field of the stored rule instead, such as\n * destinations[1].destination_address of AutoWithdrawRule, which the\n * request does not carry.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal\n * asset units, the destination's min_amount_e18 may be.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;\n */\n minFloorE18?: U128 | undefined;\n\n /**\n * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time\n * from which the destination can be paid.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 4;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * GetWalletBalancesRequest selects the account whose smart account wallet\n * to read.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesRequest\n */\nexport type GetWalletBalancesRequest = Message<\"chain.withdraw.v1.GetWalletBalancesRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.\n * Use `create(GetWalletBalancesRequestSchema)` to create a new message.\n */\nexport const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 8);\n\n/**\n * WalletBalance is one zToken the smart account wallet holds.\n *\n * @generated from message chain.withdraw.v1.WalletBalance\n */\nexport type WalletBalance = Message<\"chain.withdraw.v1.WalletBalance\"> & {\n /**\n * Zipped asset of the zToken: the network-specific asset, as\n * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as\n * chain.lifecycle.v1.AssetIds.unified_asset_id names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as the `chain_id` of a chain\n * returned by `GetDepositWithdrawConfig`.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Balance in 18-decimal units: every zToken has 18 decimals.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.WalletBalance.\n * Use `create(WalletBalanceSchema)` to create a new message.\n */\nexport const WalletBalanceSchema: GenMessage<WalletBalance> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 9);\n\n/**\n * GetWalletBalancesResponse is the smart account wallet's zToken balances,\n * read from Polyester Chain at its latest block.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesResponse\n */\nexport type GetWalletBalancesResponse = Message<\"chain.withdraw.v1.GetWalletBalancesResponse\"> & {\n /**\n * Smart account wallet whose balances these are.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Every zToken the wallet holds a nonzero balance of, ordered by\n * zipped_asset_id. Empty when it holds none.\n *\n * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;\n */\n balances: WalletBalance[];\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.\n * Use `create(GetWalletBalancesResponseSchema)` to create a new message.\n */\nexport const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 10);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * asset_id does not identify a known asset.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The account's available balance cannot be confirmed right now. Retry\n * later.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n\n /**\n * An auto-withdraw destination address is not a valid withdrawal\n * destination on its chain. ErrorDetail.field_path names the destination.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;\n */\n DESTINATION_INVALID = 45,\n\n /**\n * An auto-withdraw destination's min_amount_e18 is below the least amount\n * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and\n * ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;\n */\n MIN_AMOUNT_BELOW_FLOOR = 46,\n\n /**\n * No enabled withdrawal route pays an auto-withdraw destination's asset to\n * its destination chain. ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;\n */\n ROUTE_UNSUPPORTED = 47,\n\n /**\n * expected_version is not the auto-withdraw rule's latest version: another\n * change landed first. Read the rule again before retrying.\n *\n * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;\n */\n VERSION_CONFLICT = 48,\n\n /**\n * A broker vault pays an external destination only once it has been on the\n * vault's external withdraw whitelist for 24 hours, and this one was added\n * more recently. ErrorDetail.payable_from is when it can be paid; unset\n * when that time is not known yet. Retry after it.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;\n */\n EXTERNAL_DESTINATION_COOLING_DOWN = 49,\n\n /**\n * Withdrawals of this asset to the destination network are temporarily\n * suspended, as AssetChainVariant.withdrawal_status SUSPENDED shows.\n * Nothing was reserved; submit a new request once the status is NORMAL\n * again.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_SUSPENDED = 50;\n */\n ROUTE_SUSPENDED = 50,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Read the zTokens the account's smart account wallet holds on Polyester\n * Chain, such as a rejected withdrawal's refund, which stays there until\n * the account moves it. Balances are read live from the chain. An API key\n * needs READ_BALANCES within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances\n */\n getWalletBalances: {\n methodKind: \"unary\";\n input: typeof GetWalletBalancesRequestSchema;\n output: typeof GetWalletBalancesResponseSchema;\n },\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCACX,uBAAS,w0LAAw0L;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AAsB56L,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgDhD,MAAa,oBACX,0BAAY,iCAAiC,CAAC;;;;;AAoFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAqBhD,MAAa,iCACX,0BAAY,iCAAiC,CAAC;;;;;AAmDhD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,kCACX,0BAAY,iCAAiC,EAAE;;;;;;;AAQjD,IAAY,YAAL,yBAAA,WAAA;;;;;;CAML,UAAA,UAAA,iBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,wBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,qBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,qBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,uBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,oBAAA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-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl9mbG9vcl9lMTgYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EjAKDHBheWFibGVfZnJvbRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKHFRyYWRpbmdXaXRoZHJhd0ludGVudFBheWxvYWQSOgoGYWN0aW9uGAEgASgOMiguY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3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0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Field the error is about, as a protobuf field path such as\n * destinations[0].min_amount_e18; empty when the error concerns no single\n * field. Usually a field of the request. A refused auto-withdraw resume\n * names a field of the stored rule instead, such as\n * destinations[1].destination_address of AutoWithdrawRule, which the\n * request does not carry.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal\n * asset units, the destination's min_amount_e18 may be.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;\n */\n minFloorE18?: U128 | undefined;\n\n /**\n * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time\n * from which the destination can be paid.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 4;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * Polyester chain id of the destination network for TO_EXTERNAL_CHAIN:\n * ChainConfig.chain_id from GetDepositWithdrawConfig, not the network's\n * native chain id (ChainConfig.native_chain_id, such as 11155111 for\n * Ethereum Sepolia). An unknown id is refused with\n * ERROR_CODE_INVALID_DESTINATION_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * Polyester chain id of the destination network: ChainConfig.chain_id\n * from GetDepositWithdrawConfig, not the network's native chain id\n * (ChainConfig.native_chain_id, such as 11155111 for Ethereum Sepolia).\n * An unknown id answers valid false with UNSUPPORTED_CHAIN.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * GetWalletBalancesRequest selects the account whose smart account wallet\n * to read.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesRequest\n */\nexport type GetWalletBalancesRequest = Message<\"chain.withdraw.v1.GetWalletBalancesRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.\n * Use `create(GetWalletBalancesRequestSchema)` to create a new message.\n */\nexport const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 8);\n\n/**\n * WalletBalance is one zToken the smart account wallet holds.\n *\n * @generated from message chain.withdraw.v1.WalletBalance\n */\nexport type WalletBalance = Message<\"chain.withdraw.v1.WalletBalance\"> & {\n /**\n * Zipped asset of the zToken: the network-specific asset, as\n * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as\n * chain.lifecycle.v1.AssetIds.unified_asset_id names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as the `chain_id` of a chain\n * returned by `GetDepositWithdrawConfig`.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Balance in 18-decimal units: every zToken has 18 decimals.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.WalletBalance.\n * Use `create(WalletBalanceSchema)` to create a new message.\n */\nexport const WalletBalanceSchema: GenMessage<WalletBalance> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 9);\n\n/**\n * GetWalletBalancesResponse is the smart account wallet's zToken balances,\n * read from Polyester Chain at its latest block.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesResponse\n */\nexport type GetWalletBalancesResponse = Message<\"chain.withdraw.v1.GetWalletBalancesResponse\"> & {\n /**\n * Smart account wallet whose balances these are.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Every zToken the wallet holds a nonzero balance of, ordered by\n * zipped_asset_id. Empty when it holds none. An asset whose balance could\n * not be read is in unavailable_assets instead.\n *\n * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;\n */\n balances: WalletBalance[];\n\n /**\n * Zipped assets whose zToken balance could not be read, ordered by\n * zipped_asset_id. The wallet's balance of each is unknown, not zero: read\n * again later. Empty when every balance was read. When no balance can be\n * read at all, the request fails as unavailable instead.\n *\n * @generated from field: repeated chain.withdraw.v1.UnavailableWalletAsset unavailable_assets = 3;\n */\n unavailableAssets: UnavailableWalletAsset[];\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.\n * Use `create(GetWalletBalancesResponseSchema)` to create a new message.\n */\nexport const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 10);\n\n/**\n * UnavailableWalletAsset is a zipped asset whose zToken balance could not be\n * read from Polyester Chain.\n *\n * @generated from message chain.withdraw.v1.UnavailableWalletAsset\n */\nexport type UnavailableWalletAsset = Message<\"chain.withdraw.v1.UnavailableWalletAsset\"> & {\n /**\n * Zipped asset of the zToken, as WalletBalance.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as WalletBalance.unified_asset_id\n * names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as WalletBalance.chain_id names it.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain listed for the zipped asset.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Why the balance could not be read.\n *\n * @generated from field: chain.withdraw.v1.WalletAssetUnavailableReason reason = 5;\n */\n reason: WalletAssetUnavailableReason;\n};\n\n/**\n * Describes the message chain.withdraw.v1.UnavailableWalletAsset.\n * Use `create(UnavailableWalletAssetSchema)` to create a new message.\n */\nexport const UnavailableWalletAssetSchema: GenMessage<UnavailableWalletAsset> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 11);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * asset_id does not identify a known asset.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The account's available balance cannot be confirmed right now. Retry\n * later.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * The zToken supply of the destination route is not known, or not\n * current: AssetChainVariant.supply_status is MISSING or STALE. Nothing was\n * reserved; retry once the status is AVAILABLE again.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n\n /**\n * An auto-withdraw destination address is not a valid withdrawal\n * destination on its chain. ErrorDetail.field_path names the destination.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;\n */\n DESTINATION_INVALID = 45,\n\n /**\n * An auto-withdraw destination's min_amount_e18 is below the least amount\n * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and\n * ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;\n */\n MIN_AMOUNT_BELOW_FLOOR = 46,\n\n /**\n * No enabled withdrawal route pays an auto-withdraw destination's asset to\n * its destination chain. ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;\n */\n ROUTE_UNSUPPORTED = 47,\n\n /**\n * expected_version is not the auto-withdraw rule's latest version: another\n * change landed first. Read the rule again before retrying.\n *\n * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;\n */\n VERSION_CONFLICT = 48,\n\n /**\n * A broker vault pays an external destination only once it has been on the\n * vault's external withdraw whitelist for 24 hours, and this one was added\n * more recently. ErrorDetail.payable_from is when it can be paid; unset\n * when that time is not known yet. Retry after it.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;\n */\n EXTERNAL_DESTINATION_COOLING_DOWN = 49,\n\n /**\n * Withdrawals of this asset to the destination network are temporarily\n * suspended, as AssetChainVariant.withdrawal_status SUSPENDED shows.\n * Nothing was reserved; submit a new request once the status is NORMAL\n * again.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_SUSPENDED = 50;\n */\n ROUTE_SUSPENDED = 50,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WalletAssetUnavailableReason says why a zToken balance could not be read.\n *\n * @generated from enum chain.withdraw.v1.WalletAssetUnavailableReason\n */\nexport enum WalletAssetUnavailableReason {\n /**\n * No reason was given.\n *\n * @generated from enum value: UNAVAILABLE_UNSPECIFIED = 0;\n */\n UNAVAILABLE_UNSPECIFIED = 0,\n\n /**\n * No zToken contract exists at the listed address on Polyester Chain.\n *\n * @generated from enum value: NO_CONTRACT = 1;\n */\n NO_CONTRACT = 1,\n\n /**\n * Polyester Chain answered the balance read with an error.\n *\n * @generated from enum value: READ_FAILED = 2;\n */\n READ_FAILED = 2,\n\n /**\n * The balance read returned a value that is not a valid balance.\n *\n * @generated from enum value: INVALID_BALANCE = 3;\n */\n INVALID_BALANCE = 3,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WalletAssetUnavailableReason.\n */\nexport const WalletAssetUnavailableReasonSchema: GenEnum<WalletAssetUnavailableReason> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Read the zTokens the account's smart account wallet holds on Polyester\n * Chain, such as a rejected withdrawal's refund, which stays there until\n * the account moves it. Balances are read live from the chain. An API key\n * needs READ_BALANCES within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances\n */\n getWalletBalances: {\n methodKind: \"unary\";\n input: typeof GetWalletBalancesRequestSchema;\n output: typeof GetWalletBalancesResponseSchema;\n },\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCACX,uBAAS,wzMAAwzM;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AAsB55M,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BA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AA;;;;AAKA,MAAa,kBACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;;AAQ7C,IAAY,oCAAL,yBAAA,mCAAA;;;;;;CAML,kCAAA,kCAAA,wBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,WAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,qBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,uBAAA,KAAA;;;;;;;CAQA,kCAAA,kCAAA,6BAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,oBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,IAAY,+BAAL,yBAAA,8BAAA;;;;;;CAML,6BAAA,6BAAA,6BAAA,KAAA;;;;;;CAOA,6BAAA,6BAAA,iBAAA,KAAA;;;;;;CAOA,6BAAA,6BAAA,iBAAA,KAAA;;;;;;CAOA,6BAAA,6BAAA,qBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qCACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAkDX,0BAAY,iCAAiC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
|
+
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
4
|
declare namespace zipper_pb_d_exports {
|
|
4
|
-
export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper };
|
|
5
|
+
export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, SupplyStatus, SupplyStatusSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper };
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file chain/zipper/v1/zipper.proto.
|
|
@@ -183,6 +184,8 @@ type AssetChainVariant = Message<"chain.zipper.v1.AssetChainVariant"> & {
|
|
|
183
184
|
/**
|
|
184
185
|
* Latest zToken supply for this chain asset variant, scaled by the parent
|
|
185
186
|
* unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.
|
|
187
|
+
* Set only when supply_status is AVAILABLE or STALE; a value of zero then
|
|
188
|
+
* is a real supply of zero.
|
|
186
189
|
*
|
|
187
190
|
* @generated from field: uint64 supply_q = 12;
|
|
188
191
|
*/
|
|
@@ -205,6 +208,19 @@ type AssetChainVariant = Message<"chain.zipper.v1.AssetChainVariant"> & {
|
|
|
205
208
|
* @generated from field: chain.zipper.v1.RouteStatus withdrawal_status = 14;
|
|
206
209
|
*/
|
|
207
210
|
withdrawalStatus: RouteStatus;
|
|
211
|
+
/**
|
|
212
|
+
* Whether supply_q is known and current for this route.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: chain.zipper.v1.SupplyStatus supply_status = 15;
|
|
215
|
+
*/
|
|
216
|
+
supplyStatus: SupplyStatus;
|
|
217
|
+
/**
|
|
218
|
+
* When supply_q was read from Polyester chain. Set only when supply_status
|
|
219
|
+
* is AVAILABLE or STALE.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: google.protobuf.Timestamp supply_observed_at = 16;
|
|
222
|
+
*/
|
|
223
|
+
supplyObservedAt?: Timestamp | undefined;
|
|
208
224
|
};
|
|
209
225
|
/**
|
|
210
226
|
* Describes the message chain.zipper.v1.AssetChainVariant.
|
|
@@ -226,11 +242,28 @@ type ZippedAssetSupplyUpdate = Message<"chain.zipper.v1.ZippedAssetSupplyUpdate"
|
|
|
226
242
|
zippedAssetId: number;
|
|
227
243
|
/**
|
|
228
244
|
* Latest zToken supply for this route, scaled by the parent asset's
|
|
229
|
-
* quantity_scale. Decode: supply_q / 10^quantity_scale.
|
|
245
|
+
* quantity_scale. Decode: supply_q / 10^quantity_scale. Set only when
|
|
246
|
+
* status is AVAILABLE or STALE; a value of zero then is a real supply of
|
|
247
|
+
* zero.
|
|
230
248
|
*
|
|
231
249
|
* @generated from field: uint64 supply_q = 2;
|
|
232
250
|
*/
|
|
233
251
|
supplyQ: bigint;
|
|
252
|
+
/**
|
|
253
|
+
* Whether supply_q is current: AVAILABLE or STALE. A route whose supply
|
|
254
|
+
* stops being refreshed gets one STALE update repeating its last value and
|
|
255
|
+
* observation time; it returns to AVAILABLE with the next reading.
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: chain.zipper.v1.SupplyStatus status = 3;
|
|
258
|
+
*/
|
|
259
|
+
status: SupplyStatus;
|
|
260
|
+
/**
|
|
261
|
+
* When supply_q was read from Polyester chain. Set only when status is
|
|
262
|
+
* AVAILABLE or STALE.
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: google.protobuf.Timestamp observed_at = 4;
|
|
265
|
+
*/
|
|
266
|
+
observedAt?: Timestamp | undefined;
|
|
234
267
|
};
|
|
235
268
|
/**
|
|
236
269
|
* Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate.
|
|
@@ -471,6 +504,46 @@ declare enum RouteStatus {
|
|
|
471
504
|
* Describes the enum chain.zipper.v1.RouteStatus.
|
|
472
505
|
*/
|
|
473
506
|
declare const RouteStatusSchema: GenEnum<RouteStatus>;
|
|
507
|
+
/**
|
|
508
|
+
* SupplyStatus says whether a route's zToken supply is known and current.
|
|
509
|
+
* Read it before using a supply value: only AVAILABLE and STALE routes carry
|
|
510
|
+
* one, and a missing supply is never reported as zero.
|
|
511
|
+
*
|
|
512
|
+
* @generated from enum chain.zipper.v1.SupplyStatus
|
|
513
|
+
*/
|
|
514
|
+
declare enum SupplyStatus {
|
|
515
|
+
/**
|
|
516
|
+
* Never sent. Treat the supply as MISSING.
|
|
517
|
+
*
|
|
518
|
+
* @generated from enum value: SUPPLY_UNSPECIFIED = 0;
|
|
519
|
+
*/
|
|
520
|
+
SUPPLY_UNSPECIFIED = 0,
|
|
521
|
+
/**
|
|
522
|
+
* The supply was read from Polyester chain recently and is current.
|
|
523
|
+
*
|
|
524
|
+
* @generated from enum value: AVAILABLE = 1;
|
|
525
|
+
*/
|
|
526
|
+
AVAILABLE = 1,
|
|
527
|
+
/**
|
|
528
|
+
* The supply value is the last one read, but it has not been refreshed for
|
|
529
|
+
* longer than expected and may no longer be accurate. Do not size a
|
|
530
|
+
* withdrawal against it as if it were current.
|
|
531
|
+
*
|
|
532
|
+
* @generated from enum value: STALE = 2;
|
|
533
|
+
*/
|
|
534
|
+
STALE = 2,
|
|
535
|
+
/**
|
|
536
|
+
* No supply is known for the route yet. No supply value or observation
|
|
537
|
+
* time is sent; do not treat the route's supply as zero.
|
|
538
|
+
*
|
|
539
|
+
* @generated from enum value: MISSING = 3;
|
|
540
|
+
*/
|
|
541
|
+
MISSING = 3
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Describes the enum chain.zipper.v1.SupplyStatus.
|
|
545
|
+
*/
|
|
546
|
+
declare const SupplyStatusSchema: GenEnum<SupplyStatus>;
|
|
474
547
|
/**
|
|
475
548
|
* ZipperService exposes deposit and withdraw chain configuration.
|
|
476
549
|
*
|
|
@@ -489,5 +562,5 @@ declare const ZipperService: GenService<{
|
|
|
489
562
|
};
|
|
490
563
|
}>;
|
|
491
564
|
//#endregion
|
|
492
|
-
export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper, zipper_pb_d_exports };
|
|
565
|
+
export { AssetChainVariant, AssetChainVariantSchema, AssetConfig, AssetConfigSchema, ChainConfig, ChainConfigSchema, ChainContractConfig, ChainContractConfigSchema, GetDepositWithdrawConfigRequest, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponse, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, SupplyStatus, SupplyStatusSchema, ZippedAssetSupplyBatch, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdate, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper, zipper_pb_d_exports };
|
|
493
566
|
//# sourceMappingURL=zipper_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipper_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/zipper/v1/zipper_pb.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"zipper_pb.d.ts","names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EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,uBAAuB,QAAQ;;;;;;;aAShC;;;;;;EAMV;;;;;;EAOA;;;;;;;EAQA;;;;;cAMW,mBAAmB,QAAQ;;;;;;;;aAU5B;;;;;;EAMV;;;;;;EAOA;;;;;;;;EASA;;;;;;;EAQA;;;;;cAMW,oBAAoB,QAAQ;;;;;;cAQ5B,eAAe;;;;;;EAM1B;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __exportAll } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { file_polyester_api_options } from "../../../polyester/api/options_pb.js";
|
|
3
3
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
//#region src/gen/chain/zipper/v1/zipper_pb.ts
|
|
5
6
|
var zipper_pb_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
AssetChainVariantSchema: () => AssetChainVariantSchema,
|
|
@@ -13,6 +14,8 @@ var zipper_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
14
|
MemoRequirementSchema: () => MemoRequirementSchema,
|
|
14
15
|
RouteStatus: () => RouteStatus,
|
|
15
16
|
RouteStatusSchema: () => RouteStatusSchema,
|
|
17
|
+
SupplyStatus: () => SupplyStatus,
|
|
18
|
+
SupplyStatusSchema: () => SupplyStatusSchema,
|
|
16
19
|
ZippedAssetSupplyBatchSchema: () => ZippedAssetSupplyBatchSchema,
|
|
17
20
|
ZippedAssetSupplyUpdateSchema: () => ZippedAssetSupplyUpdateSchema,
|
|
18
21
|
ZipperService: () => ZipperService,
|
|
@@ -21,7 +24,7 @@ var zipper_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
21
24
|
/**
|
|
22
25
|
* Describes the file chain/zipper/v1/zipper.proto.
|
|
23
26
|
*/
|
|
24
|
-
const file_chain_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VxdWVzdCLHAQogR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2USLAoGY2hhaW5zGAEgAygLMhwuY2hhaW4uemlwcGVyLnYxLkNoYWluQ29uZmlnEiwKBmFzc2V0cxgCIAMoCzIcLmNoYWluLnppcHBlci52MS5Bc3NldENvbmZpZxIOCgZ0c19zZWMYAyABKAQSNwoJY29udHJhY3RzGAUgAygLMiQuY2hhaW4uemlwcGVyLnYxLkNoYWluQ29udHJhY3RDb25maWcqVgoPTWVtb1JlcXVpcmVtZW50EhQKEE1FTU9fVU5TUEVDSUZJRUQQABIMCghSRVFVSVJFRBABEgwKCE9QVElPTkFMEAISEQoNTk9UX1NVUFBPUlRFRBADKkAKC1JvdXRlU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEgoKBk5PUk1BTBABEg0KCVNVU1BFTkRFRBACKk0KDFN1cHBseVN0YXR1cxIWChJTVVBQTFlfVU5TUEVDSUZJRUQQABINCglBVkFJTEFCTEUQARIJCgVTVEFMRRACEgsKB01JU1NJTkcQAzKVAQoNWmlwcGVyU2VydmljZRKBAQoYR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnEjAuY2hhaW4uemlwcGVyLnYxLkdldERlcG9zaXRXaXRoZHJhd0NvbmZpZ1JlcXVlc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vemlwcGVyL3YxO2NoYWluemlwcGVydjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
25
28
|
/**
|
|
26
29
|
* Describes the message chain.zipper.v1.ChainConfig.
|
|
27
30
|
* Use `create(ChainConfigSchema)` to create a new message.
|
|
@@ -131,12 +134,53 @@ let RouteStatus = /* @__PURE__ */ function(RouteStatus) {
|
|
|
131
134
|
*/
|
|
132
135
|
const RouteStatusSchema = /*@__PURE__*/ enumDesc(file_chain_zipper_v1_zipper, 1);
|
|
133
136
|
/**
|
|
137
|
+
* SupplyStatus says whether a route's zToken supply is known and current.
|
|
138
|
+
* Read it before using a supply value: only AVAILABLE and STALE routes carry
|
|
139
|
+
* one, and a missing supply is never reported as zero.
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum chain.zipper.v1.SupplyStatus
|
|
142
|
+
*/
|
|
143
|
+
let SupplyStatus = /* @__PURE__ */ function(SupplyStatus) {
|
|
144
|
+
/**
|
|
145
|
+
* Never sent. Treat the supply as MISSING.
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: SUPPLY_UNSPECIFIED = 0;
|
|
148
|
+
*/
|
|
149
|
+
SupplyStatus[SupplyStatus["SUPPLY_UNSPECIFIED"] = 0] = "SUPPLY_UNSPECIFIED";
|
|
150
|
+
/**
|
|
151
|
+
* The supply was read from Polyester chain recently and is current.
|
|
152
|
+
*
|
|
153
|
+
* @generated from enum value: AVAILABLE = 1;
|
|
154
|
+
*/
|
|
155
|
+
SupplyStatus[SupplyStatus["AVAILABLE"] = 1] = "AVAILABLE";
|
|
156
|
+
/**
|
|
157
|
+
* The supply value is the last one read, but it has not been refreshed for
|
|
158
|
+
* longer than expected and may no longer be accurate. Do not size a
|
|
159
|
+
* withdrawal against it as if it were current.
|
|
160
|
+
*
|
|
161
|
+
* @generated from enum value: STALE = 2;
|
|
162
|
+
*/
|
|
163
|
+
SupplyStatus[SupplyStatus["STALE"] = 2] = "STALE";
|
|
164
|
+
/**
|
|
165
|
+
* No supply is known for the route yet. No supply value or observation
|
|
166
|
+
* time is sent; do not treat the route's supply as zero.
|
|
167
|
+
*
|
|
168
|
+
* @generated from enum value: MISSING = 3;
|
|
169
|
+
*/
|
|
170
|
+
SupplyStatus[SupplyStatus["MISSING"] = 3] = "MISSING";
|
|
171
|
+
return SupplyStatus;
|
|
172
|
+
}({});
|
|
173
|
+
/**
|
|
174
|
+
* Describes the enum chain.zipper.v1.SupplyStatus.
|
|
175
|
+
*/
|
|
176
|
+
const SupplyStatusSchema = /*@__PURE__*/ enumDesc(file_chain_zipper_v1_zipper, 2);
|
|
177
|
+
/**
|
|
134
178
|
* ZipperService exposes deposit and withdraw chain configuration.
|
|
135
179
|
*
|
|
136
180
|
* @generated from service chain.zipper.v1.ZipperService
|
|
137
181
|
*/
|
|
138
182
|
const ZipperService = /*@__PURE__*/ serviceDesc(file_chain_zipper_v1_zipper, 0);
|
|
139
183
|
//#endregion
|
|
140
|
-
export { AssetChainVariantSchema, AssetConfigSchema, ChainConfigSchema, ChainContractConfigSchema, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper, zipper_pb_exports };
|
|
184
|
+
export { AssetChainVariantSchema, AssetConfigSchema, ChainConfigSchema, ChainContractConfigSchema, GetDepositWithdrawConfigRequestSchema, GetDepositWithdrawConfigResponseSchema, MemoRequirement, MemoRequirementSchema, RouteStatus, RouteStatusSchema, SupplyStatus, SupplyStatusSchema, ZippedAssetSupplyBatchSchema, ZippedAssetSupplyUpdateSchema, ZipperService, file_chain_zipper_v1_zipper, zipper_pb_exports };
|
|
141
185
|
|
|
142
186
|
//# sourceMappingURL=zipper_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipper_pb.js","names":[],"sources":["../../../../../src/gen/chain/zipper/v1/zipper_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/zipper/v1/zipper.proto (package chain.zipper.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/zipper/v1/zipper.proto.\n */\nexport const file_chain_zipper_v1_zipper: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEimAMKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBgFIAEoCRIUCgxleHBsb3Jlcl91cmwYBiABKAkSDAoEaWNvbhgHIAEoCRIeChZyZXF1aXJlZF9jb25maXJtYXRpb25zGAggASgNEiEKGWNvbmZpcm1hdGlvbl90aW1lX3NlY29uZHMYCSABKA0SGQoRaXNfY2FzZV9zZW5zaXRpdmUYCiABKAgSGgoSbWluX2FkZHJlc3NfbGVuZ3RoGAsgASgNEhoKEm1heF9hZGRyZXNzX2xlbmd0aBgMIAEoDRI6ChBtZW1vX3JlcXVpcmVtZW50GA0gASgOMiAuY2hhaW4uemlwcGVyLnYxLk1lbW9SZXF1aXJlbWVudBISCgptZW1vX2xhYmVsGA4gASgJEhgKEG1lbW9fZm9ybWF0X2hpbnQYDyABKAkiiAMKEUFzc2V0Q2hhaW5WYXJpYW50EhcKD3ppcHBlZF9hc3NldF9pZBgBIAEoDRIQCghjaGFpbl9pZBgCIAEoDRIXCg9pc19uYXRpdmVfYXNzZXQYAyABKAgSEwoLbmV0d29ya19mZWUYBCABKAkSFgoOenRva2VuX2FkZHJlc3MYBiABKAkSFgoOc291cmNlX2FkZHJlc3MYByABKAkSFwoPc291cmNlX2RlY2ltYWxzGAggASgNEhcKD3p0b2tlbl9kZWNpbWFscxgJIAEoDRIaChJkZXBvc2l0X21pbl9hbW91bnQYCiABKAkSGwoTd2l0aGRy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HJhY3RzGAUgAygLMiQuY2hhaW4uemlwcGVyLnYxLkNoYWluQ29udHJhY3RDb25maWcqVgoPTWVtb1JlcXVpcmVtZW50EhQKEE1FTU9fVU5TUEVDSUZJRUQQABIMCghSRVFVSVJFRBABEgwKCE9QVElPTkFMEAISEQoNTk9UX1NVUFBPUlRFRBADKkAKC1JvdXRlU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEgoKBk5PUk1BTBABEg0KCVNVU1BFTkRFRBACMpUBCg1aaXBwZXJTZXJ2aWNlEoEBChhHZXREZXBvc2l0V2l0aGRyYXdDb25maWcSMC5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVxdWVzdBoxLmNoYWluLnppcHBlci52MS5HZXREZXBvc2l0V2l0aGRyYXdDb25maWdSZXNwb25zZSIAGgBCS1pJZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9jaGFpbi96aXBwZXIvdjE7Y2hhaW56aXBwZXJ2MWIGcHJvdG8z\", [file_polyester_api_options]);\n\n/**\n * ChainConfig describes one supported external chain for deposit and withdraw.\n *\n * @generated from message chain.zipper.v1.ChainConfig\n */\nexport type ChainConfig = Message<\"chain.zipper.v1.ChainConfig\"> & {\n /**\n * PolyChain-registered chain id used across Zipper and lifecycle events.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Stable machine-friendly chain key (for example: \"ethereum\", \"solana\").\n *\n * @generated from field: string code = 2;\n */\n code: string;\n\n /**\n * Human-friendly display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Native source-chain network identifier when useful for wallet or explorer\n * integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains\n * may omit this and should be identified by `chain_id` and `code`.\n *\n * @generated from field: string native_chain_id = 4;\n */\n nativeChainId: string;\n\n /**\n * Native gas token symbol for this chain (for example: ETH, BTC, SOL).\n *\n * @generated from field: string native_currency_symbol = 5;\n */\n nativeCurrencySymbol: string;\n\n /**\n * Optional block explorer base URL for links.\n *\n * @generated from field: string explorer_url = 6;\n */\n explorerUrl: string;\n\n /**\n * Optional icon reference for UI display.\n *\n * @generated from field: string icon = 7;\n */\n icon: string;\n\n /**\n * Default required source-chain confirmations when known.\n *\n * @generated from field: uint32 required_confirmations = 8;\n */\n requiredConfirmations: number;\n\n /**\n * Estimated average confirmation time in seconds when known.\n *\n * @generated from field: uint32 confirmation_time_seconds = 9;\n */\n confirmationTimeSeconds: number;\n\n /**\n * True when source-chain addresses must preserve letter case.\n *\n * @generated from field: bool is_case_sensitive = 10;\n */\n isCaseSensitive: boolean;\n\n /**\n * Inclusive minimum source-chain address length for validation.\n *\n * @generated from field: uint32 min_address_length = 11;\n */\n minAddressLength: number;\n\n /**\n * Inclusive maximum source-chain address length for validation.\n *\n * @generated from field: uint32 max_address_length = 12;\n */\n maxAddressLength: number;\n\n /**\n * Memo rule for withdrawal destinations and QuickSwap destination, return,\n * and refund targets on this network. Does not describe deposit instructions.\n *\n * @generated from field: chain.zipper.v1.MemoRequirement memo_requirement = 13;\n */\n memoRequirement: MemoRequirement;\n\n /**\n * Display label, such as \"Destination tag\" or \"Memo\". Empty when not supported.\n *\n * @generated from field: string memo_label = 14;\n */\n memoLabel: string;\n\n /**\n * Human-readable format guidance. Empty when no additional guidance applies.\n *\n * @generated from field: string memo_format_hint = 15;\n */\n memoFormatHint: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainConfig.\n * Use `create(ChainConfigSchema)` to create a new message.\n */\nexport const ChainConfigSchema: GenMessage<ChainConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * AssetChainVariant describes one chain route that can be used to deposit into\n * or withdraw from a unified Polyester asset.\n *\n * @generated from message chain.zipper.v1.AssetChainVariant\n */\nexport type AssetChainVariant = Message<\"chain.zipper.v1.AssetChainVariant\"> & {\n /**\n * Canonical zipped asset route id.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Chain that this asset belongs to.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n\n /**\n * True when the asset is the native gas/token of the source chain.\n *\n * @generated from field: bool is_native_asset = 3;\n */\n isNativeAsset: boolean;\n\n /**\n * Latest known network fee for this chain asset variant as a human-readable\n * string in zToken units, with insignificant trailing zeroes trimmed.\n *\n * @generated from field: string network_fee = 4;\n */\n networkFee: string;\n\n /**\n * Polyester zToken contract address for this chain asset variant.\n *\n * @generated from field: string ztoken_address = 6;\n */\n ztokenAddress: string;\n\n /**\n * Source-chain token contract, mint, or native sentinel address.\n *\n * @generated from field: string source_address = 7;\n */\n sourceAddress: string;\n\n /**\n * Source-chain token decimals.\n *\n * @generated from field: uint32 source_decimals = 8;\n */\n sourceDecimals: number;\n\n /**\n * zToken decimals on Polyester chain.\n *\n * @generated from field: uint32 ztoken_decimals = 9;\n */\n ztokenDecimals: number;\n\n /**\n * Minimum deposit amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string deposit_min_amount = 10;\n */\n depositMinAmount: string;\n\n /**\n * Minimum withdraw amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string withdraw_min_amount = 11;\n */\n withdrawMinAmount: string;\n\n /**\n * Latest zToken supply for this chain asset variant, scaled by the parent\n * unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 12;\n */\n supplyQ: bigint;\n\n /**\n * Whether this route currently accepts new deposits. While it is\n * SUSPENDED, do not send funds to a deposit address on this route; wait\n * until it returns to NORMAL.\n *\n * @generated from field: chain.zipper.v1.RouteStatus deposit_status = 13;\n */\n depositStatus: RouteStatus;\n\n /**\n * Whether this route currently accepts new withdrawals. A Trading\n * withdrawal accepted before the route became SUSPENDED and not yet sent\n * stays pending, with its funds held, and is sent once the route returns\n * to NORMAL. One already being sent when the suspension takes effect may\n * fail instead; its funds then return to the account.\n *\n * @generated from field: chain.zipper.v1.RouteStatus withdrawal_status = 14;\n */\n withdrawalStatus: RouteStatus;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetChainVariant.\n * Use `create(AssetChainVariantSchema)` to create a new message.\n */\nexport const AssetChainVariantSchema: GenMessage<AssetChainVariant> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * ZippedAssetSupplyUpdate carries the latest route liquidity for one zipped\n * asset. It is published on the Protobuf WebSocket channel.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyUpdate\n */\nexport type ZippedAssetSupplyUpdate = Message<\"chain.zipper.v1.ZippedAssetSupplyUpdate\"> & {\n /**\n * Canonical zipped asset route ID.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Latest zToken supply for this route, scaled by the parent asset's\n * quantity_scale. Decode: supply_q / 10^quantity_scale.\n *\n * @generated from field: uint64 supply_q = 2;\n */\n supplyQ: bigint;\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate.\n * Use `create(ZippedAssetSupplyUpdateSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyUpdateSchema: GenMessage<ZippedAssetSupplyUpdate> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 2);\n\n/**\n * ZippedAssetSupplyBatch batches public zipped-asset supply updates.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyBatch\n */\nexport type ZippedAssetSupplyBatch = Message<\"chain.zipper.v1.ZippedAssetSupplyBatch\"> & {\n /**\n * Supply updates included in this batch.\n *\n * @generated from field: repeated chain.zipper.v1.ZippedAssetSupplyUpdate updates = 1;\n */\n updates: ZippedAssetSupplyUpdate[];\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyBatch.\n * Use `create(ZippedAssetSupplyBatchSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyBatchSchema: GenMessage<ZippedAssetSupplyBatch> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 3);\n\n/**\n * AssetConfig describes one unified Polyester asset and all compatible\n * chain-specific variants supported by Zipper.\n *\n * @generated from message chain.zipper.v1.AssetConfig\n */\nexport type AssetConfig = Message<\"chain.zipper.v1.AssetConfig\"> & {\n /**\n * Unified Polyester asset code used inside Funding/Trading (for example: \"USDT\").\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 ledger_id = 2;\n */\n ledgerId: number;\n\n /**\n * Human-friendly unified asset display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Optional icon reference for the unified asset.\n *\n * @generated from field: string icon = 4;\n */\n icon: string;\n\n /**\n * Integer scale for unified-asset quantities (0..18). A scale of 8 means one\n * whole asset is represented as 100000000 in supply_q and other\n * quantity_scale-based fields.\n *\n * @generated from field: uint32 quantity_scale = 5;\n */\n quantityScale: number;\n\n /**\n * UI display precision for the unified asset.\n *\n * @generated from field: uint32 quantity_display_decimals = 6;\n */\n quantityDisplayDecimals: number;\n\n /**\n * Supported chain-specific deposit/withdraw variants for this unified asset.\n *\n * @generated from field: repeated chain.zipper.v1.AssetChainVariant variants = 7;\n */\n variants: AssetChainVariant[];\n\n /**\n * On-chain uAsset id for the unified asset.\n *\n * @generated from field: string u_asset_id = 8;\n */\n uAssetId: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetConfig.\n * Use `create(AssetConfigSchema)` to create a new message.\n */\nexport const AssetConfigSchema: GenMessage<AssetConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 4);\n\n/**\n * ChainContractConfig describes an active Polyester-chain contract address\n * clients may need for supported deposit and withdraw flows.\n *\n * @generated from message chain.zipper.v1.ChainContractConfig\n */\nexport type ChainContractConfig = Message<\"chain.zipper.v1.ChainContractConfig\"> & {\n /**\n * Stable contract key for client lookups.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * EVM contract address on Polyester chain.\n *\n * @generated from field: string address = 2;\n */\n address: string;\n\n /**\n * Optional product-facing contract category, when known.\n *\n * @generated from field: string type = 3;\n */\n type: string;\n\n /**\n * Optional human-readable description.\n *\n * @generated from field: string description = 4;\n */\n description: string;\n\n /**\n * Active contract version for this name. Versions increase when the address\n * changes, allowing clients to identify the exact contract revision in use.\n *\n * @generated from field: uint32 version = 5;\n */\n version: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainContractConfig.\n * Use `create(ChainContractConfigSchema)` to create a new message.\n */\nexport const ChainContractConfigSchema: GenMessage<ChainContractConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 5);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigRequest\n */\nexport type GetDepositWithdrawConfigRequest = Message<\"chain.zipper.v1.GetDepositWithdrawConfigRequest\"> & {\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigRequest.\n * Use `create(GetDepositWithdrawConfigRequestSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigRequestSchema: GenMessage<GetDepositWithdrawConfigRequest> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 6);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigResponse\n */\nexport type GetDepositWithdrawConfigResponse = Message<\"chain.zipper.v1.GetDepositWithdrawConfigResponse\"> & {\n /**\n * Supported chains ordered by chain code.\n *\n * @generated from field: repeated chain.zipper.v1.ChainConfig chains = 1;\n */\n chains: ChainConfig[];\n\n /**\n * Supported unified assets ordered by asset code, each with compatible chain routes.\n *\n * @generated from field: repeated chain.zipper.v1.AssetConfig assets = 2;\n */\n assets: AssetConfig[];\n\n /**\n * Snapshot generation timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * Active Polyester-chain contracts ordered by contract name.\n *\n * @generated from field: repeated chain.zipper.v1.ChainContractConfig contracts = 5;\n */\n contracts: ChainContractConfig[];\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigResponse.\n * Use `create(GetDepositWithdrawConfigResponseSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigResponseSchema: GenMessage<GetDepositWithdrawConfigResponse> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 7);\n\n/**\n * MemoRequirement describes the memo or destination tag needed for a payout target.\n *\n * @generated from enum chain.zipper.v1.MemoRequirement\n */\nexport enum MemoRequirement {\n /**\n * Requirement is unknown. Do not assume that a memo can be omitted.\n *\n * @generated from enum value: MEMO_UNSPECIFIED = 0;\n */\n MEMO_UNSPECIFIED = 0,\n\n /**\n * A memo or destination tag must be supplied.\n *\n * @generated from enum value: REQUIRED = 1;\n */\n REQUIRED = 1,\n\n /**\n * A memo or destination tag may be supplied.\n *\n * @generated from enum value: OPTIONAL = 2;\n */\n OPTIONAL = 2,\n\n /**\n * A memo or destination tag must be empty.\n *\n * @generated from enum value: NOT_SUPPORTED = 3;\n */\n NOT_SUPPORTED = 3,\n}\n\n/**\n * Describes the enum chain.zipper.v1.MemoRequirement.\n */\nexport const MemoRequirementSchema: GenEnum<MemoRequirement> = /*@__PURE__*/\n enumDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * RouteStatus says whether a chain route accepts new deposits or new\n * withdrawals.\n *\n * @generated from enum chain.zipper.v1.RouteStatus\n */\nexport enum RouteStatus {\n /**\n * Availability is not known yet. Do not treat the route as available.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * The route accepts new requests.\n *\n * @generated from enum value: NORMAL = 1;\n */\n NORMAL = 1,\n\n /**\n * The route does not accept new requests. Do not send funds on it until it\n * returns to NORMAL.\n *\n * @generated from enum value: SUSPENDED = 2;\n */\n SUSPENDED = 2,\n}\n\n/**\n * Describes the enum chain.zipper.v1.RouteStatus.\n */\nexport const RouteStatusSchema: GenEnum<RouteStatus> = /*@__PURE__*/\n enumDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * ZipperService exposes deposit and withdraw chain configuration.\n *\n * @generated from service chain.zipper.v1.ZipperService\n */\nexport const ZipperService: GenService<{\n /**\n * Retrieve the supported chains and unified assets used by deposit/withdraw UI flows.\n *\n * @generated from rpc chain.zipper.v1.ZipperService.GetDepositWithdrawConfig\n */\n getDepositWithdrawConfig: {\n methodKind: \"unary\";\n input: typeof GetDepositWithdrawConfigRequestSchema;\n output: typeof GetDepositWithdrawConfigResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_zipper_v1_zipper, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAa,8BACX,uBAAS,gjFAAgjF,CAAC,0BAA0B,CAAC;;;;;AAyHvlF,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAiH5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AA6B5C,MAAa,gCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,+BACX,0BAAY,6BAA6B,CAAC;;;;;AAwE5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAkD5C,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AAY5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAuC5C,MAAa,yCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,IAAY,kBAAL,yBAAA,iBAAA;;;;;;CAML,gBAAA,gBAAA,sBAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,cAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,cAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,wBACX,uBAAS,6BAA6B,CAAC;;;;;;;AAQzC,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,wBAAA,KAAA;;;;;;CAOA,YAAA,YAAA,YAAA,KAAA;;;;;;;CAQA,YAAA,YAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,6BAA6B,CAAC;;;;;;AAOzC,MAAa,gBAYX,0BAAY,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"zipper_pb.js","names":[],"sources":["../../../../../src/gen/chain/zipper/v1/zipper_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/zipper/v1/zipper.proto (package chain.zipper.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/zipper/v1/zipper.proto.\n */\nexport const file_chain_zipper_v1_zipper: GenFile = /*@__PURE__*/\n fileDesc(\"ChxjaGFpbi96aXBwZXIvdjEvemlwcGVyLnByb3RvEg9jaGFpbi56aXBwZXIudjEimAMKC0NoYWluQ29uZmlnEhAKCGNoYWluX2lkGAEgASgNEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRIXCg9uYXRpdmVfY2hhaW5faWQYBCABKAkSHgoWbmF0aXZlX2N1cnJlbmN5X3N5bWJvbBgFIAEoCRIUCgxleHBsb3Jlcl91cmwYBiABKAkSDAoEaWNvbhgHIAEoCRIeChZyZXF1aXJlZF9jb25maXJtYXRpb25zGAggASgNEiEKGWNvbmZpcm1hdGlvbl90aW1lX3NlY29uZHMYCSABKA0SGQoRaXNfY2FzZV9zZW5zaXRpdmUYCiABKAgSGgoSbWluX2FkZHJlc3NfbGVuZ3RoGAsgASgNEhoKEm1heF9hZGRyZX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RUQQABINCglBVkFJTEFCTEUQARIJCgVTVEFMRRACEgsKB01JU1NJTkcQAzKVAQoNWmlwcGVyU2VydmljZRKBAQoYR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnEjAuY2hhaW4uemlwcGVyLnYxLkdldERlcG9zaXRXaXRoZHJhd0NvbmZpZ1JlcXVlc3QaMS5jaGFpbi56aXBwZXIudjEuR2V0RGVwb3NpdFdpdGhkcmF3Q29uZmlnUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vemlwcGVyL3YxO2NoYWluemlwcGVydjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * ChainConfig describes one supported external chain for deposit and withdraw.\n *\n * @generated from message chain.zipper.v1.ChainConfig\n */\nexport type ChainConfig = Message<\"chain.zipper.v1.ChainConfig\"> & {\n /**\n * PolyChain-registered chain id used across Zipper and lifecycle events.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Stable machine-friendly chain key (for example: \"ethereum\", \"solana\").\n *\n * @generated from field: string code = 2;\n */\n code: string;\n\n /**\n * Human-friendly display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Native source-chain network identifier when useful for wallet or explorer\n * integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains\n * may omit this and should be identified by `chain_id` and `code`.\n *\n * @generated from field: string native_chain_id = 4;\n */\n nativeChainId: string;\n\n /**\n * Native gas token symbol for this chain (for example: ETH, BTC, SOL).\n *\n * @generated from field: string native_currency_symbol = 5;\n */\n nativeCurrencySymbol: string;\n\n /**\n * Optional block explorer base URL for links.\n *\n * @generated from field: string explorer_url = 6;\n */\n explorerUrl: string;\n\n /**\n * Optional icon reference for UI display.\n *\n * @generated from field: string icon = 7;\n */\n icon: string;\n\n /**\n * Default required source-chain confirmations when known.\n *\n * @generated from field: uint32 required_confirmations = 8;\n */\n requiredConfirmations: number;\n\n /**\n * Estimated average confirmation time in seconds when known.\n *\n * @generated from field: uint32 confirmation_time_seconds = 9;\n */\n confirmationTimeSeconds: number;\n\n /**\n * True when source-chain addresses must preserve letter case.\n *\n * @generated from field: bool is_case_sensitive = 10;\n */\n isCaseSensitive: boolean;\n\n /**\n * Inclusive minimum source-chain address length for validation.\n *\n * @generated from field: uint32 min_address_length = 11;\n */\n minAddressLength: number;\n\n /**\n * Inclusive maximum source-chain address length for validation.\n *\n * @generated from field: uint32 max_address_length = 12;\n */\n maxAddressLength: number;\n\n /**\n * Memo rule for withdrawal destinations and QuickSwap destination, return,\n * and refund targets on this network. Does not describe deposit instructions.\n *\n * @generated from field: chain.zipper.v1.MemoRequirement memo_requirement = 13;\n */\n memoRequirement: MemoRequirement;\n\n /**\n * Display label, such as \"Destination tag\" or \"Memo\". Empty when not supported.\n *\n * @generated from field: string memo_label = 14;\n */\n memoLabel: string;\n\n /**\n * Human-readable format guidance. Empty when no additional guidance applies.\n *\n * @generated from field: string memo_format_hint = 15;\n */\n memoFormatHint: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainConfig.\n * Use `create(ChainConfigSchema)` to create a new message.\n */\nexport const ChainConfigSchema: GenMessage<ChainConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * AssetChainVariant describes one chain route that can be used to deposit into\n * or withdraw from a unified Polyester asset.\n *\n * @generated from message chain.zipper.v1.AssetChainVariant\n */\nexport type AssetChainVariant = Message<\"chain.zipper.v1.AssetChainVariant\"> & {\n /**\n * Canonical zipped asset route id.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Chain that this asset belongs to.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n\n /**\n * True when the asset is the native gas/token of the source chain.\n *\n * @generated from field: bool is_native_asset = 3;\n */\n isNativeAsset: boolean;\n\n /**\n * Latest known network fee for this chain asset variant as a human-readable\n * string in zToken units, with insignificant trailing zeroes trimmed.\n *\n * @generated from field: string network_fee = 4;\n */\n networkFee: string;\n\n /**\n * Polyester zToken contract address for this chain asset variant.\n *\n * @generated from field: string ztoken_address = 6;\n */\n ztokenAddress: string;\n\n /**\n * Source-chain token contract, mint, or native sentinel address.\n *\n * @generated from field: string source_address = 7;\n */\n sourceAddress: string;\n\n /**\n * Source-chain token decimals.\n *\n * @generated from field: uint32 source_decimals = 8;\n */\n sourceDecimals: number;\n\n /**\n * zToken decimals on Polyester chain.\n *\n * @generated from field: uint32 ztoken_decimals = 9;\n */\n ztokenDecimals: number;\n\n /**\n * Minimum deposit amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string deposit_min_amount = 10;\n */\n depositMinAmount: string;\n\n /**\n * Minimum withdraw amount for this variant as a human-readable string in zToken units.\n *\n * @generated from field: string withdraw_min_amount = 11;\n */\n withdrawMinAmount: string;\n\n /**\n * Latest zToken supply for this chain asset variant, scaled by the parent\n * unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.\n * Set only when supply_status is AVAILABLE or STALE; a value of zero then\n * is a real supply of zero.\n *\n * @generated from field: uint64 supply_q = 12;\n */\n supplyQ: bigint;\n\n /**\n * Whether this route currently accepts new deposits. While it is\n * SUSPENDED, do not send funds to a deposit address on this route; wait\n * until it returns to NORMAL.\n *\n * @generated from field: chain.zipper.v1.RouteStatus deposit_status = 13;\n */\n depositStatus: RouteStatus;\n\n /**\n * Whether this route currently accepts new withdrawals. A Trading\n * withdrawal accepted before the route became SUSPENDED and not yet sent\n * stays pending, with its funds held, and is sent once the route returns\n * to NORMAL. One already being sent when the suspension takes effect may\n * fail instead; its funds then return to the account.\n *\n * @generated from field: chain.zipper.v1.RouteStatus withdrawal_status = 14;\n */\n withdrawalStatus: RouteStatus;\n\n /**\n * Whether supply_q is known and current for this route.\n *\n * @generated from field: chain.zipper.v1.SupplyStatus supply_status = 15;\n */\n supplyStatus: SupplyStatus;\n\n /**\n * When supply_q was read from Polyester chain. Set only when supply_status\n * is AVAILABLE or STALE.\n *\n * @generated from field: google.protobuf.Timestamp supply_observed_at = 16;\n */\n supplyObservedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetChainVariant.\n * Use `create(AssetChainVariantSchema)` to create a new message.\n */\nexport const AssetChainVariantSchema: GenMessage<AssetChainVariant> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * ZippedAssetSupplyUpdate carries the latest route liquidity for one zipped\n * asset. It is published on the Protobuf WebSocket channel.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyUpdate\n */\nexport type ZippedAssetSupplyUpdate = Message<\"chain.zipper.v1.ZippedAssetSupplyUpdate\"> & {\n /**\n * Canonical zipped asset route ID.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Latest zToken supply for this route, scaled by the parent asset's\n * quantity_scale. Decode: supply_q / 10^quantity_scale. Set only when\n * status is AVAILABLE or STALE; a value of zero then is a real supply of\n * zero.\n *\n * @generated from field: uint64 supply_q = 2;\n */\n supplyQ: bigint;\n\n /**\n * Whether supply_q is current: AVAILABLE or STALE. A route whose supply\n * stops being refreshed gets one STALE update repeating its last value and\n * observation time; it returns to AVAILABLE with the next reading.\n *\n * @generated from field: chain.zipper.v1.SupplyStatus status = 3;\n */\n status: SupplyStatus;\n\n /**\n * When supply_q was read from Polyester chain. Set only when status is\n * AVAILABLE or STALE.\n *\n * @generated from field: google.protobuf.Timestamp observed_at = 4;\n */\n observedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyUpdate.\n * Use `create(ZippedAssetSupplyUpdateSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyUpdateSchema: GenMessage<ZippedAssetSupplyUpdate> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 2);\n\n/**\n * ZippedAssetSupplyBatch batches public zipped-asset supply updates.\n *\n * @generated from message chain.zipper.v1.ZippedAssetSupplyBatch\n */\nexport type ZippedAssetSupplyBatch = Message<\"chain.zipper.v1.ZippedAssetSupplyBatch\"> & {\n /**\n * Supply updates included in this batch.\n *\n * @generated from field: repeated chain.zipper.v1.ZippedAssetSupplyUpdate updates = 1;\n */\n updates: ZippedAssetSupplyUpdate[];\n};\n\n/**\n * Describes the message chain.zipper.v1.ZippedAssetSupplyBatch.\n * Use `create(ZippedAssetSupplyBatchSchema)` to create a new message.\n */\nexport const ZippedAssetSupplyBatchSchema: GenMessage<ZippedAssetSupplyBatch> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 3);\n\n/**\n * AssetConfig describes one unified Polyester asset and all compatible\n * chain-specific variants supported by Zipper.\n *\n * @generated from message chain.zipper.v1.AssetConfig\n */\nexport type AssetConfig = Message<\"chain.zipper.v1.AssetConfig\"> & {\n /**\n * Unified Polyester asset code used inside Funding/Trading (for example: \"USDT\").\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Public unified asset id.\n *\n * @generated from field: uint32 ledger_id = 2;\n */\n ledgerId: number;\n\n /**\n * Human-friendly unified asset display name.\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * Optional icon reference for the unified asset.\n *\n * @generated from field: string icon = 4;\n */\n icon: string;\n\n /**\n * Integer scale for unified-asset quantities (0..18). A scale of 8 means one\n * whole asset is represented as 100000000 in supply_q and other\n * quantity_scale-based fields.\n *\n * @generated from field: uint32 quantity_scale = 5;\n */\n quantityScale: number;\n\n /**\n * UI display precision for the unified asset.\n *\n * @generated from field: uint32 quantity_display_decimals = 6;\n */\n quantityDisplayDecimals: number;\n\n /**\n * Supported chain-specific deposit/withdraw variants for this unified asset.\n *\n * @generated from field: repeated chain.zipper.v1.AssetChainVariant variants = 7;\n */\n variants: AssetChainVariant[];\n\n /**\n * On-chain uAsset id for the unified asset.\n *\n * @generated from field: string u_asset_id = 8;\n */\n uAssetId: string;\n};\n\n/**\n * Describes the message chain.zipper.v1.AssetConfig.\n * Use `create(AssetConfigSchema)` to create a new message.\n */\nexport const AssetConfigSchema: GenMessage<AssetConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 4);\n\n/**\n * ChainContractConfig describes an active Polyester-chain contract address\n * clients may need for supported deposit and withdraw flows.\n *\n * @generated from message chain.zipper.v1.ChainContractConfig\n */\nexport type ChainContractConfig = Message<\"chain.zipper.v1.ChainContractConfig\"> & {\n /**\n * Stable contract key for client lookups.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * EVM contract address on Polyester chain.\n *\n * @generated from field: string address = 2;\n */\n address: string;\n\n /**\n * Optional product-facing contract category, when known.\n *\n * @generated from field: string type = 3;\n */\n type: string;\n\n /**\n * Optional human-readable description.\n *\n * @generated from field: string description = 4;\n */\n description: string;\n\n /**\n * Active contract version for this name. Versions increase when the address\n * changes, allowing clients to identify the exact contract revision in use.\n *\n * @generated from field: uint32 version = 5;\n */\n version: number;\n};\n\n/**\n * Describes the message chain.zipper.v1.ChainContractConfig.\n * Use `create(ChainContractConfigSchema)` to create a new message.\n */\nexport const ChainContractConfigSchema: GenMessage<ChainContractConfig> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 5);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigRequest\n */\nexport type GetDepositWithdrawConfigRequest = Message<\"chain.zipper.v1.GetDepositWithdrawConfigRequest\"> & {\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigRequest.\n * Use `create(GetDepositWithdrawConfigRequestSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigRequestSchema: GenMessage<GetDepositWithdrawConfigRequest> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 6);\n\n/**\n * @generated from message chain.zipper.v1.GetDepositWithdrawConfigResponse\n */\nexport type GetDepositWithdrawConfigResponse = Message<\"chain.zipper.v1.GetDepositWithdrawConfigResponse\"> & {\n /**\n * Supported chains ordered by chain code.\n *\n * @generated from field: repeated chain.zipper.v1.ChainConfig chains = 1;\n */\n chains: ChainConfig[];\n\n /**\n * Supported unified assets ordered by asset code, each with compatible chain routes.\n *\n * @generated from field: repeated chain.zipper.v1.AssetConfig assets = 2;\n */\n assets: AssetConfig[];\n\n /**\n * Snapshot generation timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * Active Polyester-chain contracts ordered by contract name.\n *\n * @generated from field: repeated chain.zipper.v1.ChainContractConfig contracts = 5;\n */\n contracts: ChainContractConfig[];\n};\n\n/**\n * Describes the message chain.zipper.v1.GetDepositWithdrawConfigResponse.\n * Use `create(GetDepositWithdrawConfigResponseSchema)` to create a new message.\n */\nexport const GetDepositWithdrawConfigResponseSchema: GenMessage<GetDepositWithdrawConfigResponse> = /*@__PURE__*/\n messageDesc(file_chain_zipper_v1_zipper, 7);\n\n/**\n * MemoRequirement describes the memo or destination tag needed for a payout target.\n *\n * @generated from enum chain.zipper.v1.MemoRequirement\n */\nexport enum MemoRequirement {\n /**\n * Requirement is unknown. Do not assume that a memo can be omitted.\n *\n * @generated from enum value: MEMO_UNSPECIFIED = 0;\n */\n MEMO_UNSPECIFIED = 0,\n\n /**\n * A memo or destination tag must be supplied.\n *\n * @generated from enum value: REQUIRED = 1;\n */\n REQUIRED = 1,\n\n /**\n * A memo or destination tag may be supplied.\n *\n * @generated from enum value: OPTIONAL = 2;\n */\n OPTIONAL = 2,\n\n /**\n * A memo or destination tag must be empty.\n *\n * @generated from enum value: NOT_SUPPORTED = 3;\n */\n NOT_SUPPORTED = 3,\n}\n\n/**\n * Describes the enum chain.zipper.v1.MemoRequirement.\n */\nexport const MemoRequirementSchema: GenEnum<MemoRequirement> = /*@__PURE__*/\n enumDesc(file_chain_zipper_v1_zipper, 0);\n\n/**\n * RouteStatus says whether a chain route accepts new deposits or new\n * withdrawals.\n *\n * @generated from enum chain.zipper.v1.RouteStatus\n */\nexport enum RouteStatus {\n /**\n * Availability is not known yet. Do not treat the route as available.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * The route accepts new requests.\n *\n * @generated from enum value: NORMAL = 1;\n */\n NORMAL = 1,\n\n /**\n * The route does not accept new requests. Do not send funds on it until it\n * returns to NORMAL.\n *\n * @generated from enum value: SUSPENDED = 2;\n */\n SUSPENDED = 2,\n}\n\n/**\n * Describes the enum chain.zipper.v1.RouteStatus.\n */\nexport const RouteStatusSchema: GenEnum<RouteStatus> = /*@__PURE__*/\n enumDesc(file_chain_zipper_v1_zipper, 1);\n\n/**\n * SupplyStatus says whether a route's zToken supply is known and current.\n * Read it before using a supply value: only AVAILABLE and STALE routes carry\n * one, and a missing supply is never reported as zero.\n *\n * @generated from enum chain.zipper.v1.SupplyStatus\n */\nexport enum SupplyStatus {\n /**\n * Never sent. Treat the supply as MISSING.\n *\n * @generated from enum value: SUPPLY_UNSPECIFIED = 0;\n */\n SUPPLY_UNSPECIFIED = 0,\n\n /**\n * The supply was read from Polyester chain recently and is current.\n *\n * @generated from enum value: AVAILABLE = 1;\n */\n AVAILABLE = 1,\n\n /**\n * The supply value is the last one read, but it has not been refreshed for\n * longer than expected and may no longer be accurate. Do not size a\n * withdrawal against it as if it were current.\n *\n * @generated from enum value: STALE = 2;\n */\n STALE = 2,\n\n /**\n * No supply is known for the route yet. No supply value or observation\n * time is sent; do not treat the route's supply as zero.\n *\n * @generated from enum value: MISSING = 3;\n */\n MISSING = 3,\n}\n\n/**\n * Describes the enum chain.zipper.v1.SupplyStatus.\n */\nexport const SupplyStatusSchema: GenEnum<SupplyStatus> = /*@__PURE__*/\n enumDesc(file_chain_zipper_v1_zipper, 2);\n\n/**\n * ZipperService exposes deposit and withdraw chain configuration.\n *\n * @generated from service chain.zipper.v1.ZipperService\n */\nexport const ZipperService: GenService<{\n /**\n * Retrieve the supported chains and unified assets used by deposit/withdraw UI flows.\n *\n * @generated from rpc chain.zipper.v1.ZipperService.GetDepositWithdrawConfig\n */\n getDepositWithdrawConfig: {\n methodKind: \"unary\";\n input: typeof GetDepositWithdrawConfigRequestSchema;\n output: typeof GetDepositWithdrawConfigResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_zipper_v1_zipper, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,g7FAAg7F,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAyHv/F,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAkI5C,MAAa,0BACX,0BAAY,6BAA6B,CAAC;;;;;AAgD5C,MAAa,gCACX,0BAAY,6BAA6B,CAAC;;;;;AAoB5C,MAAa,+BACX,0BAAY,6BAA6B,CAAC;;;;;AAwE5C,MAAa,oBACX,0BAAY,6BAA6B,CAAC;;;;;AAkD5C,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AAY5C,MAAa,wCACX,0BAAY,6BAA6B,CAAC;;;;;AAuC5C,MAAa,yCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,IAAY,kBAAL,yBAAA,iBAAA;;;;;;CAML,gBAAA,gBAAA,sBAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,cAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,cAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,wBACX,uBAAS,6BAA6B,CAAC;;;;;;;AAQzC,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,wBAAA,KAAA;;;;;;CAOA,YAAA,YAAA,YAAA,KAAA;;;;;;;CAQA,YAAA,YAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,6BAA6B,CAAC;;;;;;;;AASzC,IAAY,eAAL,yBAAA,cAAA;;;;;;CAML,aAAA,aAAA,wBAAA,KAAA;;;;;;CAOA,aAAA,aAAA,eAAA,KAAA;;;;;;;;CASA,aAAA,aAAA,WAAA,KAAA;;;;;;;CAQA,aAAA,aAAA,aAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,6BAA6B,CAAC;;;;;;AAOzC,MAAa,gBAYX,0BAAY,6BAA6B,CAAC"}
|
package/dist/gen/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { internal_transfer_pb_d_exports } from "./transfer/v1/internal_transfer_
|
|
|
21
21
|
import { api_keys_pb_d_exports } from "./auth/v1/api_keys_pb.js";
|
|
22
22
|
import { policies_pb_d_exports } from "./auth/v1/policies_pb.js";
|
|
23
23
|
import { subaccounts_pb_d_exports } from "./auth/v1/subaccounts_pb.js";
|
|
24
|
+
import { activity_pb_d_exports } from "./auth/v1/activity_pb.js";
|
|
24
25
|
import { address_book_pb_d_exports } from "./auth/v1/address_book_pb.js";
|
|
25
26
|
import { resolve_pb_d_exports } from "./auth/v1/resolve_pb.js";
|
|
26
27
|
import { social_verification_pb_d_exports } from "./auth/v1/social_verification_pb.js";
|
|
@@ -43,10 +44,11 @@ import { ratelimit_pb_d_exports } from "./ratelimit/v1/ratelimit_pb.js";
|
|
|
43
44
|
import { rewards_pb_d_exports } from "./rewards/v1/rewards_pb.js";
|
|
44
45
|
import { quickswap_pb_d_exports } from "./swap/quickswap/v1/quickswap_pb.js";
|
|
45
46
|
import { quickswap_broker_pb_d_exports } from "./swap/quickswap/v1/quickswap_broker_pb.js";
|
|
47
|
+
import { quickswap_explorer_pb_d_exports } from "./swap/quickswap/v1/quickswap_explorer_pb.js";
|
|
46
48
|
import { quickswap_referral_pb_d_exports } from "./swap/quickswap/v1/quickswap_referral_pb.js";
|
|
47
49
|
import { swap_pb_d_exports } from "./swap/v1/swap_pb.js";
|
|
48
50
|
import { system_pb_d_exports } from "./system/v1/system_pb.js";
|
|
49
51
|
import { trade_ws_pb_d_exports } from "./tradews/v1/trade_ws_pb.js";
|
|
50
52
|
import { dust_conversion_pb_d_exports } from "./transfer/v1/dust_conversion_pb.js";
|
|
51
53
|
import { vip_pb_d_exports } from "./vip/v1/vip_pb.js";
|
|
52
|
-
export { address_book_pb_d_exports as addressBookPb, analytics_read_pb_d_exports as analyticsReadPb, api_keys_pb_d_exports as apiKeysPb, asset_info_pb_d_exports as assetInfoPb, assistant_pb_d_exports as assistantPb, auth_pb_d_exports as authPb, auto_withdraw_pb_d_exports as autoWithdrawPb, changelog_pb_d_exports as changelogPb, checkpoints_pb_d_exports as checkpointsPb, claims_pb_d_exports as claimsPb, deposit_pb_d_exports as depositPb, dust_conversion_pb_d_exports as dustConversionPb, fees_pb_d_exports as feesPb, guard_signer_pb_d_exports as guardSignerPb, heatmap_pb_d_exports as heatmapPb, internal_transfer_pb_d_exports as internalTransferPb, catalog_pb_d_exports as ledgerCatalogPb, ledger_read_pb_d_exports as ledgerReadPb, lifecycle_read_pb_d_exports as lifecycleReadPb, types_pb_d_exports as lifecycleTypesPb, marketdata_pb_d_exports as marketdataPb, marketoverview_pb_d_exports as marketoverviewPb, mfa_pb_d_exports as mfaPb, notifications_pb_d_exports as notificationsPb, orderbook_pb_d_exports as orderbookPb, orders_pb_d_exports as ordersPb, orders_read_pb_d_exports as ordersReadPb, policies_pb_d_exports as policiesPb, options_pb_d_exports as polyesterOptionsPb, price_alerts_pb_d_exports as priceAlertsPb, private_ws_pb_d_exports as privateWsPb, profile_pb_d_exports as profilePb, quickswap_broker_pb_d_exports as quickswapBrokerPb, quickswap_pb_d_exports as quickswapPb, quickswap_referral_pb_d_exports as quickswapReferralPb, types_pb_d_exports$1 as rateLimitPb, resolve_pb_d_exports as resolvePb, rewards_pb_d_exports as rewardsPb, social_verification_pb_d_exports as socialVerificationPb, statement_export_pb_d_exports as statementExportPb, subaccounts_pb_d_exports as subaccountsPb, swap_pb_d_exports as swapPb, system_pb_d_exports as systemPb, trade_ws_pb_d_exports as tradeWsPb, ratelimit_pb_d_exports as tradingRateLimitPb, triggers_pb_d_exports as triggersPb, u128_pb_d_exports as u128Pb, vip_pb_d_exports as vipPb, withdraw_pb_d_exports as withdrawPb, zipper_pb_d_exports as zipperPb, reason_pb_d_exports as zipperReasonPb };
|
|
54
|
+
export { activity_pb_d_exports as activityPb, address_book_pb_d_exports as addressBookPb, analytics_read_pb_d_exports as analyticsReadPb, api_keys_pb_d_exports as apiKeysPb, asset_info_pb_d_exports as assetInfoPb, assistant_pb_d_exports as assistantPb, auth_pb_d_exports as authPb, auto_withdraw_pb_d_exports as autoWithdrawPb, changelog_pb_d_exports as changelogPb, checkpoints_pb_d_exports as checkpointsPb, claims_pb_d_exports as claimsPb, deposit_pb_d_exports as depositPb, dust_conversion_pb_d_exports as dustConversionPb, fees_pb_d_exports as feesPb, guard_signer_pb_d_exports as guardSignerPb, heatmap_pb_d_exports as heatmapPb, internal_transfer_pb_d_exports as internalTransferPb, catalog_pb_d_exports as ledgerCatalogPb, ledger_read_pb_d_exports as ledgerReadPb, lifecycle_read_pb_d_exports as lifecycleReadPb, types_pb_d_exports as lifecycleTypesPb, marketdata_pb_d_exports as marketdataPb, marketoverview_pb_d_exports as marketoverviewPb, mfa_pb_d_exports as mfaPb, notifications_pb_d_exports as notificationsPb, orderbook_pb_d_exports as orderbookPb, orders_pb_d_exports as ordersPb, orders_read_pb_d_exports as ordersReadPb, policies_pb_d_exports as policiesPb, options_pb_d_exports as polyesterOptionsPb, price_alerts_pb_d_exports as priceAlertsPb, private_ws_pb_d_exports as privateWsPb, profile_pb_d_exports as profilePb, quickswap_broker_pb_d_exports as quickswapBrokerPb, quickswap_explorer_pb_d_exports as quickswapExplorerPb, quickswap_pb_d_exports as quickswapPb, quickswap_referral_pb_d_exports as quickswapReferralPb, types_pb_d_exports$1 as rateLimitPb, resolve_pb_d_exports as resolvePb, rewards_pb_d_exports as rewardsPb, social_verification_pb_d_exports as socialVerificationPb, statement_export_pb_d_exports as statementExportPb, subaccounts_pb_d_exports as subaccountsPb, swap_pb_d_exports as swapPb, system_pb_d_exports as systemPb, trade_ws_pb_d_exports as tradeWsPb, ratelimit_pb_d_exports as tradingRateLimitPb, triggers_pb_d_exports as triggersPb, u128_pb_d_exports as u128Pb, vip_pb_d_exports as vipPb, withdraw_pb_d_exports as withdrawPb, zipper_pb_d_exports as zipperPb, reason_pb_d_exports as zipperReasonPb };
|
package/dist/gen/index.js
CHANGED
|
@@ -2,13 +2,14 @@ import { options_pb_exports } from "./polyester/api/options_pb.js";
|
|
|
2
2
|
import { mfa_pb_exports } from "./auth/v1/mfa_pb.js";
|
|
3
3
|
import { auth_pb_exports } from "./auth/v1/auth_pb.js";
|
|
4
4
|
import { profile_pb_exports } from "./auth/v1/profile_pb.js";
|
|
5
|
-
import { resolve_pb_exports } from "./auth/v1/resolve_pb.js";
|
|
6
5
|
import { api_keys_pb_exports } from "./auth/v1/api_keys_pb.js";
|
|
7
6
|
import { policies_pb_exports } from "./auth/v1/policies_pb.js";
|
|
8
7
|
import { catalog_pb_exports } from "./ledger/v1/catalog_pb.js";
|
|
9
8
|
import { u128_pb_exports } from "./polyester/type/v1/u128_pb.js";
|
|
10
9
|
import { ledger_read_pb_exports } from "./ledger/read/v1/ledger_read_pb.js";
|
|
11
10
|
import { subaccounts_pb_exports } from "./auth/v1/subaccounts_pb.js";
|
|
11
|
+
import { activity_pb_exports } from "./auth/v1/activity_pb.js";
|
|
12
|
+
import { resolve_pb_exports } from "./auth/v1/resolve_pb.js";
|
|
12
13
|
import { address_book_pb_exports } from "./auth/v1/address_book_pb.js";
|
|
13
14
|
import { price_alerts_pb_exports } from "./alerts/v1/price_alerts_pb.js";
|
|
14
15
|
import { deposit_pb_exports } from "./chain/deposit/v1/deposit_pb.js";
|
|
@@ -46,7 +47,8 @@ import { zipper_pb_exports } from "./chain/zipper/v1/zipper_pb.js";
|
|
|
46
47
|
import { private_ws_pb_exports } from "./privatews/v1/private_ws_pb.js";
|
|
47
48
|
import { quickswap_pb_exports } from "./swap/quickswap/v1/quickswap_pb.js";
|
|
48
49
|
import { quickswap_broker_pb_exports } from "./swap/quickswap/v1/quickswap_broker_pb.js";
|
|
50
|
+
import { quickswap_explorer_pb_exports } from "./swap/quickswap/v1/quickswap_explorer_pb.js";
|
|
49
51
|
import { quickswap_referral_pb_exports } from "./swap/quickswap/v1/quickswap_referral_pb.js";
|
|
50
52
|
import { swap_pb_exports } from "./swap/v1/swap_pb.js";
|
|
51
53
|
import { trade_ws_pb_exports } from "./tradews/v1/trade_ws_pb.js";
|
|
52
|
-
export { address_book_pb_exports as addressBookPb, analytics_read_pb_exports as analyticsReadPb, api_keys_pb_exports as apiKeysPb, asset_info_pb_exports as assetInfoPb, assistant_pb_exports as assistantPb, auth_pb_exports as authPb, auto_withdraw_pb_exports as autoWithdrawPb, changelog_pb_exports as changelogPb, checkpoints_pb_exports as checkpointsPb, claims_pb_exports as claimsPb, deposit_pb_exports as depositPb, dust_conversion_pb_exports as dustConversionPb, fees_pb_exports as feesPb, guard_signer_pb_exports as guardSignerPb, heatmap_pb_exports as heatmapPb, internal_transfer_pb_exports as internalTransferPb, catalog_pb_exports as ledgerCatalogPb, ledger_read_pb_exports as ledgerReadPb, lifecycle_read_pb_exports as lifecycleReadPb, types_pb_exports as lifecycleTypesPb, marketdata_pb_exports as marketdataPb, marketoverview_pb_exports as marketoverviewPb, mfa_pb_exports as mfaPb, notifications_pb_exports as notificationsPb, orderbook_pb_exports as orderbookPb, orders_pb_exports as ordersPb, orders_read_pb_exports as ordersReadPb, policies_pb_exports as policiesPb, options_pb_exports as polyesterOptionsPb, price_alerts_pb_exports as priceAlertsPb, private_ws_pb_exports as privateWsPb, profile_pb_exports as profilePb, quickswap_broker_pb_exports as quickswapBrokerPb, quickswap_pb_exports as quickswapPb, quickswap_referral_pb_exports as quickswapReferralPb, types_pb_exports$1 as rateLimitPb, resolve_pb_exports as resolvePb, rewards_pb_exports as rewardsPb, social_verification_pb_exports as socialVerificationPb, statement_export_pb_exports as statementExportPb, subaccounts_pb_exports as subaccountsPb, swap_pb_exports as swapPb, system_pb_exports as systemPb, trade_ws_pb_exports as tradeWsPb, ratelimit_pb_exports as tradingRateLimitPb, triggers_pb_exports as triggersPb, u128_pb_exports as u128Pb, vip_pb_exports as vipPb, withdraw_pb_exports as withdrawPb, zipper_pb_exports as zipperPb, reason_pb_exports as zipperReasonPb };
|
|
54
|
+
export { activity_pb_exports as activityPb, address_book_pb_exports as addressBookPb, analytics_read_pb_exports as analyticsReadPb, api_keys_pb_exports as apiKeysPb, asset_info_pb_exports as assetInfoPb, assistant_pb_exports as assistantPb, auth_pb_exports as authPb, auto_withdraw_pb_exports as autoWithdrawPb, changelog_pb_exports as changelogPb, checkpoints_pb_exports as checkpointsPb, claims_pb_exports as claimsPb, deposit_pb_exports as depositPb, dust_conversion_pb_exports as dustConversionPb, fees_pb_exports as feesPb, guard_signer_pb_exports as guardSignerPb, heatmap_pb_exports as heatmapPb, internal_transfer_pb_exports as internalTransferPb, catalog_pb_exports as ledgerCatalogPb, ledger_read_pb_exports as ledgerReadPb, lifecycle_read_pb_exports as lifecycleReadPb, types_pb_exports as lifecycleTypesPb, marketdata_pb_exports as marketdataPb, marketoverview_pb_exports as marketoverviewPb, mfa_pb_exports as mfaPb, notifications_pb_exports as notificationsPb, orderbook_pb_exports as orderbookPb, orders_pb_exports as ordersPb, orders_read_pb_exports as ordersReadPb, policies_pb_exports as policiesPb, options_pb_exports as polyesterOptionsPb, price_alerts_pb_exports as priceAlertsPb, private_ws_pb_exports as privateWsPb, profile_pb_exports as profilePb, quickswap_broker_pb_exports as quickswapBrokerPb, quickswap_explorer_pb_exports as quickswapExplorerPb, quickswap_pb_exports as quickswapPb, quickswap_referral_pb_exports as quickswapReferralPb, types_pb_exports$1 as rateLimitPb, resolve_pb_exports as resolvePb, rewards_pb_exports as rewardsPb, social_verification_pb_exports as socialVerificationPb, statement_export_pb_exports as statementExportPb, subaccounts_pb_exports as subaccountsPb, swap_pb_exports as swapPb, system_pb_exports as systemPb, trade_ws_pb_exports as tradeWsPb, ratelimit_pb_exports as tradingRateLimitPb, triggers_pb_exports as triggersPb, u128_pb_exports as u128Pb, vip_pb_exports as vipPb, withdraw_pb_exports as withdrawPb, zipper_pb_exports as zipperPb, reason_pb_exports as zipperReasonPb };
|