@polyester/sdk 0.36.0-devnet-20261118184607 → 0.36.0-devnet-20261119010940
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 +28 -2
- 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 +5 -6
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +1 -1
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +70 -9
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +16 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +74 -5
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +58 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.d.ts +382 -0
- package/dist/gen/auth/v1/connected_apps_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/connected_apps_pb.js +107 -0
- package/dist/gen/auth/v1/connected_apps_pb.js.map +1 -0
- package/dist/gen/auth/v1/mfa_pb.d.ts +2 -140
- package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +8 -80
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +164 -41
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +36 -3
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +4 -4
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +17 -10
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +3 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +2 -1
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +8 -5
- package/dist/gen/index.js +8 -5
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +3 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +9 -58
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.js +8 -57
- package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +141 -4
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.js +94 -16
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +14 -12
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +6 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +66 -18
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +8 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +2 -1
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +2 -1
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts +66 -0
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts.map +1 -0
- package/dist/gen/polyester/api/v1/request_error_pb.js +49 -0
- package/dist/gen/polyester/api/v1/request_error_pb.js.map +1 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.d.ts +98 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.d.ts.map +1 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.js +104 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.js.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +42 -23
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +14 -2
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +126 -13
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +100 -28
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +5 -3
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +25 -3
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +18 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/services/account-activity/account-activity.schemas.d.ts +2 -2
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/api-keys/api-keys.codecs.d.ts +6 -1
- package/dist/services/api-keys/api-keys.codecs.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.codecs.js +19 -7
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +12 -4
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +15 -6
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.types.d.ts +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +25 -25
- package/dist/services/assistant/assistant.schemas.d.ts +1 -1
- package/dist/services/auth/auth.d.ts +4 -0
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +12 -2
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/connected-apps/connected-apps.d.ts +46 -0
- package/dist/services/connected-apps/connected-apps.d.ts.map +1 -0
- package/dist/services/connected-apps/connected-apps.js +69 -0
- package/dist/services/connected-apps/connected-apps.js.map +1 -0
- package/dist/services/connected-apps/connected-apps.schemas.d.ts +132 -0
- package/dist/services/connected-apps/connected-apps.schemas.d.ts.map +1 -0
- package/dist/services/connected-apps/connected-apps.schemas.js +68 -0
- package/dist/services/connected-apps/connected-apps.schemas.js.map +1 -0
- package/dist/services/connected-apps/connected-apps.types.d.ts +2 -0
- package/dist/services/connected-apps/service.d.ts +8 -0
- package/dist/services/connected-apps/service.d.ts.map +1 -0
- package/dist/services/connected-apps/service.js +9 -0
- package/dist/services/connected-apps/service.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.codecs.d.ts +1 -0
- package/dist/services/heatmap/heatmap.codecs.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.codecs.js +2 -27
- package/dist/services/heatmap/heatmap.codecs.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +9 -8
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.js +4 -3
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +2 -2
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +52 -52
- package/dist/services/notifications/notifications.codecs.d.ts +6 -3
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
- package/dist/services/notifications/notifications.codecs.js +14 -3
- package/dist/services/notifications/notifications.codecs.js.map +1 -1
- package/dist/services/notifications/notifications.schemas.d.ts +97 -3
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
- package/dist/services/notifications/notifications.schemas.js +18 -1
- package/dist/services/notifications/notifications.schemas.js.map +1 -1
- package/dist/services/notifications/notifications.types.d.ts +2 -2
- package/dist/services/orderbook/orderbook.codecs.js +1 -1
- package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +2 -2
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +7 -9
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +3 -6
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +5 -5
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +6 -6
- package/dist/services/orders/orders-batch.schemas.d.ts +78 -74
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +2 -0
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +18 -10
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +7 -2
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +14 -14
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +4 -1
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +5 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +25 -15
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +3 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/policies/shared.codecs.js +25 -5
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +4 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +5 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +11 -3
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +4 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.codecs.d.ts +1 -1
- package/dist/services/rate-limits/rate-limits.codecs.js +2 -1
- package/dist/services/rate-limits/rate-limits.codecs.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +4 -4
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.js +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +22 -22
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +43 -43
- package/dist/services/triggers/triggers.codecs.d.ts.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +2 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/depth-tier.js +46 -0
- package/dist/shared/depth-tier.js.map +1 -0
- package/dist/shared/error-detail.d.ts +6 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +2 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/request.js +16 -0
- package/dist/shared/error-details/request.js.map +1 -0
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +6 -4
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -937,7 +937,9 @@ declare const WithdrawService: GenService<{
|
|
|
937
937
|
/**
|
|
938
938
|
* Create or return one wallet/JWT withdraw from Trading.
|
|
939
939
|
* Root-owner Trading to Funding and root-owner withdrawals to explicitly
|
|
940
|
-
* whitelisted external destinations accept
|
|
940
|
+
* whitelisted external destinations accept an MFA-elevated session, one
|
|
941
|
+
* that completed an MFA challenge in the last 30 minutes (otherwise
|
|
942
|
+
* AUTH_MFA_ELEVATION_REQUIRED). Other external,
|
|
941
943
|
* cross-owner, and delegated movements require a fresh single-use step-up.
|
|
942
944
|
*
|
|
943
945
|
* @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;;cAgBa,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;;;;;;EAYN;;;;;;;EAQA,cAAc;;;;;;;EAQd,cAAc;;;;;;cAOH,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;;;;;EAWA;;;;;;;;;;;EAYA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;;EAQV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;;EAQA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;;KAStD,qCAAqC;;;;;;;;;EAS/C;;;;;;EAOA;;;;;;cAOW,0CAA0C,WAAW;;;;;;;KAStD,sCAAsC;;;;;;EAMhD;;;;;;EAOA,MAAM;;;;;;EAON;;;;;;EAOA;;;;;;cAOW,2CAA2C,WAAW;;;;;;;KASvD,2BAA2B;;;;;;EAMrC;;;;;;cAOW,gCAAgC,WAAW;;;;;;KAQ5C,gBAAgB;;;;;;;EAO1B;;;;;;;EAQA;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA,YAAY;;;;;;cAOD,qBAAqB,WA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eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;EAYjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl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XN0GiwuY2hhaW4ud2l0aGRyYXcudjEuR2V0V2FsbGV0QmFsYW5jZXNSZXNwb25zZSIAEo4BChtWYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb24SNS5jaGFpbi53aXRoZHJhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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 CreateWalletTradingW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C,CAAC"}
|
|
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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl9mbG9vcl9lMTgYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EjAKDHBheWFibGVfZnJvbRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKH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Jhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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 an MFA-elevated session, one\n * that completed an MFA challenge in the last 30 minutes (otherwise\n * AUTH_MFA_ELEVATION_REQUIRED). 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"],"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|
* Get effective maker and taker fee rates, the rates an order reserves its
|
|
321
321
|
* fee at, and the components of the effective rates for the authenticated
|
|
322
|
-
* caller's root account or selected subaccount.
|
|
322
|
+
* caller's root account or selected subaccount. Costs one unit of the root
|
|
323
|
+
* account's trading read limit per 100 symbols returned, rounded up.
|
|
323
324
|
*
|
|
324
325
|
* @generated from rpc fees.v1.FeeService.GetSpotFeeRates
|
|
325
326
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fees_pb.d.ts","names":[],"sources":["../../../../src/gen/fees/v1/fees_pb.ts"],"mappings":";;;;;;;;;cAca,mBAAmB;;;;;;;;KAUpB,cAAc;;;;;;EAMxB;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;EAsBA;;;;;;;;;;EAWA;;;;;;EAOA,YAAY;;;;;;;;;;EAWZ,eAAe;;;;;;cAOJ,mBAAmB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+B/B,uBAAuB;;;;;;;;;EASjC;;;;;;;;;EAUA;;;;;;;EAQA,mBAAmB;;;;;;;;EASnB,kBAAkB;;;;;;;EAQlB,mBAAmB;;;;;;cAOR,4BAA4B,WAAW;;;;;;;KASxC,oBAAoB;;;;;;;EAO9B;;;;;;;EAQA;;;;;;EAOA,gBAAgB;;;;;;;EAQhB,cAAc;;;;;;cAOH,yBAAyB,WAAW;;;;;;KAQrC,kBAAkB;;;;;;;;EAQ5B;;;;;;;EAQA;;;;;;;;EASA;;;;;;EAOA,gBAAgB;;;;;;;EAQhB,cAAc;;;;;;cAOH,uBAAuB,WAAW;;;;;;;KASnC,yBAAyB;;;;;;;;EAQnC;;;;;;;;EASA;;;;;;cAOW,8BAA8B,WAAW;;;;;;;KAS1C,0BAA0B;;;;;;;;EAQpC,UAAU;;;;;;cAOC,+BAA+B,WAAW;;;;;;cAQ1C,YAAY
|
|
1
|
+
{"version":3,"file":"fees_pb.d.ts","names":[],"sources":["../../../../src/gen/fees/v1/fees_pb.ts"],"mappings":";;;;;;;;;cAca,mBAAmB;;;;;;;;KAUpB,cAAc;;;;;;EAMxB;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;EAsBA;;;;;;;;;;EAWA;;;;;;EAOA,YAAY;;;;;;;;;;EAWZ,eAAe;;;;;;cAOJ,mBAAmB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+B/B,uBAAuB;;;;;;;;;EASjC;;;;;;;;;EAUA;;;;;;;EAQA,mBAAmB;;;;;;;;EASnB,kBAAkB;;;;;;;EAQlB,mBAAmB;;;;;;cAOR,4BAA4B,WAAW;;;;;;;KASxC,oBAAoB;;;;;;;EAO9B;;;;;;;EAQA;;;;;;EAOA,gBAAgB;;;;;;;EAQhB,cAAc;;;;;;cAOH,yBAAyB,WAAW;;;;;;KAQrC,kBAAkB;;;;;;;;EAQ5B;;;;;;;EAQA;;;;;;;;EASA;;;;;;EAOA,gBAAgB;;;;;;;EAQhB,cAAc;;;;;;cAOH,uBAAuB,WAAW;;;;;;;KASnC,yBAAyB;;;;;;;;EAQnC;;;;;;;;EASA;;;;;;cAOW,8BAA8B,WAAW;;;;;;;KAS1C,0BAA0B;;;;;;;;EAQpC,UAAU;;;;;;cAOC,+BAA+B,WAAW;;;;;;cAQ1C,YAAY;;;;;;;;;EASvB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fees_pb.js","names":[],"sources":["../../../../src/gen/fees/v1/fees_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file fees/v1/fees.proto (package fees.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { 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 fees/v1/fees.proto.\n */\nexport const file_fees_v1_fees: GenFile = /*@__PURE__*/\n fileDesc(\"ChJmZWVzL3YxL2ZlZXMucHJvdG8SB2ZlZXMudjEizAIKC1Nwb3RGZWVSYXRlEhMKCXN5bWJvbF9pZBgBIAEoDUIAEiAKFm1ha2VyX2ZlZV9yYXRlX3BlcmNlbnQYAyABKAlCABIgChZ0YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAQgASgJQgASEgoIdmlwX3RpZXIYBSABKA1CABIiChhyZXNlcnZlX2ZlZV9yYXRlX3BlcmNlbnQYBiABKAlCABIsCiJwb3N0X29ubHlfcmVzZXJ2ZV9mZWVfcmF0ZV9wZXJjZW50GAcgASgJQgASMgoJYnJlYWtkb3duGAggASgLMh0uZmVlcy52MS5TcG90RmVlUmF0ZUJyZWFrZG93bkIAEjcKDm5leHRfY2hhbmdlX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBQhEKD19uZXh0X2NoYW5nZV9hdCK7AgoUU3BvdEZlZVJhdGVCcmVha2Rvd24SJQobdGllcl9tYWtlcl9mZWVfcmF0ZV9wZXJjZW50GAEgASgJQgASJQobdGllcl90YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAIgASgJQgASOgoRbWFya2V0X211bHRpcGxpZXIYAyABKAsyGi5mZWVzLnYxLlNwb3RGZWVNdWx0aXBsaWVySACIAQESMwoRYWNjb3VudF9kaXNjb3VudHMYBCADKAsyGC5mZWVzLnYxLlNwb3RGZWVEaXNjb3VudBI4ChFyZWZlcnJhbF9kaXNjb3VudBgFIAEoCzIYLmZlZXMudjEuU3BvdEZlZURpc2NvdW50SAGIAQFCFAoSX21hcmtldF9tdWx0aXBsaWVyQhQKEl9yZWZlcnJhb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_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * SpotFeeRate describes, for one spot market and account target, the\n * effective maker and taker rates, the rates an order reserves its fee at,\n * and the components the effective rates are computed from.\n *\n * @generated from message fees.v1.SpotFeeRate\n */\nexport type SpotFeeRate = Message<\"fees.v1.SpotFeeRate\"> & {\n /**\n * Stable numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Effective maker fee rate encoded as a base-10 percentage string without a\n * percent sign. Values are between -100 and 100 inclusive. It is computed\n * from breakdown as SpotFeeRateBreakdown describes.\n *\n * @generated from field: string maker_fee_rate_percent = 3;\n */\n makerFeeRatePercent: string;\n\n /**\n * Effective taker fee rate encoded as a non-negative base-10 percentage\n * string without a percent sign. Values are between 0 and 100 inclusive. It\n * is computed from breakdown as SpotFeeRateBreakdown describes.\n *\n * @generated from field: string taker_fee_rate_percent = 4;\n */\n takerFeeRatePercent: string;\n\n /**\n * VIP tier used to resolve these rates, in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 vip_tier = 5;\n */\n vipTier: number;\n\n /**\n * Fee rate a new order on this market reserves its fee at when the fee is\n * paid in the quote asset, encoded as a non-negative base-10 percentage\n * string without a percent sign, between 0 and 100 inclusive. It is the\n * highest maker or taker rate of every VIP tier under the fee schedule in\n * force on this market, so it is at least the effective rates and\n * discounts never lower it. A buy limit order that pays its fee in the\n * quote asset reserves N + F, computed in units of 10^-18 of the quote\n * asset whatever the quote asset's own decimals: N is its price times its\n * quantity rounded up to 10^-18, and F is N times this rate rounded up to\n * 10^-18. It has sufficient quote balance when N + F is at most the\n * available quote balance, compared in the same 10^-18 units; other order\n * validation and market limits still apply. A post-only limit order\n * reserves at post_only_reserve_fee_rate_percent instead, and a buy sized\n * by a quote amount reserves at the lower of this rate and\n * taker_fee_rate_percent. Fills charge the effective rate, and the rest of\n * the reserve is released as the order fills or ends.\n *\n * @generated from field: string reserve_fee_rate_percent = 6;\n */\n reserveFeeRatePercent: string;\n\n /**\n * Fee rate a new post-only limit order on this market reserves its fee at\n * when the fee is paid in the quote asset, encoded as a non-negative\n * base-10 percentage string without a percent sign, between 0 and 100\n * inclusive: the highest maker rate of every VIP tier under the fee\n * schedule in force on this market, as reserve_fee_rate_percent describes.\n *\n * @generated from field: string post_only_reserve_fee_rate_percent = 7;\n */\n postOnlyReserveFeeRatePercent: string;\n\n /**\n * Components of the effective maker and taker rates in force.\n *\n * @generated from field: fees.v1.SpotFeeRateBreakdown breakdown = 8;\n */\n breakdown?: SpotFeeRateBreakdown | undefined;\n\n /**\n * Earliest scheduled time at which a component of these rates starts or\n * ends: a fee schedule or discount in breakdown ending, or a VIP tier, fee\n * policy, fee schedule or discount not yet in force starting. The effective\n * and reserve rates can change then, or stay the same. Omitted when no\n * change is scheduled.\n *\n * @generated from field: optional google.protobuf.Timestamp next_change_at = 9;\n */\n nextChangeAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeRate.\n * Use `create(SpotFeeRateSchema)` to create a new message.\n */\nexport const SpotFeeRateSchema: GenMessage<SpotFeeRate> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 0);\n\n/**\n * SpotFeeRateBreakdown lists the components of one market's effective fee\n * rates in force. A client reproduces maker_fee_rate_percent and\n * taker_fee_rate_percent exactly by applying the steps below to the maker\n * and the taker rate separately, in this order, in integer arithmetic. Work\n * in units of 0.0000001 percent: write every rate as an integer R, the\n * percentage times 10,000,000. Write every multiplier and discount as an\n * integer M or D, the percentage times 100. trunc(x / 10000) divides and\n * rounds toward zero.\n *\n * 1. Start from the VIP tier rate: R = tier_maker_fee_rate_percent or\n * tier_taker_fee_rate_percent.\n * 2. When market_multiplier is set, multiply by it:\n * R = trunc((R × M + 5000) / 10000).\n * 3. When R is above 0, let D be the highest maker or taker discount of\n * account_discounts, 0 when the list is empty. When D is above 0, apply\n * it: R = trunc((R × (10000 − D) + 5000) / 10000).\n * 4. When R is above 0 and referral_discount is set with a maker or taker\n * discount D above 0, apply it the same way:\n * R = trunc((R × (10000 − D) + 5000) / 10000).\n *\n * The result is the effective rate times 10,000,000. The steps multiply: a\n * 10% account discount and a 20% referral discount on a 0.1% rate leave\n * 0.1% × 0.9 × 0.8 = 0.072%. A negative maker rate is a rebate, which only\n * the multiplier scales.\n *\n * @generated from message fees.v1.SpotFeeRateBreakdown\n */\nexport type SpotFeeRateBreakdown = Message<\"fees.v1.SpotFeeRateBreakdown\"> & {\n /**\n * Maker fee rate of the account's VIP tier under the fee policy in force,\n * before the market multiplier and discounts, encoded as a base-10\n * percentage string without a percent sign. Values are between -100 and\n * 100 inclusive; a negative rate is a rebate.\n *\n * @generated from field: string tier_maker_fee_rate_percent = 1;\n */\n tierMakerFeeRatePercent: string;\n\n /**\n * Taker fee rate of the account's VIP tier under the fee policy in force,\n * before the market multiplier and discounts, encoded as a non-negative\n * base-10 percentage string without a percent sign, between 0 and 100\n * inclusive.\n *\n * @generated from field: string tier_taker_fee_rate_percent = 2;\n */\n tierTakerFeeRatePercent: string;\n\n /**\n * Fee schedule multipliers in force on this market. Omitted when none is\n * in force, which leaves the tier rates unchanged.\n *\n * @generated from field: optional fees.v1.SpotFeeMultiplier market_multiplier = 3;\n */\n marketMultiplier?: SpotFeeMultiplier | undefined;\n\n /**\n * Account discounts in force on this market, in no particular order. The\n * highest maker discount and the highest taker discount apply, each\n * possibly from a different discount.\n *\n * @generated from field: repeated fees.v1.SpotFeeDiscount account_discounts = 4;\n */\n accountDiscounts: SpotFeeDiscount[];\n\n /**\n * Referral discount in force for the account. Omitted when none is in\n * force.\n *\n * @generated from field: optional fees.v1.SpotFeeDiscount referral_discount = 5;\n */\n referralDiscount?: SpotFeeDiscount | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeRateBreakdown.\n * Use `create(SpotFeeRateBreakdownSchema)` to create a new message.\n */\nexport const SpotFeeRateBreakdownSchema: GenMessage<SpotFeeRateBreakdown> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 1);\n\n/**\n * SpotFeeMultiplier is the fee schedule of one market, which scales the VIP\n * tier rates.\n *\n * @generated from message fees.v1.SpotFeeMultiplier\n */\nexport type SpotFeeMultiplier = Message<\"fees.v1.SpotFeeMultiplier\"> & {\n /**\n * Maker rate multiplier encoded as a base-10 percentage string without a\n * percent sign, between 0 and 100 inclusive with at most two decimals.\n *\n * @generated from field: string maker_multiplier_percent = 1;\n */\n makerMultiplierPercent: string;\n\n /**\n * Taker rate multiplier encoded as a base-10 percentage string without a\n * percent sign, between 0 and 100 inclusive with at most two decimals.\n *\n * @generated from field: string taker_multiplier_percent = 2;\n */\n takerMultiplierPercent: string;\n\n /**\n * Time from which the fee schedule is in force, inclusive.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 3;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Time at which the fee schedule ends, exclusive. Omitted when it has no\n * scheduled end.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_to = 4;\n */\n effectiveTo?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeMultiplier.\n * Use `create(SpotFeeMultiplierSchema)` to create a new message.\n */\nexport const SpotFeeMultiplierSchema: GenMessage<SpotFeeMultiplier> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 2);\n\n/**\n * SpotFeeDiscount is one fee discount of the account's.\n *\n * @generated from message fees.v1.SpotFeeDiscount\n */\nexport type SpotFeeDiscount = Message<\"fees.v1.SpotFeeDiscount\"> & {\n /**\n * Maker fee discount encoded as a base-10 percentage string without a\n * percent sign, with at most two decimals. It lowers a positive maker rate\n * only.\n *\n * @generated from field: string maker_discount_percent = 1;\n */\n makerDiscountPercent: string;\n\n /**\n * Taker fee discount encoded as a base-10 percentage string without a\n * percent sign, with at most two decimals.\n *\n * @generated from field: string taker_discount_percent = 2;\n */\n takerDiscountPercent: string;\n\n /**\n * True when the discount applies to every spot market; false when it\n * applies to selected markets, this one included. A referral discount\n * always applies to every spot market.\n *\n * @generated from field: bool all_markets = 3;\n */\n allMarkets: boolean;\n\n /**\n * Time from which the discount is in force, inclusive.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 4;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Time at which the discount ends, exclusive. Omitted when it has no\n * scheduled end.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_to = 5;\n */\n effectiveTo?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeDiscount.\n * Use `create(SpotFeeDiscountSchema)` to create a new message.\n */\nexport const SpotFeeDiscountSchema: GenMessage<SpotFeeDiscount> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 3);\n\n/**\n * GetSpotFeeRatesRequest requests effective spot fee rates for one account\n * target and an optional set of markets.\n *\n * @generated from message fees.v1.GetSpotFeeRatesRequest\n */\nexport type GetSpotFeeRatesRequest = Message<\"fees.v1.GetSpotFeeRatesRequest\"> & {\n /**\n * Optional public subaccount ID. When omitted, subaccount-scoped API keys\n * use their bound subaccount; other callers use their authenticated root\n * account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional unique spot market identifier filter. When empty, all currently\n * listed, non-disabled spot markets are returned. At most 100 identifiers\n * may be requested.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n};\n\n/**\n * Describes the message fees.v1.GetSpotFeeRatesRequest.\n * Use `create(GetSpotFeeRatesRequestSchema)` to create a new message.\n */\nexport const GetSpotFeeRatesRequestSchema: GenMessage<GetSpotFeeRatesRequest> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 4);\n\n/**\n * GetSpotFeeRatesResponse contains spot fee rates ordered by numeric market\n * identifier ascending.\n *\n * @generated from message fees.v1.GetSpotFeeRatesResponse\n */\nexport type GetSpotFeeRatesResponse = Message<\"fees.v1.GetSpotFeeRatesResponse\"> & {\n /**\n * Effective spot fee rows ordered by symbol_id ascending. The result is a\n * finite snapshot of the requested or currently listed, non-disabled spot\n * market catalog and is not paginated.\n *\n * @generated from field: repeated fees.v1.SpotFeeRate fee_rates = 1;\n */\n feeRates: SpotFeeRate[];\n};\n\n/**\n * Describes the message fees.v1.GetSpotFeeRatesResponse.\n * Use `create(GetSpotFeeRatesResponseSchema)` to create a new message.\n */\nexport const GetSpotFeeRatesResponseSchema: GenMessage<GetSpotFeeRatesResponse> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 5);\n\n/**\n * FeeService serves authenticated effective spot trading fee rates.\n *\n * @generated from service fees.v1.FeeService\n */\nexport const FeeService: GenService<{\n /**\n * Get effective maker and taker fee rates, the rates an order reserves its\n * fee at, and the components of the effective rates for the authenticated\n * caller's root account or selected subaccount.\n *\n * @generated from rpc fees.v1.FeeService.GetSpotFeeRates\n */\n getSpotFeeRates: {\n methodKind: \"unary\";\n input: typeof GetSpotFeeRatesRequestSchema;\n output: typeof GetSpotFeeRatesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_fees_v1_fees, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAAa,oBACX,uBAAS,o7DAAo7D,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAkG3/D,MAAa,oBACX,0BAAY,mBAAmB,CAAC;;;;;AAiFlC,MAAa,6BACX,0BAAY,mBAAmB,CAAC;;;;;AA6ClC,MAAa,0BACX,0BAAY,mBAAmB,CAAC;;;;;AAsDlC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AAgClC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAuBlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,MAAa,aAcX,0BAAY,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"fees_pb.js","names":[],"sources":["../../../../src/gen/fees/v1/fees_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file fees/v1/fees.proto (package fees.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { 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 fees/v1/fees.proto.\n */\nexport const file_fees_v1_fees: GenFile = /*@__PURE__*/\n fileDesc(\"ChJmZWVzL3YxL2ZlZXMucHJvdG8SB2ZlZXMudjEizAIKC1Nwb3RGZWVSYXRlEhMKCXN5bWJvbF9pZBgBIAEoDUIAEiAKFm1ha2VyX2ZlZV9yYXRlX3BlcmNlbnQYAyABKAlCABIgChZ0YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAQgASgJQgASEgoIdmlwX3RpZXIYBSABKA1CABIiChhyZXNlcnZlX2ZlZV9yYXRlX3BlcmNlbnQYBiABKAlCABIsCiJwb3N0X29ubHlfcmVzZXJ2ZV9mZWVfcmF0ZV9wZXJjZW50GAcgASgJQgASMgoJYnJlYWtkb3duGAggASgLMh0uZmVlcy52MS5TcG90RmVlUmF0ZUJyZWFrZG93bkIAEjcKDm5leHRfY2hhbmdlX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBQhEKD19uZXh0X2NoYW5nZV9hdCK7AgoUU3BvdEZlZVJhdGVCcmVha2Rvd24SJQobdGllcl9tYWtlcl9mZWVfcmF0ZV9wZXJjZW50GAEgASgJQgASJQobdGllcl90YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAIgASgJQgASOgoRbWFya2V0X211bHRpcGxpZXIYAyABKAsyGi5mZWVzLnYxLlNwb3RGZWVNdWx0aXBsaWVySACIAQESMwoRYWNjb3VudF9kaXNjb3VudHMYBCADKAsyGC5mZWVzLnYxLlNwb3RGZWVEaXNjb3V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ZlZVJhdGVzUmVzcG9uc2UiABoAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vZmVlcy92MTtmZWVzdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * SpotFeeRate describes, for one spot market and account target, the\n * effective maker and taker rates, the rates an order reserves its fee at,\n * and the components the effective rates are computed from.\n *\n * @generated from message fees.v1.SpotFeeRate\n */\nexport type SpotFeeRate = Message<\"fees.v1.SpotFeeRate\"> & {\n /**\n * Stable numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Effective maker fee rate encoded as a base-10 percentage string without a\n * percent sign. Values are between -100 and 100 inclusive. It is computed\n * from breakdown as SpotFeeRateBreakdown describes.\n *\n * @generated from field: string maker_fee_rate_percent = 3;\n */\n makerFeeRatePercent: string;\n\n /**\n * Effective taker fee rate encoded as a non-negative base-10 percentage\n * string without a percent sign. Values are between 0 and 100 inclusive. It\n * is computed from breakdown as SpotFeeRateBreakdown describes.\n *\n * @generated from field: string taker_fee_rate_percent = 4;\n */\n takerFeeRatePercent: string;\n\n /**\n * VIP tier used to resolve these rates, in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 vip_tier = 5;\n */\n vipTier: number;\n\n /**\n * Fee rate a new order on this market reserves its fee at when the fee is\n * paid in the quote asset, encoded as a non-negative base-10 percentage\n * string without a percent sign, between 0 and 100 inclusive. It is the\n * highest maker or taker rate of every VIP tier under the fee schedule in\n * force on this market, so it is at least the effective rates and\n * discounts never lower it. A buy limit order that pays its fee in the\n * quote asset reserves N + F, computed in units of 10^-18 of the quote\n * asset whatever the quote asset's own decimals: N is its price times its\n * quantity rounded up to 10^-18, and F is N times this rate rounded up to\n * 10^-18. It has sufficient quote balance when N + F is at most the\n * available quote balance, compared in the same 10^-18 units; other order\n * validation and market limits still apply. A post-only limit order\n * reserves at post_only_reserve_fee_rate_percent instead, and a buy sized\n * by a quote amount reserves at the lower of this rate and\n * taker_fee_rate_percent. Fills charge the effective rate, and the rest of\n * the reserve is released as the order fills or ends.\n *\n * @generated from field: string reserve_fee_rate_percent = 6;\n */\n reserveFeeRatePercent: string;\n\n /**\n * Fee rate a new post-only limit order on this market reserves its fee at\n * when the fee is paid in the quote asset, encoded as a non-negative\n * base-10 percentage string without a percent sign, between 0 and 100\n * inclusive: the highest maker rate of every VIP tier under the fee\n * schedule in force on this market, as reserve_fee_rate_percent describes.\n *\n * @generated from field: string post_only_reserve_fee_rate_percent = 7;\n */\n postOnlyReserveFeeRatePercent: string;\n\n /**\n * Components of the effective maker and taker rates in force.\n *\n * @generated from field: fees.v1.SpotFeeRateBreakdown breakdown = 8;\n */\n breakdown?: SpotFeeRateBreakdown | undefined;\n\n /**\n * Earliest scheduled time at which a component of these rates starts or\n * ends: a fee schedule or discount in breakdown ending, or a VIP tier, fee\n * policy, fee schedule or discount not yet in force starting. The effective\n * and reserve rates can change then, or stay the same. Omitted when no\n * change is scheduled.\n *\n * @generated from field: optional google.protobuf.Timestamp next_change_at = 9;\n */\n nextChangeAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeRate.\n * Use `create(SpotFeeRateSchema)` to create a new message.\n */\nexport const SpotFeeRateSchema: GenMessage<SpotFeeRate> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 0);\n\n/**\n * SpotFeeRateBreakdown lists the components of one market's effective fee\n * rates in force. A client reproduces maker_fee_rate_percent and\n * taker_fee_rate_percent exactly by applying the steps below to the maker\n * and the taker rate separately, in this order, in integer arithmetic. Work\n * in units of 0.0000001 percent: write every rate as an integer R, the\n * percentage times 10,000,000. Write every multiplier and discount as an\n * integer M or D, the percentage times 100. trunc(x / 10000) divides and\n * rounds toward zero.\n *\n * 1. Start from the VIP tier rate: R = tier_maker_fee_rate_percent or\n * tier_taker_fee_rate_percent.\n * 2. When market_multiplier is set, multiply by it:\n * R = trunc((R × M + 5000) / 10000).\n * 3. When R is above 0, let D be the highest maker or taker discount of\n * account_discounts, 0 when the list is empty. When D is above 0, apply\n * it: R = trunc((R × (10000 − D) + 5000) / 10000).\n * 4. When R is above 0 and referral_discount is set with a maker or taker\n * discount D above 0, apply it the same way:\n * R = trunc((R × (10000 − D) + 5000) / 10000).\n *\n * The result is the effective rate times 10,000,000. The steps multiply: a\n * 10% account discount and a 20% referral discount on a 0.1% rate leave\n * 0.1% × 0.9 × 0.8 = 0.072%. A negative maker rate is a rebate, which only\n * the multiplier scales.\n *\n * @generated from message fees.v1.SpotFeeRateBreakdown\n */\nexport type SpotFeeRateBreakdown = Message<\"fees.v1.SpotFeeRateBreakdown\"> & {\n /**\n * Maker fee rate of the account's VIP tier under the fee policy in force,\n * before the market multiplier and discounts, encoded as a base-10\n * percentage string without a percent sign. Values are between -100 and\n * 100 inclusive; a negative rate is a rebate.\n *\n * @generated from field: string tier_maker_fee_rate_percent = 1;\n */\n tierMakerFeeRatePercent: string;\n\n /**\n * Taker fee rate of the account's VIP tier under the fee policy in force,\n * before the market multiplier and discounts, encoded as a non-negative\n * base-10 percentage string without a percent sign, between 0 and 100\n * inclusive.\n *\n * @generated from field: string tier_taker_fee_rate_percent = 2;\n */\n tierTakerFeeRatePercent: string;\n\n /**\n * Fee schedule multipliers in force on this market. Omitted when none is\n * in force, which leaves the tier rates unchanged.\n *\n * @generated from field: optional fees.v1.SpotFeeMultiplier market_multiplier = 3;\n */\n marketMultiplier?: SpotFeeMultiplier | undefined;\n\n /**\n * Account discounts in force on this market, in no particular order. The\n * highest maker discount and the highest taker discount apply, each\n * possibly from a different discount.\n *\n * @generated from field: repeated fees.v1.SpotFeeDiscount account_discounts = 4;\n */\n accountDiscounts: SpotFeeDiscount[];\n\n /**\n * Referral discount in force for the account. Omitted when none is in\n * force.\n *\n * @generated from field: optional fees.v1.SpotFeeDiscount referral_discount = 5;\n */\n referralDiscount?: SpotFeeDiscount | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeRateBreakdown.\n * Use `create(SpotFeeRateBreakdownSchema)` to create a new message.\n */\nexport const SpotFeeRateBreakdownSchema: GenMessage<SpotFeeRateBreakdown> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 1);\n\n/**\n * SpotFeeMultiplier is the fee schedule of one market, which scales the VIP\n * tier rates.\n *\n * @generated from message fees.v1.SpotFeeMultiplier\n */\nexport type SpotFeeMultiplier = Message<\"fees.v1.SpotFeeMultiplier\"> & {\n /**\n * Maker rate multiplier encoded as a base-10 percentage string without a\n * percent sign, between 0 and 100 inclusive with at most two decimals.\n *\n * @generated from field: string maker_multiplier_percent = 1;\n */\n makerMultiplierPercent: string;\n\n /**\n * Taker rate multiplier encoded as a base-10 percentage string without a\n * percent sign, between 0 and 100 inclusive with at most two decimals.\n *\n * @generated from field: string taker_multiplier_percent = 2;\n */\n takerMultiplierPercent: string;\n\n /**\n * Time from which the fee schedule is in force, inclusive.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 3;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Time at which the fee schedule ends, exclusive. Omitted when it has no\n * scheduled end.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_to = 4;\n */\n effectiveTo?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeMultiplier.\n * Use `create(SpotFeeMultiplierSchema)` to create a new message.\n */\nexport const SpotFeeMultiplierSchema: GenMessage<SpotFeeMultiplier> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 2);\n\n/**\n * SpotFeeDiscount is one fee discount of the account's.\n *\n * @generated from message fees.v1.SpotFeeDiscount\n */\nexport type SpotFeeDiscount = Message<\"fees.v1.SpotFeeDiscount\"> & {\n /**\n * Maker fee discount encoded as a base-10 percentage string without a\n * percent sign, with at most two decimals. It lowers a positive maker rate\n * only.\n *\n * @generated from field: string maker_discount_percent = 1;\n */\n makerDiscountPercent: string;\n\n /**\n * Taker fee discount encoded as a base-10 percentage string without a\n * percent sign, with at most two decimals.\n *\n * @generated from field: string taker_discount_percent = 2;\n */\n takerDiscountPercent: string;\n\n /**\n * True when the discount applies to every spot market; false when it\n * applies to selected markets, this one included. A referral discount\n * always applies to every spot market.\n *\n * @generated from field: bool all_markets = 3;\n */\n allMarkets: boolean;\n\n /**\n * Time from which the discount is in force, inclusive.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 4;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Time at which the discount ends, exclusive. Omitted when it has no\n * scheduled end.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_to = 5;\n */\n effectiveTo?: Timestamp | undefined;\n};\n\n/**\n * Describes the message fees.v1.SpotFeeDiscount.\n * Use `create(SpotFeeDiscountSchema)` to create a new message.\n */\nexport const SpotFeeDiscountSchema: GenMessage<SpotFeeDiscount> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 3);\n\n/**\n * GetSpotFeeRatesRequest requests effective spot fee rates for one account\n * target and an optional set of markets.\n *\n * @generated from message fees.v1.GetSpotFeeRatesRequest\n */\nexport type GetSpotFeeRatesRequest = Message<\"fees.v1.GetSpotFeeRatesRequest\"> & {\n /**\n * Optional public subaccount ID. When omitted, subaccount-scoped API keys\n * use their bound subaccount; other callers use their authenticated root\n * account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n\n /**\n * Optional unique spot market identifier filter. When empty, all currently\n * listed, non-disabled spot markets are returned. At most 100 identifiers\n * may be requested.\n *\n * @generated from field: repeated uint32 symbol_id = 2;\n */\n symbolId: number[];\n};\n\n/**\n * Describes the message fees.v1.GetSpotFeeRatesRequest.\n * Use `create(GetSpotFeeRatesRequestSchema)` to create a new message.\n */\nexport const GetSpotFeeRatesRequestSchema: GenMessage<GetSpotFeeRatesRequest> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 4);\n\n/**\n * GetSpotFeeRatesResponse contains spot fee rates ordered by numeric market\n * identifier ascending.\n *\n * @generated from message fees.v1.GetSpotFeeRatesResponse\n */\nexport type GetSpotFeeRatesResponse = Message<\"fees.v1.GetSpotFeeRatesResponse\"> & {\n /**\n * Effective spot fee rows ordered by symbol_id ascending. The result is a\n * finite snapshot of the requested or currently listed, non-disabled spot\n * market catalog and is not paginated.\n *\n * @generated from field: repeated fees.v1.SpotFeeRate fee_rates = 1;\n */\n feeRates: SpotFeeRate[];\n};\n\n/**\n * Describes the message fees.v1.GetSpotFeeRatesResponse.\n * Use `create(GetSpotFeeRatesResponseSchema)` to create a new message.\n */\nexport const GetSpotFeeRatesResponseSchema: GenMessage<GetSpotFeeRatesResponse> = /*@__PURE__*/\n messageDesc(file_fees_v1_fees, 5);\n\n/**\n * FeeService serves authenticated effective spot trading fee rates.\n *\n * @generated from service fees.v1.FeeService\n */\nexport const FeeService: GenService<{\n /**\n * Get effective maker and taker fee rates, the rates an order reserves its\n * fee at, and the components of the effective rates for the authenticated\n * caller's root account or selected subaccount. Costs one unit of the root\n * account's trading read limit per 100 symbols returned, rounded up.\n *\n * @generated from rpc fees.v1.FeeService.GetSpotFeeRates\n */\n getSpotFeeRates: {\n methodKind: \"unary\";\n input: typeof GetSpotFeeRatesRequestSchema;\n output: typeof GetSpotFeeRatesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_fees_v1_fees, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAAa,oBACX,uBAAS,o7DAAo7D,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAkG3/D,MAAa,oBACX,0BAAY,mBAAmB,CAAC;;;;;AAiFlC,MAAa,6BACX,0BAAY,mBAAmB,CAAC;;;;;AA6ClC,MAAa,0BACX,0BAAY,mBAAmB,CAAC;;;;;AAsDlC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AAgClC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAuBlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,MAAa,aAeX,0BAAY,mBAAmB,CAAC"}
|
package/dist/gen/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ import { orders_pb_d_exports } from "./orders/v1/orders_pb.js";
|
|
|
10
10
|
import { orders_read_pb_d_exports } from "./orders/v1/orders_read_pb.js";
|
|
11
11
|
import { triggers_pb_d_exports } from "./triggers/v1/triggers_pb.js";
|
|
12
12
|
import { assistant_pb_d_exports } from "./ai/v1/assistant_pb.js";
|
|
13
|
+
import { api_keys_pb_d_exports } from "./auth/v1/api_keys_pb.js";
|
|
14
|
+
import { policies_pb_d_exports } from "./auth/v1/policies_pb.js";
|
|
15
|
+
import { subaccounts_pb_d_exports } from "./auth/v1/subaccounts_pb.js";
|
|
16
|
+
import { address_book_pb_d_exports } from "./auth/v1/address_book_pb.js";
|
|
13
17
|
import { mfa_pb_d_exports } from "./auth/v1/mfa_pb.js";
|
|
14
18
|
import { auth_pb_d_exports } from "./auth/v1/auth_pb.js";
|
|
15
19
|
import { profile_pb_d_exports } from "./auth/v1/profile_pb.js";
|
|
@@ -18,11 +22,8 @@ import { withdraw_pb_d_exports } from "./chain/withdraw/v1/withdraw_pb.js";
|
|
|
18
22
|
import { marketoverview_pb_d_exports } from "./marketoverview/v1/marketoverview_pb.js";
|
|
19
23
|
import { notifications_pb_d_exports } from "./notifications/v1/notifications_pb.js";
|
|
20
24
|
import { internal_transfer_pb_d_exports } from "./transfer/v1/internal_transfer_pb.js";
|
|
21
|
-
import { api_keys_pb_d_exports } from "./auth/v1/api_keys_pb.js";
|
|
22
|
-
import { policies_pb_d_exports } from "./auth/v1/policies_pb.js";
|
|
23
|
-
import { subaccounts_pb_d_exports } from "./auth/v1/subaccounts_pb.js";
|
|
24
25
|
import { activity_pb_d_exports } from "./auth/v1/activity_pb.js";
|
|
25
|
-
import {
|
|
26
|
+
import { connected_apps_pb_d_exports } from "./auth/v1/connected_apps_pb.js";
|
|
26
27
|
import { resolve_pb_d_exports } from "./auth/v1/resolve_pb.js";
|
|
27
28
|
import { social_verification_pb_d_exports } from "./auth/v1/social_verification_pb.js";
|
|
28
29
|
import { analytics_read_pb_d_exports } from "./chain/analytics/v1/analytics_read_pb.js";
|
|
@@ -36,9 +37,11 @@ import { changelog_pb_d_exports } from "./changelog/v1/changelog_pb.js";
|
|
|
36
37
|
import { checkpoints_pb_d_exports } from "./checkpoints/v1/checkpoints_pb.js";
|
|
37
38
|
import { fees_pb_d_exports } from "./fees/v1/fees_pb.js";
|
|
38
39
|
import { statement_export_pb_d_exports } from "./ledger/read/v1/statement_export_pb.js";
|
|
40
|
+
import { depth_tier_pb_d_exports } from "./polyester/type/v1/depth_tier_pb.js";
|
|
39
41
|
import { heatmap_pb_d_exports } from "./marketdata/v1/heatmap_pb.js";
|
|
40
42
|
import { orderbook_pb_d_exports } from "./orderbook/v1/orderbook_pb.js";
|
|
41
43
|
import { options_pb_d_exports } from "./polyester/api/options_pb.js";
|
|
44
|
+
import { request_error_pb_d_exports } from "./polyester/api/v1/request_error_pb.js";
|
|
42
45
|
import { private_ws_pb_d_exports } from "./privatews/v1/private_ws_pb.js";
|
|
43
46
|
import { ratelimit_pb_d_exports } from "./ratelimit/v1/ratelimit_pb.js";
|
|
44
47
|
import { rewards_pb_d_exports } from "./rewards/v1/rewards_pb.js";
|
|
@@ -51,4 +54,4 @@ import { system_pb_d_exports } from "./system/v1/system_pb.js";
|
|
|
51
54
|
import { trade_ws_pb_d_exports } from "./tradews/v1/trade_ws_pb.js";
|
|
52
55
|
import { dust_conversion_pb_d_exports } from "./transfer/v1/dust_conversion_pb.js";
|
|
53
56
|
import { vip_pb_d_exports } from "./vip/v1/vip_pb.js";
|
|
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 };
|
|
57
|
+
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, connected_apps_pb_d_exports as connectedAppsPb, deposit_pb_d_exports as depositPb, depth_tier_pb_d_exports as depthTierPb, 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, request_error_pb_d_exports as requestErrorPb, 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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { options_pb_exports } from "./polyester/api/options_pb.js";
|
|
2
|
-
import { mfa_pb_exports } from "./auth/v1/mfa_pb.js";
|
|
3
|
-
import { auth_pb_exports } from "./auth/v1/auth_pb.js";
|
|
4
|
-
import { profile_pb_exports } from "./auth/v1/profile_pb.js";
|
|
5
2
|
import { api_keys_pb_exports } from "./auth/v1/api_keys_pb.js";
|
|
6
3
|
import { policies_pb_exports } from "./auth/v1/policies_pb.js";
|
|
7
4
|
import { catalog_pb_exports } from "./ledger/v1/catalog_pb.js";
|
|
8
5
|
import { u128_pb_exports } from "./polyester/type/v1/u128_pb.js";
|
|
9
6
|
import { ledger_read_pb_exports } from "./ledger/read/v1/ledger_read_pb.js";
|
|
10
7
|
import { subaccounts_pb_exports } from "./auth/v1/subaccounts_pb.js";
|
|
8
|
+
import { address_book_pb_exports } from "./auth/v1/address_book_pb.js";
|
|
9
|
+
import { mfa_pb_exports } from "./auth/v1/mfa_pb.js";
|
|
10
|
+
import { auth_pb_exports } from "./auth/v1/auth_pb.js";
|
|
11
|
+
import { profile_pb_exports } from "./auth/v1/profile_pb.js";
|
|
11
12
|
import { activity_pb_exports } from "./auth/v1/activity_pb.js";
|
|
12
13
|
import { resolve_pb_exports } from "./auth/v1/resolve_pb.js";
|
|
13
|
-
import { address_book_pb_exports } from "./auth/v1/address_book_pb.js";
|
|
14
14
|
import { price_alerts_pb_exports } from "./alerts/v1/price_alerts_pb.js";
|
|
15
15
|
import { deposit_pb_exports } from "./chain/deposit/v1/deposit_pb.js";
|
|
16
16
|
import { asset_info_pb_exports } from "./marketdata/v1/asset_info_pb.js";
|
|
@@ -25,9 +25,11 @@ import { analytics_read_pb_exports } from "./chain/analytics/v1/analytics_read_p
|
|
|
25
25
|
import { changelog_pb_exports } from "./changelog/v1/changelog_pb.js";
|
|
26
26
|
import { checkpoints_pb_exports } from "./checkpoints/v1/checkpoints_pb.js";
|
|
27
27
|
import { claims_pb_exports } from "./claims/v1/claims_pb.js";
|
|
28
|
+
import { connected_apps_pb_exports } from "./auth/v1/connected_apps_pb.js";
|
|
28
29
|
import { fees_pb_exports } from "./fees/v1/fees_pb.js";
|
|
29
30
|
import { vip_pb_exports } from "./vip/v1/vip_pb.js";
|
|
30
31
|
import { guard_signer_pb_exports } from "./chain/guard/v1/guard_signer_pb.js";
|
|
32
|
+
import { depth_tier_pb_exports } from "./polyester/type/v1/depth_tier_pb.js";
|
|
31
33
|
import { heatmap_pb_exports } from "./marketdata/v1/heatmap_pb.js";
|
|
32
34
|
import { internal_transfer_pb_exports } from "./transfer/v1/internal_transfer_pb.js";
|
|
33
35
|
import { dust_conversion_pb_exports } from "./transfer/v1/dust_conversion_pb.js";
|
|
@@ -44,6 +46,7 @@ import { statement_export_pb_exports } from "./ledger/read/v1/statement_export_p
|
|
|
44
46
|
import { system_pb_exports } from "./system/v1/system_pb.js";
|
|
45
47
|
import { withdraw_pb_exports } from "./chain/withdraw/v1/withdraw_pb.js";
|
|
46
48
|
import { zipper_pb_exports } from "./chain/zipper/v1/zipper_pb.js";
|
|
49
|
+
import { request_error_pb_exports } from "./polyester/api/v1/request_error_pb.js";
|
|
47
50
|
import { private_ws_pb_exports } from "./privatews/v1/private_ws_pb.js";
|
|
48
51
|
import { quickswap_pb_exports } from "./swap/quickswap/v1/quickswap_pb.js";
|
|
49
52
|
import { quickswap_broker_pb_exports } from "./swap/quickswap/v1/quickswap_broker_pb.js";
|
|
@@ -51,4 +54,4 @@ import { quickswap_explorer_pb_exports } from "./swap/quickswap/v1/quickswap_exp
|
|
|
51
54
|
import { quickswap_referral_pb_exports } from "./swap/quickswap/v1/quickswap_referral_pb.js";
|
|
52
55
|
import { swap_pb_exports } from "./swap/v1/swap_pb.js";
|
|
53
56
|
import { trade_ws_pb_exports } from "./tradews/v1/trade_ws_pb.js";
|
|
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 };
|
|
57
|
+
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, connected_apps_pb_exports as connectedAppsPb, deposit_pb_exports as depositPb, depth_tier_pb_exports as depthTierPb, 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, request_error_pb_exports as requestErrorPb, 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 };
|
|
@@ -1209,8 +1209,9 @@ declare const LedgerReadService: GenService<{
|
|
|
1209
1209
|
* asset. Accepts a root-account session, or a root-scoped API key whose
|
|
1210
1210
|
* policy grants READ_BALANCES. An API key covers the master account and
|
|
1211
1211
|
* only the subaccounts that master account owns, each within its subaccount
|
|
1212
|
-
* policy; the request fails when the key may not read one of them.
|
|
1213
|
-
*
|
|
1212
|
+
* policy; the request fails when the key may not read one of them. A
|
|
1213
|
+
* subaccount-scoped API key is refused with AUTH_API_KEY_ACCESS_DENIED: the
|
|
1214
|
+
* snapshot needs a key scoped to the main account.
|
|
1214
1215
|
*
|
|
1215
1216
|
* @generated from rpc ledger.read.v1.LedgerReadService.GetPortfolioEquitySnapshot
|
|
1216
1217
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger_read_pb.d.ts","names":[],"sources":["../../../../../src/gen/ledger/read/v1/ledger_read_pb.ts"],"mappings":";;;;;;;;;;cAgBa,iCAAiC;;;;KAMlC,qBAAqB;;;;;;;;EAQ/B;;;;;;cAOW,0BAA0B,WAAW;;;;;;;KAStC,eAAe;;;;;;;EAOzB;;;;;;EAOA,UAAU;;;;;;EAOV,UAAU;;;;;;EAOV,WAAW;;;;;;;EAQX,YAAY;;;;;;;EAQZ;;;;;;;EAQA;;;;;;cAOW,oBAAoB,WAAW;;;;KAMhC,sBAAsB;;;;;;;;EAQhC,UAAU;;;;;;cAOC,2BAA2B,WAAW;;;;KAMvC,2BAA2B;;;;;;;;EAQrC;;;;;;EAOA,OAAO;;;;;;EAOP;;;;;;;EAQA,cAAc;;;;;;cAOH,gCAAgC,WAAW;;;;;;;KAS5C,gBAAgB;;;;;;EAM1B;;;;;;EAOA,aAAa;;;;;;;EAQb,SAAS;;;;;;cAOE,qBAAqB,WAAW;;;;;;KAQjC,4BAA4B;;;;;;EAMtC,OAAO;;;;;;EAOP;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,QAAQ;;;;;;cAOG,iCAAiC,WAAW;;;;;;KAQ7C,kBAAkB;;;;;;EAM5B;;;;;;EAOA;;;;;;cAOW,uBAAuB,WAAW;;;;;;KAQnC,gBAAgB;;;;;;EAM1B;;;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