@polyester/sdk 0.35.0-devnet-20261111031027 → 0.35.0-devnet-20261111161451

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/dist/catalogs/snapshot-validation.js +2 -1
  3. package/dist/catalogs/snapshot-validation.js.map +1 -1
  4. package/dist/client.d.ts +6 -0
  5. package/dist/client.d.ts.map +1 -1
  6. package/dist/client.js +6 -0
  7. package/dist/client.js.map +1 -1
  8. package/dist/gen/ai/v1/assistant_pb.d.ts +4164 -0
  9. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -0
  10. package/dist/gen/ai/v1/assistant_pb.js +1174 -0
  11. package/dist/gen/ai/v1/assistant_pb.js.map +1 -0
  12. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +776 -0
  13. package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -0
  14. package/dist/gen/alerts/v1/price_alerts_pb.js +378 -0
  15. package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -0
  16. package/dist/gen/auth/v1/address_book_pb.d.ts +6 -0
  17. package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
  18. package/dist/gen/auth/v1/address_book_pb.js +6 -0
  19. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/api_keys_pb.d.ts +242 -2
  21. package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
  22. package/dist/gen/auth/v1/api_keys_pb.js +81 -2
  23. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  24. package/dist/gen/auth/v1/auth_pb.d.ts +48 -6
  25. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  26. package/dist/gen/auth/v1/auth_pb.js +48 -6
  27. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  28. package/dist/gen/auth/v1/policies_pb.d.ts +83 -19
  29. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  30. package/dist/gen/auth/v1/policies_pb.js +74 -16
  31. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  32. package/dist/gen/auth/v1/social_verification_pb.d.ts +167 -11
  33. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  34. package/dist/gen/auth/v1/social_verification_pb.js +41 -3
  35. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  36. package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -6
  37. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  38. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  39. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -2
  40. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
  41. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  42. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +5 -0
  43. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -1
  44. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  45. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +10 -0
  46. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
  47. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  48. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  49. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +32 -4
  50. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
  51. package/dist/gen/chain/lifecycle/v1/types_pb.js +32 -4
  52. package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
  53. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +391 -42
  54. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
  55. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +103 -17
  56. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  57. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +170 -3
  58. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  59. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +63 -2
  60. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  61. package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
  62. package/dist/gen/claims/v1/claims_pb.js +1 -1
  63. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  64. package/dist/gen/index.d.ts +14 -10
  65. package/dist/gen/index.js +11 -7
  66. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
  67. package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
  68. package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
  69. package/dist/gen/ledger/v1/catalog_pb.js +9 -1
  70. package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
  71. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +8 -0
  72. package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
  73. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  74. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  75. package/dist/gen/orders/v1/orders_pb.d.ts +4 -4
  76. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  77. package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
  78. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +20 -1
  79. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -1
  80. package/dist/gen/polyester/ratelimit/v1/types_pb.js +20 -1
  81. package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -1
  82. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1186 -127
  83. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  84. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +282 -5
  85. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  86. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +253 -38
  87. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  88. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +180 -36
  89. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  90. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +933 -0
  91. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -0
  92. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +292 -0
  93. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -0
  94. package/dist/gen/system/v1/system_pb.d.ts +77 -0
  95. package/dist/gen/system/v1/system_pb.d.ts.map +1 -0
  96. package/dist/gen/system/v1/system_pb.js +34 -0
  97. package/dist/gen/system/v1/system_pb.js.map +1 -0
  98. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +2 -2
  99. package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
  100. package/dist/index.d.ts +14 -6
  101. package/dist/services/api-keys/api-keys.codecs.js +10 -1
  102. package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
  103. package/dist/services/api-keys/api-keys.d.ts +16 -1
  104. package/dist/services/api-keys/api-keys.d.ts.map +1 -1
  105. package/dist/services/api-keys/api-keys.js +25 -1
  106. package/dist/services/api-keys/api-keys.js.map +1 -1
  107. package/dist/services/api-keys/api-keys.schemas.d.ts +116 -1
  108. package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
  109. package/dist/services/api-keys/api-keys.schemas.js +29 -3
  110. package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
  111. package/dist/services/api-keys/api-keys.types.d.ts +2 -2
  112. package/dist/services/api-keys/index.d.ts +2 -2
  113. package/dist/services/assistant/assistant-events.schemas.d.ts +4618 -0
  114. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -0
  115. package/dist/services/assistant/assistant-events.schemas.js +485 -0
  116. package/dist/services/assistant/assistant-events.schemas.js.map +1 -0
  117. package/dist/services/assistant/assistant.codecs.d.ts +24 -0
  118. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -0
  119. package/dist/services/assistant/assistant.codecs.js +88 -0
  120. package/dist/services/assistant/assistant.codecs.js.map +1 -0
  121. package/dist/services/assistant/assistant.d.ts +76 -0
  122. package/dist/services/assistant/assistant.d.ts.map +1 -0
  123. package/dist/services/assistant/assistant.js +133 -0
  124. package/dist/services/assistant/assistant.js.map +1 -0
  125. package/dist/services/assistant/assistant.schemas.d.ts +184 -0
  126. package/dist/services/assistant/assistant.schemas.d.ts.map +1 -0
  127. package/dist/services/assistant/assistant.schemas.js +135 -0
  128. package/dist/services/assistant/assistant.schemas.js.map +1 -0
  129. package/dist/services/assistant/assistant.types.d.ts +4 -0
  130. package/dist/services/assistant/service.d.ts +8 -0
  131. package/dist/services/assistant/service.d.ts.map +1 -0
  132. package/dist/services/assistant/service.js +9 -0
  133. package/dist/services/assistant/service.js.map +1 -0
  134. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +9 -2
  135. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
  136. package/dist/services/auto-withdraw/auto-withdraw.codecs.js +9 -1
  137. package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
  138. package/dist/services/auto-withdraw/auto-withdraw.d.ts +15 -4
  139. package/dist/services/auto-withdraw/auto-withdraw.d.ts.map +1 -1
  140. package/dist/services/auto-withdraw/auto-withdraw.js +24 -8
  141. package/dist/services/auto-withdraw/auto-withdraw.js.map +1 -1
  142. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +394 -26
  143. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
  144. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +67 -12
  145. package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
  146. package/dist/services/auto-withdraw/auto-withdraw.types.d.ts +3 -3
  147. package/dist/services/balances/balances.js +1 -1
  148. package/dist/services/balances/balances.schemas.d.ts +3 -3
  149. package/dist/services/candles/candles.js +1 -1
  150. package/dist/services/candles/candles.schemas.d.ts +10 -10
  151. package/dist/services/candles/candles.schemas.js +5 -2
  152. package/dist/services/candles/candles.schemas.js.map +1 -1
  153. package/dist/services/changelog/changelog.schemas.d.ts +17 -17
  154. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  155. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  156. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
  157. package/dist/services/lifecycle/lifecycle.codecs.d.ts +2 -2
  158. package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
  159. package/dist/services/lifecycle/lifecycle.codecs.js +3 -1
  160. package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
  161. package/dist/services/lifecycle/lifecycle.schemas.d.ts +210 -186
  162. package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
  163. package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
  164. package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
  165. package/dist/services/market-data/market-data.js +1 -1
  166. package/dist/services/market-data/market-data.schemas.js +7 -2
  167. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  168. package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
  169. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  170. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  171. package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
  172. package/dist/services/orders/orders-input.schemas.d.ts +6 -6
  173. package/dist/services/orders/orders-input.schemas.js +1 -1
  174. package/dist/services/orders/orders-modify.schemas.js +1 -1
  175. package/dist/services/orders/orders-output.schemas.d.ts +16 -16
  176. package/dist/services/orders/orders-output.schemas.js +3 -3
  177. package/dist/services/orders/orders-risk.schemas.js +1 -1
  178. package/dist/services/orders/orders.codecs.js +1 -1
  179. package/dist/services/orders/orders.js +3 -3
  180. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  181. package/dist/services/policies/shared.codecs.js +24 -3
  182. package/dist/services/policies/shared.codecs.js.map +1 -1
  183. package/dist/services/policies/shared.d.ts +1 -1
  184. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  185. package/dist/services/price-alerts/price-alerts.codecs.d.ts +20 -0
  186. package/dist/services/price-alerts/price-alerts.codecs.d.ts.map +1 -0
  187. package/dist/services/price-alerts/price-alerts.codecs.js +66 -0
  188. package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -0
  189. package/dist/services/price-alerts/price-alerts.d.ts +38 -0
  190. package/dist/services/price-alerts/price-alerts.d.ts.map +1 -0
  191. package/dist/services/price-alerts/price-alerts.js +60 -0
  192. package/dist/services/price-alerts/price-alerts.js.map +1 -0
  193. package/dist/services/price-alerts/price-alerts.schemas.d.ts +309 -0
  194. package/dist/services/price-alerts/price-alerts.schemas.d.ts.map +1 -0
  195. package/dist/services/price-alerts/price-alerts.schemas.js +130 -0
  196. package/dist/services/price-alerts/price-alerts.schemas.js.map +1 -0
  197. package/dist/services/price-alerts/price-alerts.types.d.ts +3 -0
  198. package/dist/services/price-alerts/service.d.ts +8 -0
  199. package/dist/services/price-alerts/service.d.ts.map +1 -0
  200. package/dist/services/price-alerts/service.js +9 -0
  201. package/dist/services/price-alerts/service.js.map +1 -0
  202. package/dist/services/social-verification/social-verification.codecs.js +13 -5
  203. package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
  204. package/dist/services/social-verification/social-verification.d.ts +18 -3
  205. package/dist/services/social-verification/social-verification.d.ts.map +1 -1
  206. package/dist/services/social-verification/social-verification.js +26 -3
  207. package/dist/services/social-verification/social-verification.js.map +1 -1
  208. package/dist/services/social-verification/social-verification.schemas.d.ts +33 -7
  209. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  210. package/dist/services/social-verification/social-verification.schemas.js +35 -10
  211. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  212. package/dist/services/social-verification/social-verification.types.d.ts +2 -2
  213. package/dist/services/subaccounts/subaccounts.schemas.d.ts +8 -8
  214. package/dist/services/system/service.d.ts +8 -0
  215. package/dist/services/system/service.d.ts.map +1 -0
  216. package/dist/services/system/service.js +9 -0
  217. package/dist/services/system/service.js.map +1 -0
  218. package/dist/services/system/system.d.ts +25 -0
  219. package/dist/services/system/system.d.ts.map +1 -0
  220. package/dist/services/system/system.js +24 -0
  221. package/dist/services/system/system.js.map +1 -0
  222. package/dist/services/trades/trades.js +1 -1
  223. package/dist/services/trades/trades.schemas.d.ts +1 -1
  224. package/dist/services/trades/trades.schemas.js +1 -1
  225. package/dist/services/trading-withdraws/trading-withdraws.d.ts +7 -1
  226. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  227. package/dist/services/trading-withdraws/trading-withdraws.js +11 -1
  228. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  229. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +42 -1
  230. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  231. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +19 -3
  232. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  233. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
  234. package/dist/services/transfers/transfers.schemas.d.ts +5 -5
  235. package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
  236. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  237. package/dist/services/triggers/trigger-input.schemas.js +1 -1
  238. package/dist/services/triggers/triggers-output.schemas.d.ts +49 -49
  239. package/dist/services/triggers/triggers.codecs.js +1 -1
  240. package/dist/services/triggers/triggers.js +2 -2
  241. package/dist/shared/catalog-config.d.ts +5 -0
  242. package/dist/shared/catalog-config.d.ts.map +1 -1
  243. package/dist/shared/catalog-config.js.map +1 -1
  244. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  245. package/dist/shared/connect-error-mapping.js +1 -0
  246. package/dist/shared/connect-error-mapping.js.map +1 -1
  247. package/dist/shared/error-detail.d.ts +24 -10
  248. package/dist/shared/error-detail.d.ts.map +1 -1
  249. package/dist/shared/error-detail.js +2 -0
  250. package/dist/shared/error-detail.js.map +1 -1
  251. package/dist/shared/error-details/alerts.js +15 -0
  252. package/dist/shared/error-details/alerts.js.map +1 -0
  253. package/dist/shared/error-details/assistant.js +15 -0
  254. package/dist/shared/error-details/assistant.js.map +1 -0
  255. package/dist/shared/error-details/withdraw.js +11 -2
  256. package/dist/shared/error-details/withdraw.js.map +1 -1
  257. package/dist/shared/ledger-codes.d.ts +4 -2
  258. package/dist/shared/ledger-codes.d.ts.map +1 -1
  259. package/dist/shared/ledger-codes.js +6 -3
  260. package/dist/shared/ledger-codes.js.map +1 -1
  261. package/dist/shared/rate-limit.schemas.d.ts +3 -3
  262. package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
  263. package/dist/shared/rate-limit.schemas.js +4 -1
  264. package/dist/shared/rate-limit.schemas.js.map +1 -1
  265. package/dist/shared/transports.d.ts +2 -1
  266. package/dist/shared/transports.d.ts.map +1 -1
  267. package/dist/shared/transports.js.map +1 -1
  268. package/dist/wired-services.d.ts.map +1 -1
  269. package/dist/wired-services.js +11 -5
  270. package/dist/wired-services.js.map +1 -1
  271. package/package.json +1 -1
@@ -1,8 +1,9 @@
1
1
  import { U128 } from "../../../polyester/type/v1/u128_pb.js";
2
2
  import { Message } from "@bufbuild/protobuf";
3
3
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
4
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
4
5
  declare namespace withdraw_pb_d_exports {
5
- export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
6
+ export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, GetWalletBalancesRequest, GetWalletBalancesRequestSchema, GetWalletBalancesResponse, GetWalletBalancesResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WalletBalance, WalletBalanceSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
6
7
  }
7
8
  /**
8
9
  * Describes the file chain/withdraw/v1/withdraw.proto.
@@ -60,6 +61,31 @@ type ErrorDetail = Message<"chain.withdraw.v1.ErrorDetail"> & {
60
61
  * @generated from field: chain.withdraw.v1.ErrorCode code = 1;
61
62
  */
62
63
  code: ErrorCode;
64
+ /**
65
+ * Field the error is about, as a protobuf field path such as
66
+ * destinations[0].min_amount_e18; empty when the error concerns no single
67
+ * field. Usually a field of the request. A refused auto-withdraw resume
68
+ * names a field of the stored rule instead, such as
69
+ * destinations[1].destination_address of AutoWithdrawRule, which the
70
+ * request does not carry.
71
+ *
72
+ * @generated from field: string field_path = 2;
73
+ */
74
+ fieldPath: string;
75
+ /**
76
+ * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal
77
+ * asset units, the destination's min_amount_e18 may be.
78
+ *
79
+ * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;
80
+ */
81
+ minFloorE18?: U128 | undefined;
82
+ /**
83
+ * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time
84
+ * from which the destination can be paid.
85
+ *
86
+ * @generated from field: google.protobuf.Timestamp payable_from = 4;
87
+ */
88
+ payableFrom?: Timestamp | undefined;
63
89
  };
64
90
  /**
65
91
  * Describes the message chain.withdraw.v1.ErrorDetail.
@@ -267,6 +293,96 @@ type ValidateWithdrawDestinationResponse = Message<"chain.withdraw.v1.ValidateWi
267
293
  * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.
268
294
  */
269
295
  declare const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse>;
296
+ /**
297
+ * GetWalletBalancesRequest selects the account whose smart account wallet
298
+ * to read.
299
+ *
300
+ * @generated from message chain.withdraw.v1.GetWalletBalancesRequest
301
+ */
302
+ type GetWalletBalancesRequest = Message<"chain.withdraw.v1.GetWalletBalancesRequest"> & {
303
+ /**
304
+ * Public subaccount ID; omit for the root account.
305
+ *
306
+ * @generated from field: fixed64 subaccount_id = 1;
307
+ */
308
+ subaccountId: bigint;
309
+ };
310
+ /**
311
+ * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.
312
+ * Use `create(GetWalletBalancesRequestSchema)` to create a new message.
313
+ */
314
+ declare const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest>;
315
+ /**
316
+ * WalletBalance is one zToken the smart account wallet holds.
317
+ *
318
+ * @generated from message chain.withdraw.v1.WalletBalance
319
+ */
320
+ type WalletBalance = Message<"chain.withdraw.v1.WalletBalance"> & {
321
+ /**
322
+ * Zipped asset of the zToken: the network-specific asset, as
323
+ * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.
324
+ *
325
+ * @generated from field: uint32 zipped_asset_id = 1;
326
+ */
327
+ zippedAssetId: number;
328
+ /**
329
+ * Unified asset the zToken stands for, as
330
+ * chain.lifecycle.v1.AssetIds.unified_asset_id names it.
331
+ *
332
+ * @generated from field: uint32 unified_asset_id = 2;
333
+ */
334
+ unifiedAssetId: number;
335
+ /**
336
+ * External network of the zipped asset, as the `chain_id` of a chain
337
+ * returned by `GetDepositWithdrawConfig`.
338
+ *
339
+ * @generated from field: uint32 chain_id = 3;
340
+ */
341
+ chainId: number;
342
+ /**
343
+ * zToken contract address on Polyester Chain.
344
+ *
345
+ * @generated from field: string ztoken_address = 4;
346
+ */
347
+ ztokenAddress: string;
348
+ /**
349
+ * Balance in 18-decimal units: every zToken has 18 decimals.
350
+ *
351
+ * @generated from field: polyester.type.v1.U128 amount_e18 = 5;
352
+ */
353
+ amountE18?: U128 | undefined;
354
+ };
355
+ /**
356
+ * Describes the message chain.withdraw.v1.WalletBalance.
357
+ * Use `create(WalletBalanceSchema)` to create a new message.
358
+ */
359
+ declare const WalletBalanceSchema: GenMessage<WalletBalance>;
360
+ /**
361
+ * GetWalletBalancesResponse is the smart account wallet's zToken balances,
362
+ * read from Polyester Chain at its latest block.
363
+ *
364
+ * @generated from message chain.withdraw.v1.GetWalletBalancesResponse
365
+ */
366
+ type GetWalletBalancesResponse = Message<"chain.withdraw.v1.GetWalletBalancesResponse"> & {
367
+ /**
368
+ * Smart account wallet whose balances these are.
369
+ *
370
+ * @generated from field: string smart_account_address = 1;
371
+ */
372
+ smartAccountAddress: string;
373
+ /**
374
+ * Every zToken the wallet holds a nonzero balance of, ordered by
375
+ * zipped_asset_id. Empty when it holds none.
376
+ *
377
+ * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;
378
+ */
379
+ balances: WalletBalance[];
380
+ };
381
+ /**
382
+ * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.
383
+ * Use `create(GetWalletBalancesResponseSchema)` to create a new message.
384
+ */
385
+ declare const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse>;
270
386
  /**
271
387
  * ErrorCode identifies stable, machine-readable Withdraw API errors.
272
388
  * Values mirror the REST problem+json code field.
@@ -547,7 +663,45 @@ declare enum ErrorCode {
547
663
  *
548
664
  * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;
549
665
  */
550
- AMOUNT_EXCEEDS_ROUTE_PRECISION = 44
666
+ AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,
667
+ /**
668
+ * An auto-withdraw destination address is not a valid withdrawal
669
+ * destination on its chain. ErrorDetail.field_path names the destination.
670
+ *
671
+ * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;
672
+ */
673
+ DESTINATION_INVALID = 45,
674
+ /**
675
+ * An auto-withdraw destination's min_amount_e18 is below the least amount
676
+ * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and
677
+ * ErrorDetail.field_path names the field.
678
+ *
679
+ * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;
680
+ */
681
+ MIN_AMOUNT_BELOW_FLOOR = 46,
682
+ /**
683
+ * No enabled withdrawal route pays an auto-withdraw destination's asset to
684
+ * its destination chain. ErrorDetail.field_path names the field.
685
+ *
686
+ * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;
687
+ */
688
+ ROUTE_UNSUPPORTED = 47,
689
+ /**
690
+ * expected_version is not the auto-withdraw rule's latest version: another
691
+ * change landed first. Read the rule again before retrying.
692
+ *
693
+ * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;
694
+ */
695
+ VERSION_CONFLICT = 48,
696
+ /**
697
+ * A broker vault pays an external destination only once it has been on the
698
+ * vault's external withdraw whitelist for 24 hours, and this one was added
699
+ * more recently. ErrorDetail.payable_from is when it can be paid; unset
700
+ * when that time is not known yet. Retry after it.
701
+ *
702
+ * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;
703
+ */
704
+ EXTERNAL_DESTINATION_COOLING_DOWN = 49
551
705
  }
552
706
  /**
553
707
  * Describes the enum chain.withdraw.v1.ErrorCode.
@@ -637,6 +791,19 @@ declare const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinati
637
791
  * @generated from service chain.withdraw.v1.WithdrawService
638
792
  */
639
793
  declare const WithdrawService: GenService<{
794
+ /**
795
+ * Read the zTokens the account's smart account wallet holds on Polyester
796
+ * Chain, such as a rejected withdrawal's refund, which stays there until
797
+ * the account moves it. Balances are read live from the chain. An API key
798
+ * needs READ_BALANCES within its scope.
799
+ *
800
+ * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances
801
+ */
802
+ getWalletBalances: {
803
+ methodKind: "unary";
804
+ input: typeof GetWalletBalancesRequestSchema;
805
+ output: typeof GetWalletBalancesResponseSchema;
806
+ };
640
807
  /**
641
808
  * Validate an external-chain withdraw destination for an authenticated
642
809
  * caller without creating, signing, or reserving a withdraw. An API key
@@ -674,5 +841,5 @@ declare const WithdrawService: GenService<{
674
841
  };
675
842
  }>;
676
843
  //#endregion
677
- export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
844
+ export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, GetWalletBalancesRequest, GetWalletBalancesRequestSchema, GetWalletBalancesResponse, GetWalletBalancesResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WalletBalance, WalletBalanceSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
678
845
  //# sourceMappingURL=withdraw_pb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;;;;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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AOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;cAMW,iBAAiB,QAAQ;;;;;;aAQ1B;;;;EAIV;;;;EAKA;;;;EAKA;;;;;cAMW,6BAA6B,QAAQ;;;;;;;aAStC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,yCAAyC,QAAQ;;;;;;cAQjD,iBAAiB;;;;;;;;;EAS5B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -2,6 +2,7 @@ import { __exportAll } from "../../../../_virtual/_rolldown/runtime.js";
2
2
  import { file_polyester_api_options } from "../../../polyester/api/options_pb.js";
3
3
  import { file_polyester_type_v1_u128 } from "../../../polyester/type/v1/u128_pb.js";
4
4
  import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
5
6
  //#region src/gen/chain/withdraw/v1/withdraw_pb.ts
6
7
  var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
7
8
  CreateTradingWithdrawRequestSchema: () => CreateTradingWithdrawRequestSchema,
@@ -11,11 +12,14 @@ var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
11
12
  ErrorCode: () => ErrorCode,
12
13
  ErrorCodeSchema: () => ErrorCodeSchema,
13
14
  ErrorDetailSchema: () => ErrorDetailSchema,
15
+ GetWalletBalancesRequestSchema: () => GetWalletBalancesRequestSchema,
16
+ GetWalletBalancesResponseSchema: () => GetWalletBalancesResponseSchema,
14
17
  TradingWithdrawAction: () => TradingWithdrawAction,
15
18
  TradingWithdrawActionSchema: () => TradingWithdrawActionSchema,
16
19
  TradingWithdrawIntentPayloadSchema: () => TradingWithdrawIntentPayloadSchema,
17
20
  ValidateWithdrawDestinationRequestSchema: () => ValidateWithdrawDestinationRequestSchema,
18
21
  ValidateWithdrawDestinationResponseSchema: () => ValidateWithdrawDestinationResponseSchema,
22
+ WalletBalanceSchema: () => WalletBalanceSchema,
19
23
  WithdrawDestinationValidationCode: () => WithdrawDestinationValidationCode,
20
24
  WithdrawDestinationValidationCodeSchema: () => WithdrawDestinationValidationCodeSchema,
21
25
  WithdrawService: () => WithdrawService,
@@ -24,7 +28,11 @@ var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
24
28
  /**
25
29
  * Describes the file chain/withdraw/v1/withdraw.proto.
26
30
  */
27
- const file_chain_withdraw_v1_withdraw = /*@__PURE__*/ fileDesc("CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSI5CgtFcnJvckRldGFpbBIqCgRjb2RlGAEgASgOMhwuY2hha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
36
  /**
29
37
  * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.
30
38
  * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.
@@ -66,6 +74,21 @@ const ValidateWithdrawDestinationRequestSchema = /*@__PURE__*/ messageDesc(file_
66
74
  */
67
75
  const ValidateWithdrawDestinationResponseSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 7);
68
76
  /**
77
+ * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.
78
+ * Use `create(GetWalletBalancesRequestSchema)` to create a new message.
79
+ */
80
+ const GetWalletBalancesRequestSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 8);
81
+ /**
82
+ * Describes the message chain.withdraw.v1.WalletBalance.
83
+ * Use `create(WalletBalanceSchema)` to create a new message.
84
+ */
85
+ const WalletBalanceSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 9);
86
+ /**
87
+ * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.
88
+ * Use `create(GetWalletBalancesResponseSchema)` to create a new message.
89
+ */
90
+ const GetWalletBalancesResponseSchema = /*@__PURE__*/ messageDesc(file_chain_withdraw_v1_withdraw, 10);
91
+ /**
69
92
  * ErrorCode identifies stable, machine-readable Withdraw API errors.
70
93
  * Values mirror the REST problem+json code field.
71
94
  *
@@ -346,6 +369,44 @@ let ErrorCode = /* @__PURE__ */ function(ErrorCode) {
346
369
  * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;
347
370
  */
348
371
  ErrorCode[ErrorCode["AMOUNT_EXCEEDS_ROUTE_PRECISION"] = 44] = "AMOUNT_EXCEEDS_ROUTE_PRECISION";
372
+ /**
373
+ * An auto-withdraw destination address is not a valid withdrawal
374
+ * destination on its chain. ErrorDetail.field_path names the destination.
375
+ *
376
+ * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;
377
+ */
378
+ ErrorCode[ErrorCode["DESTINATION_INVALID"] = 45] = "DESTINATION_INVALID";
379
+ /**
380
+ * An auto-withdraw destination's min_amount_e18 is below the least amount
381
+ * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and
382
+ * ErrorDetail.field_path names the field.
383
+ *
384
+ * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;
385
+ */
386
+ ErrorCode[ErrorCode["MIN_AMOUNT_BELOW_FLOOR"] = 46] = "MIN_AMOUNT_BELOW_FLOOR";
387
+ /**
388
+ * No enabled withdrawal route pays an auto-withdraw destination's asset to
389
+ * its destination chain. ErrorDetail.field_path names the field.
390
+ *
391
+ * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;
392
+ */
393
+ ErrorCode[ErrorCode["ROUTE_UNSUPPORTED"] = 47] = "ROUTE_UNSUPPORTED";
394
+ /**
395
+ * expected_version is not the auto-withdraw rule's latest version: another
396
+ * change landed first. Read the rule again before retrying.
397
+ *
398
+ * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;
399
+ */
400
+ ErrorCode[ErrorCode["VERSION_CONFLICT"] = 48] = "VERSION_CONFLICT";
401
+ /**
402
+ * A broker vault pays an external destination only once it has been on the
403
+ * vault's external withdraw whitelist for 24 hours, and this one was added
404
+ * more recently. ErrorDetail.payable_from is when it can be paid; unset
405
+ * when that time is not known yet. Retry after it.
406
+ *
407
+ * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;
408
+ */
409
+ ErrorCode[ErrorCode["EXTERNAL_DESTINATION_COOLING_DOWN"] = 49] = "EXTERNAL_DESTINATION_COOLING_DOWN";
349
410
  return ErrorCode;
350
411
  }({});
351
412
  /**
@@ -439,6 +500,6 @@ const WithdrawDestinationValidationCodeSchema = /*@__PURE__*/ enumDesc(file_chai
439
500
  */
440
501
  const WithdrawService = /*@__PURE__*/ serviceDesc(file_chain_withdraw_v1_withdraw, 0);
441
502
  //#endregion
442
- export { CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetailSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_exports };
503
+ export { CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetailSchema, GetWalletBalancesRequestSchema, GetWalletBalancesResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponseSchema, WalletBalanceSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_exports };
443
504
 
444
505
  //# sourceMappingURL=withdraw_pb.js.map
@@ -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 { 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/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dTZXJ2aWNlEo4BChtWYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb24SNS5jaGFpbi53aXRoZHJhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [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/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * 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 * The requested ledger is not supported for withdrawals.\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 authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,kCACX,uBAAS,4zJAA4zJ,CAAC,4BAA4B,2BAA2B,CAAC;;;;;AAsBh4J,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAoBhD,MAAa,oBACX,0BAAY,iCAAiC,CAAC;;;;;AAoFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;;;AAQhD,IAAY,YAAL,yBAAA,WAAA;;;;;;CAML,UAAA,UAAA,iBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,wBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,qBAAA,KAAA;;;;;;CAOA,UAAA,UA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A,wBAAA,MAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,MAAA;;;;;;CAOA,UAAA,UAAA,wCAAA,MAAA;;;;;;CAOA,UAAA,UAAA,+BAAA,MAAA;;;;;;CAOA,UAAA,UAAA,yBAAA,MAAA;;;;;;CAOA,UAAA,UAAA,eAAA,MAAA;;;;;;CAOA,UAAA,UAAA,cAAA,MAAA;;;;;;;CAQA,UAAA,UAAA,oCAAA,MAAA;;;;;;;;;CAUA,UAAA,UAAA,oCAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;;AAQ7C,IAAY,oCAAL,yBAAA,mCAAA;;;;;;CAML,kCAAA,kCAAA,wBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,WAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,qBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,uBAAA,KAAA;;;;;;;CAQA,kCAAA,kCAAA,6BAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,oBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAqCX,0BAAY,iCAAiC,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(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl9mbG9vcl9lMTgYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EjAKDHBheWFibGVfZnJvbRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKHFRyYWRpbmdXaXRoZHJhd0ludGVudFBheWxvYWQSOgoGYWN0aW9uGAEgASgOMiguY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3QWN0aW9uQgASEgoIYXNzZXRfaWQYAiABKA1CABIcChRkZXN0aW5hdGlvbl9jaGFpbl9pZBgDIAE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SEFJThADEhsKF1BPTFlFU1RFUl9TTUFSVF9BQ0NPVU5UEAQSEgoOVE9LRU5fQ09OVFJBQ1QQBRIWChJERU5ZTElTVEVEX0FERFJFU1MQBjKlBAoPV2l0aGRyYXdTZXJ2aWNlEnAKEUdldFdhbGxldEJhbGFuY2VzEisuY2hhaW4ud2l0aGRyYXcudjEuR2V0V2FsbGV0QmFsYW5jZXNSZXF1ZXN0GiwuY2hhaW4ud2l0aGRyYXcudjEuR2V0V2FsbGV0QmFsYW5jZXNSZXNwb25zZSIAEo4BChtWYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb24SNS5jaGFpbi53aXRoZHJhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuVmFsaWRhdGVXaXRoZHJhd0Rlc3RpbmF0aW9uUmVzcG9uc2UiABJ8ChVDcmVhdGVUcmFkaW5nV2l0aGRyYXcSLy5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Field the error is about, as a protobuf field path such as\n * destinations[0].min_amount_e18; empty when the error concerns no single\n * field. Usually a field of the request. A refused auto-withdraw resume\n * names a field of the stored rule instead, such as\n * destinations[1].destination_address of AutoWithdrawRule, which the\n * request does not carry.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal\n * asset units, the destination's min_amount_e18 may be.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;\n */\n minFloorE18?: U128 | undefined;\n\n /**\n * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time\n * from which the destination can be paid.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 4;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * GetWalletBalancesRequest selects the account whose smart account wallet\n * to read.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesRequest\n */\nexport type GetWalletBalancesRequest = Message<\"chain.withdraw.v1.GetWalletBalancesRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.\n * Use `create(GetWalletBalancesRequestSchema)` to create a new message.\n */\nexport const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 8);\n\n/**\n * WalletBalance is one zToken the smart account wallet holds.\n *\n * @generated from message chain.withdraw.v1.WalletBalance\n */\nexport type WalletBalance = Message<\"chain.withdraw.v1.WalletBalance\"> & {\n /**\n * Zipped asset of the zToken: the network-specific asset, as\n * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as\n * chain.lifecycle.v1.AssetIds.unified_asset_id names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as the `chain_id` of a chain\n * returned by `GetDepositWithdrawConfig`.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Balance in 18-decimal units: every zToken has 18 decimals.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.WalletBalance.\n * Use `create(WalletBalanceSchema)` to create a new message.\n */\nexport const WalletBalanceSchema: GenMessage<WalletBalance> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 9);\n\n/**\n * GetWalletBalancesResponse is the smart account wallet's zToken balances,\n * read from Polyester Chain at its latest block.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesResponse\n */\nexport type GetWalletBalancesResponse = Message<\"chain.withdraw.v1.GetWalletBalancesResponse\"> & {\n /**\n * Smart account wallet whose balances these are.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Every zToken the wallet holds a nonzero balance of, ordered by\n * zipped_asset_id. Empty when it holds none.\n *\n * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;\n */\n balances: WalletBalance[];\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.\n * Use `create(GetWalletBalancesResponseSchema)` to create a new message.\n */\nexport const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 10);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * The requested ledger is not supported for withdrawals.\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 authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n\n /**\n * An auto-withdraw destination address is not a valid withdrawal\n * destination on its chain. ErrorDetail.field_path names the destination.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;\n */\n DESTINATION_INVALID = 45,\n\n /**\n * An auto-withdraw destination's min_amount_e18 is below the least amount\n * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and\n * ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;\n */\n MIN_AMOUNT_BELOW_FLOOR = 46,\n\n /**\n * No enabled withdrawal route pays an auto-withdraw destination's asset to\n * its destination chain. ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;\n */\n ROUTE_UNSUPPORTED = 47,\n\n /**\n * expected_version is not the auto-withdraw rule's latest version: another\n * change landed first. Read the rule again before retrying.\n *\n * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;\n */\n VERSION_CONFLICT = 48,\n\n /**\n * A broker vault pays an external destination only once it has been on the\n * vault's external withdraw whitelist for 24 hours, and this one was added\n * more recently. ErrorDetail.payable_from is when it can be paid; unset\n * when that time is not known yet. Retry after it.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;\n */\n EXTERNAL_DESTINATION_COOLING_DOWN = 49,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Read the zTokens the account's smart account wallet holds on Polyester\n * Chain, such as a rejected withdrawal's refund, which stays there until\n * the account moves it. Balances are read live from the chain. An API key\n * needs READ_BALANCES within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances\n */\n getWalletBalances: {\n methodKind: \"unary\";\n input: typeof GetWalletBalancesRequestSchema;\n output: typeof GetWalletBalancesResponseSchema;\n },\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCACX,uBAAS,4xLAA4xL;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AAsBh4L,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgDhD,MAAa,oBACX,0BAAY,iCAAiC,CAAC;;;;;AAoFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAqBhD,MAAa,iCACX,0BAAY,iCAAiC,CAAC;;;;;AAmDhD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,kCACX,0BAAY,iCAAiC,EAAE;;;;;;;AAQjD,IAAY,YA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;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAkDX,0BAAY,iCAAiC,CAAC"}
@@ -297,7 +297,7 @@ declare enum ErrorCode {
297
297
  */
298
298
  CLAIM_TEMPORARILY_UNAVAILABLE = 1,
299
299
  /**
300
- * A valid session is required. API keys cannot access claims.
300
+ * The request carries no valid session token or API-key signature.
301
301
  *
302
302
  * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 2;
303
303
  */
@@ -90,7 +90,7 @@ let ErrorCode = /* @__PURE__ */ function(ErrorCode) {
90
90
  */
91
91
  ErrorCode[ErrorCode["CLAIM_TEMPORARILY_UNAVAILABLE"] = 1] = "CLAIM_TEMPORARILY_UNAVAILABLE";
92
92
  /**
93
- * A valid session is required. API keys cannot access claims.
93
+ * The request carries no valid session token or API-key signature.
94
94
  *
95
95
  * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 2;
96
96
  */