@polyester/sdk 0.36.0-devnet-20261119195411 → 0.36.0-devnet-20261120040128

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 (309) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/dist/client.d.ts +4 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +4 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/ai/v1/assistant_pb.d.ts +56 -4
  7. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
  8. package/dist/gen/ai/v1/assistant_pb.js +9 -2
  9. package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
  10. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
  11. package/dist/gen/auth/v1/account_scope_pb.d.ts +40 -0
  12. package/dist/gen/auth/v1/account_scope_pb.d.ts.map +1 -0
  13. package/dist/gen/auth/v1/account_scope_pb.js +46 -0
  14. package/dist/gen/auth/v1/account_scope_pb.js.map +1 -0
  15. package/dist/gen/auth/v1/activity_pb.d.ts +1 -1
  16. package/dist/gen/auth/v1/address_book_pb.d.ts +4 -32
  17. package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
  18. package/dist/gen/auth/v1/address_book_pb.js +8 -38
  19. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
  21. package/dist/gen/auth/v1/auth_pb.d.ts +16 -15
  22. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  23. package/dist/gen/auth/v1/auth_pb.js +16 -15
  24. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  25. package/dist/gen/auth/v1/connected_apps_pb.d.ts +60 -59
  26. package/dist/gen/auth/v1/connected_apps_pb.d.ts.map +1 -1
  27. package/dist/gen/auth/v1/connected_apps_pb.js +38 -37
  28. package/dist/gen/auth/v1/connected_apps_pb.js.map +1 -1
  29. package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
  30. package/dist/gen/auth/v1/policies_pb.d.ts +28 -2
  31. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  32. package/dist/gen/auth/v1/policies_pb.js +27 -1
  33. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  34. package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
  35. package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
  36. package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
  37. package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
  38. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  39. package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
  40. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
  41. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
  42. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
  43. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
  44. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
  45. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +229 -3
  46. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  47. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +32 -8
  48. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  49. package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
  50. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
  51. package/dist/gen/changelog/v1/changelog_pb.d.ts +17 -5
  52. package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
  53. package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
  54. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
  55. package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
  56. package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
  57. package/dist/gen/index.d.ts +8 -6
  58. package/dist/gen/index.js +28 -26
  59. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
  60. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
  61. package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
  62. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
  63. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +289 -3
  64. package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
  65. package/dist/gen/marketdata/v1/marketdata_pb.js +115 -2
  66. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  67. package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
  68. package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
  69. package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
  70. package/dist/gen/orders/v1/orders_pb.d.ts +79 -26
  71. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  72. package/dist/gen/orders/v1/orders_pb.js +36 -7
  73. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  74. package/dist/gen/orders/v1/orders_read_pb.d.ts +36 -2
  75. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  76. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  77. package/dist/gen/polyester/api/v1/request_error_pb.d.ts +1 -1
  78. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
  79. package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
  80. package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
  81. package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
  82. package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
  83. package/dist/gen/strategies/v1/strategies_pb.d.ts +2928 -0
  84. package/dist/gen/strategies/v1/strategies_pb.d.ts.map +1 -0
  85. package/dist/gen/strategies/v1/strategies_pb.js +818 -0
  86. package/dist/gen/strategies/v1/strategies_pb.js.map +1 -0
  87. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +39 -18
  88. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  89. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -1
  90. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  91. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +313 -133
  92. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -1
  93. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +31 -26
  94. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -1
  95. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +29 -14
  96. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  97. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +2 -2
  98. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  99. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +110 -3
  100. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  101. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +23 -3
  102. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  103. package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
  104. package/dist/gen/system/v1/system_pb.d.ts +1 -1
  105. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
  106. package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
  107. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +4 -3
  108. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  109. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  110. package/dist/gen/triggers/v1/triggers_pb.d.ts +62 -12
  111. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  112. package/dist/gen/triggers/v1/triggers_pb.js +4 -2
  113. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  114. package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
  115. package/dist/index.d.ts +12 -6
  116. package/dist/services/account-activity/account-activity.js +1 -1
  117. package/dist/services/account-activity/account-activity.schemas.d.ts +4 -4
  118. package/dist/services/accounts/accounts.js +1 -1
  119. package/dist/services/accounts/accounts.schemas.js +1 -1
  120. package/dist/services/address-book/address-book.codecs.js +1 -0
  121. package/dist/services/address-book/address-book.codecs.js.map +1 -1
  122. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  123. package/dist/services/api-keys/api-keys.schemas.d.ts +6 -6
  124. package/dist/services/assistant/assistant-events.schemas.d.ts +135 -37
  125. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
  126. package/dist/services/assistant/assistant-events.schemas.js +15 -5
  127. package/dist/services/assistant/assistant-events.schemas.js.map +1 -1
  128. package/dist/services/assistant/assistant.codecs.d.ts +5 -2
  129. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
  130. package/dist/services/assistant/assistant.codecs.js +10 -2
  131. package/dist/services/assistant/assistant.codecs.js.map +1 -1
  132. package/dist/services/assistant/assistant.js +1 -1
  133. package/dist/services/assistant/assistant.schemas.d.ts +1 -1
  134. package/dist/services/auth/auth.js +1 -1
  135. package/dist/services/auth/auth.js.map +1 -1
  136. package/dist/services/auth/profile/profile.js +1 -1
  137. package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
  138. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +9 -9
  139. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
  140. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +5 -12
  141. package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
  142. package/dist/services/candles/candles.js +1 -1
  143. package/dist/services/chain-analytics/chain-analytics.js +1 -1
  144. package/dist/services/changelog/changelog.js +1 -1
  145. package/dist/services/checkpoints/checkpoints.js +1 -1
  146. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  147. package/dist/services/claims/claims.js +1 -1
  148. package/dist/services/claims/claims.schemas.d.ts +2 -2
  149. package/dist/services/claims/claims.schemas.js +1 -1
  150. package/dist/services/connected-apps/connected-apps.d.ts +4 -4
  151. package/dist/services/connected-apps/connected-apps.d.ts.map +1 -1
  152. package/dist/services/connected-apps/connected-apps.js +14 -14
  153. package/dist/services/connected-apps/connected-apps.js.map +1 -1
  154. package/dist/services/connected-apps/connected-apps.schemas.d.ts +7 -7
  155. package/dist/services/connected-apps/connected-apps.schemas.d.ts.map +1 -1
  156. package/dist/services/connected-apps/connected-apps.schemas.js +10 -10
  157. package/dist/services/connected-apps/connected-apps.schemas.js.map +1 -1
  158. package/dist/services/connected-apps/connected-apps.types.d.ts +2 -2
  159. package/dist/services/deposit/deposit.js +1 -1
  160. package/dist/services/dust-conversion/dust-conversion.js +1 -1
  161. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
  162. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  163. package/dist/services/fees/fees.js +1 -1
  164. package/dist/services/guard-signer/guard-signer.js +1 -1
  165. package/dist/services/heatmap/heatmap.js +1 -1
  166. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  167. package/dist/services/internal-transfers/internal-transfers.js +1 -1
  168. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +6 -6
  169. package/dist/services/lifecycle/lifecycle.js +1 -1
  170. package/dist/services/lifecycle/lifecycle.schemas.d.ts +13 -13
  171. package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
  172. package/dist/services/market-data/market-data.codecs.d.ts +9 -1
  173. package/dist/services/market-data/market-data.codecs.d.ts.map +1 -1
  174. package/dist/services/market-data/market-data.codecs.js +14 -1
  175. package/dist/services/market-data/market-data.codecs.js.map +1 -1
  176. package/dist/services/market-data/market-data.d.ts +9 -1
  177. package/dist/services/market-data/market-data.d.ts.map +1 -1
  178. package/dist/services/market-data/market-data.js +15 -2
  179. package/dist/services/market-data/market-data.js.map +1 -1
  180. package/dist/services/market-data/market-data.schemas.d.ts +40 -2
  181. package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
  182. package/dist/services/market-data/market-data.schemas.js +43 -8
  183. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  184. package/dist/services/market-data/market-data.types.d.ts +3 -3
  185. package/dist/services/market-overview/market-overview.js +1 -1
  186. package/dist/services/market-overview/market-overview.schemas.js +1 -1
  187. package/dist/services/notifications/notifications.js +1 -1
  188. package/dist/services/notifications/notifications.schemas.d.ts +4 -4
  189. package/dist/services/orderbook/orderbook.js +1 -1
  190. package/dist/services/orders/order-errors.schemas.d.ts +9 -9
  191. package/dist/services/orders/order-errors.schemas.js +1 -1
  192. package/dist/services/orders/orders-batch.schemas.d.ts +97 -97
  193. package/dist/services/orders/orders-batch.schemas.js +1 -1
  194. package/dist/services/orders/orders-input.schemas.d.ts +16 -16
  195. package/dist/services/orders/orders-input.schemas.js +1 -1
  196. package/dist/services/orders/orders-modify.schemas.js +1 -1
  197. package/dist/services/orders/orders-output.schemas.d.ts +14 -14
  198. package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
  199. package/dist/services/orders/orders-output.schemas.js +1 -1
  200. package/dist/services/orders/orders-output.schemas.js.map +1 -1
  201. package/dist/services/orders/orders-risk.schemas.js +2 -2
  202. package/dist/services/orders/orders.d.ts +5 -0
  203. package/dist/services/orders/orders.d.ts.map +1 -1
  204. package/dist/services/orders/orders.js +7 -2
  205. package/dist/services/orders/orders.js.map +1 -1
  206. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  207. package/dist/services/policies/shared.codecs.js +12 -3
  208. package/dist/services/policies/shared.codecs.js.map +1 -1
  209. package/dist/services/policies/shared.d.ts +1 -1
  210. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  211. package/dist/services/price-alerts/price-alerts.js +1 -1
  212. package/dist/services/rate-limits/rate-limits.js +1 -1
  213. package/dist/services/rewards/rewards.js +1 -1
  214. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  215. package/dist/services/social-verification/social-verification.js +1 -1
  216. package/dist/services/social-verification/social-verification.schemas.js +1 -1
  217. package/dist/services/statement-exports/statement-exports.js +1 -1
  218. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  219. package/dist/services/strategies/service.d.ts +8 -0
  220. package/dist/services/strategies/service.d.ts.map +1 -0
  221. package/dist/services/strategies/service.js +9 -0
  222. package/dist/services/strategies/service.js.map +1 -0
  223. package/dist/services/strategies/strategies.codecs.d.ts +15 -0
  224. package/dist/services/strategies/strategies.codecs.d.ts.map +1 -0
  225. package/dist/services/strategies/strategies.codecs.js +50 -0
  226. package/dist/services/strategies/strategies.codecs.js.map +1 -0
  227. package/dist/services/strategies/strategies.d.ts +75 -0
  228. package/dist/services/strategies/strategies.d.ts.map +1 -0
  229. package/dist/services/strategies/strategies.js +135 -0
  230. package/dist/services/strategies/strategies.js.map +1 -0
  231. package/dist/services/strategies/strategies.schemas.d.ts +568 -0
  232. package/dist/services/strategies/strategies.schemas.d.ts.map +1 -0
  233. package/dist/services/strategies/strategies.schemas.js +408 -0
  234. package/dist/services/strategies/strategies.schemas.js.map +1 -0
  235. package/dist/services/strategies/strategies.types.d.ts +3 -0
  236. package/dist/services/subaccounts/subaccounts.schemas.d.ts +19 -19
  237. package/dist/services/swap/service.d.ts +8 -0
  238. package/dist/services/swap/service.d.ts.map +1 -0
  239. package/dist/services/swap/service.js +9 -0
  240. package/dist/services/swap/service.js.map +1 -0
  241. package/dist/services/swap/swap.codecs.d.ts +19 -0
  242. package/dist/services/swap/swap.codecs.d.ts.map +1 -0
  243. package/dist/services/swap/swap.codecs.js +39 -0
  244. package/dist/services/swap/swap.codecs.js.map +1 -0
  245. package/dist/services/swap/swap.d.ts +51 -0
  246. package/dist/services/swap/swap.d.ts.map +1 -0
  247. package/dist/services/swap/swap.js +71 -0
  248. package/dist/services/swap/swap.js.map +1 -0
  249. package/dist/services/swap/swap.schemas.d.ts +520 -0
  250. package/dist/services/swap/swap.schemas.d.ts.map +1 -0
  251. package/dist/services/swap/swap.schemas.js +213 -0
  252. package/dist/services/swap/swap.schemas.js.map +1 -0
  253. package/dist/services/swap/swap.types.d.ts +3 -0
  254. package/dist/services/system/system.js +1 -1
  255. package/dist/services/trades/trades.js +1 -1
  256. package/dist/services/trades/trades.schemas.d.ts +1 -1
  257. package/dist/services/trading-withdraws/trading-withdraws.d.ts +29 -2
  258. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  259. package/dist/services/trading-withdraws/trading-withdraws.js +75 -12
  260. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  261. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +85 -1
  262. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  263. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +57 -2
  264. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  265. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +3 -3
  266. package/dist/services/trading-withdraws/wallet-message.js +30 -2
  267. package/dist/services/trading-withdraws/wallet-message.js.map +1 -1
  268. package/dist/services/triggers/trigger-child-order.schemas.js +2 -2
  269. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  270. package/dist/services/triggers/trigger-input.schemas.js +2 -2
  271. package/dist/services/triggers/triggers-output.schemas.d.ts +53 -53
  272. package/dist/services/triggers/triggers.js +1 -1
  273. package/dist/services/vip/vip.js +1 -1
  274. package/dist/services/vip/vip.schemas.d.ts +3 -3
  275. package/dist/services/vip/vip.schemas.js +1 -1
  276. package/dist/services/zipper/zipper.js +1 -1
  277. package/dist/services/zipper/zipper.schemas.js +1 -1
  278. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  279. package/dist/shared/connect-error-mapping.js +6 -0
  280. package/dist/shared/connect-error-mapping.js.map +1 -1
  281. package/dist/shared/decimal-surface.d.ts.map +1 -1
  282. package/dist/shared/decimal-surface.js +11 -1
  283. package/dist/shared/decimal-surface.js.map +1 -1
  284. package/dist/shared/error-detail.d.ts +37 -2
  285. package/dist/shared/error-detail.d.ts.map +1 -1
  286. package/dist/shared/error-detail.js +2 -0
  287. package/dist/shared/error-detail.js.map +1 -1
  288. package/dist/shared/error-details/alerts.js +1 -1
  289. package/dist/shared/error-details/assistant.js +1 -1
  290. package/dist/shared/error-details/auth.js +1 -1
  291. package/dist/shared/error-details/claims.js +1 -1
  292. package/dist/shared/error-details/internal-transfer.js +1 -1
  293. package/dist/shared/error-details/ledger.js +1 -1
  294. package/dist/shared/error-details/market-overview.js +1 -1
  295. package/dist/shared/error-details/notifications.js +1 -1
  296. package/dist/shared/error-details/orders.js +1 -1
  297. package/dist/shared/error-details/profile.js +1 -1
  298. package/dist/shared/error-details/rate-limit.js +1 -1
  299. package/dist/shared/error-details/strategies.js +36 -0
  300. package/dist/shared/error-details/strategies.js.map +1 -0
  301. package/dist/shared/error-details/swap.js +22 -0
  302. package/dist/shared/error-details/swap.js.map +1 -0
  303. package/dist/shared/error-details/withdraw.js +1 -1
  304. package/dist/shared/rate-limit.schemas.d.ts +1 -1
  305. package/dist/shared/rate-limit.schemas.js +1 -1
  306. package/dist/wired-services.d.ts.map +1 -1
  307. package/dist/wired-services.js +23 -19
  308. package/dist/wired-services.js.map +1 -1
  309. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"quickswap_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file swap/quickswap/v1/quickswap.proto (package swap.quickswap.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap.proto.\n */\nexport const file_swap_quickswap_v1_quickswap: GenFile = /*@__PURE__*/\n fileDesc(\"CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsyHi5zd2FwLnF1aWNrc3dhcC52MS5Ub2tlbkFtb3VudEIASABCCQoFYm91bmQSACIRCg9NYXJrZXRFeGVjdXRpb24iRQoNVHdhcEV4ZWN1dGlvbhIVCgtkdXJhdGlvbl9tcxgBIAEoBEIAEhsKEXNsaWNlX2ludGVydmFsX21zGAIgASgEQgA6ACKBAQoJRXhlY3V0aW9uEjQKBm1hcmtldBgBIAEoCzIiLnN3YXAucXVpY2tzd2FwLnYxLk1hcmtldEV4ZWN1dGlvbkgAEjAKBHR3YXAYAiABKAsyIC5zd2FwLnF1aWNrc3dhcC52MS5Ud2FwRXhlY3V0aW9uSABCDAoIc3RyYXRlZ3kSACKlAgoOUXVpY2tTd2FwVGVybXMSIAoWc291cmNlX3ppcHBlZF9hc3NldF9pZBgBIAEoDUIAEiUKG2Rlc3RpbmF0aW9uX3ppcHBlZF9hc3NldF9pZBgCIAEoDUIAEi4KBWJhc2lzGAMgASgOMh0uc3dhcC5xdWlja3N3YXAudjEuUXVvdGVCYXNpc0IAEjAKBmFtb3VudBgEIAEoCzIeLnN3YXAucXVpY2tzd2FwLnYxLlRva2VuQW1vdW50QgASMwo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\n * TokenAmount is an exact token amount in the token's smallest unit.\n *\n * @generated from message swap.quickswap.v1.TokenAmount\n */\nexport type TokenAmount = Message<\"swap.quickswap.v1.TokenAmount\"> & {\n /**\n * Unsigned integer amount in the token's smallest unit (for example\n * satoshis or wei), as a decimal string without sign, exponent, separators or\n * leading zeros; at most 78 digits.\n *\n * @generated from field: string base_units = 1;\n */\n baseUnits: string;\n\n /**\n * Token decimals: the display amount is base_units / 10^decimals. Required in\n * requests, where it must equal AssetChainVariant.source_decimals (the\n * token's on-chain decimals) in GET /v1/chain/deposit-withdraw/config of the\n * asset the amount is in: the source asset for a SOURCE_AMOUNT amount; the\n * destination asset for a DESTINATION_AMOUNT amount and for\n * Protection.min_amount_out.\n *\n * @generated from field: uint32 decimals = 2;\n */\n decimals: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TokenAmount.\n * Use `create(TokenAmountSchema)` to create a new message.\n */\nexport const TokenAmountSchema: GenMessage<TokenAmount> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 0);\n\n/**\n * Protection bounds the worst execution the end user accepts. It is fixed when\n * the QuickSwap is created and is enforced on every execution, however long\n * after the quote the deposit arrives.\n *\n * @generated from message swap.quickswap.v1.Protection\n */\nexport type Protection = Message<\"swap.quickswap.v1.Protection\"> & {\n /**\n * Exactly one bound.\n *\n * @generated from oneof swap.quickswap.v1.Protection.bound\n */\n bound: {\n /**\n * Maximum shortfall from the quoted expected output in basis points\n * (1 bp = 0.01%), from 1 to 1000. Converted at creation into the quote's\n * min_amount_out and min_rate.\n *\n * @generated from field: uint32 max_slippage_bps = 1;\n */\n value: number;\n case: \"maxSlippageBps\";\n } | {\n /**\n * Positive minimum destination amount after fees for the quoted deposit\n * amount, in destination token units. Converted at creation into the\n * quote's min_rate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_amount_out = 2;\n */\n value: TokenAmount;\n case: \"minAmountOut\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.Protection.\n * Use `create(ProtectionSchema)` to create a new message.\n */\nexport const ProtectionSchema: GenMessage<Protection> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 1);\n\n/**\n * MarketExecution executes the credited deposit as soon as possible, in one or\n * more immediate orders, within the service's market execution window.\n *\n * @generated from message swap.quickswap.v1.MarketExecution\n */\nexport type MarketExecution = Message<\"swap.quickswap.v1.MarketExecution\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.MarketExecution.\n * Use `create(MarketExecutionSchema)` to create a new message.\n */\nexport const MarketExecutionSchema: GenMessage<MarketExecution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 2);\n\n/**\n * TwapExecution spreads execution evenly over a duration, one slice per\n * slot. Slot k starts k slice intervals after execution starts. Each slice\n * trades what is left of the credited deposit over the slots left, and is\n * protected by the quote's min_rate on what it trades. A slice is sent only\n * within its slot: a slot missed is skipped, never sent late. On a two-leg\n * route, each slice's second leg converts that slice's intermediate funds\n * before the next slice. Intermediate funds below the smallest order the\n * second leg's market accepts do not end the TWAP: they are added to the\n * next slice's conversion, and what is still unconverted when execution\n * ends is refunded to refund_address (INTERMEDIATE_BELOW_MINIMUM). Only the\n * second leg's market closing ends a TWAP early. A TWAP needs a larger\n * deposit than a market execution, since every slice must be a valid order\n * (see QuickSwapQuote.min_deposit_amount). A bridge takes market execution\n * only.\n *\n * @generated from message swap.quickswap.v1.TwapExecution\n */\nexport type TwapExecution = Message<\"swap.quickswap.v1.TwapExecution\"> & {\n /**\n * Total execution duration in milliseconds, from 60000 (1 minute) to\n * 86400000 (24 hours). The duration starts when execution starts, not when\n * the QuickSwap is created.\n *\n * @generated from field: uint64 duration_ms = 1;\n */\n durationMs: bigint;\n\n /**\n * Interval between slices in milliseconds, from 10000 (10 seconds) up to\n * duration_ms. The slice count is duration_ms / slice_interval_ms, rounded\n * up.\n *\n * @generated from field: uint64 slice_interval_ms = 2;\n */\n sliceIntervalMs: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TwapExecution.\n * Use `create(TwapExecutionSchema)` to create a new message.\n */\nexport const TwapExecutionSchema: GenMessage<TwapExecution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 3);\n\n/**\n * Execution selects how the credited deposit is traded.\n *\n * @generated from message swap.quickswap.v1.Execution\n */\nexport type Execution = Message<\"swap.quickswap.v1.Execution\"> & {\n /**\n * Exactly one strategy.\n *\n * @generated from oneof swap.quickswap.v1.Execution.strategy\n */\n strategy: {\n /**\n * Execute immediately.\n *\n * @generated from field: swap.quickswap.v1.MarketExecution market = 1;\n */\n value: MarketExecution;\n case: \"market\";\n } | {\n /**\n * Execute in equal time slices.\n *\n * @generated from field: swap.quickswap.v1.TwapExecution twap = 2;\n */\n value: TwapExecution;\n case: \"twap\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.Execution.\n * Use `create(ExecutionSchema)` to create a new message.\n */\nexport const ExecutionSchema: GenMessage<Execution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 4);\n\n/**\n * QuickSwapTerms are the economic terms of one QuickSwap. The same terms are\n * used to quote and to create, and are echoed unchanged on the QuickSwap.\n * Source and destination are either two assets, which are traded, or one asset\n * on two networks, a bridge: the deposit is credited and withdrawn to the\n * destination network without a trade. Any two zipped_asset_ids from the\n * config may be quoted; QuoteQuickSwap is authoritative for whether the route\n * is offered.\n *\n * @generated from message swap.quickswap.v1.QuickSwapTerms\n */\nexport type QuickSwapTerms = Message<\"swap.quickswap.v1.QuickSwapTerms\"> & {\n /**\n * Source asset and network: an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config. The end user deposits this asset on\n * this network.\n *\n * @generated from field: uint32 source_zipped_asset_id = 1;\n */\n sourceZippedAssetId: number;\n\n /**\n * Destination asset and network: an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config. The end user receives this asset on\n * this network.\n *\n * @generated from field: uint32 destination_zipped_asset_id = 2;\n */\n destinationZippedAssetId: number;\n\n /**\n * Side of the swap that amount denominates.\n *\n * @generated from field: swap.quickswap.v1.QuoteBasis basis = 3;\n */\n basis: QuoteBasis;\n\n /**\n * Positive amount in the token units of the route selected by basis: source\n * route for SOURCE_AMOUNT, destination route for DESTINATION_AMOUNT.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Worst execution the end user accepts.\n *\n * @generated from field: swap.quickswap.v1.Protection protection = 5;\n */\n protection?: Protection | undefined;\n\n /**\n * Market or TWAP execution. A bridge trades nothing and takes market only;\n * TWAP on a bridge is ROUTE_UNSUPPORTED.\n *\n * @generated from field: swap.quickswap.v1.Execution execution = 6;\n */\n execution?: Execution | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapTerms.\n * Use `create(QuickSwapTermsSchema)` to create a new message.\n */\nexport const QuickSwapTermsSchema: GenMessage<QuickSwapTerms> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 5);\n\n/**\n * QuoteFee is one fee component of a quote. Trading fees (SERVICE, BROKER,\n * AFFILIATE and REFERRAL) are charged when each leg settles, in the asset that leg\n * receives: the base asset on a buy, the quote asset on a sell. Each is\n * computed on its own from what the leg receives and rounded down when\n * charged. A bridge has no settlement; its fees are charged at payout, in\n * the destination asset.\n *\n * A quoted fee is an estimate, not a fixed amount. What is fixed is the\n * rate (bps): each trading fee charged is that rate applied to what the leg\n * actually receives once the deposit is credited, which can be hours or days\n * after the quote. The quoted amount is not a cap: the fee charged and the\n * output follow the actual deposit, execution prices and rounding, so they\n * can be higher or lower than quoted.\n *\n * @generated from message swap.quickswap.v1.QuoteFee\n */\nexport type QuoteFee = Message<\"swap.quickswap.v1.QuoteFee\"> & {\n /**\n * Fee component.\n *\n * @generated from field: swap.quickswap.v1.FeeKind kind = 1;\n */\n kind: FeeKind;\n\n /**\n * Asset and network the fee is charged in, as a zipped_asset_id. Zero for a\n * trading fee of the first leg of a two-leg route, which is charged in the\n * intermediate asset (intermediate_asset_id).\n *\n * @generated from field: uint32 zipped_asset_id = 2;\n */\n zippedAssetId: number;\n\n /**\n * Fee in zipped_asset_id's token units; for a fee charged in the\n * intermediate asset, in the intermediate asset at its trading precision\n * (amount.decimals). An estimate for deposit_amount at the quoted prices,\n * with trading fees rounded up; the fee charged can be higher or lower.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 3;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Rate of a trading fee in basis points of what the leg receives; zero for\n * a network fee. The rate, not amount, is what is charged: bps of what the\n * leg actually receives.\n *\n * @generated from field: uint32 bps = 4;\n */\n bps: number;\n\n /**\n * AFFILIATE only: public sub-account ID of the affiliate vault credited\n * with the fee; zero for every other kind, REFERRAL included.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteFee.\n * Use `create(QuoteFeeSchema)` to create a new message.\n */\nexport const QuoteFeeSchema: GenMessage<QuoteFee> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 6);\n\n/**\n * ReferralPricing is the referral applied to a QuickSwap, in whole basis\n * points of what each leg receives. The end user pays the service fee plus\n * base_broker_bps less discount_bps; the broker fee charged is\n * base_broker_bps less discount_bps and commission_bps, and the partner is\n * credited commission_bps (FeeKind REFERRAL). The service fee is unchanged.\n * The rates depend on the route: bridging when nothing is traded,\n * stablecoin when every leg trades two stablecoins, normal otherwise.\n *\n * @generated from message swap.quickswap.v1.ReferralPricing\n */\nexport type ReferralPricing = Message<\"swap.quickswap.v1.ReferralPricing\"> & {\n /**\n * Broker fee without the referral: the request's broker_bps.\n *\n * @generated from field: uint32 base_broker_bps = 1;\n */\n baseBrokerBps: number;\n\n /**\n * Discount off the end user's fee.\n *\n * @generated from field: uint32 discount_bps = 2;\n */\n discountBps: number;\n\n /**\n * Commission credited to the referral partner.\n *\n * @generated from field: uint32 commission_bps = 3;\n */\n commissionBps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralPricing.\n * Use `create(ReferralPricingSchema)` to create a new message.\n */\nexport const ReferralPricingSchema: GenMessage<ReferralPricing> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 7);\n\n/**\n * QuickSwapQuote is the priced view of a QuickSwap's terms. Prices, amounts\n * and fees are estimates at quoted_at; only the protection fields are\n * guarantees. A QuickSwap is priced when its deposit is credited, which can\n * be hours or days after the quote: the deposit must be detected before\n * DepositInstructions.funding_expires_at, and its confirmation, credit and\n * execution can finish later. Its actual output and fees can therefore\n * differ from the quote.\n *\n * The end user may deposit any amount from min_deposit_amount to\n * max_deposit_amount. min_amount_out applies only to a deposit of exactly\n * deposit_amount that fully converts; for any other deposit the guarantee is\n * min_rate on the converted part.\n *\n * The credit is the deposit less the deposit network fee. Every amount below\n * is in token units of its route.\n *\n * @generated from message swap.quickswap.v1.QuickSwapQuote\n */\nexport type QuickSwapQuote = Message<\"swap.quickswap.v1.QuickSwapQuote\"> & {\n /**\n * Source amount the quote was computed for, in source token units. Equals\n * the request amount for SOURCE_AMOUNT; computed for DESTINATION_AMOUNT.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount deposit_amount = 1;\n */\n depositAmount?: TokenAmount | undefined;\n\n /**\n * Expected destination amount for deposit_amount at quoted_at, after\n * trading fees and both quoted network fees, in destination token units. An\n * estimate, not a guarantee: the delivered amount follows the actual\n * deposit, execution and fees, bounded below only by the protection.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount expected_amount_out = 2;\n */\n expectedAmountOut?: TokenAmount | undefined;\n\n /**\n * Guaranteed minimum delivered amount, in destination token units, at the\n * quoted network fees, for a deposit of exactly deposit_amount that fully\n * converts to the destination asset. For any other deposit, and for a\n * deposit only partly converted, the guarantee is min_rate on the converted\n * part.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_amount_out = 3;\n */\n minAmountOut?: TokenAmount | undefined;\n\n /**\n * Guaranteed minimum execution rate: destination display units per source\n * display unit, as a decimal string with at most 18 fractional digits,\n * rounded up when quoted. Guarantee: for the source amount converted all the\n * way to the destination asset, the destination output before the\n * withdrawal network fee is at least that amount × min_rate, rounded down to\n * destination token units. On a two-leg route, the source amount converted\n * is the first leg's input in proportion to the intermediate funds the\n * second leg converted. Source that is not traded is returned to\n * return_address, and intermediate funds that the second leg does not\n * convert are refunded in the intermediate asset to refund_address; those\n * parts are outside the destination guarantee. The amount delivered is the\n * output less the actual withdrawal network fee, which can differ from the\n * quote.\n *\n * @generated from field: string min_rate = 4;\n */\n minRate: string;\n\n /**\n * Published minimum deposit, in source token units, compared with the\n * deposit before its network fee. Send at least this amount. It is never\n * below the source network's minimum deposit\n * (AssetChainVariant.deposit_min_amount in the config, for\n * DepositInstructions.zipped_asset_id). A smaller deposit is returned to\n * return_address (DEPOSIT_BELOW_MINIMUM) only if it reaches the source\n * network's minimum deposit; a deposit below that minimum is not detected,\n * recorded or returned, and is lost. For a bridge, min_deposit_amount\n * often equals the source network's minimum deposit; when they are equal,\n * any smaller deposit is lost. It differs from\n * ErrorDetail.min_deposit_amount, the smallest deposit that currently\n * quotes. For a TWAP it is the slice count times the smallest deposit one\n * slice takes, and at least a market execution's minimum.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_deposit_amount = 5;\n */\n minDepositAmount?: TokenAmount | undefined;\n\n /**\n * Largest deposit that is eligible to execute, in source token units,\n * compared with the deposit before its network fee. Fixed when the\n * QuickSwap is created. A larger deposit is returned to return_address\n * (DEPOSIT_ABOVE_MAXIMUM). Unset for a bridge, whose deposit no order book\n * bounds.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount max_deposit_amount = 6;\n */\n maxDepositAmount?: TokenAmount | undefined;\n\n /**\n * Unified asset ID of the intermediate asset of a two-leg route (for\n * example USDT for BTC to SOL): the AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config. Zero for a direct route or a\n * bridge. When non-zero, CreateQuickSwap requires a refund address for that\n * asset. The route is fixed at creation.\n *\n * @generated from field: uint32 intermediate_asset_id = 7;\n */\n intermediateAssetId: number;\n\n /**\n * Estimated fee components for deposit_amount at quoted_at: each leg's\n * service, broker and affiliate or referral fees, in that order, legs in\n * route order (a bridge has one set, charged at payout), then network fees.\n * Affiliates are in ascending account_id order. Zero fees are omitted. The fees charged\n * are each rate applied to the actual execution and can differ from these\n * amounts; QuickSwap.charged_fees reports the broker, affiliate and\n * referral fees as charged.\n *\n * @generated from field: repeated swap.quickswap.v1.QuoteFee fees = 8;\n */\n fees: QuoteFee[];\n\n /**\n * When the quote was priced.\n *\n * @generated from field: google.protobuf.Timestamp quoted_at = 9;\n */\n quotedAt?: Timestamp | undefined;\n\n /**\n * End of the short quote validity, typically seconds to minutes after\n * quoted_at. Display the quote until expires_at. CreateQuickSwap prices the\n * terms again and never fails because a quote expired. After it the price\n * fields are stale; the protection of a created QuickSwap still applies.\n * Independent of the funding window and the execution deadline.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 10;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * The referral applied; set only when the request carried a\n * referral_code. A QuickSwap's quote keeps the referral fixed at creation:\n * later changes to the referral program or partner never change it.\n *\n * @generated from field: swap.quickswap.v1.ReferralPricing referral = 11;\n */\n referral?: ReferralPricing | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapQuote.\n * Use `create(QuickSwapQuoteSchema)` to create a new message.\n */\nexport const QuickSwapQuoteSchema: GenMessage<QuickSwapQuote> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 8);\n\n/**\n * Screening is the risk screening of a QuickSwap. A source wallet supplied\n * in the request is screened before the deposit address is issued: a\n * rejected wallet makes the QuickSwap REJECTED with\n * SOURCE_WALLET_SCREENING_FAILED.\n * Every deposit is still screened on arrival, whoever sent it; that outcome\n * shows in the status, its reason and each deposit's disposition and reason.\n *\n * @generated from message swap.quickswap.v1.Screening\n */\nexport type Screening = Message<\"swap.quickswap.v1.Screening\"> & {\n /**\n * Source wallet supplied in the request; empty when none was supplied.\n *\n * @generated from field: string source_wallet = 2;\n */\n sourceWallet: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Screening.\n * Use `create(ScreeningSchema)` to create a new message.\n */\nexport const ScreeningSchema: GenMessage<Screening> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 9);\n\n/**\n * DepositInstructions tell the end user where and until when to deposit.\n *\n * @generated from message swap.quickswap.v1.DepositInstructions\n */\nexport type DepositInstructions = Message<\"swap.quickswap.v1.DepositInstructions\"> & {\n /**\n * Deposit address in the source network's native text form, without memo.\n *\n * @generated from field: string address = 1;\n */\n address: string;\n\n /**\n * Destination tag or memo the deposit must carry; empty when the source\n * network uses none. A deposit without it cannot be attributed.\n *\n * @generated from field: string memo = 2;\n */\n memo: string;\n\n /**\n * Asset and network to deposit; equal to terms.source_zipped_asset_id.\n *\n * @generated from field: uint32 zipped_asset_id = 3;\n */\n zippedAssetId: number;\n\n /**\n * When the address was issued to this QuickSwap; the funding window starts\n * here. After ADDRESS_UNAVAILABLE it can be long after created_at.\n *\n * @generated from field: google.protobuf.Timestamp issued_at = 4;\n */\n issuedAt?: Timestamp | undefined;\n\n /**\n * End of the funding window, fixed when the address is issued (currently 7\n * days after issued_at). A deposit can execute only if Polyester detects it\n * before this time; detection time counts, not block time, and\n * confirmations may finish later. A deposit detected at or after this time\n * never executes. A deposit observed on a retired address is\n * MANUAL_RECOVERY and is not returned automatically; other late deposits\n * are RETURN_ONLY. For an unfunded address, address_retires_at equals this\n * time, so there is no separate scheduled return period. Send deposits well\n * before this time. Never changes.\n *\n * @generated from field: google.protobuf.Timestamp funding_expires_at = 5;\n */\n fundingExpiresAt?: Timestamp | undefined;\n\n /**\n * After this time the deposit address is retired and funds sent to it may\n * not be recoverable. For an unfunded address it equals funding_expires_at.\n * After a deposit is accepted it is provisional, a lower bound, until\n * Polyester releases the deposit address, which can be shortly after the\n * QuickSwap becomes terminal; from then on it is at least 7 days after all\n * payouts finish. It only moves later, never earlier, and never before\n * funding_expires_at.\n *\n * @generated from field: google.protobuf.Timestamp address_retires_at = 6;\n */\n addressRetiresAt?: Timestamp | undefined;\n\n /**\n * Current lifecycle state of the address.\n *\n * @generated from field: swap.quickswap.v1.DepositAddressState address_state = 7;\n */\n addressState: DepositAddressState;\n\n /**\n * Recommended gas limit, in gas units, for a native-coin deposit on EVM\n * networks to succeed reliably: 250000. Polyester does not enforce it; the\n * sender's wallet or exchange sets the gas limit. A gas estimate from the\n * network of at least 50000 also works, but confirms more slowly. The gas\n * a plain transfer needs differs by network: several layer-2 networks and\n * EVM forks do not use 21000. If the limit is too low, the transfer fails\n * on chain without depositing, and the network fee is still charged. Zero\n * for token deposits and non-EVM networks.\n *\n * @generated from field: uint64 min_native_gas_limit = 8;\n */\n minNativeGasLimit: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.DepositInstructions.\n * Use `create(DepositInstructionsSchema)` to create a new message.\n */\nexport const DepositInstructionsSchema: GenMessage<DepositInstructions> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 10);\n\n/**\n * Deposit is one deposit detected on the QuickSwap's deposit address.\n *\n * @generated from message swap.quickswap.v1.Deposit\n */\nexport type Deposit = Message<\"swap.quickswap.v1.Deposit\"> & {\n /**\n * Zero-based position in deposits, which lists deposits oldest first. Not\n * stable: a deposit detected earlier can appear later, for example a\n * dropped or replaced deposit that confirms after all, and then shifts the\n * index of every deposit after it. Identify a deposit by tx_hash with\n * tx_occurrence_index, not by index.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Source-network transaction identifier in the network's native text form.\n *\n * @generated from field: string tx_hash = 2;\n */\n txHash: string;\n\n /**\n * Output or log index of the deposit within tx_hash; zero is valid.\n *\n * @generated from field: uint64 tx_occurrence_index = 3;\n */\n txOccurrenceIndex: bigint;\n\n /**\n * Asset and network actually received, as a zipped_asset_id. Zero until\n * Polyester has identified the deposit's asset, shortly after detection,\n * and when the asset is not a supported route.\n *\n * @generated from field: uint32 zipped_asset_id = 4;\n */\n zippedAssetId: number;\n\n /**\n * Received amount, before the deposit network fee, in zipped_asset_id's\n * token units; unset while zipped_asset_id is zero.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 5;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * What this deposit may do.\n *\n * @generated from field: swap.quickswap.v1.DepositDisposition disposition = 8;\n */\n disposition: DepositDisposition;\n\n /**\n * Why the disposition is RETURN_ONLY, ON_HOLD or MANUAL_RECOVERY;\n * REASON_UNSPECIFIED otherwise, and for a deposit ON_HOLD for review\n * without a more specific reason.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 9;\n */\n reason: QuickSwapReason;\n\n /**\n * Current source-network confirmations; zero until the source network\n * reports any. Never decreases.\n *\n * @generated from field: uint32 confirmations = 10;\n */\n confirmations: number;\n\n /**\n * Source-network confirmations required before credit; zero until known.\n *\n * @generated from field: uint32 required_confirmations = 11;\n */\n requiredConfirmations: number;\n\n /**\n * When the deposit was first seen. Eligibility compares this time with\n * funding_expires_at.\n *\n * @generated from field: google.protobuf.Timestamp detected_at = 12;\n */\n detectedAt?: Timestamp | undefined;\n\n /**\n * When the deposit was credited; unset until credited. Credit does not\n * decide eligibility: a credited deposit can still be EVALUATING, and one\n * then found ineligible, such as a late deposit, stays credited and is\n * returned (RETURN_ONLY).\n *\n * @generated from field: google.protobuf.Timestamp credited_at = 13;\n */\n creditedAt?: Timestamp | undefined;\n\n /**\n * Public, URL-safe lifecycle flow identifier of this deposit, usable with\n * GET /v1/chain/flows/{flow_id}; empty until the flow exists. Lifecycle flow\n * amounts are 18-decimal unified units (amount_e18), not token base units.\n *\n * @generated from field: string flow_id = 14;\n */\n flowId: string;\n\n /**\n * Direct return to return_address of a deposit that was never credited: a\n * RETURN_ONLY deposit that reached the address after its one eligible\n * deposit or after its funding window. On a MANUAL_RECOVERY deposit it\n * reports a direct return once one is recorded. Unset until a direct return\n * is recorded, and on every other deposit, which is returned through\n * withdrawals.\n *\n * @generated from field: swap.quickswap.v1.DepositReturn direct_return = 15;\n */\n directReturn?: DepositReturn | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Deposit.\n * Use `create(DepositSchema)` to create a new message.\n */\nexport const DepositSchema: GenMessage<Deposit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 11);\n\n/**\n * DepositReturn is a deposit's direct return to return_address. It pays the\n * return address only, never the deposit's sender, in the asset and on the\n * network the deposit was received in.\n *\n * @generated from message swap.quickswap.v1.DepositReturn\n */\nexport type DepositReturn = Message<\"swap.quickswap.v1.DepositReturn\"> & {\n /**\n * Return progress. Accept state values added later.\n *\n * @generated from field: swap.quickswap.v1.DepositReturnState state = 1;\n */\n state: DepositReturnState;\n\n /**\n * Return transaction on the deposit's network, in the network's native\n * text form; set once RETURN_COMPLETED.\n *\n * @generated from field: string tx_hash = 2;\n */\n txHash: string;\n\n /**\n * When the return last changed state.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 3;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.DepositReturn.\n * Use `create(DepositReturnSchema)` to create a new message.\n */\nexport const DepositReturnSchema: GenMessage<DepositReturn> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 12);\n\n/**\n * ExecutionProgress is the trading progress of a QuickSwap.\n *\n * @generated from message swap.quickswap.v1.ExecutionProgress\n */\nexport type ExecutionProgress = Message<\"swap.quickswap.v1.ExecutionProgress\"> & {\n /**\n * Credited amount committed to execution, in source token units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_amount = 1;\n */\n inputAmount?: TokenAmount | undefined;\n\n /**\n * Source amount traded so far, in source token units. On a two-leg route\n * this counts the first leg. Zero for a bridge, which trades nothing.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount executed_input = 2;\n */\n executedInput?: TokenAmount | undefined;\n\n /**\n * Destination amount acquired so far after service, broker and affiliate\n * fees and before withdrawal network fees, in destination token units. Zero for a\n * bridge: its destination withdrawal pays the credit less its fees.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_amount = 3;\n */\n outputAmount?: TokenAmount | undefined;\n\n /**\n * On a two-leg route, intermediate asset acquired but not yet converted, in\n * the refund route's token units; unset for a direct route and a bridge.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount intermediate_remainder = 4;\n */\n intermediateRemainder?: TokenAmount | undefined;\n\n /**\n * Completed slices: a market execution's one slice completes when\n * execution finishes; a TWAP slice completes once it has traded and is\n * over, so a slot that traded nothing or was skipped never completes.\n * Zero for a bridge.\n *\n * @generated from field: uint32 completed_slices = 5;\n */\n completedSlices: number;\n\n /**\n * Planned slices: a market execution has one once it is planned; a TWAP\n * has its slice count, duration_ms over slice_interval_ms rounded up. Zero\n * until then, and for a bridge, which trades nothing.\n *\n * @generated from field: uint32 total_slices = 6;\n */\n totalSlices: number;\n\n /**\n * When the first slice was submitted for execution. Unset while all slices\n * remain unsent, including an execution refused during planning. Planned\n * slice times and the execution deadline do not imply a slice was sent.\n *\n * @generated from field: google.protobuf.Timestamp started_at = 7;\n */\n startedAt?: Timestamp | undefined;\n\n /**\n * Execution deadline frozen during planning: the planned start plus the TWAP\n * duration or market execution window. A later first submission does not move\n * this deadline. Funds not converted by then are refunded or returned.\n * Independent of the quote validity and the funding window. Unset until\n * the execution is planned, and for a bridge, which trades nothing.\n *\n * @generated from field: google.protobuf.Timestamp deadline = 8;\n */\n deadline?: Timestamp | undefined;\n\n /**\n * When execution finished; unset while executing.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 9;\n */\n finishedAt?: Timestamp | undefined;\n\n /**\n * Planned slices in increasing index order, at most 50. Includes future and\n * active slices. Empty for a bridge, or when slices_unavailable_reason is set.\n * When available and not truncated, input_traded and\n * output_received sum to executed_input and output_amount respectively;\n * completed entries count to completed_slices and the list has total_slices\n * entries. Amounts are rounded cumulatively in index order.\n *\n * @generated from field: repeated swap.quickswap.v1.ExecutionSlice slices = 10;\n */\n slices: ExecutionSlice[];\n\n /**\n * True when more than 50 slices exist; only the first 50 are listed.\n * Totals and completed_slices still cover the entire execution.\n *\n * @generated from field: bool slices_truncated = 11;\n */\n slicesTruncated: boolean;\n\n /**\n * Why slice history is unavailable. When set, slices is empty and\n * slices_truncated is false. Counts, execution status and withdrawals\n * remain available, and so do the aggregate amounts, except that with\n * PRECISION_UNAVAILABLE an amount in a token whose precision is\n * unavailable is unset. Unspecified when history is available.\n *\n * @generated from field: swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason slices_unavailable_reason = 12;\n */\n slicesUnavailableReason: ExecutionProgress_SlicesUnavailableReason;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionProgress.\n * Use `create(ExecutionProgressSchema)` to create a new message.\n */\nexport const ExecutionProgressSchema: GenMessage<ExecutionProgress> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 13);\n\n/**\n * SlicesUnavailableReason explains why slice details cannot be shown.\n *\n * @generated from enum swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason\n */\nexport enum ExecutionProgress_SlicesUnavailableReason {\n /**\n * Slice history is available, or the execution has no slices.\n *\n * @generated from enum value: UNAVAILABLE_REASON_UNSPECIFIED = 0;\n */\n UNAVAILABLE_REASON_UNSPECIFIED = 0,\n\n /**\n * Recorded slice data is inconsistent; no slice amounts are fabricated.\n *\n * @generated from enum value: ACCOUNTING_INCONSISTENCY = 1;\n */\n ACCOUNTING_INCONSISTENCY = 1,\n\n /**\n * The precision of one or more execution assets is unavailable, so slice\n * amounts cannot be shown accurately. Aggregate amounts in those assets\n * are unset; the others remain available.\n *\n * @generated from enum value: PRECISION_UNAVAILABLE = 2;\n */\n PRECISION_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason.\n */\nexport const ExecutionProgress_SlicesUnavailableReasonSchema: GenEnum<ExecutionProgress_SlicesUnavailableReason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 13, 0);\n\n/**\n * ExecutionSlice is one planned execution slot, including a slot that trades\n * nothing. Its index and planned_at never change.\n *\n * @generated from message swap.quickswap.v1.ExecutionSlice\n */\nexport type ExecutionSlice = Message<\"swap.quickswap.v1.ExecutionSlice\"> & {\n /**\n * Zero-based position in the execution's frozen schedule.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Frozen scheduled start time of this slot.\n *\n * @generated from field: google.protobuf.Timestamp planned_at = 2;\n */\n plannedAt?: Timestamp | undefined;\n\n /**\n * When its first order was sent; unset for an unsent slice.\n *\n * @generated from field: google.protobuf.Timestamp executed_at = 3;\n */\n executedAt?: Timestamp | undefined;\n\n /**\n * When its outcome became final; unset while planned or executing.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 4;\n */\n finishedAt?: Timestamp | undefined;\n\n /**\n * Current slice state.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.State state = 5;\n */\n state: ExecutionSlice_State;\n\n /**\n * Why a final slice did not trade in full; unspecified after full trading.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.Reason reason = 6;\n */\n reason: ExecutionSlice_Reason;\n\n /**\n * Whether this slice contributes to completed_slices. A final market slice\n * completes even if it traded nothing; a TWAP slice completes only if it\n * traded source input and is over.\n *\n * @generated from field: bool completed = 7;\n */\n completed: boolean;\n\n /**\n * Source input traded, in source token units, counting only the first leg.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_traded = 8;\n */\n inputTraded?: TokenAmount | undefined;\n\n /**\n * Destination received after all trading fees, in destination token units.\n * On a two-leg route this is the second leg's output in this slot, which\n * can include conversion of intermediate funds from earlier slots.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_received = 9;\n */\n outputReceived?: TokenAmount | undefined;\n\n /**\n * Net destination tokens per source token for this slot, rounded down to\n * 18 decimal places; empty when no source input traded. A two-leg slot's\n * output can include conversion of funds carried from previous slots.\n *\n * @generated from field: string average_price = 10;\n */\n averagePrice: string;\n\n /**\n * Second-leg conversion; unset on a direct route or a bridge.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.SecondLeg second_leg = 11;\n */\n secondLeg?: ExecutionSlice_SecondLeg | undefined;\n\n /**\n * Intermediate balance after this slot's recorded fills, including earlier\n * carried funds, in the refund route's token units; unset on a direct route.\n * It passes to later slots while executing, or to refund when execution ends.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount intermediate_carried = 12;\n */\n intermediateCarried?: TokenAmount | undefined;\n\n /**\n * Why intermediate funds could not be converted in this slot; unspecified\n * when no conversion was refused.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.Reason carry_reason = 13;\n */\n carryReason: ExecutionSlice_Reason;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionSlice.\n * Use `create(ExecutionSliceSchema)` to create a new message.\n */\nexport const ExecutionSliceSchema: GenMessage<ExecutionSlice> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 14);\n\n/**\n * SecondLeg is the intermediate-to-destination conversion in this slot.\n * It may spend intermediate funds carried from earlier slots as well.\n *\n * @generated from message swap.quickswap.v1.ExecutionSlice.SecondLeg\n */\nexport type ExecutionSlice_SecondLeg = Message<\"swap.quickswap.v1.ExecutionSlice.SecondLeg\"> & {\n /**\n * Intermediate amount traded, in the refund route's token units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_traded = 1;\n */\n inputTraded?: TokenAmount | undefined;\n\n /**\n * Destination amount received after all trading fees, in destination units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_received = 2;\n */\n outputReceived?: TokenAmount | undefined;\n\n /**\n * Net destination tokens per intermediate token, rounded down to 18\n * decimal places; empty when no intermediate amount traded.\n *\n * @generated from field: string average_price = 3;\n */\n averagePrice: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionSlice.SecondLeg.\n * Use `create(ExecutionSlice_SecondLegSchema)` to create a new message.\n */\nexport const ExecutionSlice_SecondLegSchema: GenMessage<ExecutionSlice_SecondLeg> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 14, 0);\n\n/**\n * State distinguishes pending work from a final slice outcome.\n *\n * @generated from enum swap.quickswap.v1.ExecutionSlice.State\n */\nexport enum ExecutionSlice_State {\n /**\n * No state; never returned.\n *\n * @generated from enum value: STATE_UNSPECIFIED = 0;\n */\n STATE_UNSPECIFIED = 0,\n\n /**\n * Scheduled; no order has been sent yet.\n *\n * @generated from enum value: PLANNED = 1;\n */\n PLANNED = 1,\n\n /**\n * An order has been sent and the outcome is not final.\n *\n * @generated from enum value: EXECUTING = 2;\n */\n EXECUTING = 2,\n\n /**\n * The slice traded its planned orders in full.\n *\n * @generated from enum value: TRADED = 3;\n */\n TRADED = 3,\n\n /**\n * The slice traded some input but left an order partly unfilled or\n * intermediate funds unconverted.\n *\n * @generated from enum value: PARTLY_TRADED = 4;\n */\n PARTLY_TRADED = 4,\n\n /**\n * No input traded because the slot was not used or no order could fill.\n *\n * @generated from enum value: SKIPPED = 5;\n */\n SKIPPED = 5,\n\n /**\n * No input traded because an order or its execution failed.\n *\n * @generated from enum value: FAILED = 6;\n */\n FAILED = 6,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionSlice.State.\n */\nexport const ExecutionSlice_StateSchema: GenEnum<ExecutionSlice_State> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 14, 0);\n\n/**\n * Reason explains a slice outcome or why intermediate funds were carried.\n *\n * @generated from enum swap.quickswap.v1.ExecutionSlice.Reason\n */\nexport enum ExecutionSlice_Reason {\n /**\n * No reason is needed while pending or after a fully traded slice.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The slot ended before an order could be sent.\n *\n * @generated from enum value: SLOT_MISSED = 1;\n */\n SLOT_MISSED = 1,\n\n /**\n * The execution deadline ended this slice.\n *\n * @generated from enum value: DEADLINE_REACHED = 2;\n */\n DEADLINE_REACHED = 2,\n\n /**\n * The required market was closed.\n *\n * @generated from enum value: MARKET_CLOSED = 3;\n */\n MARKET_CLOSED = 3,\n\n /**\n * The amount was below the market's minimum order size.\n *\n * @generated from enum value: BELOW_MINIMUM = 4;\n */\n BELOW_MINIMUM = 4,\n\n /**\n * The amount exceeded the market's maximum order size.\n *\n * @generated from enum value: ABOVE_MAXIMUM = 5;\n */\n ABOVE_MAXIMUM = 5,\n\n /**\n * No order could satisfy the swap's price protection.\n *\n * @generated from enum value: PROTECTION_NOT_MET = 6;\n */\n PROTECTION_NOT_MET = 6,\n\n /**\n * An order was refused.\n *\n * @generated from enum value: ORDER_REJECTED = 7;\n */\n ORDER_REJECTED = 7,\n\n /**\n * Available liquidity did not fill the whole order at its protected price.\n *\n * @generated from enum value: INSUFFICIENT_LIQUIDITY = 8;\n */\n INSUFFICIENT_LIQUIDITY = 8,\n\n /**\n * The execution ended before this slot was used.\n *\n * @generated from enum value: EXECUTION_ENDED = 9;\n */\n EXECUTION_ENDED = 9,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionSlice.Reason.\n */\nexport const ExecutionSlice_ReasonSchema: GenEnum<ExecutionSlice_Reason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 14, 1);\n\n/**\n * Withdrawal is one outgoing payment. A QuickSwap can end with several, for\n * example a partial refund plus the destination payout; the best case is a\n * single destination withdrawal.\n *\n * @generated from message swap.quickswap.v1.Withdrawal\n */\nexport type Withdrawal = Message<\"swap.quickswap.v1.Withdrawal\"> & {\n /**\n * Zero-based position in the withdrawals list. Not stable: a withdrawal's\n * position can change between reads, so do not use it as an identifier.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Why this withdrawal pays its recipient.\n *\n * @generated from field: swap.quickswap.v1.WithdrawalRole role = 2;\n */\n role: WithdrawalRole;\n\n /**\n * Index (Deposit.index), in the same response, of the deposit whose funds\n * this withdrawal moves. Not stable across reads, like Deposit.index.\n *\n * @generated from field: uint32 deposit_index = 3;\n */\n depositIndex: number;\n\n /**\n * Asset and network paid, as a zipped_asset_id.\n *\n * @generated from field: uint32 zipped_asset_id = 4;\n */\n zippedAssetId: number;\n\n /**\n * Recipient address in the network's native text form. Empty on a\n * COMPLIANCE_TRANSFER, whose recipient Polyester does not record.\n *\n * @generated from field: string address = 5;\n */\n address: string;\n\n /**\n * Recipient destination tag or memo; empty when the network uses none,\n * and on a COMPLIANCE_TRANSFER.\n *\n * @generated from field: string memo = 6;\n */\n memo: string;\n\n /**\n * Amount delivered to address after the network fee, in zipped_asset_id's\n * token units; set once FINALIZED. Like tx_hash, it is the amount recorded\n * for this withdrawal and can be corrected for up to 24 hours after the\n * QuickSwap ends (terminal_at). Unset on the RETURN of a deposit returned\n * because its risk screen failed (SOURCE_SCREENING_FAILED): that return is\n * sent from the deposit address and reports no delivered amount. Unset on\n * a COMPLIANCE_TRANSFER too.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 7;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Actual network fee withheld from this withdrawal, in the same units; set\n * once FINALIZED. Can be corrected for up to 24 hours after the QuickSwap\n * ends, like amount. Unset on the RETURN of a deposit returned because its\n * risk screen failed, and on a COMPLIANCE_TRANSFER, like amount.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount network_fee = 8;\n */\n networkFee?: TokenAmount | undefined;\n\n /**\n * Withdrawal progress.\n *\n * @generated from field: swap.quickswap.v1.WithdrawalState state = 9;\n */\n state: WithdrawalState;\n\n /**\n * Recipient-network transaction recorded for this withdrawal; empty until\n * the transaction is committed on the recipient network. It can be\n * corrected for up to 24 hours after the QuickSwap ends (terminal_at) and is\n * not updated after that. For the authoritative, latest state of the\n * transfer, read flow_id.\n *\n * @generated from field: string tx_hash = 10;\n */\n txHash: string;\n\n /**\n * When the withdrawal was submitted; unset until submitted.\n *\n * @generated from field: google.protobuf.Timestamp submitted_at = 11;\n */\n submittedAt?: Timestamp | undefined;\n\n /**\n * When the withdrawal became final; unset until FINALIZED.\n *\n * @generated from field: google.protobuf.Timestamp finalized_at = 12;\n */\n finalizedAt?: Timestamp | undefined;\n\n /**\n * Public, URL-safe lifecycle flow identifier of this withdrawal, usable with\n * GET /v1/chain/flows/{flow_id}; empty until the flow exists. The flow is\n * the authoritative, latest state of the transfer, including a correction\n * made after tx_hash, amount and network_fee stop being updated. Lifecycle\n * flow amounts are 18-decimal unified units (amount_e18), not token base\n * units. For the RETURN of a deposit returned because its risk screen\n * failed, it is the deposit's flow (Deposit.flow_id), which ends REFUNDED\n * with the return as its transaction. For a COMPLIANCE_TRANSFER, it is the\n * deposit's flow too, which ends FAILED with reason\n * ZIPPER_COMPLIANCE_TRANSFERRED and the transfer as its transaction.\n *\n * @generated from field: string flow_id = 13;\n */\n flowId: string;\n\n /**\n * Set only when state is NOT_SENT: the amount for which no withdrawal was\n * made because it was below the withdrawal minimum of its asset and\n * network. In zipped_asset_id's token units, rounded down to the token's\n * smallest unit.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount unsent_amount = 14;\n */\n unsentAmount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Withdrawal.\n * Use `create(WithdrawalSchema)` to create a new message.\n */\nexport const WithdrawalSchema: GenMessage<Withdrawal> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 15);\n\n/**\n * QuickSwap is one broker-owned swap of an external deposit into external\n * withdrawals. The end user needs no account.\n *\n * @generated from message swap.quickswap.v1.QuickSwap\n */\nexport type QuickSwap = Message<\"swap.quickswap.v1.QuickSwap\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * The broker's idempotency key that created this QuickSwap.\n *\n * @generated from field: string idempotency_key = 2;\n */\n idempotencyKey: string;\n\n /**\n * Current status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 3;\n */\n status: QuickSwapStatus;\n\n /**\n * Why the status is notable (held, returning, delayed, terminal without\n * destination output); REASON_UNSPECIFIED otherwise. When a payout\n * completes but a refund or return was NOT_SENT, the status follows the\n * paid withdrawals (for example COMPLETED) and the reason is\n * REFUND_BELOW_MINIMUM. A FAILED withdrawal takes precedence: the status is\n * HELD and the reason WITHDRAWAL_FAILED.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 4;\n */\n reason: QuickSwapReason;\n\n /**\n * True when status is terminal; authoritative, including for status values\n * added later. Polling can stop at a terminal status. A terminal status\n * never changes. Shortly after it, address_retires_at can still move later,\n * and withdrawal details can be corrected as documented on Withdrawal;\n * another deposit reaching the address also shows as RETURN_ONLY, and\n * another deposit observed on an already retired address shows as\n * MANUAL_RECOVERY. Such a deposit is returned directly, not through\n * withdrawals: its direct_return reports the return, and RETURN_ONLY alone\n * does not confirm a completed return.\n * An EXPIRED QuickSwap whose dropped or replaced deposit confirms after all\n * becomes HELD (see QuickSwapStatus.EXPIRED). Read again if the end user\n * reports such a deposit or needs the final retirement time.\n *\n * @generated from field: bool is_terminal = 5;\n */\n isTerminal: boolean;\n\n /**\n * Accepted economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 6;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Recipient of the swap output on the destination network. Addresses and\n * memos are in their network's canonical form (for example lowercase EVM\n * hex), which can differ in case or encoding from the create request; that\n * form is the one paid.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Destination tag or memo for destination_address; empty when none.\n *\n * @generated from field: string destination_memo = 8;\n */\n destinationMemo: string;\n\n /**\n * Recipient of returned source funds on the source network.\n *\n * @generated from field: string return_address = 9;\n */\n returnAddress: string;\n\n /**\n * Destination tag or memo for return_address; empty when none.\n *\n * @generated from field: string return_memo = 10;\n */\n returnMemo: string;\n\n /**\n * Refund route (asset and network) of the intermediate asset; zero when\n * none was supplied.\n *\n * @generated from field: uint32 refund_zipped_asset_id = 11;\n */\n refundZippedAssetId: number;\n\n /**\n * Recipient of refunded intermediate asset; empty when none was supplied.\n *\n * @generated from field: string refund_address = 12;\n */\n refundAddress: string;\n\n /**\n * Destination tag or memo for refund_address; empty when none.\n *\n * @generated from field: string refund_memo = 13;\n */\n refundMemo: string;\n\n /**\n * Quote and protection fixed at creation. Not refreshed on retries. Its\n * amounts and fees stay estimates: the QuickSwap is priced when its deposit\n * is credited, and execution, withdrawals and charged_fees report the\n * actual output and fees.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 14;\n */\n quote?: QuickSwapQuote | undefined;\n\n /**\n * Where and until when to deposit; absent while ALLOCATING and on a\n * QuickSwap that never got an address (REJECTED, or EXPIRED with\n * DEPOSIT_ADDRESS_CONFLICT).\n *\n * @generated from field: swap.quickswap.v1.DepositInstructions deposit_instructions = 15;\n */\n depositInstructions?: DepositInstructions | undefined;\n\n /**\n * Risk screening.\n *\n * @generated from field: swap.quickswap.v1.Screening screening = 16;\n */\n screening?: Screening | undefined;\n\n /**\n * Detected deposits, oldest first, at most 50. A deposit detected earlier\n * can appear later and shift the others' index (see Deposit.index).\n *\n * @generated from field: repeated swap.quickswap.v1.Deposit deposits = 17;\n */\n deposits: Deposit[];\n\n /**\n * True when more than 50 deposits were detected; only the first 50 are\n * listed.\n *\n * @generated from field: bool deposits_truncated = 18;\n */\n depositsTruncated: boolean;\n\n /**\n * Execution progress; absent before execution starts.\n *\n * @generated from field: swap.quickswap.v1.ExecutionProgress execution = 20;\n */\n execution?: ExecutionProgress | undefined;\n\n /**\n * Withdrawals, oldest first, at most 50.\n *\n * @generated from field: repeated swap.quickswap.v1.Withdrawal withdrawals = 21;\n */\n withdrawals: Withdrawal[];\n\n /**\n * True when more than 50 withdrawals exist; only the first 50 are listed.\n *\n * @generated from field: bool withdrawals_truncated = 22;\n */\n withdrawalsTruncated: boolean;\n\n /**\n * When the QuickSwap was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 23;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the QuickSwap last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 24;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * When status became terminal; unset while not terminal.\n *\n * @generated from field: google.protobuf.Timestamp terminal_at = 25;\n */\n terminalAt?: Timestamp | undefined;\n\n /**\n * Monotonic state version: a snapshot with a lower version is older. Zero\n * while ALLOCATING; 1 once the deposit address is issued (AWAITING_DEPOSIT),\n * allocation ends without one (EXPIRED with DEPOSIT_ADDRESS_CONFLICT) or\n * the QuickSwap is REJECTED; every later change increments it.\n *\n * @generated from field: uint64 version = 26;\n */\n version: bigint;\n\n /**\n * Fee schedule version fixed at creation. Every execution or bridge payout\n * of this QuickSwap is charged that version's service fees, capped by the\n * broker's fee ceiling in force at creation if one applies, whatever later\n * versions or ceiling changes make.\n *\n * @generated from field: uint64 fee_schedule_version = 28;\n */\n feeScheduleVersion: bigint;\n\n /**\n * Broker and affiliate fees as requested, fixed at creation. With a\n * referral (quote.referral), the broker fee charged is broker_bps less the\n * referral's discount and commission.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 29;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Broker, affiliate and referral fees charged so far, as settled: one\n * entry per fee kind, credited account and asset, in kind, then\n * account_id, then asset_id order. Grows while the QuickSwap executes or pays out a bridge. Each is\n * the requested rate applied to the actual execution, so it can differ\n * from the quote's fee lines.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 30;\n */\n chargedFees: ChargedFee[];\n\n /**\n * USD value of the credited deposit taken into execution\n * (execution.input_amount), at the source asset's USD price when it was\n * taken in, in base units of 18 decimals, rounded down. Set once, within\n * minutes of that moment, and never repriced. Unset until then, and for\n * good when no current price valued it in time or the QuickSwap predates\n * USD values; never zero for unknown.\n * Setting it increments version.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount deposited_value_usd = 31;\n */\n depositedValueUsd?: TokenAmount | undefined;\n\n /**\n * USD value of what the destination is paid (the DESTINATION withdrawal's\n * amount: after service, broker and affiliate fees, before its network\n * fee), at the destination asset's USD price when that payout was\n * requested, in base units of 18 decimals, rounded down. Set only once\n * that withdrawal is FINALIZED; unset for good when no current price\n * valued the payout within minutes of its request or the QuickSwap\n * predates USD values; never zero for unknown.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount delivered_value_usd = 32;\n */\n deliveredValueUsd?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwap.\n * Use `create(QuickSwapSchema)` to create a new message.\n */\nexport const QuickSwapSchema: GenMessage<QuickSwap> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 16);\n\n/**\n * RequestedFees are the broker and affiliate fees a QuickSwap request set,\n * charged on top of the service fee.\n *\n * @generated from message swap.quickswap.v1.RequestedFees\n */\nexport type RequestedFees = Message<\"swap.quickswap.v1.RequestedFees\"> & {\n /**\n * Broker fee in basis points of what each leg receives, credited to the\n * broker's default vault.\n *\n * @generated from field: uint32 broker_bps = 1;\n */\n brokerBps: number;\n\n /**\n * Affiliate fees, in ascending account_id order.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 2;\n */\n affiliates: AffiliateShare[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.RequestedFees.\n * Use `create(RequestedFeesSchema)` to create a new message.\n */\nexport const RequestedFeesSchema: GenMessage<RequestedFees> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 17);\n\n/**\n * ChargedFee is what one vault has been credited with for a QuickSwap in\n * one asset, from settled fills and bridge payouts.\n *\n * @generated from message swap.quickswap.v1.ChargedFee\n */\nexport type ChargedFee = Message<\"swap.quickswap.v1.ChargedFee\"> & {\n /**\n * BROKER, AFFILIATE or REFERRAL.\n *\n * @generated from field: swap.quickswap.v1.FeeKind kind = 1;\n */\n kind: FeeKind;\n\n /**\n * Public sub-account ID of the credited vault: the default vault for\n * BROKER, the affiliate vault for AFFILIATE; zero for REFERRAL.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * Asset credited, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Amount credited, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * USD value of amount, each fee summed in it valued at its asset's USD\n * price when it was charged, in base units of 18 decimals, rounded down.\n * Each fee is valued once, within minutes of being charged, and never\n * repriced. Unset while any fee summed in amount has no USD value: one\n * charged in the last few minutes, one no current price valued in time,\n * or one charged before USD values existed; never zero for unknown.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount value_usd = 5;\n */\n valueUsd?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ChargedFee.\n * Use `create(ChargedFeeSchema)` to create a new message.\n */\nexport const ChargedFeeSchema: GenMessage<ChargedFee> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 18);\n\n/**\n * QuoteQuickSwapRequest prices terms, with the broker and affiliate fees,\n * without reserving anything.\n *\n * @generated from message swap.quickswap.v1.QuoteQuickSwapRequest\n */\nexport type QuoteQuickSwapRequest = Message<\"swap.quickswap.v1.QuoteQuickSwapRequest\"> & {\n /**\n * Terms to price.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 1;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Broker fee in basis points of what each leg receives, charged on top of\n * the service fee and credited to the broker's default vault; 0 for none,\n * at most 300. broker_bps and the affiliates' bps total at most 300.\n *\n * @generated from field: uint32 broker_bps = 2;\n */\n brokerBps: number;\n\n /**\n * Affiliate fees, each charged on top and credited to its affiliate vault:\n * at most three distinct vaults.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 3;\n */\n affiliates: AffiliateShare[];\n\n /**\n * Optional referral partner code, as CreateQuickSwapRequest.referral_code:\n * at most 64 bytes.\n *\n * @generated from field: string referral_code = 4;\n */\n referralCode: string;\n\n /**\n * Optional source wallet the end user will deposit from, as\n * CreateQuickSwapRequest.source_wallet: a valid address on the source\n * network, at most 256 UTF-8 bytes. When supplied, it is risk screened\n * before the quote is returned, and a wallet that fails screening is\n * refused with SOURCE_WALLET_REJECTED. Source wallets are screened in\n * advance on Bitcoin, Solana and most EVM networks. Wallets on other\n * networks, including the Bitcoin and Solana test networks, and wallets\n * whose screening is unavailable at the time, are quoted without it; their\n * deposits are still screened on arrival.\n *\n * @generated from field: string source_wallet = 5;\n */\n sourceWallet: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteQuickSwapRequest.\n * Use `create(QuoteQuickSwapRequestSchema)` to create a new message.\n */\nexport const QuoteQuickSwapRequestSchema: GenMessage<QuoteQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 19);\n\n/**\n * QuoteQuickSwapResponse is an indicative quote.\n *\n * @generated from message swap.quickswap.v1.QuoteQuickSwapResponse\n */\nexport type QuoteQuickSwapResponse = Message<\"swap.quickswap.v1.QuoteQuickSwapResponse\"> & {\n /**\n * Indicative quote, including whether the route needs a refund address.\n * Its amounts and fees are estimates. Creating a QuickSwap prices the terms\n * again.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 1;\n */\n quote?: QuickSwapQuote | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteQuickSwapResponse.\n * Use `create(QuoteQuickSwapResponseSchema)` to create a new message.\n */\nexport const QuoteQuickSwapResponseSchema: GenMessage<QuoteQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 20);\n\n/**\n * AffiliateShare credits one affiliate vault, a sub-account the broker owns,\n * with a fee charged on top of the service and broker fees.\n *\n * @generated from message swap.quickswap.v1.AffiliateShare\n */\nexport type AffiliateShare = Message<\"swap.quickswap.v1.AffiliateShare\"> & {\n /**\n * Public sub-account ID of an active affiliate vault of the broker\n * (QuickSwapBrokerService.CreateAffiliateVault). Create the vault first: an\n * unknown, disabled or other broker's vault, or the default vault, fails\n * with AFFILIATE_VAULT_UNKNOWN; an ID that is not a public sub-account ID\n * fails with FEES_INVALID.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Fee in basis points of what each leg receives, from 1 to 300.\n *\n * @generated from field: uint32 bps = 2;\n */\n bps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AffiliateShare.\n * Use `create(AffiliateShareSchema)` to create a new message.\n */\nexport const AffiliateShareSchema: GenMessage<AffiliateShare> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 21);\n\n/**\n * CreateQuickSwapRequest creates, or returns, the QuickSwap for one\n * idempotency key.\n *\n * @generated from message swap.quickswap.v1.CreateQuickSwapRequest\n */\nexport type CreateQuickSwapRequest = Message<\"swap.quickswap.v1.CreateQuickSwapRequest\"> & {\n /**\n * Broker-chosen idempotency key, 1 to 128 characters of letters, digits,\n * '.', '_', ':' or '-'. Scoped to the authenticated broker and retained\n * permanently. The same key with the same request returns the same QuickSwap\n * and deposit address; with a different request it fails with\n * IDEMPOTENCY_CONFLICT. Requests are compared after every valid address and\n * memo is put in its network's canonical form, so the same address in\n * another case or encoding is the same request; affiliate order is\n * ignored; every other field, the fees included, must be equal.\n *\n * @generated from field: string idempotency_key = 1;\n */\n idempotencyKey: string;\n\n /**\n * Economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 2;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Recipient of the swap output on the destination network, in its native\n * text form without memo: 1-256 UTF-8 bytes.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * Destination tag or memo for destination_address. Required when the\n * destination network requires one, optional when supported, and empty when\n * unsupported. See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string destination_memo = 4;\n */\n destinationMemo: string;\n\n /**\n * Recipient of returned source funds on the source network, in its native\n * text form without memo: 1-256 UTF-8 bytes. Deposits that are not\n * accepted, and source funds that are not traded, go here; never to an\n * observed sender.\n *\n * @generated from field: string return_address = 5;\n */\n returnAddress: string;\n\n /**\n * Destination tag or memo for return_address. Required when the source\n * network requires one, optional when supported, and empty when unsupported.\n * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string return_memo = 6;\n */\n returnMemo: string;\n\n /**\n * Refund route for the intermediate asset of a two-leg route: an\n * AssetChainVariant.zipped_asset_id of the asset whose AssetConfig.ledger_id\n * is the quote's intermediate_asset_id in GET\n * /v1/chain/deposit-withdraw/config, for example USDT on Ethereum. Required\n * with refund_address when the route has an intermediate asset; optional\n * and unused otherwise.\n *\n * @generated from field: uint32 refund_zipped_asset_id = 7;\n */\n refundZippedAssetId: number;\n\n /**\n * Recipient of refunded intermediate asset on the refund route's network,\n * in its native text form without memo. At most 256 UTF-8 bytes.\n *\n * @generated from field: string refund_address = 8;\n */\n refundAddress: string;\n\n /**\n * Destination tag or memo for refund_address. Required when the refund\n * network requires one, optional when supported, and empty when unsupported.\n * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string refund_memo = 9;\n */\n refundMemo: string;\n\n /**\n * Optional source wallet the end user will deposit from, for brokers that\n * know it in advance. It must be a valid address on the source network, at\n * most 256 UTF-8 bytes, and is shown on the QuickSwap. It is risk screened\n * before the deposit address is issued: a wallet that fails screening\n * makes the QuickSwap REJECTED, bound to the key, without a deposit\n * address, and the request and every repeat of it fail with\n * SOURCE_WALLET_REJECTED. Source wallets are screened in advance on\n * Bitcoin, Solana and most EVM networks. Wallets on other networks,\n * including the Bitcoin and Solana test networks, and wallets whose\n * screening is unavailable at the time, get their address without it.\n * Every deposit is still screened on arrival, so a deposit sent from\n * another wallet is judged on its own sender.\n *\n * @generated from field: string source_wallet = 10;\n */\n sourceWallet: string;\n\n /**\n * Affiliate fees, each charged on top and credited to its affiliate vault:\n * at most three distinct vaults. Fixed at creation with broker_bps.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 11;\n */\n affiliates: AffiliateShare[];\n\n /**\n * Broker fee in basis points of what each leg receives, charged on top of\n * the service fee and credited to the broker's default vault; 0 for none,\n * at most 300. broker_bps and the affiliates' bps total at most 300.\n *\n * @generated from field: uint32 broker_bps = 12;\n */\n brokerBps: number;\n\n /**\n * Optional referral partner code from a referral link, case-insensitive,\n * at most 64 bytes; empty for none. Only a broker with a referral program may send one\n * (REFERRAL_NOT_SUPPORTED otherwise), never with affiliates.\n * It must be a valid code (REFERRAL_CODE_INVALID) that is a partner's\n * current code (REFERRAL_CODE_UNKNOWN), and the partner must be active\n * (REFERRAL_PARTNER_INACTIVE). The program's rates\n * for the route are applied (quote.referral) and fixed at creation. It is\n * part of the request: the same idempotency_key with another code, or with\n * and without one, is IDEMPOTENCY_CONFLICT.\n *\n * @generated from field: string referral_code = 13;\n */\n referralCode: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateQuickSwapRequest.\n * Use `create(CreateQuickSwapRequestSchema)` to create a new message.\n */\nexport const CreateQuickSwapRequestSchema: GenMessage<CreateQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 22);\n\n/**\n * CreateQuickSwapResponse returns the QuickSwap bound to the idempotency key.\n *\n * @generated from message swap.quickswap.v1.CreateQuickSwapResponse\n */\nexport type CreateQuickSwapResponse = Message<\"swap.quickswap.v1.CreateQuickSwapResponse\"> & {\n /**\n * The QuickSwap, normally AWAITING_DEPOSIT with deposit_instructions. A\n * retry returns its current state with the original quote and address.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateQuickSwapResponse.\n * Use `create(CreateQuickSwapResponseSchema)` to create a new message.\n */\nexport const CreateQuickSwapResponseSchema: GenMessage<CreateQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 23);\n\n/**\n * GetQuickSwapRequest selects one of the broker's QuickSwaps.\n *\n * @generated from message swap.quickswap.v1.GetQuickSwapRequest\n */\nexport type GetQuickSwapRequest = Message<\"swap.quickswap.v1.GetQuickSwapRequest\"> & {\n /**\n * Exactly one selector.\n *\n * @generated from oneof swap.quickswap.v1.GetQuickSwapRequest.selector\n */\n selector: {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n value: bigint;\n case: \"swapId\";\n } | {\n /**\n * Idempotency key used to create it; resolves a QuickSwap whose create\n * outcome was unknown.\n *\n * @generated from field: string idempotency_key = 2;\n */\n value: string;\n case: \"idempotencyKey\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetQuickSwapRequest.\n * Use `create(GetQuickSwapRequestSchema)` to create a new message.\n */\nexport const GetQuickSwapRequestSchema: GenMessage<GetQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 24);\n\n/**\n * GetQuickSwapResponse returns one QuickSwap.\n *\n * @generated from message swap.quickswap.v1.GetQuickSwapResponse\n */\nexport type GetQuickSwapResponse = Message<\"swap.quickswap.v1.GetQuickSwapResponse\"> & {\n /**\n * Current state.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetQuickSwapResponse.\n * Use `create(GetQuickSwapResponseSchema)` to create a new message.\n */\nexport const GetQuickSwapResponseSchema: GenMessage<GetQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 25);\n\n/**\n * ErrorDetail is attached to QuickSwap errors. ConnectRPC clients receive it\n * as an error detail of type swap.quickswap.v1.ErrorDetail. REST clients\n * receive an application/problem+json body {type, title, status, detail,\n * code, swapId, minDepositAmount, maxDepositAmount} whose code is the\n * ErrorCode name, or the status name (for example INVALID_ARGUMENT) when no\n * ErrorCode applies; swapId and the limits appear only when set.\n *\n * @generated from message swap.quickswap.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"swap.quickswap.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: swap.quickswap.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * QuickSwap bound to the request's idempotency key, when one exists: for\n * example the original QuickSwap on IDEMPOTENCY_CONFLICT, or the QuickSwap\n * whose deposit address could not be allocated.\n *\n * @generated from field: fixed64 swap_id = 2;\n */\n swapId: bigint;\n\n /**\n * AMOUNT_OUT_OF_RANGE only: the smallest deposit that currently quotes on\n * the route with the requested protection, in source token units, whatever\n * the request's basis. It moves with prices and network fees; show it as\n * guidance, not a guarantee. A deposit below QuickSwapQuote.min_deposit_amount\n * is returned to return_address (DEPOSIT_BELOW_MINIMUM). Unset for other\n * codes and when no deposit currently quotes.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_deposit_amount = 3;\n */\n minDepositAmount?: TokenAmount | undefined;\n\n /**\n * AMOUNT_OUT_OF_RANGE only: the largest deposit that quotes, in source token\n * units. Unset for other codes, when no deposit currently quotes, and for a\n * bridge, whose deposit no order book bounds.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount max_deposit_amount = 4;\n */\n maxDepositAmount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 26);\n\n/**\n * QuoteBasis states which side of the swap the request amount denominates.\n *\n * @generated from enum swap.quickswap.v1.QuoteBasis\n */\nexport enum QuoteBasis {\n /**\n * No basis selected; rejected.\n *\n * @generated from enum value: BASIS_UNSPECIFIED = 0;\n */\n BASIS_UNSPECIFIED = 0,\n\n /**\n * amount is the source amount the end user intends to deposit, in source\n * token units.\n *\n * @generated from enum value: SOURCE_AMOUNT = 1;\n */\n SOURCE_AMOUNT = 1,\n\n /**\n * amount is the destination amount the end user wants to receive after fees,\n * in destination token units. The quote reports the deposit amount needed at\n * the quoted price. The delivered amount still follows the actual deposit\n * and execution, bounded below by the protection.\n *\n * @generated from enum value: DESTINATION_AMOUNT = 2;\n */\n DESTINATION_AMOUNT = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuoteBasis.\n */\nexport const QuoteBasisSchema: GenEnum<QuoteBasis> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 0);\n\n/**\n * FeeKind identifies one component of a QuickSwap's fees.\n *\n * @generated from enum swap.quickswap.v1.FeeKind\n */\nexport enum FeeKind {\n /**\n * No kind; never returned.\n *\n * @generated from enum value: FEE_UNSPECIFIED = 0;\n */\n FEE_UNSPECIFIED = 0,\n\n /**\n * Service fee of one trading leg, credited to Polyester, in basis points\n * of what the leg receives: the leg's pair fee, capped by any fee ceiling\n * agreed with the broker. A two-leg route has one per leg. On a bridge,\n * the one bridge fee, capped the same way, in basis points of the credited\n * amount, charged at payout.\n *\n * @generated from enum value: SERVICE = 1;\n */\n SERVICE = 1,\n\n /**\n * Broker fee of one trading leg, the request's broker_bps of what the leg\n * receives, credited to the broker's default vault. A two-leg route has one\n * per leg; a bridge has one, on the credited amount, charged at payout.\n *\n * @generated from enum value: BROKER = 2;\n */\n BROKER = 2,\n\n /**\n * Affiliate fee of one trading leg, one affiliate's bps of what the leg\n * receives, credited to that affiliate vault. Each affiliate has one per\n * leg; on a bridge one, on the credited amount, charged at payout.\n *\n * @generated from enum value: AFFILIATE = 3;\n */\n AFFILIATE = 3,\n\n /**\n * Network fee withheld from the deposit before it is credited. A quote\n * shows an estimate; the fee withheld is the network's fee when the\n * deposit arrives.\n *\n * @generated from enum value: DEPOSIT_NETWORK = 4;\n */\n DEPOSIT_NETWORK = 4,\n\n /**\n * Estimated network fee for a withdrawal. The actual fee is charged at\n * withdrawal time and reported on the withdrawal.\n *\n * @generated from enum value: WITHDRAWAL_NETWORK = 5;\n */\n WITHDRAWAL_NETWORK = 5,\n\n /**\n * Referral commission of one trading leg: the referral partner's\n * commission_bps (ReferralPricing) of what the leg receives, credited to\n * the partner. It comes out of the broker fee and adds nothing to what the\n * end user pays. Only a request with a referral_code has one; it never\n * appears with AFFILIATE fees. On a bridge one, on the credited amount,\n * charged at payout.\n *\n * @generated from enum value: REFERRAL = 6;\n */\n REFERRAL = 6,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.FeeKind.\n */\nexport const FeeKindSchema: GenEnum<FeeKind> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 1);\n\n/**\n * DepositAddressState is the lifecycle state of a QuickSwap deposit address.\n *\n * @generated from enum swap.quickswap.v1.DepositAddressState\n */\nexport enum DepositAddressState {\n /**\n * No address yet.\n *\n * @generated from enum value: ADDRESS_UNSPECIFIED = 0;\n */\n ADDRESS_UNSPECIFIED = 0,\n\n /**\n * The address accepts the first eligible deposit.\n *\n * @generated from enum value: ACTIVE = 1;\n */\n ACTIVE = 1,\n\n /**\n * Entered on the first confirmed deposit. Any further deposit is returned\n * or held and never executes. Ends at address_retires_at. An address that\n * expires unfunded goes from ACTIVE straight to RETIRED.\n *\n * @generated from enum value: REFUND_MODE = 2;\n */\n REFUND_MODE = 2,\n\n /**\n * The address is retired. A deposit sent to it is not processed\n * automatically; it is handled only through support-assisted recovery, and\n * recovery is not guaranteed.\n *\n * @generated from enum value: RETIRED = 3;\n */\n RETIRED = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositAddressState.\n */\nexport const DepositAddressStateSchema: GenEnum<DepositAddressState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 2);\n\n/**\n * DepositDisposition is what a detected deposit is allowed to do.\n *\n * @generated from enum swap.quickswap.v1.DepositDisposition\n */\nexport enum DepositDisposition {\n /**\n * Not yet decided.\n *\n * @generated from enum value: DISPOSITION_UNSPECIFIED = 0;\n */\n DISPOSITION_UNSPECIFIED = 0,\n\n /**\n * Detected; eligibility is being evaluated. A deposit can already be\n * credited (credited_at) while it is evaluated.\n *\n * @generated from enum value: EVALUATING = 1;\n */\n EVALUATING = 1,\n\n /**\n * The eligible deposit that confirmed first. It consumed the QuickSwap and\n * is the only deposit that can execute.\n *\n * @generated from enum value: ELIGIBLE = 2;\n */\n ELIGIBLE = 2,\n\n /**\n * Not accepted: it is returned to return_address and never executes. A\n * deposit found ineligible after it was credited, such as a late deposit\n * (LATE_DEPOSIT), one below min_deposit_amount but at least the source\n * network's minimum deposit (DEPOSIT_BELOW_MINIMUM) or above\n * max_deposit_amount (DEPOSIT_ABOVE_MAXIMUM), or one of the wrong\n * asset or network (WRONG_ASSET), keeps credited_at and is returned from its\n * credit. One never credited is returned directly, and direct_return\n * reports that return.\n *\n * @generated from enum value: RETURN_ONLY = 3;\n */\n RETURN_ONLY = 3,\n\n /**\n * Held for review; it neither executes nor returns until released. A\n * deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) keeps this\n * disposition after Zipper's compliance team transferred its funds out\n * (QuickSwap CLOSED).\n *\n * @generated from enum value: ON_HOLD = 4;\n */\n ON_HOLD = 4,\n\n /**\n * Observed on an address that was already retired (DEPOSIT_ADDRESS_RETIRED).\n * It never executes and is not returned automatically. It is handled only\n * through support-assisted recovery, and it is potentially unrecoverable.\n * The broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: MANUAL_RECOVERY = 5;\n */\n MANUAL_RECOVERY = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositDisposition.\n */\nexport const DepositDispositionSchema: GenEnum<DepositDisposition> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 3);\n\n/**\n * QuickSwapReason explains a notable status or deposit disposition.\n *\n * @generated from enum swap.quickswap.v1.QuickSwapReason\n */\nexport enum QuickSwapReason {\n /**\n * No notable reason. On a HELD QuickSwap or an ON_HOLD deposit: held for\n * review without a more specific reason; the broker contacts Polyester\n * broker support with the swap_id.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The deposit's risk screen failed with a return verdict; the deposit is\n * not accepted and is returned to return_address.\n *\n * @generated from enum value: SOURCE_SCREENING_FAILED = 1;\n */\n SOURCE_SCREENING_FAILED = 1,\n\n /**\n * The deposit arrived and is safe, but processing capacity is temporarily\n * unavailable. Processing resumes automatically when capacity frees up; no\n * action is needed.\n *\n * @generated from enum value: CAPACITY_UNAVAILABLE = 4;\n */\n CAPACITY_UNAVAILABLE = 4,\n\n /**\n * Execution could not meet the protection; untraded funds are refunded or\n * returned. When no protected order could be placed for the deposit, nothing\n * is traded: the deposit is returned to return_address, and the QuickSwap\n * shows RETURNING and RETURNED with this reason.\n *\n * @generated from enum value: PROTECTION_NOT_MET = 7;\n */\n PROTECTION_NOT_MET = 7,\n\n /**\n * The execution deadline passed before all input executed; untraded funds\n * are refunded or returned. Shown while EXECUTING once the deadline ended\n * trading, and on the payout statuses that follow.\n *\n * @generated from enum value: EXECUTION_DEADLINE_REACHED = 8;\n */\n EXECUTION_DEADLINE_REACHED = 8,\n\n /**\n * The deposit was first seen after funding_expires_at.\n *\n * @generated from enum value: LATE_DEPOSIT = 9;\n */\n LATE_DEPOSIT = 9,\n\n /**\n * The deposit is below the published min_deposit_amount, or its credit after\n * the deposit network fee is below the smallest order the route's market\n * accepts. It is not executed: it is returned to return_address, and the\n * QuickSwap shows RETURNING and RETURNED with this reason. Only a deposit\n * that reaches the source network's minimum deposit\n * (AssetChainVariant.deposit_min_amount) is returned; one below it is not\n * detected and never appears on the QuickSwap. A deposit that\n * cannot be returned on the network it was received on is held (HELD with\n * this reason); the broker contacts Polyester broker support with the\n * swap_id.\n *\n * @generated from enum value: DEPOSIT_BELOW_MINIMUM = 11;\n */\n DEPOSIT_BELOW_MINIMUM = 11,\n\n /**\n * The deposit is above max_deposit_amount, or above the largest order the\n * route's market accepts. It is not executed: it is returned to\n * return_address, and the QuickSwap shows RETURNING and RETURNED with this\n * reason.\n *\n * @generated from enum value: DEPOSIT_ABOVE_MAXIMUM = 12;\n */\n DEPOSIT_ABOVE_MAXIMUM = 12,\n\n /**\n * The deposit is not the quoted source asset or network. It is not\n * executed: it is returned to return_address on the network and in the\n * asset it was received in, and the QuickSwap shows RETURNING and RETURNED\n * with this reason. A deposit that cannot be returned there, such as one\n * received on a network where return_address is not valid, is held (HELD\n * with this reason); the broker contacts Polyester broker support with the\n * swap_id.\n *\n * @generated from enum value: WRONG_ASSET = 13;\n */\n WRONG_ASSET = 13,\n\n /**\n * The funding window ended without an eligible deposit.\n *\n * @generated from enum value: FUNDING_WINDOW_ENDED = 15;\n */\n FUNDING_WINDOW_ENDED = 15,\n\n /**\n * A withdrawal cannot be completed and is held for review. The broker\n * contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: WITHDRAWAL_FAILED = 16;\n */\n WITHDRAWAL_FAILED = 16,\n\n /**\n * A processing step is being confirmed. Processing resumes automatically; no\n * action is needed.\n *\n * @generated from enum value: OUTCOME_RECONCILING = 17;\n */\n OUTCOME_RECONCILING = 17,\n\n /**\n * Polyester's deposit screening blocked the deposit. It is held for\n * compliance review (HELD); it is never executed or returned automatically.\n * The broker contacts Polyester broker support with the swap_id. If\n * Zipper's compliance team later transfers the funds out to an address of\n * its choosing, not necessarily the user's, the QuickSwap ends CLOSED with\n * this reason; the funds were not returned to return_address.\n *\n * @generated from enum value: SOURCE_SCREENING_BLOCKED = 20;\n */\n SOURCE_SCREENING_BLOCKED = 20,\n\n /**\n * Refund not possible: an amount left to refund or return was below the\n * withdrawal minimum of its asset and network, so no withdrawal was made\n * for it. Its withdrawal is NOT_SENT with the amount in unsent_amount.\n * Other withdrawals are unaffected.\n *\n * @generated from enum value: REFUND_BELOW_MINIMUM = 21;\n */\n REFUND_BELOW_MINIMUM = 21,\n\n /**\n * The QuickSwap could not be issued a deposit address and never gets one:\n * it is EXPIRED without deposit_instructions, and nothing can be deposited\n * to it. Create a new QuickSwap with a new idempotency key, and report the\n * swap_id to Polyester broker support.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_CONFLICT = 22;\n */\n DEPOSIT_ADDRESS_CONFLICT = 22,\n\n /**\n * The address already accepted its one eligible deposit; this deposit is\n * returned to return_address and never executes.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_ALREADY_USED = 23;\n */\n DEPOSIT_ADDRESS_ALREADY_USED = 23,\n\n /**\n * The address was retired when this deposit was observed. The deposit is\n * MANUAL_RECOVERY: it never executes, is not returned automatically, and is\n * potentially unrecoverable.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_RETIRED = 24;\n */\n DEPOSIT_ADDRESS_RETIRED = 24,\n\n /**\n * The address had not been issued when this deposit was observed; it never executes.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_NOT_ISSUED = 25;\n */\n DEPOSIT_ADDRESS_NOT_ISSUED = 25,\n\n /**\n * On a two-leg route, intermediate funds were below the smallest order the\n * second leg's market accepts, so they could not be converted to the\n * destination asset; they are refunded to refund_address. Shown on the\n * payout statuses that follow.\n *\n * @generated from enum value: INTERMEDIATE_BELOW_MINIMUM = 26;\n */\n INTERMEDIATE_BELOW_MINIMUM = 26,\n\n /**\n * A market on the route was halted, restricted or delisted when the deposit\n * was credited and did not reopen within a bounded wait after the deposit\n * was credited, the same for market and TWAP execution. Nothing was traded:\n * the deposit is returned to return_address, and the QuickSwap shows\n * RETURNING and RETURNED with this reason.\n *\n * @generated from enum value: MARKET_CLOSED = 27;\n */\n MARKET_CLOSED = 27,\n\n /**\n * The source wallet supplied in the request failed risk screening. The\n * QuickSwap is REJECTED: it never gets a deposit address, and nothing can\n * be deposited to it.\n *\n * @generated from enum value: SOURCE_WALLET_SCREENING_FAILED = 28;\n */\n SOURCE_WALLET_SCREENING_FAILED = 28,\n\n /**\n * Available liquidity did not fill an order at its protected price; untraded\n * input or intermediate funds are returned or refunded. Shown on the payout\n * statuses that follow, including COMPLETED when a partly traded swap\n * refunded the rest. A trade failure reason (this one or ORDER_REJECTED)\n * is used only when the execution ended without another reason, such as\n * EXECUTION_DEADLINE_REACHED or PROTECTION_NOT_MET; it is then the first\n * slice in schedule order whose reason or carry_reason is\n * INSUFFICIENT_LIQUIDITY or ORDER_REJECTED, the reason before the\n * carry_reason within a slice.\n *\n * @generated from enum value: INSUFFICIENT_LIQUIDITY = 29;\n */\n INSUFFICIENT_LIQUIDITY = 29,\n\n /**\n * An order was refused; untraded input or intermediate funds are returned\n * or refunded. Shown on the payout statuses that follow, chosen as for\n * INSUFFICIENT_LIQUIDITY.\n *\n * @generated from enum value: ORDER_REJECTED = 30;\n */\n ORDER_REJECTED = 30,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuickSwapReason.\n */\nexport const QuickSwapReasonSchema: GenEnum<QuickSwapReason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 4);\n\n/**\n * DepositReturnState is the progress of a deposit's direct return.\n *\n * @generated from enum swap.quickswap.v1.DepositReturnState\n */\nexport enum DepositReturnState {\n /**\n * No state; never returned.\n *\n * @generated from enum value: RETURN_UNSPECIFIED = 0;\n */\n RETURN_UNSPECIFIED = 0,\n\n /**\n * The return is queued or being sent.\n *\n * @generated from enum value: RETURN_PENDING = 1;\n */\n RETURN_PENDING = 1,\n\n /**\n * The return was sent to return_address; tx_hash is its transaction.\n *\n * @generated from enum value: RETURN_COMPLETED = 2;\n */\n RETURN_COMPLETED = 2,\n\n /**\n * The return is held for review and is not sent until review releases it.\n * The broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: RETURN_HELD = 3;\n */\n RETURN_HELD = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositReturnState.\n */\nexport const DepositReturnStateSchema: GenEnum<DepositReturnState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 5);\n\n/**\n * WithdrawalRole is why a withdrawal pays its recipient.\n *\n * @generated from enum swap.quickswap.v1.WithdrawalRole\n */\nexport enum WithdrawalRole {\n /**\n * No role; never returned.\n *\n * @generated from enum value: ROLE_UNSPECIFIED = 0;\n */\n ROLE_UNSPECIFIED = 0,\n\n /**\n * Swap output to destination_address on the destination network.\n *\n * @generated from enum value: DESTINATION = 1;\n */\n DESTINATION = 1,\n\n /**\n * Untraded intermediate asset of a two-leg route, including a partial\n * refund, to refund_address on the refund route's network.\n *\n * @generated from enum value: REFUND = 2;\n */\n REFUND = 2,\n\n /**\n * Source funds that were not accepted or not traded, to return_address on\n * the network and in the asset they were received in: the source network,\n * or for a wrong asset the network it was sent on.\n *\n * @generated from enum value: RETURN = 3;\n */\n RETURN = 3,\n\n /**\n * A deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) that\n * Zipper's compliance team transferred out on the network it was received\n * on, to an address of its choosing, not necessarily the user's. Not a\n * return or a refund: Polyester records neither the recipient nor the\n * amount, so address, memo, amount and network_fee are unset; tx_hash is\n * the transfer, and flow_id the deposit's flow.\n *\n * @generated from enum value: COMPLIANCE_TRANSFER = 4;\n */\n COMPLIANCE_TRANSFER = 4,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.WithdrawalRole.\n */\nexport const WithdrawalRoleSchema: GenEnum<WithdrawalRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 6);\n\n/**\n * WithdrawalState is the progress of one withdrawal. FINALIZED and NOT_SENT\n * are final: they never change. A FAILED withdrawal never changes either, but\n * it does not end the QuickSwap: while any withdrawal is FAILED, the\n * QuickSwap is HELD with reason WITHDRAWAL_FAILED and the funds stay\n * attributed to it until support resolves it.\n *\n * @generated from enum swap.quickswap.v1.WithdrawalState\n */\nexport enum WithdrawalState {\n /**\n * No state; never returned.\n *\n * @generated from enum value: WITHDRAWAL_UNSPECIFIED = 0;\n */\n WITHDRAWAL_UNSPECIFIED = 0,\n\n /**\n * Approved and waiting to be submitted.\n *\n * @generated from enum value: QUEUED = 1;\n */\n QUEUED = 1,\n\n /**\n * Submitted to the recipient's network; not yet final.\n *\n * @generated from enum value: SUBMITTED = 2;\n */\n SUBMITTED = 2,\n\n /**\n * Final on the recipient's network.\n *\n * @generated from enum value: FINALIZED = 3;\n */\n FINALIZED = 3,\n\n /**\n * Definitively failed. The QuickSwap is HELD (WITHDRAWAL_FAILED); the\n * broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: FAILED = 4;\n */\n FAILED = 4,\n\n /**\n * Final: no transaction was or will be made for this withdrawal, because\n * its amount was below the withdrawal minimum of its asset and network\n * (REFUND_BELOW_MINIMUM); unsent_amount is that amount.\n *\n * @generated from enum value: NOT_SENT = 5;\n */\n NOT_SENT = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.WithdrawalState.\n */\nexport const WithdrawalStateSchema: GenEnum<WithdrawalState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 7);\n\n/**\n * QuickSwapStatus is the current state of a QuickSwap. While funds progress,\n * the status names the earliest gate still outstanding; gates that complete\n * concurrently are not reported separately.\n *\n * Flow: ALLOCATING → AWAITING_DEPOSIT → (WAITING_FOR_CAPACITY |\n * PREPARING_DEPOSIT | CONFIRMING) → CREDITED → EXECUTING (skipped for a\n * bridge) → PAYING_OUT | REFUNDING | RETURNING → a terminal status. A\n * QuickSwap that cannot be issued a deposit address goes from ALLOCATING\n * straight to EXPIRED (DEPOSIT_ADDRESS_CONFLICT). A QuickSwap whose source\n * wallet failed risk screening is REJECTED from creation and never gets a\n * deposit address. A deposit that is dropped\n * or replaced on its network before it confirms brings no funds: the\n * QuickSwap goes back from PREPARING_DEPOSIT or WAITING_FOR_CAPACITY to\n * AWAITING_DEPOSIT, the only status that moves back, and no longer shows\n * that deposit. HELD can be\n * entered from any non-terminal status and is not terminal; a QuickSwap HELD\n * with SOURCE_SCREENING_BLOCKED can end CLOSED. The terminal statuses are\n * REJECTED, COMPLETED, REFUNDED, RETURNED, EXPIRED and CLOSED; a terminal status never\n * changes, except that EXPIRED becomes HELD when a dropped or replaced\n * deposit confirms after all (see EXPIRED). Accept status values added\n * later; is_terminal is authoritative.\n *\n * @generated from enum swap.quickswap.v1.QuickSwapStatus\n */\nexport enum QuickSwapStatus {\n /**\n * No status; never returned.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Terminal: the source wallet supplied in the request failed risk\n * screening (SOURCE_WALLET_SCREENING_FAILED). The QuickSwap never gets a\n * deposit address, and every repeat of its create request returns\n * SOURCE_WALLET_REJECTED with its swap_id.\n *\n * @generated from enum value: REJECTED = 1;\n */\n REJECTED = 1,\n\n /**\n * The quote is fixed and the deposit address is being allocated. After\n * ADDRESS_UNAVAILABLE, allocation continues automatically until an address\n * frees up; the wait has no fixed bound.\n *\n * @generated from enum value: ALLOCATING = 2;\n */\n ALLOCATING = 2,\n\n /**\n * Quote and deposit address allocated; waiting for the first eligible\n * deposit before funding_expires_at.\n *\n * @generated from enum value: AWAITING_DEPOSIT = 3;\n */\n AWAITING_DEPOSIT = 3,\n\n /**\n * An eligible deposit arrived and is safe; waiting for processing capacity.\n * Processing resumes automatically when capacity frees up; the wait has no\n * fixed bound.\n *\n * @generated from enum value: WAITING_FOR_CAPACITY = 4;\n */\n WAITING_FOR_CAPACITY = 4,\n\n /**\n * The deposit is being prepared for credit. Retries keep this status.\n *\n * @generated from enum value: PREPARING_DEPOSIT = 5;\n */\n PREPARING_DEPOSIT = 5,\n\n /**\n * Waiting for source confirmations and deposit validation before credit.\n *\n * @generated from enum value: CONFIRMING = 6;\n */\n CONFIRMING = 6,\n\n /**\n * The deposit is credited; execution is starting.\n *\n * @generated from enum value: CREDITED = 7;\n */\n CREDITED = 7,\n\n /**\n * The credited deposit is being traded.\n *\n * @generated from enum value: EXECUTING = 8;\n */\n EXECUTING = 8,\n\n /**\n * Execution finished with destination output; withdrawals, including any\n * partial refund or return, are in progress.\n *\n * @generated from enum value: PAYING_OUT = 9;\n */\n PAYING_OUT = 9,\n\n /**\n * A two-leg route produced no destination output; the intermediate asset is\n * being refunded to refund_address.\n *\n * @generated from enum value: REFUNDING = 10;\n */\n REFUNDING = 10,\n\n /**\n * Nothing was traded or the deposit was not accepted; the source funds are\n * being returned to return_address.\n *\n * @generated from enum value: RETURNING = 11;\n */\n RETURNING = 11,\n\n /**\n * Funds are held for review. Not terminal: review resumes the QuickSwap or\n * returns the funds, or, for SOURCE_SCREENING_BLOCKED, the QuickSwap can\n * end CLOSED. reason says why when a specific reason applies, else\n * it is REASON_UNSPECIFIED. The broker contacts Polyester broker support\n * with the swap_id.\n *\n * @generated from enum value: HELD = 12;\n */\n HELD = 12,\n\n /**\n * Terminal: every withdrawal is final (FINALIZED or NOT_SENT) and at least\n * one is a DESTINATION withdrawal. A DESTINATION withdrawal is never\n * NOT_SENT.\n *\n * @generated from enum value: COMPLETED = 13;\n */\n COMPLETED = 13,\n\n /**\n * Terminal: every withdrawal is final, none is DESTINATION, and at least one\n * is REFUND (FINALIZED or NOT_SENT).\n *\n * @generated from enum value: REFUNDED = 14;\n */\n REFUNDED = 14,\n\n /**\n * Terminal: every withdrawal is final and all are RETURN (FINALIZED or\n * NOT_SENT).\n *\n * @generated from enum value: RETURNED = 15;\n */\n RETURNED = 15,\n\n /**\n * Terminal: the funding window ended without an eligible deposit\n * (FUNDING_WINDOW_ENDED), or the QuickSwap never got a deposit address\n * (DEPOSIT_ADDRESS_CONFLICT). With FUNDING_WINDOW_ENDED, terminal_at is\n * funding_expires_at, also after a dropped or replaced deposit. If such a\n * deposit confirms after all, its funds are held for review: the QuickSwap\n * becomes HELD, with that deposit ON_HOLD, the one change of a terminal\n * status.\n *\n * @generated from enum value: EXPIRED = 16;\n */\n EXPIRED = 16,\n\n /**\n * Terminal: the deposit was blocked by its risk screen\n * (SOURCE_SCREENING_BLOCKED), and Zipper's compliance team transferred the\n * funds out on the deposit's network to an address of its choosing, not\n * necessarily the user's. Nothing was returned to return_address or\n * refunded. Its one withdrawal is that COMPLIANCE_TRANSFER, FINALIZED.\n *\n * @generated from enum value: CLOSED = 17;\n */\n CLOSED = 17,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuickSwapStatus.\n */\nexport const QuickSwapStatusSchema: GenEnum<QuickSwapStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 8);\n\n/**\n * ErrorCode is the stable machine-readable QuickSwap error code.\n *\n * @generated from enum swap.quickswap.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * The source and destination route is not offered, or a bridge was\n * requested with TWAP execution.\n *\n * @generated from enum value: ROUTE_UNSUPPORTED = 1;\n */\n ROUTE_UNSUPPORTED = 1,\n\n /**\n * The amount is outside the route's current limits. The error carries the\n * limits (min_deposit_amount, max_deposit_amount) when known.\n *\n * @generated from enum value: AMOUNT_OUT_OF_RANGE = 2;\n */\n AMOUNT_OUT_OF_RANGE = 2,\n\n /**\n * An amount's decimals do not match its route's token decimals.\n *\n * @generated from enum value: DECIMALS_MISMATCH = 3;\n */\n DECIMALS_MISMATCH = 3,\n\n /**\n * destination_address or destination_memo is not valid on the destination\n * network.\n *\n * @generated from enum value: DESTINATION_ADDRESS_INVALID = 4;\n */\n DESTINATION_ADDRESS_INVALID = 4,\n\n /**\n * return_address or return_memo is not valid on the source network.\n *\n * @generated from enum value: RETURN_ADDRESS_INVALID = 5;\n */\n RETURN_ADDRESS_INVALID = 5,\n\n /**\n * The route has an intermediate asset and no refund address was supplied.\n *\n * @generated from enum value: REFUND_ADDRESS_REQUIRED = 6;\n */\n REFUND_ADDRESS_REQUIRED = 6,\n\n /**\n * refund_zipped_asset_id is not a withdraw route of the intermediate asset,\n * or refund_address or refund_memo is not valid on its network.\n *\n * @generated from enum value: REFUND_ADDRESS_INVALID = 7;\n */\n REFUND_ADDRESS_INVALID = 7,\n\n /**\n * source_wallet is not valid on the source network.\n *\n * @generated from enum value: SOURCE_WALLET_INVALID = 8;\n */\n SOURCE_WALLET_INVALID = 8,\n\n /**\n * No price is currently available for the route; retry later.\n *\n * @generated from enum value: QUOTE_UNAVAILABLE = 11;\n */\n QUOTE_UNAVAILABLE = 11,\n\n /**\n * The protection cannot be met at the current price: a min_amount_out above\n * the expected output, or an order book that cannot fill the protected\n * execution at the quoted prices.\n *\n * @generated from enum value: PROTECTION_UNACHIEVABLE = 12;\n */\n PROTECTION_UNACHIEVABLE = 12,\n\n /**\n * No deposit address is available right now. The QuickSwap (swap_id in the\n * error) is kept, and its address is allocated automatically when one frees\n * up. Follow it with GetQuickSwap or by repeating the request unchanged. Its\n * quote stays the one priced at creation, and its funding window starts\n * when the address is issued (issued_at).\n *\n * @generated from enum value: ADDRESS_UNAVAILABLE = 13;\n */\n ADDRESS_UNAVAILABLE = 13,\n\n /**\n * The idempotency key was already used with a different request.\n *\n * @generated from enum value: IDEMPOTENCY_CONFLICT = 14;\n */\n IDEMPOTENCY_CONFLICT = 14,\n\n /**\n * No QuickSwap of this broker matches the selector; on\n * QuickSwapReferralService, no QuickSwap the caller referred.\n *\n * @generated from enum value: SWAP_NOT_FOUND = 15;\n */\n SWAP_NOT_FOUND = 15,\n\n /**\n * The broker is disabled: quotes and creates are refused. Reads and\n * QuickSwaps already created continue.\n *\n * @generated from enum value: BROKER_DISABLED = 18;\n */\n BROKER_DISABLED = 18,\n\n /**\n * A broker limit was reached: the unfunded QuickSwaps held at once, the\n * QuickSwaps created per hour, the request rate of the API key or of a\n * member's account, or the affiliate vaults the broker may create. Nothing\n * is bound to the key. A funded or expired QuickSwap frees an unfunded\n * slot; when the response carries a Retry-After header, retry after that\n * many seconds.\n *\n * @generated from enum value: BROKER_LIMIT = 19;\n */\n BROKER_LIMIT = 19,\n\n /**\n * An affiliate names a vault that is not an active affiliate vault of the\n * broker: unknown, not yet created, disabled, another broker's, or the\n * default vault. Nothing is bound to the key; create or enable the vault\n * and repeat the request.\n *\n * @generated from enum value: AFFILIATE_VAULT_UNKNOWN = 20;\n */\n AFFILIATE_VAULT_UNKNOWN = 20,\n\n /**\n * No broker with this name has the caller as its key or member.\n *\n * @generated from enum value: BROKER_NOT_FOUND = 21;\n */\n BROKER_NOT_FOUND = 21,\n\n /**\n * The caller's role, or a broker API key, may not perform the action.\n *\n * @generated from enum value: ACTION_DENIED = 22;\n */\n ACTION_DENIED = 22,\n\n /**\n * The action needs a fresh step-up proof of the acting member in the\n * X-Auth-Step-Up header, and none was sent or it was already used or\n * expired. Complete an MFA challenge for fresh step-up and repeat the\n * request with the new proof.\n *\n * @generated from enum value: STEP_UP_REQUIRED = 23;\n */\n STEP_UP_REQUIRED = 23,\n\n /**\n * The ID names no vault of the broker: neither its default vault nor one\n * of its affiliate vaults. GetVault and SetVaultStatus take affiliate\n * vaults only, so they also return it for the default vault.\n *\n * @generated from enum value: VAULT_NOT_FOUND = 24;\n */\n VAULT_NOT_FOUND = 24,\n\n /**\n * The broker has no API key with this ID, or it no longer works.\n *\n * @generated from enum value: KEY_NOT_FOUND = 25;\n */\n KEY_NOT_FOUND = 25,\n\n /**\n * The broker would have more than two working API keys. Revoke one first.\n *\n * @generated from enum value: KEY_LIMIT = 26;\n */\n KEY_LIMIT = 26,\n\n /**\n * The key is the broker's last key that works without an expiry; create\n * another key first.\n *\n * @generated from enum value: LAST_KEY = 27;\n */\n LAST_KEY = 27,\n\n /**\n * The person is not a member of the broker and has no pending invite, or\n * the account does not exist.\n *\n * @generated from enum value: MEMBER_NOT_FOUND = 28;\n */\n MEMBER_NOT_FOUND = 28,\n\n /**\n * The person is already a member of the broker.\n *\n * @generated from enum value: ALREADY_MEMBER = 29;\n */\n ALREADY_MEMBER = 29,\n\n /**\n * The Owner cannot be removed or given another role; transfer ownership\n * instead.\n *\n * @generated from enum value: OWNER_IMMUTABLE = 30;\n */\n OWNER_IMMUTABLE = 30,\n\n /**\n * No pending invite with this ID is addressed to the caller.\n *\n * @generated from enum value: INVITE_NOT_FOUND = 31;\n */\n INVITE_NOT_FOUND = 31,\n\n /**\n * The fees are not valid in a way the request rules cannot check: an\n * affiliate account_id that is not a public sub-account ID, or a\n * referral_code whose discount and commission for the route exceed\n * broker_bps. Fees that break the request rules (at most three distinct\n * affiliates of 1 to 300 bps, broker_bps at most 300, all together at most\n * 300, no affiliates with a referral_code) fail with INVALID_ARGUMENT\n * before this check.\n *\n * @generated from enum value: FEES_INVALID = 32;\n */\n FEES_INVALID = 32,\n\n /**\n * The broker stats, or the public QuickSwap statistics, cannot be read: a\n * QuickSwap in the window, named by ErrorDetail.swap_id, is missing a\n * record they need. Contact Polyester support with the swap_id.\n *\n * @generated from enum value: STATS_INCOMPLETE = 33;\n */\n STATS_INCOMPLETE = 33,\n\n /**\n * The QuickSwap (swap_id in the error) cannot be issued a deposit address\n * and never gets one, so nothing can be deposited to it; it is EXPIRED with\n * reason DEPOSIT_ADDRESS_CONFLICT. Create a new QuickSwap with a new\n * idempotency key, and report the swap_id to Polyester broker support.\n *\n * @generated from enum value: ADDRESS_CONFLICT = 34;\n */\n ADDRESS_CONFLICT = 34,\n\n /**\n * The referral code is another partner's current code.\n *\n * @generated from enum value: REFERRAL_CODE_TAKEN = 35;\n */\n REFERRAL_CODE_TAKEN = 35,\n\n /**\n * The referral code is reserved: a brand or broker name, or a code a\n * partner used before. Codes are never reused.\n *\n * @generated from enum value: REFERRAL_CODE_RESERVED = 36;\n */\n REFERRAL_CODE_RESERVED = 36,\n\n /**\n * The referral code is not 4 to 16 letters, digits and hyphens, starting\n * and ending with a letter or digit, without two hyphens in a row.\n *\n * @generated from enum value: REFERRAL_CODE_INVALID = 37;\n */\n REFERRAL_CODE_INVALID = 37,\n\n /**\n * The caller has not enrolled as a referral partner.\n *\n * @generated from enum value: REFERRAL_PARTNER_NOT_FOUND = 38;\n */\n REFERRAL_PARTNER_NOT_FOUND = 38,\n\n /**\n * The caller is already a referral partner with another earnings\n * sub-account or display name.\n *\n * @generated from enum value: REFERRAL_PARTNER_EXISTS = 39;\n */\n REFERRAL_PARTNER_EXISTS = 39,\n\n /**\n * The earnings sub-account is not an active sub-account of the caller, or\n * another referral partner already uses it.\n *\n * @generated from enum value: EARNINGS_ACCOUNT_INVALID = 40;\n */\n EARNINGS_ACCOUNT_INVALID = 40,\n\n /**\n * The referral partner is disabled; its code cannot be changed.\n *\n * @generated from enum value: REFERRAL_PARTNER_DISABLED = 41;\n */\n REFERRAL_PARTNER_DISABLED = 41,\n\n /**\n * The referral partner has used all its referral codes: a partner holds at\n * most 10 codes over its lifetime, the one it enrolled with included, and\n * each change retires a code for good. Its current code stays.\n *\n * @generated from enum value: REFERRAL_CODE_LIMIT = 42;\n */\n REFERRAL_CODE_LIMIT = 42,\n\n /**\n * The request has a referral_code, but the broker has no referral program.\n * Repeat it without the code.\n *\n * @generated from enum value: REFERRAL_NOT_SUPPORTED = 43;\n */\n REFERRAL_NOT_SUPPORTED = 43,\n\n /**\n * The referral_code is not a referral partner's current code: unknown, or\n * replaced by the partner. Repeat the request without the code.\n *\n * @generated from enum value: REFERRAL_CODE_UNKNOWN = 44;\n */\n REFERRAL_CODE_UNKNOWN = 44,\n\n /**\n * The referral_code's partner is not active: not yet approved, disabled, or\n * without an account its commission can be credited to. Repeat the\n * request without the code.\n *\n * @generated from enum value: REFERRAL_PARTNER_INACTIVE = 45;\n */\n REFERRAL_PARTNER_INACTIVE = 45,\n\n /**\n * No payout run of the broker's vaults has this ID.\n *\n * @generated from enum value: PAYOUT_NOT_FOUND = 46;\n */\n PAYOUT_NOT_FOUND = 46,\n\n /**\n * The destination address is not a valid address on the destination\n * chain, or the chain takes no external payouts.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_INVALID = 47;\n */\n ALLOWLIST_DESTINATION_INVALID = 47,\n\n /**\n * The destination is already on the vault's payout address allowlist.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_EXISTS = 48;\n */\n ALLOWLIST_DESTINATION_EXISTS = 48,\n\n /**\n * The vault's payout address allowlist already holds 50 destinations on\n * the destination chain; remove one first.\n *\n * @generated from enum value: ALLOWLIST_FULL = 49;\n */\n ALLOWLIST_FULL = 49,\n\n /**\n * The destination is not on the vault's payout address allowlist.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_NOT_LISTED = 50;\n */\n ALLOWLIST_DESTINATION_NOT_LISTED = 50,\n\n /**\n * The vault's payout rule pays the destination, enabled or paused; change\n * the rule before removing the destination.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_IN_USE = 51;\n */\n ALLOWLIST_DESTINATION_IN_USE = 51,\n\n /**\n * The vault already has a pending payout address allowlist change; wait\n * until ListVaultAllowlistChanges shows it APPLIED or NOT_APPLIED.\n *\n * @generated from enum value: ALLOWLIST_CHANGE_PENDING = 52;\n */\n ALLOWLIST_CHANGE_PENDING = 52,\n\n /**\n * The vault's payout address allowlist cannot be changed yet: its\n * on-chain protection is still being set up. Retry in a few minutes.\n *\n * @generated from enum value: VAULT_ALLOWLIST_NOT_READY = 53;\n */\n VAULT_ALLOWLIST_NOT_READY = 53,\n\n /**\n * The route is temporarily suspended: deposits on the source network or\n * withdrawals on the destination network, as AssetChainVariant\n * deposit_status and withdrawal_status SUSPENDED show. Quotes and creates\n * are refused and nothing is bound to the key; QuickSwaps already created\n * continue. Repeat the request once both are NORMAL again.\n *\n * @generated from enum value: ROUTE_SUSPENDED = 54;\n */\n ROUTE_SUSPENDED = 54,\n\n /**\n * The invite is void: the member who sent it has left the broker or may no\n * longer grant its role. Accepting it granted nothing and cancelled it; ask\n * a member who may grant the role for a new invite. Invites voided by a\n * member change are cancelled by that change and answer INVITE_NOT_FOUND.\n *\n * @generated from enum value: INVITE_VOID = 55;\n */\n INVITE_VOID = 55,\n\n /**\n * The source_wallet failed risk screening. On QuoteQuickSwap nothing is\n * bound. On CreateQuickSwap the QuickSwap (swap_id in the error) is\n * REJECTED and never gets a deposit address, and every repeat of the\n * request returns this error; the end user cannot swap from this wallet.\n *\n * @generated from enum value: SOURCE_WALLET_REJECTED = 56;\n */\n SOURCE_WALLET_REJECTED = 56,\n\n /**\n * The page_token is malformed or was returned for other filters. Start\n * again from the first page with an empty page_token.\n *\n * @generated from enum value: PAGE_TOKEN_INVALID = 57;\n */\n PAGE_TOKEN_INVALID = 57,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 9);\n\n/**\n * QuickSwapService is the broker-only QuickSwap API, served over ConnectRPC\n * and REST. Every RPC requires the broker's API key, sent as a bearer token\n * in the Authorization header; the broker is derived from it, never from the\n * request. End users need no account. Brokers see only their\n * own QuickSwaps.\n *\n * The broker API key is a server credential. Call this API from the broker's\n * backend, never from a browser or mobile app. The broker's members create,\n * rotate and revoke keys with QuickSwapBrokerService, and a key may rotate\n * itself.\n *\n * A QuickSwap's status advances as the deposit and execution progress; poll\n * GetQuickSwap to follow it, at most once every 5 seconds per QuickSwap while\n * it is not terminal. Polling can stop once is_terminal is true.\n *\n * REST errors are application/problem+json (see ErrorDetail) with these HTTP\n * statuses: 400 for INVALID_ARGUMENT and FAILED_PRECONDITION, 401 for\n * UNAUTHENTICATED, 403 for PERMISSION_DENIED, 404 for NOT_FOUND, 409 for\n * ALREADY_EXISTS (IDEMPOTENCY_CONFLICT) and ABORTED (ADDRESS_CONFLICT), 413\n * when a request body is too large, 429 for RESOURCE_EXHAUSTED (with a\n * Retry-After header when the request rate was exceeded), 500 for an\n * internal error, and 503 for UNAVAILABLE and DEADLINE_EXCEEDED.\n *\n * @generated from service swap.quickswap.v1.QuickSwapService\n */\nexport const QuickSwapService: GenService<{\n /**\n * QuoteQuickSwap prices terms without reserving a deposit address.\n *\n * Nothing is created. The quote's output and fees are estimates: the fees\n * charged are their rates applied to the actual execution once the\n * deposit is credited. The quote states whether the route needs a refund\n * address. A declared source_wallet is risk screened before the quote is\n * returned.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH, SOURCE_WALLET_INVALID, FEES_INVALID,\n * REFERRAL_CODE_INVALID or REFERRAL_NOT_SUPPORTED.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, ROUTE_SUSPENDED,\n * PROTECTION_UNACHIEVABLE, AFFILIATE_VAULT_UNKNOWN, REFERRAL_CODE_UNKNOWN\n * or REFERRAL_PARTNER_INACTIVE.\n * - UNAVAILABLE: QUOTE_UNAVAILABLE; retry later.\n * - PERMISSION_DENIED: BROKER_DISABLED, or SOURCE_WALLET_REJECTED when the\n * source_wallet failed risk screening; nothing is bound.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the quote request rate of the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.QuoteQuickSwap\n */\n quoteQuickSwap: {\n methodKind: \"unary\";\n input: typeof QuoteQuickSwapRequestSchema;\n output: typeof QuoteQuickSwapResponseSchema;\n },\n /**\n * CreateQuickSwap creates or returns the QuickSwap for an idempotency key.\n *\n * A new QuickSwap is priced and gets its deposit address. The call is\n * idempotent per broker and key: a repeated or concurrent request with the\n * same body returns the same QuickSwap, quote and address, so every\n * unknown outcome is resolved by repeating the request unchanged. A\n * declared source_wallet is risk screened before the deposit address is\n * issued.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH, DESTINATION_ADDRESS_INVALID, RETURN_ADDRESS_INVALID,\n * REFUND_ADDRESS_INVALID, SOURCE_WALLET_INVALID, FEES_INVALID,\n * REFERRAL_CODE_INVALID or REFERRAL_NOT_SUPPORTED.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, ROUTE_SUSPENDED,\n * PROTECTION_UNACHIEVABLE, REFUND_ADDRESS_REQUIRED,\n * AFFILIATE_VAULT_UNKNOWN, REFERRAL_CODE_UNKNOWN or\n * REFERRAL_PARTNER_INACTIVE; nothing is bound to the key.\n * - ALREADY_EXISTS: IDEMPOTENCY_CONFLICT; the original QuickSwap stands.\n * - UNAVAILABLE: ADDRESS_UNAVAILABLE; the QuickSwap is kept and gets its\n * address automatically; follow it with GetQuickSwap or the same request.\n * - ABORTED: ADDRESS_CONFLICT; the QuickSwap never gets an address and is\n * EXPIRED (DEPOSIT_ADDRESS_CONFLICT); every repeat returns this error;\n * create a new one with a new idempotency key.\n * - UNAVAILABLE, DEADLINE_EXCEEDED: unknown outcome or QUOTE_UNAVAILABLE;\n * retry the same request.\n * - PERMISSION_DENIED: BROKER_DISABLED; nothing is bound to the key.\n * - PERMISSION_DENIED: SOURCE_WALLET_REJECTED when the source_wallet failed\n * risk screening; the QuickSwap (swap_id in the error) is REJECTED\n * without a deposit address, and every repeat returns this error.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT; nothing is bound to the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.CreateQuickSwap\n */\n createQuickSwap: {\n methodKind: \"unary\";\n input: typeof CreateQuickSwapRequestSchema;\n output: typeof CreateQuickSwapResponseSchema;\n },\n /**\n * GetQuickSwap returns the current state of one QuickSwap by swap_id or by\n * idempotency key.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed selector.\n * - NOT_FOUND: SWAP_NOT_FOUND.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the read request rate of the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.GetQuickSwap\n */\n getQuickSwap: {\n methodKind: \"unary\";\n input: typeof GetQuickSwapRequestSchema;\n output: typeof GetQuickSwapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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UA,UAAA,UAAA,iBAAA,MAAA;;;;;;;;;CAUA,UAAA,UAAA,4BAAA,MAAA;;;;;;;CAQA,UAAA,UAAA,wBAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,kCAAkC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4B9C,MAAa,mBAyFX,0BAAY,kCAAkC,CAAC"}
1
+ {"version":3,"file":"quickswap_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file swap/quickswap/v1/quickswap.proto (package swap.quickswap.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap.proto.\n */\nexport const file_swap_quickswap_v1_quickswap: GenFile = /*@__PURE__*/\n fileDesc(\"CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsyHi5zd2FwLnF1aWNrc3dhcC52MS5Ub2tlbkFtb3VudEIASABCCQoFYm91bmQSACIRCg9NYXJrZXRFeGVjdXRpb24iRQoNVHdhcEV4ZWN1dGlv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3YXASKC5zd2FwLnF1aWNrc3dhcC52MS5RdW90ZVF1aWNrU3dhcFJlcXVlc3QaKS5zd2FwLnF1aWNrc3dhcC52MS5RdW90ZVF1aWNrU3dhcFJlc3BvbnNlIgASagoPQ3JlYXRlUXVpY2tTd2FwEikuc3dhcC5xdWlja3N3YXAudjEuQ3JlYXRlUXVpY2tTd2FwUmVxdWVzdBoqLnN3YXAucXVpY2tzd2FwLnYxLkNyZWF0ZVF1aWNrU3dhcFJlc3BvbnNlIgASYQoMR2V0UXVpY2tTd2FwEiYuc3dhcC5xdWlja3N3YXAudjEuR2V0UXVpY2tTd2FwUmVxdWVzdBonLnN3YXAucXVpY2tzd2FwLnYxLkdldFF1aWNrU3dhcFJlc3BvbnNlIgAaAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3N3YXAvcXVpY2tzd2FwL3YxO3F1aWNrc3dhcHYxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * TokenAmount is an exact token amount in the token's smallest unit.\n *\n * @generated from message swap.quickswap.v1.TokenAmount\n */\nexport type TokenAmount = Message<\"swap.quickswap.v1.TokenAmount\"> & {\n /**\n * Unsigned integer amount in the token's smallest unit (for example\n * satoshis or wei), as a decimal string without sign, exponent, separators or\n * leading zeros; at most 78 digits.\n *\n * @generated from field: string base_units = 1;\n */\n baseUnits: string;\n\n /**\n * Token decimals: the display amount is base_units / 10^decimals. Required in\n * requests, where it must equal AssetChainVariant.source_decimals (the\n * token's on-chain decimals) in GET /v1/chain/deposit-withdraw/config of the\n * asset the amount is in: the source asset for a SOURCE_AMOUNT amount; the\n * destination asset for a DESTINATION_AMOUNT amount and for\n * Protection.min_amount_out.\n *\n * @generated from field: uint32 decimals = 2;\n */\n decimals: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TokenAmount.\n * Use `create(TokenAmountSchema)` to create a new message.\n */\nexport const TokenAmountSchema: GenMessage<TokenAmount> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 0);\n\n/**\n * Protection bounds the worst execution the end user accepts. It is fixed when\n * the QuickSwap is created and is enforced on every execution, however long\n * after the quote the deposit arrives.\n *\n * @generated from message swap.quickswap.v1.Protection\n */\nexport type Protection = Message<\"swap.quickswap.v1.Protection\"> & {\n /**\n * Exactly one bound.\n *\n * @generated from oneof swap.quickswap.v1.Protection.bound\n */\n bound: {\n /**\n * Maximum shortfall from the quoted expected output in basis points\n * (1 bp = 0.01%), from 1 to 1000. Converted at creation into the quote's\n * min_amount_out and min_rate.\n *\n * @generated from field: uint32 max_slippage_bps = 1;\n */\n value: number;\n case: \"maxSlippageBps\";\n } | {\n /**\n * Positive minimum destination amount after fees for the quoted deposit\n * amount, in destination token units. Converted at creation into the\n * quote's min_rate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_amount_out = 2;\n */\n value: TokenAmount;\n case: \"minAmountOut\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.Protection.\n * Use `create(ProtectionSchema)` to create a new message.\n */\nexport const ProtectionSchema: GenMessage<Protection> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 1);\n\n/**\n * MarketExecution executes the credited deposit as soon as possible, in one or\n * more immediate orders, within the service's market execution window.\n *\n * @generated from message swap.quickswap.v1.MarketExecution\n */\nexport type MarketExecution = Message<\"swap.quickswap.v1.MarketExecution\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.MarketExecution.\n * Use `create(MarketExecutionSchema)` to create a new message.\n */\nexport const MarketExecutionSchema: GenMessage<MarketExecution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 2);\n\n/**\n * TwapExecution spreads execution evenly over a duration, one slice per\n * slot. Slot k starts k slice intervals after execution starts. Each slice\n * trades what is left of the credited deposit over the slots left, and is\n * protected by the quote's min_rate on what it trades. A slice is sent only\n * within its slot: a slot missed is skipped, never sent late. On a two-leg\n * route, each slice's second leg converts that slice's intermediate funds\n * before the next slice. Intermediate funds below the smallest order the\n * second leg's market accepts do not end the TWAP: they are added to the\n * next slice's conversion, and what is still unconverted when execution\n * ends is refunded to refund_address (INTERMEDIATE_BELOW_MINIMUM). Only the\n * second leg's market closing ends a TWAP early. A TWAP needs a larger\n * deposit than a market execution, since every slice must be a valid order\n * (see QuickSwapQuote.min_deposit_amount). A bridge takes market execution\n * only.\n *\n * @generated from message swap.quickswap.v1.TwapExecution\n */\nexport type TwapExecution = Message<\"swap.quickswap.v1.TwapExecution\"> & {\n /**\n * Total execution duration in milliseconds, from 60000 (1 minute) to\n * 86400000 (24 hours). The duration starts when execution starts, not when\n * the QuickSwap is created.\n *\n * @generated from field: uint64 duration_ms = 1;\n */\n durationMs: bigint;\n\n /**\n * Interval between slices in milliseconds, from 10000 (10 seconds) up to\n * duration_ms. The slice count is duration_ms / slice_interval_ms, rounded\n * up.\n *\n * @generated from field: uint64 slice_interval_ms = 2;\n */\n sliceIntervalMs: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TwapExecution.\n * Use `create(TwapExecutionSchema)` to create a new message.\n */\nexport const TwapExecutionSchema: GenMessage<TwapExecution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 3);\n\n/**\n * Execution selects how the credited deposit is traded.\n *\n * @generated from message swap.quickswap.v1.Execution\n */\nexport type Execution = Message<\"swap.quickswap.v1.Execution\"> & {\n /**\n * Exactly one strategy.\n *\n * @generated from oneof swap.quickswap.v1.Execution.strategy\n */\n strategy: {\n /**\n * Execute immediately.\n *\n * @generated from field: swap.quickswap.v1.MarketExecution market = 1;\n */\n value: MarketExecution;\n case: \"market\";\n } | {\n /**\n * Execute in equal time slices.\n *\n * @generated from field: swap.quickswap.v1.TwapExecution twap = 2;\n */\n value: TwapExecution;\n case: \"twap\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.Execution.\n * Use `create(ExecutionSchema)` to create a new message.\n */\nexport const ExecutionSchema: GenMessage<Execution> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 4);\n\n/**\n * QuickSwapTerms are the economic terms of one QuickSwap. The same terms are\n * used to quote and to create, and are echoed unchanged on the QuickSwap.\n * Source and destination are either two assets, which are traded, or one asset\n * on two networks, a bridge: the deposit is credited and withdrawn to the\n * destination network without a trade. Any two zipped_asset_ids from the\n * config may be quoted; QuoteQuickSwap is authoritative for whether the route\n * is offered.\n *\n * @generated from message swap.quickswap.v1.QuickSwapTerms\n */\nexport type QuickSwapTerms = Message<\"swap.quickswap.v1.QuickSwapTerms\"> & {\n /**\n * Source asset and network: an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config. The end user deposits this asset on\n * this network.\n *\n * @generated from field: uint32 source_zipped_asset_id = 1;\n */\n sourceZippedAssetId: number;\n\n /**\n * Destination asset and network: an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config. The end user receives this asset on\n * this network.\n *\n * @generated from field: uint32 destination_zipped_asset_id = 2;\n */\n destinationZippedAssetId: number;\n\n /**\n * Side of the swap that amount denominates.\n *\n * @generated from field: swap.quickswap.v1.QuoteBasis basis = 3;\n */\n basis: QuoteBasis;\n\n /**\n * Positive amount in the token units of the route selected by basis: source\n * route for SOURCE_AMOUNT, destination route for DESTINATION_AMOUNT.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Worst execution the end user accepts.\n *\n * @generated from field: swap.quickswap.v1.Protection protection = 5;\n */\n protection?: Protection | undefined;\n\n /**\n * Market or TWAP execution. A bridge trades nothing and takes market only;\n * TWAP on a bridge is ROUTE_UNSUPPORTED.\n *\n * @generated from field: swap.quickswap.v1.Execution execution = 6;\n */\n execution?: Execution | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapTerms.\n * Use `create(QuickSwapTermsSchema)` to create a new message.\n */\nexport const QuickSwapTermsSchema: GenMessage<QuickSwapTerms> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 5);\n\n/**\n * QuoteFee is one fee component of a quote. Trading fees (SERVICE, BROKER,\n * AFFILIATE and REFERRAL) are charged when each leg settles, in the asset that leg\n * receives: the base asset on a buy, the quote asset on a sell. Each is\n * computed on its own from what the leg receives and rounded down when\n * charged. A bridge has no settlement; its fees are charged at payout, in\n * the destination asset.\n *\n * A quoted fee is an estimate, not a fixed amount. What is fixed is the\n * rate (bps): each trading fee charged is that rate applied to what the leg\n * actually receives once the deposit is credited, which can be hours or days\n * after the quote. The quoted amount is not a cap: the fee charged and the\n * output follow the actual deposit, execution prices and rounding, so they\n * can be higher or lower than quoted.\n *\n * @generated from message swap.quickswap.v1.QuoteFee\n */\nexport type QuoteFee = Message<\"swap.quickswap.v1.QuoteFee\"> & {\n /**\n * Fee component.\n *\n * @generated from field: swap.quickswap.v1.FeeKind kind = 1;\n */\n kind: FeeKind;\n\n /**\n * Asset and network the fee is charged in, as a zipped_asset_id. Zero for a\n * trading fee of the first leg of a two-leg route, which is charged in the\n * intermediate asset (intermediate_asset_id).\n *\n * @generated from field: uint32 zipped_asset_id = 2;\n */\n zippedAssetId: number;\n\n /**\n * Fee in zipped_asset_id's token units; for a fee charged in the\n * intermediate asset, in the intermediate asset at its trading precision\n * (amount.decimals). An estimate for deposit_amount at the quoted prices,\n * with trading fees rounded up; the fee charged can be higher or lower.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 3;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Rate of a trading fee in basis points of what the leg receives; zero for\n * a network fee. The rate, not amount, is what is charged: bps of what the\n * leg actually receives.\n *\n * @generated from field: uint32 bps = 4;\n */\n bps: number;\n\n /**\n * AFFILIATE only: public sub-account ID of the affiliate vault credited\n * with the fee; zero for every other kind, REFERRAL included.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteFee.\n * Use `create(QuoteFeeSchema)` to create a new message.\n */\nexport const QuoteFeeSchema: GenMessage<QuoteFee> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 6);\n\n/**\n * ReferralPricing is the referral applied to a QuickSwap, in whole basis\n * points of what each leg receives. The end user pays the service fee plus\n * base_broker_bps less discount_bps; the broker fee charged is\n * base_broker_bps less discount_bps and commission_bps, and the partner is\n * credited commission_bps (FeeKind REFERRAL). The service fee is unchanged.\n * The rates depend on the route: bridging when nothing is traded,\n * stablecoin when every leg trades two stablecoins, normal otherwise.\n *\n * @generated from message swap.quickswap.v1.ReferralPricing\n */\nexport type ReferralPricing = Message<\"swap.quickswap.v1.ReferralPricing\"> & {\n /**\n * Broker fee without the referral: the request's broker_bps.\n *\n * @generated from field: uint32 base_broker_bps = 1;\n */\n baseBrokerBps: number;\n\n /**\n * Discount off the end user's fee.\n *\n * @generated from field: uint32 discount_bps = 2;\n */\n discountBps: number;\n\n /**\n * Commission credited to the referral partner.\n *\n * @generated from field: uint32 commission_bps = 3;\n */\n commissionBps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralPricing.\n * Use `create(ReferralPricingSchema)` to create a new message.\n */\nexport const ReferralPricingSchema: GenMessage<ReferralPricing> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 7);\n\n/**\n * QuickSwapQuote is the priced view of a QuickSwap's terms. Prices, amounts\n * and fees are estimates at quoted_at; only the protection fields are\n * guarantees. A QuickSwap is priced when its deposit is credited, which can\n * be hours or days after the quote: the deposit must be detected before\n * DepositInstructions.funding_expires_at, and its confirmation, credit and\n * execution can finish later. Its actual output and fees can therefore\n * differ from the quote.\n *\n * The end user may deposit any amount from min_deposit_amount to\n * max_deposit_amount. min_amount_out applies only to a deposit of exactly\n * deposit_amount that fully converts; for any other deposit the guarantee is\n * min_rate on the converted part.\n *\n * The credit is the deposit less the deposit network fee. Every amount below\n * is in token units of its route.\n *\n * @generated from message swap.quickswap.v1.QuickSwapQuote\n */\nexport type QuickSwapQuote = Message<\"swap.quickswap.v1.QuickSwapQuote\"> & {\n /**\n * Source amount the quote was computed for, in source token units. Equals\n * the request amount for SOURCE_AMOUNT; computed for DESTINATION_AMOUNT.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount deposit_amount = 1;\n */\n depositAmount?: TokenAmount | undefined;\n\n /**\n * Expected destination amount for deposit_amount at quoted_at, after\n * trading fees and both quoted network fees, in destination token units. An\n * estimate, not a guarantee: the delivered amount follows the actual\n * deposit, execution and fees, bounded below only by the protection.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount expected_amount_out = 2;\n */\n expectedAmountOut?: TokenAmount | undefined;\n\n /**\n * Guaranteed minimum delivered amount, in destination token units, at the\n * quoted network fees, for a deposit of exactly deposit_amount that fully\n * converts to the destination asset. For any other deposit, and for a\n * deposit only partly converted, the guarantee is min_rate on the converted\n * part.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_amount_out = 3;\n */\n minAmountOut?: TokenAmount | undefined;\n\n /**\n * Guaranteed minimum execution rate: destination display units per source\n * display unit, as a decimal string with at most 18 fractional digits,\n * rounded up when quoted. Guarantee: for the source amount converted all the\n * way to the destination asset, the destination output before the\n * withdrawal network fee is at least that amount × min_rate, rounded down to\n * destination token units. On a two-leg route, the source amount converted\n * is the first leg's input in proportion to the intermediate funds the\n * second leg converted. Source that is not traded is returned to\n * return_address, and intermediate funds that the second leg does not\n * convert are refunded in the intermediate asset to refund_address; those\n * parts are outside the destination guarantee. The amount delivered is the\n * output less the actual withdrawal network fee, which can differ from the\n * quote.\n *\n * @generated from field: string min_rate = 4;\n */\n minRate: string;\n\n /**\n * Published minimum deposit, in source token units, compared with the\n * deposit before its network fee. Send at least this amount. It is never\n * below the source network's minimum deposit\n * (AssetChainVariant.deposit_min_amount in the config, for\n * DepositInstructions.zipped_asset_id). A smaller deposit is returned to\n * return_address (DEPOSIT_BELOW_MINIMUM) only if it reaches the source\n * network's minimum deposit; a deposit below that minimum is not detected,\n * recorded or returned, and is lost. For a bridge, min_deposit_amount\n * often equals the source network's minimum deposit; when they are equal,\n * any smaller deposit is lost. It differs from\n * ErrorDetail.min_deposit_amount, the smallest deposit that currently\n * quotes. For a TWAP it is the slice count times the smallest deposit one\n * slice takes, and at least a market execution's minimum.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_deposit_amount = 5;\n */\n minDepositAmount?: TokenAmount | undefined;\n\n /**\n * Largest deposit that is eligible to execute, in source token units,\n * compared with the deposit before its network fee. Fixed when the\n * QuickSwap is created. A larger deposit is returned to return_address\n * (DEPOSIT_ABOVE_MAXIMUM). Unset for a bridge, whose deposit no order book\n * bounds.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount max_deposit_amount = 6;\n */\n maxDepositAmount?: TokenAmount | undefined;\n\n /**\n * Unified asset ID of the intermediate asset of a two-leg route (for\n * example USDT for BTC to SOL): the AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config. Zero for a direct route or a\n * bridge. When non-zero, CreateQuickSwap requires a refund address for that\n * asset. The route is fixed at creation.\n *\n * @generated from field: uint32 intermediate_asset_id = 7;\n */\n intermediateAssetId: number;\n\n /**\n * Estimated fee components for deposit_amount at quoted_at: each leg's\n * service, broker and affiliate or referral fees, in that order, legs in\n * route order (a bridge has one set, charged at payout), then network fees.\n * Affiliates are in ascending account_id order. Zero fees are omitted. The fees charged\n * are each rate applied to the actual execution and can differ from these\n * amounts; QuickSwap.charged_fees reports the service, broker, affiliate\n * and referral fees as charged, and Deposit.network_fee and\n * Withdrawal.network_fee the network fees.\n *\n * @generated from field: repeated swap.quickswap.v1.QuoteFee fees = 8;\n */\n fees: QuoteFee[];\n\n /**\n * When the quote was priced.\n *\n * @generated from field: google.protobuf.Timestamp quoted_at = 9;\n */\n quotedAt?: Timestamp | undefined;\n\n /**\n * End of the short quote validity, typically seconds to minutes after\n * quoted_at. Display the quote until expires_at. CreateQuickSwap prices the\n * terms again and never fails because a quote expired. After it the price\n * fields are stale; the protection of a created QuickSwap still applies.\n * Independent of the funding window and the execution deadline.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 10;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * The referral applied; set only when the request carried a\n * referral_code. A QuickSwap's quote keeps the referral fixed at creation:\n * later changes to the referral program or partner never change it.\n *\n * @generated from field: swap.quickswap.v1.ReferralPricing referral = 11;\n */\n referral?: ReferralPricing | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapQuote.\n * Use `create(QuickSwapQuoteSchema)` to create a new message.\n */\nexport const QuickSwapQuoteSchema: GenMessage<QuickSwapQuote> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 8);\n\n/**\n * Screening is the risk screening of a QuickSwap. A source wallet supplied\n * in the request is screened before the deposit address is issued: a\n * rejected wallet makes the QuickSwap REJECTED with\n * SOURCE_WALLET_SCREENING_FAILED.\n * Every deposit is still screened on arrival, whoever sent it; that outcome\n * shows in the status, its reason and each deposit's disposition and reason.\n *\n * @generated from message swap.quickswap.v1.Screening\n */\nexport type Screening = Message<\"swap.quickswap.v1.Screening\"> & {\n /**\n * Source wallet supplied in the request; empty when none was supplied.\n *\n * @generated from field: string source_wallet = 2;\n */\n sourceWallet: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Screening.\n * Use `create(ScreeningSchema)` to create a new message.\n */\nexport const ScreeningSchema: GenMessage<Screening> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 9);\n\n/**\n * DepositInstructions tell the end user where and until when to deposit.\n *\n * @generated from message swap.quickswap.v1.DepositInstructions\n */\nexport type DepositInstructions = Message<\"swap.quickswap.v1.DepositInstructions\"> & {\n /**\n * Deposit address in the source network's native text form, without memo.\n *\n * @generated from field: string address = 1;\n */\n address: string;\n\n /**\n * Destination tag or memo the deposit must carry; empty when the source\n * network uses none. A deposit without it cannot be attributed.\n *\n * @generated from field: string memo = 2;\n */\n memo: string;\n\n /**\n * Asset and network to deposit; equal to terms.source_zipped_asset_id.\n *\n * @generated from field: uint32 zipped_asset_id = 3;\n */\n zippedAssetId: number;\n\n /**\n * When the address was issued to this QuickSwap; the funding window starts\n * here. After ADDRESS_UNAVAILABLE it can be long after created_at.\n *\n * @generated from field: google.protobuf.Timestamp issued_at = 4;\n */\n issuedAt?: Timestamp | undefined;\n\n /**\n * End of the funding window, fixed when the address is issued (currently 7\n * days after issued_at). A deposit can execute only if Polyester detects it\n * before this time; detection time counts, not block time, and\n * confirmations may finish later. A deposit detected at or after this time\n * never executes. A deposit observed on a retired address is\n * MANUAL_RECOVERY and is not returned automatically; other late deposits\n * are RETURN_ONLY. For an unfunded address, address_retires_at equals this\n * time, so there is no separate scheduled return period. Send deposits well\n * before this time. Never changes.\n *\n * @generated from field: google.protobuf.Timestamp funding_expires_at = 5;\n */\n fundingExpiresAt?: Timestamp | undefined;\n\n /**\n * After this time the deposit address is retired and funds sent to it may\n * not be recoverable. For an unfunded address it equals funding_expires_at.\n * After a deposit is accepted it is provisional, a lower bound, until\n * Polyester releases the deposit address, which can be shortly after the\n * QuickSwap becomes terminal; from then on it is at least 7 days after all\n * payouts finish. It only moves later, never earlier, and never before\n * funding_expires_at.\n *\n * @generated from field: google.protobuf.Timestamp address_retires_at = 6;\n */\n addressRetiresAt?: Timestamp | undefined;\n\n /**\n * Current lifecycle state of the address.\n *\n * @generated from field: swap.quickswap.v1.DepositAddressState address_state = 7;\n */\n addressState: DepositAddressState;\n\n /**\n * Recommended gas limit, in gas units, for a native-coin deposit on EVM\n * networks to succeed reliably: 250000. Polyester does not enforce it; the\n * sender's wallet or exchange sets the gas limit. A gas estimate from the\n * network of at least 50000 also works, but confirms more slowly. The gas\n * a plain transfer needs differs by network: several layer-2 networks and\n * EVM forks do not use 21000. If the limit is too low, the transfer fails\n * on chain without depositing, and the network fee is still charged. Zero\n * for token deposits and non-EVM networks.\n *\n * @generated from field: uint64 min_native_gas_limit = 8;\n */\n minNativeGasLimit: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.DepositInstructions.\n * Use `create(DepositInstructionsSchema)` to create a new message.\n */\nexport const DepositInstructionsSchema: GenMessage<DepositInstructions> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 10);\n\n/**\n * Deposit is one deposit detected on the QuickSwap's deposit address.\n *\n * @generated from message swap.quickswap.v1.Deposit\n */\nexport type Deposit = Message<\"swap.quickswap.v1.Deposit\"> & {\n /**\n * Zero-based position in deposits, which lists deposits oldest first. Not\n * stable: a deposit detected earlier can appear later, for example a\n * dropped or replaced deposit that confirms after all, and then shifts the\n * index of every deposit after it. Identify a deposit by tx_hash with\n * tx_occurrence_index, not by index.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Source-network transaction identifier in the network's native text form.\n *\n * @generated from field: string tx_hash = 2;\n */\n txHash: string;\n\n /**\n * Output or log index of the deposit within tx_hash; zero is valid.\n *\n * @generated from field: uint64 tx_occurrence_index = 3;\n */\n txOccurrenceIndex: bigint;\n\n /**\n * Asset and network actually received, as a zipped_asset_id. Zero until\n * Polyester has identified the deposit's asset, shortly after detection,\n * and when the asset is not a supported route.\n *\n * @generated from field: uint32 zipped_asset_id = 4;\n */\n zippedAssetId: number;\n\n /**\n * Received amount, before the deposit network fee, in zipped_asset_id's\n * token units; unset while zipped_asset_id is zero.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 5;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * What this deposit may do.\n *\n * @generated from field: swap.quickswap.v1.DepositDisposition disposition = 8;\n */\n disposition: DepositDisposition;\n\n /**\n * Why the disposition is RETURN_ONLY, ON_HOLD or MANUAL_RECOVERY;\n * REASON_UNSPECIFIED otherwise, and for a deposit ON_HOLD for review\n * without a more specific reason.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 9;\n */\n reason: QuickSwapReason;\n\n /**\n * Current source-network confirmations; zero until the source network\n * reports any. Never decreases.\n *\n * @generated from field: uint32 confirmations = 10;\n */\n confirmations: number;\n\n /**\n * Source-network confirmations required before credit; zero until known.\n *\n * @generated from field: uint32 required_confirmations = 11;\n */\n requiredConfirmations: number;\n\n /**\n * When the deposit was first seen. Eligibility compares this time with\n * funding_expires_at.\n *\n * @generated from field: google.protobuf.Timestamp detected_at = 12;\n */\n detectedAt?: Timestamp | undefined;\n\n /**\n * When the deposit was credited; unset until credited. Credit does not\n * decide eligibility: a credited deposit can still be EVALUATING, and one\n * then found ineligible, such as a late deposit, stays credited and is\n * returned (RETURN_ONLY).\n *\n * @generated from field: google.protobuf.Timestamp credited_at = 13;\n */\n creditedAt?: Timestamp | undefined;\n\n /**\n * Public, URL-safe lifecycle flow identifier of this deposit, usable with\n * GET /v1/chain/flows/{flow_id}; empty until the flow exists. Lifecycle flow\n * amounts are 18-decimal unified units (amount_e18), not token base units.\n *\n * @generated from field: string flow_id = 14;\n */\n flowId: string;\n\n /**\n * Direct return to return_address of a deposit that was never credited: a\n * RETURN_ONLY deposit that reached the address after its one eligible\n * deposit or after its funding window. On a MANUAL_RECOVERY deposit it\n * reports a direct return once one is recorded. Unset until a direct return\n * is recorded, and on every other deposit, which is returned through\n * withdrawals.\n *\n * @generated from field: swap.quickswap.v1.DepositReturn direct_return = 15;\n */\n directReturn?: DepositReturn | undefined;\n\n /**\n * Deposit network fee that Zipper withheld from this deposit when it\n * took the deposit in, in zipped_asset_id's token units; zero when it\n * charged none. Unset until Zipper has taken the deposit in, and on a\n * deposit it never takes in: a deposit returned or transferred out\n * without being credited, whose deductions are not reported.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount network_fee = 16;\n */\n networkFee?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Deposit.\n * Use `create(DepositSchema)` to create a new message.\n */\nexport const DepositSchema: GenMessage<Deposit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 11);\n\n/**\n * DepositReturn is a deposit's direct return to return_address. It pays the\n * return address only, never the deposit's sender, in the asset and on the\n * network the deposit was received in.\n *\n * @generated from message swap.quickswap.v1.DepositReturn\n */\nexport type DepositReturn = Message<\"swap.quickswap.v1.DepositReturn\"> & {\n /**\n * Return progress. Accept state values added later.\n *\n * @generated from field: swap.quickswap.v1.DepositReturnState state = 1;\n */\n state: DepositReturnState;\n\n /**\n * Return transaction on the deposit's network, in the network's native\n * text form; set once RETURN_COMPLETED.\n *\n * @generated from field: string tx_hash = 2;\n */\n txHash: string;\n\n /**\n * When the return last changed state.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 3;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.DepositReturn.\n * Use `create(DepositReturnSchema)` to create a new message.\n */\nexport const DepositReturnSchema: GenMessage<DepositReturn> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 12);\n\n/**\n * ExecutionProgress is the trading progress of a QuickSwap.\n *\n * @generated from message swap.quickswap.v1.ExecutionProgress\n */\nexport type ExecutionProgress = Message<\"swap.quickswap.v1.ExecutionProgress\"> & {\n /**\n * Credited amount committed to execution, in source token units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_amount = 1;\n */\n inputAmount?: TokenAmount | undefined;\n\n /**\n * Source amount traded so far, in source token units. On a two-leg route\n * this counts the first leg. Zero for a bridge, which trades nothing.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount executed_input = 2;\n */\n executedInput?: TokenAmount | undefined;\n\n /**\n * Destination amount acquired so far after service, broker and affiliate\n * fees and before withdrawal network fees, in destination token units. Zero for a\n * bridge: its destination withdrawal pays the credit less its fees.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_amount = 3;\n */\n outputAmount?: TokenAmount | undefined;\n\n /**\n * On a two-leg route, intermediate asset acquired but not yet converted, in\n * the refund route's token units; unset for a direct route and a bridge.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount intermediate_remainder = 4;\n */\n intermediateRemainder?: TokenAmount | undefined;\n\n /**\n * Completed slices: a market execution's one slice completes when\n * execution finishes; a TWAP slice completes once it has traded and is\n * over, so a slot that traded nothing or was skipped never completes.\n * Zero for a bridge.\n *\n * @generated from field: uint32 completed_slices = 5;\n */\n completedSlices: number;\n\n /**\n * Planned slices: a market execution has one once it is planned; a TWAP\n * has its slice count, duration_ms over slice_interval_ms rounded up. Zero\n * until then, and for a bridge, which trades nothing.\n *\n * @generated from field: uint32 total_slices = 6;\n */\n totalSlices: number;\n\n /**\n * When the first slice was submitted for execution. Unset while all slices\n * remain unsent, including an execution refused during planning. Planned\n * slice times and the execution deadline do not imply a slice was sent.\n *\n * @generated from field: google.protobuf.Timestamp started_at = 7;\n */\n startedAt?: Timestamp | undefined;\n\n /**\n * Execution deadline frozen during planning: the planned start plus the TWAP\n * duration or market execution window. A later first submission does not move\n * this deadline. Funds not converted by then are refunded or returned.\n * Independent of the quote validity and the funding window. Unset until\n * the execution is planned, and for a bridge, which trades nothing.\n *\n * @generated from field: google.protobuf.Timestamp deadline = 8;\n */\n deadline?: Timestamp | undefined;\n\n /**\n * When execution finished; unset while executing.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 9;\n */\n finishedAt?: Timestamp | undefined;\n\n /**\n * Planned slices in increasing index order, at most 50. Includes future and\n * active slices. Empty for a bridge, or when slices_unavailable_reason is set.\n * When available and not truncated, input_traded and\n * output_received sum to executed_input and output_amount respectively;\n * completed entries count to completed_slices and the list has total_slices\n * entries. Amounts are rounded cumulatively in index order.\n *\n * @generated from field: repeated swap.quickswap.v1.ExecutionSlice slices = 10;\n */\n slices: ExecutionSlice[];\n\n /**\n * True when more than 50 slices exist; only the first 50 are listed.\n * Totals and completed_slices still cover the entire execution.\n *\n * @generated from field: bool slices_truncated = 11;\n */\n slicesTruncated: boolean;\n\n /**\n * Why slice history is unavailable. When set, slices is empty and\n * slices_truncated is false. Counts, execution status and withdrawals\n * remain available, and so do the aggregate amounts, except that with\n * PRECISION_UNAVAILABLE an amount in a token whose precision is\n * unavailable is unset. Unspecified when history is available.\n *\n * @generated from field: swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason slices_unavailable_reason = 12;\n */\n slicesUnavailableReason: ExecutionProgress_SlicesUnavailableReason;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionProgress.\n * Use `create(ExecutionProgressSchema)` to create a new message.\n */\nexport const ExecutionProgressSchema: GenMessage<ExecutionProgress> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 13);\n\n/**\n * SlicesUnavailableReason explains why slice details cannot be shown.\n *\n * @generated from enum swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason\n */\nexport enum ExecutionProgress_SlicesUnavailableReason {\n /**\n * Slice history is available, or the execution has no slices.\n *\n * @generated from enum value: UNAVAILABLE_REASON_UNSPECIFIED = 0;\n */\n UNAVAILABLE_REASON_UNSPECIFIED = 0,\n\n /**\n * Recorded slice data is inconsistent; no slice amounts are fabricated.\n *\n * @generated from enum value: ACCOUNTING_INCONSISTENCY = 1;\n */\n ACCOUNTING_INCONSISTENCY = 1,\n\n /**\n * The precision of one or more execution assets is unavailable, so slice\n * amounts cannot be shown accurately. Aggregate amounts in those assets\n * are unset; the others remain available.\n *\n * @generated from enum value: PRECISION_UNAVAILABLE = 2;\n */\n PRECISION_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionProgress.SlicesUnavailableReason.\n */\nexport const ExecutionProgress_SlicesUnavailableReasonSchema: GenEnum<ExecutionProgress_SlicesUnavailableReason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 13, 0);\n\n/**\n * ExecutionSlice is one planned execution slot, including a slot that trades\n * nothing. Its index and planned_at never change.\n *\n * @generated from message swap.quickswap.v1.ExecutionSlice\n */\nexport type ExecutionSlice = Message<\"swap.quickswap.v1.ExecutionSlice\"> & {\n /**\n * Zero-based position in the execution's frozen schedule.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Frozen scheduled start time of this slot.\n *\n * @generated from field: google.protobuf.Timestamp planned_at = 2;\n */\n plannedAt?: Timestamp | undefined;\n\n /**\n * When its first order was sent; unset for an unsent slice.\n *\n * @generated from field: google.protobuf.Timestamp executed_at = 3;\n */\n executedAt?: Timestamp | undefined;\n\n /**\n * When its outcome became final; unset while planned or executing.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 4;\n */\n finishedAt?: Timestamp | undefined;\n\n /**\n * Current slice state.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.State state = 5;\n */\n state: ExecutionSlice_State;\n\n /**\n * Why a final slice did not trade in full; unspecified after full trading.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.Reason reason = 6;\n */\n reason: ExecutionSlice_Reason;\n\n /**\n * Whether this slice contributes to completed_slices. A final market slice\n * completes even if it traded nothing; a TWAP slice completes only if it\n * traded source input and is over.\n *\n * @generated from field: bool completed = 7;\n */\n completed: boolean;\n\n /**\n * Source input traded, in source token units, counting only the first leg.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_traded = 8;\n */\n inputTraded?: TokenAmount | undefined;\n\n /**\n * Destination received after all trading fees, in destination token units.\n * On a two-leg route this is the second leg's output in this slot, which\n * can include conversion of intermediate funds from earlier slots.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_received = 9;\n */\n outputReceived?: TokenAmount | undefined;\n\n /**\n * Net destination tokens per source token for this slot, rounded down to\n * 18 decimal places; empty when no source input traded. A two-leg slot's\n * output can include conversion of funds carried from previous slots.\n *\n * @generated from field: string average_price = 10;\n */\n averagePrice: string;\n\n /**\n * Second-leg conversion; unset on a direct route or a bridge.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.SecondLeg second_leg = 11;\n */\n secondLeg?: ExecutionSlice_SecondLeg | undefined;\n\n /**\n * Intermediate balance after this slot's recorded fills, including earlier\n * carried funds, in the refund route's token units; unset on a direct route.\n * It passes to later slots while executing, or to refund when execution ends.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount intermediate_carried = 12;\n */\n intermediateCarried?: TokenAmount | undefined;\n\n /**\n * Why intermediate funds could not be converted in this slot; unspecified\n * when no conversion was refused.\n *\n * @generated from field: swap.quickswap.v1.ExecutionSlice.Reason carry_reason = 13;\n */\n carryReason: ExecutionSlice_Reason;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionSlice.\n * Use `create(ExecutionSliceSchema)` to create a new message.\n */\nexport const ExecutionSliceSchema: GenMessage<ExecutionSlice> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 14);\n\n/**\n * SecondLeg is the intermediate-to-destination conversion in this slot.\n * It may spend intermediate funds carried from earlier slots as well.\n *\n * @generated from message swap.quickswap.v1.ExecutionSlice.SecondLeg\n */\nexport type ExecutionSlice_SecondLeg = Message<\"swap.quickswap.v1.ExecutionSlice.SecondLeg\"> & {\n /**\n * Intermediate amount traded, in the refund route's token units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount input_traded = 1;\n */\n inputTraded?: TokenAmount | undefined;\n\n /**\n * Destination amount received after all trading fees, in destination units.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount output_received = 2;\n */\n outputReceived?: TokenAmount | undefined;\n\n /**\n * Net destination tokens per intermediate token, rounded down to 18\n * decimal places; empty when no intermediate amount traded.\n *\n * @generated from field: string average_price = 3;\n */\n averagePrice: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ExecutionSlice.SecondLeg.\n * Use `create(ExecutionSlice_SecondLegSchema)` to create a new message.\n */\nexport const ExecutionSlice_SecondLegSchema: GenMessage<ExecutionSlice_SecondLeg> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 14, 0);\n\n/**\n * State distinguishes pending work from a final slice outcome.\n *\n * @generated from enum swap.quickswap.v1.ExecutionSlice.State\n */\nexport enum ExecutionSlice_State {\n /**\n * No state; never returned.\n *\n * @generated from enum value: STATE_UNSPECIFIED = 0;\n */\n STATE_UNSPECIFIED = 0,\n\n /**\n * Scheduled; no order has been sent yet.\n *\n * @generated from enum value: PLANNED = 1;\n */\n PLANNED = 1,\n\n /**\n * An order has been sent and the outcome is not final.\n *\n * @generated from enum value: EXECUTING = 2;\n */\n EXECUTING = 2,\n\n /**\n * The slice traded its planned orders in full.\n *\n * @generated from enum value: TRADED = 3;\n */\n TRADED = 3,\n\n /**\n * The slice traded some input but left an order partly unfilled or\n * intermediate funds unconverted.\n *\n * @generated from enum value: PARTLY_TRADED = 4;\n */\n PARTLY_TRADED = 4,\n\n /**\n * No input traded because the slot was not used or no order could fill.\n *\n * @generated from enum value: SKIPPED = 5;\n */\n SKIPPED = 5,\n\n /**\n * No input traded because an order or its execution failed.\n *\n * @generated from enum value: FAILED = 6;\n */\n FAILED = 6,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionSlice.State.\n */\nexport const ExecutionSlice_StateSchema: GenEnum<ExecutionSlice_State> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 14, 0);\n\n/**\n * Reason explains a slice outcome or why intermediate funds were carried.\n *\n * @generated from enum swap.quickswap.v1.ExecutionSlice.Reason\n */\nexport enum ExecutionSlice_Reason {\n /**\n * No reason is needed while pending or after a fully traded slice.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The slot ended before an order could be sent.\n *\n * @generated from enum value: SLOT_MISSED = 1;\n */\n SLOT_MISSED = 1,\n\n /**\n * The execution deadline ended this slice.\n *\n * @generated from enum value: DEADLINE_REACHED = 2;\n */\n DEADLINE_REACHED = 2,\n\n /**\n * The required market was closed.\n *\n * @generated from enum value: MARKET_CLOSED = 3;\n */\n MARKET_CLOSED = 3,\n\n /**\n * The amount was below the market's minimum order size.\n *\n * @generated from enum value: BELOW_MINIMUM = 4;\n */\n BELOW_MINIMUM = 4,\n\n /**\n * The amount exceeded the market's maximum order size.\n *\n * @generated from enum value: ABOVE_MAXIMUM = 5;\n */\n ABOVE_MAXIMUM = 5,\n\n /**\n * No order could satisfy the swap's price protection.\n *\n * @generated from enum value: PROTECTION_NOT_MET = 6;\n */\n PROTECTION_NOT_MET = 6,\n\n /**\n * An order was refused.\n *\n * @generated from enum value: ORDER_REJECTED = 7;\n */\n ORDER_REJECTED = 7,\n\n /**\n * Available liquidity did not fill the whole order at its protected price.\n *\n * @generated from enum value: INSUFFICIENT_LIQUIDITY = 8;\n */\n INSUFFICIENT_LIQUIDITY = 8,\n\n /**\n * The execution ended before this slot was used.\n *\n * @generated from enum value: EXECUTION_ENDED = 9;\n */\n EXECUTION_ENDED = 9,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ExecutionSlice.Reason.\n */\nexport const ExecutionSlice_ReasonSchema: GenEnum<ExecutionSlice_Reason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 14, 1);\n\n/**\n * Withdrawal is one outgoing payment. A QuickSwap can end with several, for\n * example a partial refund plus the destination payout; the best case is a\n * single destination withdrawal.\n *\n * @generated from message swap.quickswap.v1.Withdrawal\n */\nexport type Withdrawal = Message<\"swap.quickswap.v1.Withdrawal\"> & {\n /**\n * Zero-based position in the withdrawals list. Not stable: a withdrawal's\n * position can change between reads, so do not use it as an identifier.\n *\n * @generated from field: uint32 index = 1;\n */\n index: number;\n\n /**\n * Why this withdrawal pays its recipient.\n *\n * @generated from field: swap.quickswap.v1.WithdrawalRole role = 2;\n */\n role: WithdrawalRole;\n\n /**\n * Index (Deposit.index), in the same response, of the deposit whose funds\n * this withdrawal moves. Not stable across reads, like Deposit.index.\n *\n * @generated from field: uint32 deposit_index = 3;\n */\n depositIndex: number;\n\n /**\n * Asset and network paid, as a zipped_asset_id.\n *\n * @generated from field: uint32 zipped_asset_id = 4;\n */\n zippedAssetId: number;\n\n /**\n * Recipient address in the network's native text form. Empty on a\n * COMPLIANCE_TRANSFER, whose recipient Polyester does not record.\n *\n * @generated from field: string address = 5;\n */\n address: string;\n\n /**\n * Recipient destination tag or memo; empty when the network uses none,\n * and on a COMPLIANCE_TRANSFER.\n *\n * @generated from field: string memo = 6;\n */\n memo: string;\n\n /**\n * Amount delivered to address after the network fee, in zipped_asset_id's\n * token units; set once FINALIZED. Like tx_hash, it is the amount recorded\n * for this withdrawal and can be corrected for up to 24 hours after the\n * QuickSwap ends (terminal_at). Unset on the RETURN of a deposit returned\n * because its risk screen failed (SOURCE_SCREENING_FAILED): that return is\n * sent from the deposit address and reports no delivered amount. Unset on\n * a COMPLIANCE_TRANSFER too.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 7;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Actual network fee withheld from this withdrawal, in the same units; set\n * once FINALIZED. Can be corrected for up to 24 hours after the QuickSwap\n * ends, like amount. Unset on the RETURN of a deposit returned because its\n * risk screen failed, and on a COMPLIANCE_TRANSFER, like amount.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount network_fee = 8;\n */\n networkFee?: TokenAmount | undefined;\n\n /**\n * Withdrawal progress.\n *\n * @generated from field: swap.quickswap.v1.WithdrawalState state = 9;\n */\n state: WithdrawalState;\n\n /**\n * Recipient-network transaction recorded for this withdrawal; empty until\n * the transaction is committed on the recipient network. It can be\n * corrected for up to 24 hours after the QuickSwap ends (terminal_at) and is\n * not updated after that. For the authoritative, latest state of the\n * transfer, read flow_id.\n *\n * @generated from field: string tx_hash = 10;\n */\n txHash: string;\n\n /**\n * When the withdrawal was submitted; unset until submitted.\n *\n * @generated from field: google.protobuf.Timestamp submitted_at = 11;\n */\n submittedAt?: Timestamp | undefined;\n\n /**\n * When the withdrawal became final; unset until FINALIZED.\n *\n * @generated from field: google.protobuf.Timestamp finalized_at = 12;\n */\n finalizedAt?: Timestamp | undefined;\n\n /**\n * Public, URL-safe lifecycle flow identifier of this withdrawal, usable with\n * GET /v1/chain/flows/{flow_id}; empty until the flow exists. The flow is\n * the authoritative, latest state of the transfer, including a correction\n * made after tx_hash, amount and network_fee stop being updated. Lifecycle\n * flow amounts are 18-decimal unified units (amount_e18), not token base\n * units. For the RETURN of a deposit returned because its risk screen\n * failed, it is the deposit's flow (Deposit.flow_id), which ends REFUNDED\n * with the return as its transaction. For a COMPLIANCE_TRANSFER, it is the\n * deposit's flow too, which ends FAILED with reason\n * ZIPPER_COMPLIANCE_TRANSFERRED and the transfer as its transaction.\n *\n * @generated from field: string flow_id = 13;\n */\n flowId: string;\n\n /**\n * Set only when state is NOT_SENT: the amount for which no withdrawal was\n * made because it was below the withdrawal minimum of its asset and\n * network. In zipped_asset_id's token units, rounded down to the token's\n * smallest unit.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount unsent_amount = 14;\n */\n unsentAmount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Withdrawal.\n * Use `create(WithdrawalSchema)` to create a new message.\n */\nexport const WithdrawalSchema: GenMessage<Withdrawal> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 15);\n\n/**\n * QuickSwap is one broker-owned swap of an external deposit into external\n * withdrawals. The end user needs no account.\n *\n * @generated from message swap.quickswap.v1.QuickSwap\n */\nexport type QuickSwap = Message<\"swap.quickswap.v1.QuickSwap\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * The broker's idempotency key that created this QuickSwap.\n *\n * @generated from field: string idempotency_key = 2;\n */\n idempotencyKey: string;\n\n /**\n * Current status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 3;\n */\n status: QuickSwapStatus;\n\n /**\n * Why the status is notable (held, returning, delayed, terminal without\n * destination output); REASON_UNSPECIFIED otherwise. When a payout\n * completes but a refund or return was NOT_SENT, the status follows the\n * paid withdrawals (for example COMPLETED) and the reason is\n * REFUND_BELOW_MINIMUM. A FAILED withdrawal takes precedence: the status is\n * HELD and the reason WITHDRAWAL_FAILED.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 4;\n */\n reason: QuickSwapReason;\n\n /**\n * True when status is terminal; authoritative, including for status values\n * added later. Polling can stop at a terminal status. A terminal status\n * never changes. Shortly after it, address_retires_at can still move later,\n * and withdrawal details can be corrected as documented on Withdrawal;\n * another deposit reaching the address also shows as RETURN_ONLY, and\n * another deposit observed on an already retired address shows as\n * MANUAL_RECOVERY. Such a deposit is returned directly, not through\n * withdrawals: its direct_return reports the return, and RETURN_ONLY alone\n * does not confirm a completed return.\n * An EXPIRED QuickSwap whose dropped or replaced deposit confirms after all\n * becomes HELD (see QuickSwapStatus.EXPIRED). Read again if the end user\n * reports such a deposit or needs the final retirement time.\n *\n * @generated from field: bool is_terminal = 5;\n */\n isTerminal: boolean;\n\n /**\n * Accepted economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 6;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Recipient of the swap output on the destination network. Addresses and\n * memos are in their network's canonical form (for example lowercase EVM\n * hex), which can differ in case or encoding from the create request; that\n * form is the one paid.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Destination tag or memo for destination_address; empty when none.\n *\n * @generated from field: string destination_memo = 8;\n */\n destinationMemo: string;\n\n /**\n * Recipient of returned source funds on the source network.\n *\n * @generated from field: string return_address = 9;\n */\n returnAddress: string;\n\n /**\n * Destination tag or memo for return_address; empty when none.\n *\n * @generated from field: string return_memo = 10;\n */\n returnMemo: string;\n\n /**\n * Refund route (asset and network) of the intermediate asset; zero when\n * none was supplied.\n *\n * @generated from field: uint32 refund_zipped_asset_id = 11;\n */\n refundZippedAssetId: number;\n\n /**\n * Recipient of refunded intermediate asset; empty when none was supplied.\n *\n * @generated from field: string refund_address = 12;\n */\n refundAddress: string;\n\n /**\n * Destination tag or memo for refund_address; empty when none.\n *\n * @generated from field: string refund_memo = 13;\n */\n refundMemo: string;\n\n /**\n * Quote and protection fixed at creation. Not refreshed on retries. Its\n * amounts and fees stay estimates: the QuickSwap is priced when its deposit\n * is credited, and execution, withdrawals and charged_fees report the\n * actual output and fees.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 14;\n */\n quote?: QuickSwapQuote | undefined;\n\n /**\n * Where and until when to deposit; absent while ALLOCATING and on a\n * QuickSwap that never got an address (REJECTED, or EXPIRED with\n * DEPOSIT_ADDRESS_CONFLICT).\n *\n * @generated from field: swap.quickswap.v1.DepositInstructions deposit_instructions = 15;\n */\n depositInstructions?: DepositInstructions | undefined;\n\n /**\n * Risk screening.\n *\n * @generated from field: swap.quickswap.v1.Screening screening = 16;\n */\n screening?: Screening | undefined;\n\n /**\n * Detected deposits, oldest first, at most 50. A deposit detected earlier\n * can appear later and shift the others' index (see Deposit.index).\n *\n * @generated from field: repeated swap.quickswap.v1.Deposit deposits = 17;\n */\n deposits: Deposit[];\n\n /**\n * True when more than 50 deposits were detected; only the first 50 are\n * listed.\n *\n * @generated from field: bool deposits_truncated = 18;\n */\n depositsTruncated: boolean;\n\n /**\n * Execution progress; absent before execution starts.\n *\n * @generated from field: swap.quickswap.v1.ExecutionProgress execution = 20;\n */\n execution?: ExecutionProgress | undefined;\n\n /**\n * Withdrawals, oldest first, at most 50.\n *\n * @generated from field: repeated swap.quickswap.v1.Withdrawal withdrawals = 21;\n */\n withdrawals: Withdrawal[];\n\n /**\n * True when more than 50 withdrawals exist; only the first 50 are listed.\n *\n * @generated from field: bool withdrawals_truncated = 22;\n */\n withdrawalsTruncated: boolean;\n\n /**\n * When the QuickSwap was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 23;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the QuickSwap last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 24;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * When status became terminal; unset while not terminal.\n *\n * @generated from field: google.protobuf.Timestamp terminal_at = 25;\n */\n terminalAt?: Timestamp | undefined;\n\n /**\n * Monotonic state version: a snapshot with a lower version is older. Zero\n * while ALLOCATING; 1 once the deposit address is issued (AWAITING_DEPOSIT),\n * allocation ends without one (EXPIRED with DEPOSIT_ADDRESS_CONFLICT) or\n * the QuickSwap is REJECTED; every later change increments it.\n *\n * @generated from field: uint64 version = 26;\n */\n version: bigint;\n\n /**\n * Fee schedule version fixed at creation. Every execution or bridge payout\n * of this QuickSwap is charged that version's service fees, capped by the\n * broker's fee ceiling in force at creation if one applies, whatever later\n * versions or ceiling changes make.\n *\n * @generated from field: uint64 fee_schedule_version = 28;\n */\n feeScheduleVersion: bigint;\n\n /**\n * Broker and affiliate fees as requested, fixed at creation. With a\n * referral (quote.referral), the broker fee charged is broker_bps less the\n * referral's discount and commission.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 29;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Service, broker, affiliate and referral fees charged so far, as\n * settled: one entry per fee kind, credited account and asset, SERVICE\n * first, then BROKER, then AFFILIATE and REFERRAL by account_id, each\n * kind and account by asset_id. Grows while the QuickSwap executes or\n * pays out a bridge. Each is the rate applied to the actual execution, so\n * it can differ from the quote's fee lines. The SERVICE entries are\n * Polyester's fee, not an amount credited to the broker: the broker's\n * earnings are its BROKER and AFFILIATE entries.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 30;\n */\n chargedFees: ChargedFee[];\n\n /**\n * USD value of the credited deposit taken into execution\n * (execution.input_amount), at the source asset's USD price when it was\n * taken in, in base units of 18 decimals, rounded down. Set once, within\n * minutes of that moment, and never repriced. Unset until then, and for\n * good when no current price valued it in time or the QuickSwap predates\n * USD values; never zero for unknown.\n * Setting it increments version.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount deposited_value_usd = 31;\n */\n depositedValueUsd?: TokenAmount | undefined;\n\n /**\n * USD value of what the destination is paid (the DESTINATION withdrawal's\n * amount: after service, broker and affiliate fees, before its network\n * fee), at the destination asset's USD price when that payout was\n * requested, in base units of 18 decimals, rounded down. Set only once\n * that withdrawal is FINALIZED; unset for good when no current price\n * valued the payout within minutes of its request or the QuickSwap\n * predates USD values; never zero for unknown.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount delivered_value_usd = 32;\n */\n deliveredValueUsd?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwap.\n * Use `create(QuickSwapSchema)` to create a new message.\n */\nexport const QuickSwapSchema: GenMessage<QuickSwap> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 16);\n\n/**\n * RequestedFees are the broker and affiliate fees a QuickSwap request set,\n * charged on top of the service fee.\n *\n * @generated from message swap.quickswap.v1.RequestedFees\n */\nexport type RequestedFees = Message<\"swap.quickswap.v1.RequestedFees\"> & {\n /**\n * Broker fee in basis points of what each leg receives, credited to the\n * broker's default vault.\n *\n * @generated from field: uint32 broker_bps = 1;\n */\n brokerBps: number;\n\n /**\n * Affiliate fees, in ascending account_id order.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 2;\n */\n affiliates: AffiliateShare[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.RequestedFees.\n * Use `create(RequestedFeesSchema)` to create a new message.\n */\nexport const RequestedFeesSchema: GenMessage<RequestedFees> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 17);\n\n/**\n * ChargedFee is a fee charged on a QuickSwap in one asset, from settled\n * fills and bridge payouts, summed per kind and credited account.\n *\n * @generated from message swap.quickswap.v1.ChargedFee\n */\nexport type ChargedFee = Message<\"swap.quickswap.v1.ChargedFee\"> & {\n /**\n * SERVICE, BROKER, AFFILIATE or REFERRAL.\n *\n * @generated from field: swap.quickswap.v1.FeeKind kind = 1;\n */\n kind: FeeKind;\n\n /**\n * Public sub-account ID of the credited vault: the default vault for\n * BROKER, the affiliate vault for AFFILIATE; zero for SERVICE, credited\n * to Polyester, and for REFERRAL.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * Asset credited, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Amount charged, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * USD value of amount, each fee summed in it valued at its asset's USD\n * price when it was charged, in base units of 18 decimals, rounded down.\n * Each fee is valued once, within minutes of being charged, and never\n * repriced. Unset while any fee summed in amount has no USD value: one\n * charged in the last few minutes, one no current price valued in time,\n * or one charged before USD values existed; never zero for unknown.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount value_usd = 5;\n */\n valueUsd?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ChargedFee.\n * Use `create(ChargedFeeSchema)` to create a new message.\n */\nexport const ChargedFeeSchema: GenMessage<ChargedFee> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 18);\n\n/**\n * QuoteQuickSwapRequest prices terms, with the broker and affiliate fees,\n * without reserving anything.\n *\n * @generated from message swap.quickswap.v1.QuoteQuickSwapRequest\n */\nexport type QuoteQuickSwapRequest = Message<\"swap.quickswap.v1.QuoteQuickSwapRequest\"> & {\n /**\n * Terms to price.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 1;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Broker fee in basis points of what each leg receives, charged on top of\n * the service fee and credited to the broker's default vault; 0 for none,\n * at most 300. broker_bps and the affiliates' bps total at most 300.\n *\n * @generated from field: uint32 broker_bps = 2;\n */\n brokerBps: number;\n\n /**\n * Affiliate fees, each charged on top and credited to its affiliate vault:\n * at most three distinct vaults.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 3;\n */\n affiliates: AffiliateShare[];\n\n /**\n * Optional referral partner code, as CreateQuickSwapRequest.referral_code:\n * at most 64 bytes.\n *\n * @generated from field: string referral_code = 4;\n */\n referralCode: string;\n\n /**\n * Optional source wallet the end user will deposit from, as\n * CreateQuickSwapRequest.source_wallet: a valid address on the source\n * network, at most 256 UTF-8 bytes. When supplied, it is risk screened\n * before the quote is returned, and a wallet that fails screening is\n * refused with SOURCE_WALLET_REJECTED. Source wallets are screened in\n * advance on Bitcoin, Solana and most EVM networks. Wallets on other\n * networks, including the Bitcoin and Solana test networks, and wallets\n * whose screening is unavailable at the time, are quoted without it; their\n * deposits are still screened on arrival.\n *\n * @generated from field: string source_wallet = 5;\n */\n sourceWallet: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteQuickSwapRequest.\n * Use `create(QuoteQuickSwapRequestSchema)` to create a new message.\n */\nexport const QuoteQuickSwapRequestSchema: GenMessage<QuoteQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 19);\n\n/**\n * QuoteQuickSwapResponse is an indicative quote.\n *\n * @generated from message swap.quickswap.v1.QuoteQuickSwapResponse\n */\nexport type QuoteQuickSwapResponse = Message<\"swap.quickswap.v1.QuoteQuickSwapResponse\"> & {\n /**\n * Indicative quote, including whether the route needs a refund address.\n * Its amounts and fees are estimates. Creating a QuickSwap prices the terms\n * again.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 1;\n */\n quote?: QuickSwapQuote | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuoteQuickSwapResponse.\n * Use `create(QuoteQuickSwapResponseSchema)` to create a new message.\n */\nexport const QuoteQuickSwapResponseSchema: GenMessage<QuoteQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 20);\n\n/**\n * AffiliateShare credits one affiliate vault, a sub-account the broker owns,\n * with a fee charged on top of the service and broker fees.\n *\n * @generated from message swap.quickswap.v1.AffiliateShare\n */\nexport type AffiliateShare = Message<\"swap.quickswap.v1.AffiliateShare\"> & {\n /**\n * Public sub-account ID of an active affiliate vault of the broker\n * (QuickSwapBrokerService.CreateAffiliateVault). Create the vault first: an\n * unknown, disabled or other broker's vault, or the default vault, fails\n * with AFFILIATE_VAULT_UNKNOWN; an ID that is not a public sub-account ID\n * fails with FEES_INVALID.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Fee in basis points of what each leg receives, from 1 to 300.\n *\n * @generated from field: uint32 bps = 2;\n */\n bps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AffiliateShare.\n * Use `create(AffiliateShareSchema)` to create a new message.\n */\nexport const AffiliateShareSchema: GenMessage<AffiliateShare> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 21);\n\n/**\n * CreateQuickSwapRequest creates, or returns, the QuickSwap for one\n * idempotency key.\n *\n * @generated from message swap.quickswap.v1.CreateQuickSwapRequest\n */\nexport type CreateQuickSwapRequest = Message<\"swap.quickswap.v1.CreateQuickSwapRequest\"> & {\n /**\n * Broker-chosen idempotency key, 1 to 128 characters of letters, digits,\n * '.', '_', ':' or '-'. Scoped to the authenticated broker and retained\n * permanently. The same key with the same request returns the same QuickSwap\n * and deposit address; with a different request it fails with\n * IDEMPOTENCY_CONFLICT. Requests are compared after every valid address and\n * memo is put in its network's canonical form, so the same address in\n * another case or encoding is the same request; affiliate order is\n * ignored; every other field, the fees included, must be equal.\n *\n * @generated from field: string idempotency_key = 1;\n */\n idempotencyKey: string;\n\n /**\n * Economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 2;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Recipient of the swap output on the destination network, in its native\n * text form without memo: 1-256 UTF-8 bytes.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * Destination tag or memo for destination_address. Required when the\n * destination network requires one, optional when supported, and empty when\n * unsupported. See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string destination_memo = 4;\n */\n destinationMemo: string;\n\n /**\n * Recipient of returned source funds on the source network, in its native\n * text form without memo: 1-256 UTF-8 bytes. Deposits that are not\n * accepted, and source funds that are not traded, go here; never to an\n * observed sender.\n *\n * @generated from field: string return_address = 5;\n */\n returnAddress: string;\n\n /**\n * Destination tag or memo for return_address. Required when the source\n * network requires one, optional when supported, and empty when unsupported.\n * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string return_memo = 6;\n */\n returnMemo: string;\n\n /**\n * Refund route for the intermediate asset of a two-leg route: an\n * AssetChainVariant.zipped_asset_id of the asset whose AssetConfig.ledger_id\n * is the quote's intermediate_asset_id in GET\n * /v1/chain/deposit-withdraw/config, for example USDT on Ethereum. Required\n * with refund_address when the route has an intermediate asset; optional\n * and unused otherwise.\n *\n * @generated from field: uint32 refund_zipped_asset_id = 7;\n */\n refundZippedAssetId: number;\n\n /**\n * Recipient of refunded intermediate asset on the refund route's network,\n * in its native text form without memo. At most 256 UTF-8 bytes.\n *\n * @generated from field: string refund_address = 8;\n */\n refundAddress: string;\n\n /**\n * Destination tag or memo for refund_address. Required when the refund\n * network requires one, optional when supported, and empty when unsupported.\n * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.\n *\n * @generated from field: string refund_memo = 9;\n */\n refundMemo: string;\n\n /**\n * Optional source wallet the end user will deposit from, for brokers that\n * know it in advance. It must be a valid address on the source network, at\n * most 256 UTF-8 bytes, and is shown on the QuickSwap. It is risk screened\n * before the deposit address is issued: a wallet that fails screening\n * makes the QuickSwap REJECTED, bound to the key, without a deposit\n * address, and the request and every repeat of it fail with\n * SOURCE_WALLET_REJECTED. Source wallets are screened in advance on\n * Bitcoin, Solana and most EVM networks. Wallets on other networks,\n * including the Bitcoin and Solana test networks, and wallets whose\n * screening is unavailable at the time, get their address without it.\n * Every deposit is still screened on arrival, so a deposit sent from\n * another wallet is judged on its own sender.\n *\n * @generated from field: string source_wallet = 10;\n */\n sourceWallet: string;\n\n /**\n * Affiliate fees, each charged on top and credited to its affiliate vault:\n * at most three distinct vaults. Fixed at creation with broker_bps.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 11;\n */\n affiliates: AffiliateShare[];\n\n /**\n * Broker fee in basis points of what each leg receives, charged on top of\n * the service fee and credited to the broker's default vault; 0 for none,\n * at most 300. broker_bps and the affiliates' bps total at most 300.\n *\n * @generated from field: uint32 broker_bps = 12;\n */\n brokerBps: number;\n\n /**\n * Optional referral partner code from a referral link, case-insensitive,\n * at most 64 bytes; empty for none. Only a broker with a referral program may send one\n * (REFERRAL_NOT_SUPPORTED otherwise), never with affiliates.\n * It must be a valid code (REFERRAL_CODE_INVALID) that is a partner's\n * current code (REFERRAL_CODE_UNKNOWN), and the partner must be active\n * (REFERRAL_PARTNER_INACTIVE). The program's rates\n * for the route are applied (quote.referral) and fixed at creation. It is\n * part of the request: the same idempotency_key with another code, or with\n * and without one, is IDEMPOTENCY_CONFLICT.\n *\n * @generated from field: string referral_code = 13;\n */\n referralCode: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateQuickSwapRequest.\n * Use `create(CreateQuickSwapRequestSchema)` to create a new message.\n */\nexport const CreateQuickSwapRequestSchema: GenMessage<CreateQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 22);\n\n/**\n * CreateQuickSwapResponse returns the QuickSwap bound to the idempotency key.\n *\n * @generated from message swap.quickswap.v1.CreateQuickSwapResponse\n */\nexport type CreateQuickSwapResponse = Message<\"swap.quickswap.v1.CreateQuickSwapResponse\"> & {\n /**\n * The QuickSwap, normally AWAITING_DEPOSIT with deposit_instructions. A\n * retry returns its current state with the original quote and address.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateQuickSwapResponse.\n * Use `create(CreateQuickSwapResponseSchema)` to create a new message.\n */\nexport const CreateQuickSwapResponseSchema: GenMessage<CreateQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 23);\n\n/**\n * GetQuickSwapRequest selects one of the broker's QuickSwaps.\n *\n * @generated from message swap.quickswap.v1.GetQuickSwapRequest\n */\nexport type GetQuickSwapRequest = Message<\"swap.quickswap.v1.GetQuickSwapRequest\"> & {\n /**\n * Exactly one selector.\n *\n * @generated from oneof swap.quickswap.v1.GetQuickSwapRequest.selector\n */\n selector: {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n value: bigint;\n case: \"swapId\";\n } | {\n /**\n * Idempotency key used to create it; resolves a QuickSwap whose create\n * outcome was unknown.\n *\n * @generated from field: string idempotency_key = 2;\n */\n value: string;\n case: \"idempotencyKey\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetQuickSwapRequest.\n * Use `create(GetQuickSwapRequestSchema)` to create a new message.\n */\nexport const GetQuickSwapRequestSchema: GenMessage<GetQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 24);\n\n/**\n * GetQuickSwapResponse returns one QuickSwap.\n *\n * @generated from message swap.quickswap.v1.GetQuickSwapResponse\n */\nexport type GetQuickSwapResponse = Message<\"swap.quickswap.v1.GetQuickSwapResponse\"> & {\n /**\n * Current state.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetQuickSwapResponse.\n * Use `create(GetQuickSwapResponseSchema)` to create a new message.\n */\nexport const GetQuickSwapResponseSchema: GenMessage<GetQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 25);\n\n/**\n * ErrorDetail is attached to QuickSwap errors. ConnectRPC clients receive it\n * as an error detail of type swap.quickswap.v1.ErrorDetail. REST clients\n * receive an application/problem+json body {type, title, status, detail,\n * code, swapId, minDepositAmount, maxDepositAmount} whose code is the\n * ErrorCode name, or the status name (for example INVALID_ARGUMENT) when no\n * ErrorCode applies; swapId and the limits appear only when set.\n *\n * @generated from message swap.quickswap.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"swap.quickswap.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: swap.quickswap.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * QuickSwap bound to the request's idempotency key, when one exists: for\n * example the original QuickSwap on IDEMPOTENCY_CONFLICT, or the QuickSwap\n * whose deposit address could not be allocated.\n *\n * @generated from field: fixed64 swap_id = 2;\n */\n swapId: bigint;\n\n /**\n * AMOUNT_OUT_OF_RANGE only: the smallest deposit that currently quotes on\n * the route with the requested protection, in source token units, whatever\n * the request's basis. It moves with prices and network fees; show it as\n * guidance, not a guarantee. A deposit below QuickSwapQuote.min_deposit_amount\n * is returned to return_address (DEPOSIT_BELOW_MINIMUM). Unset for other\n * codes and when no deposit currently quotes.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount min_deposit_amount = 3;\n */\n minDepositAmount?: TokenAmount | undefined;\n\n /**\n * AMOUNT_OUT_OF_RANGE only: the largest deposit that quotes, in source token\n * units. Unset for other codes, when no deposit currently quotes, and for a\n * bridge, whose deposit no order book bounds.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount max_deposit_amount = 4;\n */\n maxDepositAmount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap, 26);\n\n/**\n * QuoteBasis states which side of the swap the request amount denominates.\n *\n * @generated from enum swap.quickswap.v1.QuoteBasis\n */\nexport enum QuoteBasis {\n /**\n * No basis selected; rejected.\n *\n * @generated from enum value: BASIS_UNSPECIFIED = 0;\n */\n BASIS_UNSPECIFIED = 0,\n\n /**\n * amount is the source amount the end user intends to deposit, in source\n * token units.\n *\n * @generated from enum value: SOURCE_AMOUNT = 1;\n */\n SOURCE_AMOUNT = 1,\n\n /**\n * amount is the destination amount the end user wants to receive after fees,\n * in destination token units. The quote reports the deposit amount needed at\n * the quoted price. The delivered amount still follows the actual deposit\n * and execution, bounded below by the protection.\n *\n * @generated from enum value: DESTINATION_AMOUNT = 2;\n */\n DESTINATION_AMOUNT = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuoteBasis.\n */\nexport const QuoteBasisSchema: GenEnum<QuoteBasis> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 0);\n\n/**\n * FeeKind identifies one component of a QuickSwap's fees.\n *\n * @generated from enum swap.quickswap.v1.FeeKind\n */\nexport enum FeeKind {\n /**\n * No kind; never returned.\n *\n * @generated from enum value: FEE_UNSPECIFIED = 0;\n */\n FEE_UNSPECIFIED = 0,\n\n /**\n * Service fee of one trading leg, credited to Polyester, in basis points\n * of what the leg receives: the leg's pair fee, capped by any fee ceiling\n * agreed with the broker. A two-leg route has one per leg. On a bridge,\n * the one bridge fee, capped the same way, in basis points of the credited\n * amount, charged at payout.\n *\n * @generated from enum value: SERVICE = 1;\n */\n SERVICE = 1,\n\n /**\n * Broker fee of one trading leg, the request's broker_bps of what the leg\n * receives, credited to the broker's default vault. A two-leg route has one\n * per leg; a bridge has one, on the credited amount, charged at payout.\n *\n * @generated from enum value: BROKER = 2;\n */\n BROKER = 2,\n\n /**\n * Affiliate fee of one trading leg, one affiliate's bps of what the leg\n * receives, credited to that affiliate vault. Each affiliate has one per\n * leg; on a bridge one, on the credited amount, charged at payout.\n *\n * @generated from enum value: AFFILIATE = 3;\n */\n AFFILIATE = 3,\n\n /**\n * Network fee withheld from the deposit before it is credited. A quote\n * shows an estimate; the fee withheld is the network's fee when the\n * deposit arrives; Deposit.network_fee reports the fee recorded.\n *\n * @generated from enum value: DEPOSIT_NETWORK = 4;\n */\n DEPOSIT_NETWORK = 4,\n\n /**\n * Estimated network fee for a withdrawal. The actual fee is charged at\n * withdrawal time and reported on the withdrawal.\n *\n * @generated from enum value: WITHDRAWAL_NETWORK = 5;\n */\n WITHDRAWAL_NETWORK = 5,\n\n /**\n * Referral commission of one trading leg: the referral partner's\n * commission_bps (ReferralPricing) of what the leg receives, credited to\n * the partner. It comes out of the broker fee and adds nothing to what the\n * end user pays. Only a request with a referral_code has one; it never\n * appears with AFFILIATE fees. On a bridge one, on the credited amount,\n * charged at payout.\n *\n * @generated from enum value: REFERRAL = 6;\n */\n REFERRAL = 6,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.FeeKind.\n */\nexport const FeeKindSchema: GenEnum<FeeKind> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 1);\n\n/**\n * DepositAddressState is the lifecycle state of a QuickSwap deposit address.\n *\n * @generated from enum swap.quickswap.v1.DepositAddressState\n */\nexport enum DepositAddressState {\n /**\n * No address yet.\n *\n * @generated from enum value: ADDRESS_UNSPECIFIED = 0;\n */\n ADDRESS_UNSPECIFIED = 0,\n\n /**\n * The address accepts the first eligible deposit.\n *\n * @generated from enum value: ACTIVE = 1;\n */\n ACTIVE = 1,\n\n /**\n * Entered on the first confirmed deposit. Any further deposit is returned\n * or held and never executes. Ends at address_retires_at. An address that\n * expires unfunded goes from ACTIVE straight to RETIRED.\n *\n * @generated from enum value: REFUND_MODE = 2;\n */\n REFUND_MODE = 2,\n\n /**\n * The address is retired. A deposit sent to it is not processed\n * automatically; it is handled only through support-assisted recovery, and\n * recovery is not guaranteed.\n *\n * @generated from enum value: RETIRED = 3;\n */\n RETIRED = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositAddressState.\n */\nexport const DepositAddressStateSchema: GenEnum<DepositAddressState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 2);\n\n/**\n * DepositDisposition is what a detected deposit is allowed to do.\n *\n * @generated from enum swap.quickswap.v1.DepositDisposition\n */\nexport enum DepositDisposition {\n /**\n * Not yet decided.\n *\n * @generated from enum value: DISPOSITION_UNSPECIFIED = 0;\n */\n DISPOSITION_UNSPECIFIED = 0,\n\n /**\n * Detected; eligibility is being evaluated. A deposit can already be\n * credited (credited_at) while it is evaluated.\n *\n * @generated from enum value: EVALUATING = 1;\n */\n EVALUATING = 1,\n\n /**\n * The eligible deposit that confirmed first. It consumed the QuickSwap and\n * is the only deposit that can execute.\n *\n * @generated from enum value: ELIGIBLE = 2;\n */\n ELIGIBLE = 2,\n\n /**\n * Not accepted: it is returned to return_address and never executes. A\n * deposit found ineligible after it was credited, such as a late deposit\n * (LATE_DEPOSIT), one below min_deposit_amount but at least the source\n * network's minimum deposit (DEPOSIT_BELOW_MINIMUM) or above\n * max_deposit_amount (DEPOSIT_ABOVE_MAXIMUM), or one of the wrong\n * asset or network (WRONG_ASSET), keeps credited_at and is returned from its\n * credit. One never credited is returned directly, and direct_return\n * reports that return.\n *\n * @generated from enum value: RETURN_ONLY = 3;\n */\n RETURN_ONLY = 3,\n\n /**\n * Held for review; it neither executes nor returns until released. A\n * deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) keeps this\n * disposition after Zipper's compliance team transferred its funds out\n * (QuickSwap CLOSED).\n *\n * @generated from enum value: ON_HOLD = 4;\n */\n ON_HOLD = 4,\n\n /**\n * Observed on an address that was already retired (DEPOSIT_ADDRESS_RETIRED).\n * It never executes and is not returned automatically. It is handled only\n * through support-assisted recovery, and it is potentially unrecoverable.\n * The broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: MANUAL_RECOVERY = 5;\n */\n MANUAL_RECOVERY = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositDisposition.\n */\nexport const DepositDispositionSchema: GenEnum<DepositDisposition> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 3);\n\n/**\n * QuickSwapReason explains a notable status or deposit disposition.\n *\n * @generated from enum swap.quickswap.v1.QuickSwapReason\n */\nexport enum QuickSwapReason {\n /**\n * No notable reason. On a HELD QuickSwap or an ON_HOLD deposit: held for\n * review without a more specific reason; the broker contacts Polyester\n * broker support with the swap_id.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The deposit's risk screen failed with a return verdict; the deposit is\n * not accepted and is returned to return_address.\n *\n * @generated from enum value: SOURCE_SCREENING_FAILED = 1;\n */\n SOURCE_SCREENING_FAILED = 1,\n\n /**\n * The deposit arrived and is safe, but processing capacity is temporarily\n * unavailable. Processing resumes automatically when capacity frees up; no\n * action is needed.\n *\n * @generated from enum value: CAPACITY_UNAVAILABLE = 4;\n */\n CAPACITY_UNAVAILABLE = 4,\n\n /**\n * Execution could not meet the protection; untraded funds are refunded or\n * returned. When no protected order could be placed for the deposit, nothing\n * is traded: the deposit is returned to return_address, and the QuickSwap\n * shows RETURNING and RETURNED with this reason.\n *\n * @generated from enum value: PROTECTION_NOT_MET = 7;\n */\n PROTECTION_NOT_MET = 7,\n\n /**\n * The execution deadline passed before all input executed; untraded funds\n * are refunded or returned. Shown while EXECUTING once the deadline ended\n * trading, and on the payout statuses that follow.\n *\n * @generated from enum value: EXECUTION_DEADLINE_REACHED = 8;\n */\n EXECUTION_DEADLINE_REACHED = 8,\n\n /**\n * The deposit was first seen after funding_expires_at.\n *\n * @generated from enum value: LATE_DEPOSIT = 9;\n */\n LATE_DEPOSIT = 9,\n\n /**\n * The deposit is below the published min_deposit_amount, or its credit after\n * the deposit network fee is below the smallest order the route's market\n * accepts. It is not executed: it is returned to return_address, and the\n * QuickSwap shows RETURNING and RETURNED with this reason. Only a deposit\n * that reaches the source network's minimum deposit\n * (AssetChainVariant.deposit_min_amount) is returned; one below it is not\n * detected and never appears on the QuickSwap. A deposit that\n * cannot be returned on the network it was received on is held (HELD with\n * this reason); the broker contacts Polyester broker support with the\n * swap_id.\n *\n * @generated from enum value: DEPOSIT_BELOW_MINIMUM = 11;\n */\n DEPOSIT_BELOW_MINIMUM = 11,\n\n /**\n * The deposit is above max_deposit_amount, or above the largest order the\n * route's market accepts. It is not executed: it is returned to\n * return_address, and the QuickSwap shows RETURNING and RETURNED with this\n * reason.\n *\n * @generated from enum value: DEPOSIT_ABOVE_MAXIMUM = 12;\n */\n DEPOSIT_ABOVE_MAXIMUM = 12,\n\n /**\n * The deposit is not the quoted source asset or network. It is not\n * executed: it is returned to return_address on the network and in the\n * asset it was received in, and the QuickSwap shows RETURNING and RETURNED\n * with this reason. A deposit that cannot be returned there, such as one\n * received on a network where return_address is not valid, is held (HELD\n * with this reason); the broker contacts Polyester broker support with the\n * swap_id.\n *\n * @generated from enum value: WRONG_ASSET = 13;\n */\n WRONG_ASSET = 13,\n\n /**\n * The funding window ended without an eligible deposit.\n *\n * @generated from enum value: FUNDING_WINDOW_ENDED = 15;\n */\n FUNDING_WINDOW_ENDED = 15,\n\n /**\n * A withdrawal cannot be completed and is held for review. The broker\n * contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: WITHDRAWAL_FAILED = 16;\n */\n WITHDRAWAL_FAILED = 16,\n\n /**\n * A processing step is being confirmed. Processing resumes automatically; no\n * action is needed.\n *\n * @generated from enum value: OUTCOME_RECONCILING = 17;\n */\n OUTCOME_RECONCILING = 17,\n\n /**\n * Polyester's deposit screening blocked the deposit. It is held for\n * compliance review (HELD); it is never executed or returned automatically.\n * The broker contacts Polyester broker support with the swap_id. If\n * Zipper's compliance team later transfers the funds out to an address of\n * its choosing, not necessarily the user's, the QuickSwap ends CLOSED with\n * this reason; the funds were not returned to return_address.\n *\n * @generated from enum value: SOURCE_SCREENING_BLOCKED = 20;\n */\n SOURCE_SCREENING_BLOCKED = 20,\n\n /**\n * Refund not possible: an amount left to refund or return was below the\n * withdrawal minimum of its asset and network, so no withdrawal was made\n * for it. Its withdrawal is NOT_SENT with the amount in unsent_amount.\n * Other withdrawals are unaffected.\n *\n * @generated from enum value: REFUND_BELOW_MINIMUM = 21;\n */\n REFUND_BELOW_MINIMUM = 21,\n\n /**\n * The QuickSwap could not be issued a deposit address and never gets one:\n * it is EXPIRED without deposit_instructions, and nothing can be deposited\n * to it. Create a new QuickSwap with a new idempotency key, and report the\n * swap_id to Polyester broker support.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_CONFLICT = 22;\n */\n DEPOSIT_ADDRESS_CONFLICT = 22,\n\n /**\n * The address already accepted its one eligible deposit; this deposit is\n * returned to return_address and never executes.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_ALREADY_USED = 23;\n */\n DEPOSIT_ADDRESS_ALREADY_USED = 23,\n\n /**\n * The address was retired when this deposit was observed. The deposit is\n * MANUAL_RECOVERY: it never executes, is not returned automatically, and is\n * potentially unrecoverable.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_RETIRED = 24;\n */\n DEPOSIT_ADDRESS_RETIRED = 24,\n\n /**\n * The address had not been issued when this deposit was observed; it never executes.\n *\n * @generated from enum value: DEPOSIT_ADDRESS_NOT_ISSUED = 25;\n */\n DEPOSIT_ADDRESS_NOT_ISSUED = 25,\n\n /**\n * On a two-leg route, intermediate funds were below the smallest order the\n * second leg's market accepts, so they could not be converted to the\n * destination asset; they are refunded to refund_address. Shown on the\n * payout statuses that follow.\n *\n * @generated from enum value: INTERMEDIATE_BELOW_MINIMUM = 26;\n */\n INTERMEDIATE_BELOW_MINIMUM = 26,\n\n /**\n * A market on the route was halted, restricted or delisted when the deposit\n * was credited and did not reopen within a bounded wait after the deposit\n * was credited, the same for market and TWAP execution. Nothing was traded:\n * the deposit is returned to return_address, and the QuickSwap shows\n * RETURNING and RETURNED with this reason.\n *\n * @generated from enum value: MARKET_CLOSED = 27;\n */\n MARKET_CLOSED = 27,\n\n /**\n * The source wallet supplied in the request failed risk screening. The\n * QuickSwap is REJECTED: it never gets a deposit address, and nothing can\n * be deposited to it.\n *\n * @generated from enum value: SOURCE_WALLET_SCREENING_FAILED = 28;\n */\n SOURCE_WALLET_SCREENING_FAILED = 28,\n\n /**\n * Available liquidity did not fill an order at its protected price; untraded\n * input or intermediate funds are returned or refunded. Shown on the payout\n * statuses that follow, including COMPLETED when a partly traded swap\n * refunded the rest. A trade failure reason (this one or ORDER_REJECTED)\n * is used only when the execution ended without another reason, such as\n * EXECUTION_DEADLINE_REACHED or PROTECTION_NOT_MET; it is then the first\n * slice in schedule order whose reason or carry_reason is\n * INSUFFICIENT_LIQUIDITY or ORDER_REJECTED, the reason before the\n * carry_reason within a slice.\n *\n * @generated from enum value: INSUFFICIENT_LIQUIDITY = 29;\n */\n INSUFFICIENT_LIQUIDITY = 29,\n\n /**\n * An order was refused; untraded input or intermediate funds are returned\n * or refunded. Shown on the payout statuses that follow, chosen as for\n * INSUFFICIENT_LIQUIDITY.\n *\n * @generated from enum value: ORDER_REJECTED = 30;\n */\n ORDER_REJECTED = 30,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuickSwapReason.\n */\nexport const QuickSwapReasonSchema: GenEnum<QuickSwapReason> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 4);\n\n/**\n * DepositReturnState is the progress of a deposit's direct return.\n *\n * @generated from enum swap.quickswap.v1.DepositReturnState\n */\nexport enum DepositReturnState {\n /**\n * No state; never returned.\n *\n * @generated from enum value: RETURN_UNSPECIFIED = 0;\n */\n RETURN_UNSPECIFIED = 0,\n\n /**\n * The return is queued or being sent.\n *\n * @generated from enum value: RETURN_PENDING = 1;\n */\n RETURN_PENDING = 1,\n\n /**\n * The return was sent to return_address; tx_hash is its transaction.\n *\n * @generated from enum value: RETURN_COMPLETED = 2;\n */\n RETURN_COMPLETED = 2,\n\n /**\n * The return is held for review and is not sent until review releases it.\n * The broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: RETURN_HELD = 3;\n */\n RETURN_HELD = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.DepositReturnState.\n */\nexport const DepositReturnStateSchema: GenEnum<DepositReturnState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 5);\n\n/**\n * WithdrawalRole is why a withdrawal pays its recipient.\n *\n * @generated from enum swap.quickswap.v1.WithdrawalRole\n */\nexport enum WithdrawalRole {\n /**\n * No role; never returned.\n *\n * @generated from enum value: ROLE_UNSPECIFIED = 0;\n */\n ROLE_UNSPECIFIED = 0,\n\n /**\n * Swap output to destination_address on the destination network.\n *\n * @generated from enum value: DESTINATION = 1;\n */\n DESTINATION = 1,\n\n /**\n * Untraded intermediate asset of a two-leg route, including a partial\n * refund, to refund_address on the refund route's network.\n *\n * @generated from enum value: REFUND = 2;\n */\n REFUND = 2,\n\n /**\n * Source funds that were not accepted or not traded, to return_address on\n * the network and in the asset they were received in: the source network,\n * or for a wrong asset the network it was sent on.\n *\n * @generated from enum value: RETURN = 3;\n */\n RETURN = 3,\n\n /**\n * A deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) that\n * Zipper's compliance team transferred out on the network it was received\n * on, to an address of its choosing, not necessarily the user's. Not a\n * return or a refund: Polyester records neither the recipient nor the\n * amount, so address, memo, amount and network_fee are unset; tx_hash is\n * the transfer, and flow_id the deposit's flow.\n *\n * @generated from enum value: COMPLIANCE_TRANSFER = 4;\n */\n COMPLIANCE_TRANSFER = 4,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.WithdrawalRole.\n */\nexport const WithdrawalRoleSchema: GenEnum<WithdrawalRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 6);\n\n/**\n * WithdrawalState is the progress of one withdrawal. FINALIZED and NOT_SENT\n * are final: they never change. A FAILED withdrawal never changes either, but\n * it does not end the QuickSwap: while any withdrawal is FAILED, the\n * QuickSwap is HELD with reason WITHDRAWAL_FAILED and the funds stay\n * attributed to it until support resolves it.\n *\n * @generated from enum swap.quickswap.v1.WithdrawalState\n */\nexport enum WithdrawalState {\n /**\n * No state; never returned.\n *\n * @generated from enum value: WITHDRAWAL_UNSPECIFIED = 0;\n */\n WITHDRAWAL_UNSPECIFIED = 0,\n\n /**\n * Approved and waiting to be submitted.\n *\n * @generated from enum value: QUEUED = 1;\n */\n QUEUED = 1,\n\n /**\n * Submitted to the recipient's network; not yet final.\n *\n * @generated from enum value: SUBMITTED = 2;\n */\n SUBMITTED = 2,\n\n /**\n * Final on the recipient's network.\n *\n * @generated from enum value: FINALIZED = 3;\n */\n FINALIZED = 3,\n\n /**\n * Definitively failed. The QuickSwap is HELD (WITHDRAWAL_FAILED); the\n * broker contacts Polyester broker support with the swap_id.\n *\n * @generated from enum value: FAILED = 4;\n */\n FAILED = 4,\n\n /**\n * Final: no transaction was or will be made for this withdrawal, because\n * its amount was below the withdrawal minimum of its asset and network\n * (REFUND_BELOW_MINIMUM); unsent_amount is that amount.\n *\n * @generated from enum value: NOT_SENT = 5;\n */\n NOT_SENT = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.WithdrawalState.\n */\nexport const WithdrawalStateSchema: GenEnum<WithdrawalState> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 7);\n\n/**\n * QuickSwapStatus is the current state of a QuickSwap. While funds progress,\n * the status names the earliest gate still outstanding; gates that complete\n * concurrently are not reported separately.\n *\n * Flow: ALLOCATING → AWAITING_DEPOSIT → (WAITING_FOR_CAPACITY |\n * PREPARING_DEPOSIT | CONFIRMING) → CREDITED → EXECUTING (skipped for a\n * bridge) → PAYING_OUT | REFUNDING | RETURNING → a terminal status. A\n * QuickSwap that cannot be issued a deposit address goes from ALLOCATING\n * straight to EXPIRED (DEPOSIT_ADDRESS_CONFLICT). A QuickSwap whose source\n * wallet failed risk screening is REJECTED from creation and never gets a\n * deposit address. A deposit that is dropped\n * or replaced on its network before it confirms brings no funds: the\n * QuickSwap goes back from PREPARING_DEPOSIT or WAITING_FOR_CAPACITY to\n * AWAITING_DEPOSIT, the only status that moves back, and no longer shows\n * that deposit. HELD can be\n * entered from any non-terminal status and is not terminal; a QuickSwap HELD\n * with SOURCE_SCREENING_BLOCKED can end CLOSED. The terminal statuses are\n * REJECTED, COMPLETED, REFUNDED, RETURNED, EXPIRED and CLOSED; a terminal status never\n * changes, except that EXPIRED becomes HELD when a dropped or replaced\n * deposit confirms after all (see EXPIRED). Accept status values added\n * later; is_terminal is authoritative.\n *\n * @generated from enum swap.quickswap.v1.QuickSwapStatus\n */\nexport enum QuickSwapStatus {\n /**\n * No status; never returned.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Terminal: the source wallet supplied in the request failed risk\n * screening (SOURCE_WALLET_SCREENING_FAILED). The QuickSwap never gets a\n * deposit address, and every repeat of its create request returns\n * SOURCE_WALLET_REJECTED with its swap_id.\n *\n * @generated from enum value: REJECTED = 1;\n */\n REJECTED = 1,\n\n /**\n * The quote is fixed and the deposit address is being allocated. After\n * ADDRESS_UNAVAILABLE, allocation continues automatically until an address\n * frees up; the wait has no fixed bound.\n *\n * @generated from enum value: ALLOCATING = 2;\n */\n ALLOCATING = 2,\n\n /**\n * Quote and deposit address allocated; waiting for the first eligible\n * deposit before funding_expires_at.\n *\n * @generated from enum value: AWAITING_DEPOSIT = 3;\n */\n AWAITING_DEPOSIT = 3,\n\n /**\n * An eligible deposit arrived and is safe; waiting for processing capacity.\n * Processing resumes automatically when capacity frees up; the wait has no\n * fixed bound.\n *\n * @generated from enum value: WAITING_FOR_CAPACITY = 4;\n */\n WAITING_FOR_CAPACITY = 4,\n\n /**\n * The deposit is being prepared for credit. Retries keep this status.\n *\n * @generated from enum value: PREPARING_DEPOSIT = 5;\n */\n PREPARING_DEPOSIT = 5,\n\n /**\n * Waiting for source confirmations and deposit validation before credit.\n *\n * @generated from enum value: CONFIRMING = 6;\n */\n CONFIRMING = 6,\n\n /**\n * The deposit is credited; execution is starting.\n *\n * @generated from enum value: CREDITED = 7;\n */\n CREDITED = 7,\n\n /**\n * The credited deposit is being traded.\n *\n * @generated from enum value: EXECUTING = 8;\n */\n EXECUTING = 8,\n\n /**\n * Execution finished with destination output; withdrawals, including any\n * partial refund or return, are in progress.\n *\n * @generated from enum value: PAYING_OUT = 9;\n */\n PAYING_OUT = 9,\n\n /**\n * A two-leg route produced no destination output; the intermediate asset is\n * being refunded to refund_address.\n *\n * @generated from enum value: REFUNDING = 10;\n */\n REFUNDING = 10,\n\n /**\n * Nothing was traded or the deposit was not accepted; the source funds are\n * being returned to return_address.\n *\n * @generated from enum value: RETURNING = 11;\n */\n RETURNING = 11,\n\n /**\n * Funds are held for review. Not terminal: review resumes the QuickSwap or\n * returns the funds, or, for SOURCE_SCREENING_BLOCKED, the QuickSwap can\n * end CLOSED. reason says why when a specific reason applies, else\n * it is REASON_UNSPECIFIED. The broker contacts Polyester broker support\n * with the swap_id.\n *\n * @generated from enum value: HELD = 12;\n */\n HELD = 12,\n\n /**\n * Terminal: every withdrawal is final (FINALIZED or NOT_SENT) and at least\n * one is a DESTINATION withdrawal. A DESTINATION withdrawal is never\n * NOT_SENT.\n *\n * @generated from enum value: COMPLETED = 13;\n */\n COMPLETED = 13,\n\n /**\n * Terminal: every withdrawal is final, none is DESTINATION, and at least one\n * is REFUND (FINALIZED or NOT_SENT).\n *\n * @generated from enum value: REFUNDED = 14;\n */\n REFUNDED = 14,\n\n /**\n * Terminal: every withdrawal is final and all are RETURN (FINALIZED or\n * NOT_SENT).\n *\n * @generated from enum value: RETURNED = 15;\n */\n RETURNED = 15,\n\n /**\n * Terminal: the funding window ended without an eligible deposit\n * (FUNDING_WINDOW_ENDED), or the QuickSwap never got a deposit address\n * (DEPOSIT_ADDRESS_CONFLICT). With FUNDING_WINDOW_ENDED, terminal_at is\n * funding_expires_at, also after a dropped or replaced deposit. If such a\n * deposit confirms after all, its funds are held for review: the QuickSwap\n * becomes HELD, with that deposit ON_HOLD, the one change of a terminal\n * status.\n *\n * @generated from enum value: EXPIRED = 16;\n */\n EXPIRED = 16,\n\n /**\n * Terminal: the deposit was blocked by its risk screen\n * (SOURCE_SCREENING_BLOCKED), and Zipper's compliance team transferred the\n * funds out on the deposit's network to an address of its choosing, not\n * necessarily the user's. Nothing was returned to return_address or\n * refunded. Its one withdrawal is that COMPLIANCE_TRANSFER, FINALIZED.\n *\n * @generated from enum value: CLOSED = 17;\n */\n CLOSED = 17,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.QuickSwapStatus.\n */\nexport const QuickSwapStatusSchema: GenEnum<QuickSwapStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 8);\n\n/**\n * ErrorCode is the stable machine-readable QuickSwap error code.\n *\n * @generated from enum swap.quickswap.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * The source and destination route is not offered, or a bridge was\n * requested with TWAP execution.\n *\n * @generated from enum value: ROUTE_UNSUPPORTED = 1;\n */\n ROUTE_UNSUPPORTED = 1,\n\n /**\n * The amount is outside the route's current limits. The error carries the\n * limits (min_deposit_amount, max_deposit_amount) when known.\n *\n * @generated from enum value: AMOUNT_OUT_OF_RANGE = 2;\n */\n AMOUNT_OUT_OF_RANGE = 2,\n\n /**\n * An amount's decimals do not match its route's token decimals.\n *\n * @generated from enum value: DECIMALS_MISMATCH = 3;\n */\n DECIMALS_MISMATCH = 3,\n\n /**\n * destination_address or destination_memo is not valid on the destination\n * network.\n *\n * @generated from enum value: DESTINATION_ADDRESS_INVALID = 4;\n */\n DESTINATION_ADDRESS_INVALID = 4,\n\n /**\n * return_address or return_memo is not valid on the source network.\n *\n * @generated from enum value: RETURN_ADDRESS_INVALID = 5;\n */\n RETURN_ADDRESS_INVALID = 5,\n\n /**\n * The route has an intermediate asset and no refund address was supplied.\n *\n * @generated from enum value: REFUND_ADDRESS_REQUIRED = 6;\n */\n REFUND_ADDRESS_REQUIRED = 6,\n\n /**\n * refund_zipped_asset_id is not a withdraw route of the intermediate asset,\n * or refund_address or refund_memo is not valid on its network.\n *\n * @generated from enum value: REFUND_ADDRESS_INVALID = 7;\n */\n REFUND_ADDRESS_INVALID = 7,\n\n /**\n * source_wallet is not valid on the source network.\n *\n * @generated from enum value: SOURCE_WALLET_INVALID = 8;\n */\n SOURCE_WALLET_INVALID = 8,\n\n /**\n * No price is currently available for the route; retry later.\n *\n * @generated from enum value: QUOTE_UNAVAILABLE = 11;\n */\n QUOTE_UNAVAILABLE = 11,\n\n /**\n * The protection cannot be met at the current price: a min_amount_out above\n * the expected output, or an order book that cannot fill the protected\n * execution at the quoted prices.\n *\n * @generated from enum value: PROTECTION_UNACHIEVABLE = 12;\n */\n PROTECTION_UNACHIEVABLE = 12,\n\n /**\n * No deposit address is available right now. The QuickSwap (swap_id in the\n * error) is kept, and its address is allocated automatically when one frees\n * up. Follow it with GetQuickSwap or by repeating the request unchanged. Its\n * quote stays the one priced at creation, and its funding window starts\n * when the address is issued (issued_at).\n *\n * @generated from enum value: ADDRESS_UNAVAILABLE = 13;\n */\n ADDRESS_UNAVAILABLE = 13,\n\n /**\n * The idempotency key was already used with a different request.\n *\n * @generated from enum value: IDEMPOTENCY_CONFLICT = 14;\n */\n IDEMPOTENCY_CONFLICT = 14,\n\n /**\n * No QuickSwap of this broker matches the selector; on\n * QuickSwapReferralService, no QuickSwap the caller referred.\n *\n * @generated from enum value: SWAP_NOT_FOUND = 15;\n */\n SWAP_NOT_FOUND = 15,\n\n /**\n * The broker is disabled: quotes and creates are refused. Reads and\n * QuickSwaps already created continue.\n *\n * @generated from enum value: BROKER_DISABLED = 18;\n */\n BROKER_DISABLED = 18,\n\n /**\n * A broker limit was reached: the unfunded QuickSwaps held at once, the\n * QuickSwaps created per hour, the request rate of the API key or of a\n * member's account, or the affiliate vaults the broker may create. Nothing\n * is bound to the key. A funded or expired QuickSwap frees an unfunded\n * slot; when the response carries a Retry-After header, retry after that\n * many seconds.\n *\n * @generated from enum value: BROKER_LIMIT = 19;\n */\n BROKER_LIMIT = 19,\n\n /**\n * An affiliate names a vault that is not an active affiliate vault of the\n * broker: unknown, not yet created, disabled, another broker's, or the\n * default vault. Nothing is bound to the key; create or enable the vault\n * and repeat the request.\n *\n * @generated from enum value: AFFILIATE_VAULT_UNKNOWN = 20;\n */\n AFFILIATE_VAULT_UNKNOWN = 20,\n\n /**\n * No broker with this name has the caller as its key or member.\n *\n * @generated from enum value: BROKER_NOT_FOUND = 21;\n */\n BROKER_NOT_FOUND = 21,\n\n /**\n * The caller's role, or a broker API key, may not perform the action.\n *\n * @generated from enum value: ACTION_DENIED = 22;\n */\n ACTION_DENIED = 22,\n\n /**\n * The action needs a fresh step-up proof of the acting member in the\n * X-Auth-Step-Up header, and none was sent or it was already used or\n * expired. Complete an MFA challenge for fresh step-up and repeat the\n * request with the new proof.\n *\n * @generated from enum value: STEP_UP_REQUIRED = 23;\n */\n STEP_UP_REQUIRED = 23,\n\n /**\n * The ID names no vault of the broker: neither its default vault nor one\n * of its affiliate vaults. GetVault and SetVaultStatus take affiliate\n * vaults only, so they also return it for the default vault.\n *\n * @generated from enum value: VAULT_NOT_FOUND = 24;\n */\n VAULT_NOT_FOUND = 24,\n\n /**\n * The broker has no API key with this ID, or it no longer works.\n *\n * @generated from enum value: KEY_NOT_FOUND = 25;\n */\n KEY_NOT_FOUND = 25,\n\n /**\n * The broker would have more than two working API keys. Revoke one first.\n *\n * @generated from enum value: KEY_LIMIT = 26;\n */\n KEY_LIMIT = 26,\n\n /**\n * The key is the broker's last key that works without an expiry; create\n * another key first.\n *\n * @generated from enum value: LAST_KEY = 27;\n */\n LAST_KEY = 27,\n\n /**\n * The person is not a member of the broker and has no pending invite, or\n * the account does not exist.\n *\n * @generated from enum value: MEMBER_NOT_FOUND = 28;\n */\n MEMBER_NOT_FOUND = 28,\n\n /**\n * The person is already a member of the broker.\n *\n * @generated from enum value: ALREADY_MEMBER = 29;\n */\n ALREADY_MEMBER = 29,\n\n /**\n * The Owner cannot be removed or given another role; transfer ownership\n * instead.\n *\n * @generated from enum value: OWNER_IMMUTABLE = 30;\n */\n OWNER_IMMUTABLE = 30,\n\n /**\n * No pending invite with this ID is addressed to the caller.\n *\n * @generated from enum value: INVITE_NOT_FOUND = 31;\n */\n INVITE_NOT_FOUND = 31,\n\n /**\n * The fees are not valid in a way the request rules cannot check: an\n * affiliate account_id that is not a public sub-account ID, or a\n * referral_code whose discount and commission for the route exceed\n * broker_bps. Fees that break the request rules (at most three distinct\n * affiliates of 1 to 300 bps, broker_bps at most 300, all together at most\n * 300, no affiliates with a referral_code) fail with INVALID_ARGUMENT\n * before this check.\n *\n * @generated from enum value: FEES_INVALID = 32;\n */\n FEES_INVALID = 32,\n\n /**\n * The broker stats, or the public QuickSwap statistics, cannot be read: a\n * QuickSwap in the window, named by ErrorDetail.swap_id, is missing a\n * record they need. Contact Polyester support with the swap_id.\n *\n * @generated from enum value: STATS_INCOMPLETE = 33;\n */\n STATS_INCOMPLETE = 33,\n\n /**\n * The QuickSwap (swap_id in the error) cannot be issued a deposit address\n * and never gets one, so nothing can be deposited to it; it is EXPIRED with\n * reason DEPOSIT_ADDRESS_CONFLICT. Create a new QuickSwap with a new\n * idempotency key, and report the swap_id to Polyester broker support.\n *\n * @generated from enum value: ADDRESS_CONFLICT = 34;\n */\n ADDRESS_CONFLICT = 34,\n\n /**\n * The referral code is another partner's current code.\n *\n * @generated from enum value: REFERRAL_CODE_TAKEN = 35;\n */\n REFERRAL_CODE_TAKEN = 35,\n\n /**\n * The referral code is reserved: a brand or broker name, or a code a\n * partner used before. Codes are never reused.\n *\n * @generated from enum value: REFERRAL_CODE_RESERVED = 36;\n */\n REFERRAL_CODE_RESERVED = 36,\n\n /**\n * The referral code is not 4 to 16 letters, digits and hyphens, starting\n * and ending with a letter or digit, without two hyphens in a row.\n *\n * @generated from enum value: REFERRAL_CODE_INVALID = 37;\n */\n REFERRAL_CODE_INVALID = 37,\n\n /**\n * The caller has not enrolled as a referral partner.\n *\n * @generated from enum value: REFERRAL_PARTNER_NOT_FOUND = 38;\n */\n REFERRAL_PARTNER_NOT_FOUND = 38,\n\n /**\n * The caller is already a referral partner with another earnings\n * sub-account or display name.\n *\n * @generated from enum value: REFERRAL_PARTNER_EXISTS = 39;\n */\n REFERRAL_PARTNER_EXISTS = 39,\n\n /**\n * The earnings sub-account is not an active sub-account of the caller, or\n * another referral partner already uses it.\n *\n * @generated from enum value: EARNINGS_ACCOUNT_INVALID = 40;\n */\n EARNINGS_ACCOUNT_INVALID = 40,\n\n /**\n * The referral partner is disabled; its code cannot be changed.\n *\n * @generated from enum value: REFERRAL_PARTNER_DISABLED = 41;\n */\n REFERRAL_PARTNER_DISABLED = 41,\n\n /**\n * The referral partner has used all its referral codes: a partner holds at\n * most 10 codes over its lifetime, the one it enrolled with included, and\n * each change retires a code for good. Its current code stays.\n *\n * @generated from enum value: REFERRAL_CODE_LIMIT = 42;\n */\n REFERRAL_CODE_LIMIT = 42,\n\n /**\n * The request has a referral_code, but the broker has no referral program.\n * Repeat it without the code.\n *\n * @generated from enum value: REFERRAL_NOT_SUPPORTED = 43;\n */\n REFERRAL_NOT_SUPPORTED = 43,\n\n /**\n * The referral_code is not a referral partner's current code: unknown, or\n * replaced by the partner. Repeat the request without the code.\n *\n * @generated from enum value: REFERRAL_CODE_UNKNOWN = 44;\n */\n REFERRAL_CODE_UNKNOWN = 44,\n\n /**\n * The referral_code's partner is not active: not yet approved, disabled, or\n * without an account its commission can be credited to. Repeat the\n * request without the code.\n *\n * @generated from enum value: REFERRAL_PARTNER_INACTIVE = 45;\n */\n REFERRAL_PARTNER_INACTIVE = 45,\n\n /**\n * No payout run of the broker's vaults has this ID.\n *\n * @generated from enum value: PAYOUT_NOT_FOUND = 46;\n */\n PAYOUT_NOT_FOUND = 46,\n\n /**\n * The destination address is not a valid address on the destination\n * chain, or the chain takes no external payouts.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_INVALID = 47;\n */\n ALLOWLIST_DESTINATION_INVALID = 47,\n\n /**\n * The destination is already on the vault's payout address allowlist.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_EXISTS = 48;\n */\n ALLOWLIST_DESTINATION_EXISTS = 48,\n\n /**\n * The vault's payout address allowlist already holds 50 destinations on\n * the destination chain; remove one first.\n *\n * @generated from enum value: ALLOWLIST_FULL = 49;\n */\n ALLOWLIST_FULL = 49,\n\n /**\n * The destination is not on the vault's payout address allowlist.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_NOT_LISTED = 50;\n */\n ALLOWLIST_DESTINATION_NOT_LISTED = 50,\n\n /**\n * The vault's payout rule pays the destination, enabled or paused; change\n * the rule before removing the destination.\n *\n * @generated from enum value: ALLOWLIST_DESTINATION_IN_USE = 51;\n */\n ALLOWLIST_DESTINATION_IN_USE = 51,\n\n /**\n * The vault already has a pending payout address allowlist change; wait\n * until ListVaultAllowlistChanges shows it APPLIED or NOT_APPLIED.\n *\n * @generated from enum value: ALLOWLIST_CHANGE_PENDING = 52;\n */\n ALLOWLIST_CHANGE_PENDING = 52,\n\n /**\n * The vault's payout address allowlist cannot be changed yet: its\n * on-chain protection is still being set up. Retry in a few minutes.\n *\n * @generated from enum value: VAULT_ALLOWLIST_NOT_READY = 53;\n */\n VAULT_ALLOWLIST_NOT_READY = 53,\n\n /**\n * The route is temporarily suspended: deposits on the source network or\n * withdrawals on the destination network, as AssetChainVariant\n * deposit_status and withdrawal_status SUSPENDED show. Quotes and creates\n * are refused and nothing is bound to the key; QuickSwaps already created\n * continue. Repeat the request once both are NORMAL again.\n *\n * @generated from enum value: ROUTE_SUSPENDED = 54;\n */\n ROUTE_SUSPENDED = 54,\n\n /**\n * The invite is void: the member who sent it has left the broker or may no\n * longer grant its role. Accepting it granted nothing and cancelled it; ask\n * a member who may grant the role for a new invite. Invites voided by a\n * member change are cancelled by that change and answer INVITE_NOT_FOUND.\n *\n * @generated from enum value: INVITE_VOID = 55;\n */\n INVITE_VOID = 55,\n\n /**\n * The source_wallet failed risk screening. On QuoteQuickSwap nothing is\n * bound. On CreateQuickSwap the QuickSwap (swap_id in the error) is\n * REJECTED and never gets a deposit address, and every repeat of the\n * request returns this error; the end user cannot swap from this wallet.\n *\n * @generated from enum value: SOURCE_WALLET_REJECTED = 56;\n */\n SOURCE_WALLET_REJECTED = 56,\n\n /**\n * The page_token is malformed or was returned for other filters. Start\n * again from the first page with an empty page_token.\n *\n * @generated from enum value: PAGE_TOKEN_INVALID = 57;\n */\n PAGE_TOKEN_INVALID = 57,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 9);\n\n/**\n * QuickSwapService is the broker-only QuickSwap API, served over ConnectRPC\n * and REST. Every RPC requires the broker's API key, sent as a bearer token\n * in the Authorization header; the broker is derived from it, never from the\n * request. End users need no account. Brokers see only their\n * own QuickSwaps.\n *\n * The broker API key is a server credential. Call this API from the broker's\n * backend, never from a browser or mobile app. The broker's members create,\n * rotate and revoke keys with QuickSwapBrokerService, and a key may rotate\n * itself.\n *\n * A QuickSwap's status advances as the deposit and execution progress; poll\n * GetQuickSwap to follow it, at most once every 5 seconds per QuickSwap while\n * it is not terminal. Polling can stop once is_terminal is true.\n *\n * REST errors are application/problem+json (see ErrorDetail) with these HTTP\n * statuses: 400 for INVALID_ARGUMENT and FAILED_PRECONDITION, 401 for\n * UNAUTHENTICATED, 403 for PERMISSION_DENIED, 404 for NOT_FOUND, 409 for\n * ALREADY_EXISTS (IDEMPOTENCY_CONFLICT) and ABORTED (ADDRESS_CONFLICT), 413\n * when a request body is too large, 429 for RESOURCE_EXHAUSTED (with a\n * Retry-After header when the request rate was exceeded), 500 for an\n * internal error, and 503 for UNAVAILABLE and DEADLINE_EXCEEDED.\n *\n * @generated from service swap.quickswap.v1.QuickSwapService\n */\nexport const QuickSwapService: GenService<{\n /**\n * QuoteQuickSwap prices terms without reserving a deposit address.\n *\n * Nothing is created. The quote's output and fees are estimates: the fees\n * charged are their rates applied to the actual execution once the\n * deposit is credited. The quote states whether the route needs a refund\n * address. A declared source_wallet is risk screened before the quote is\n * returned.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH, SOURCE_WALLET_INVALID, FEES_INVALID,\n * REFERRAL_CODE_INVALID or REFERRAL_NOT_SUPPORTED.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, ROUTE_SUSPENDED,\n * PROTECTION_UNACHIEVABLE, AFFILIATE_VAULT_UNKNOWN, REFERRAL_CODE_UNKNOWN\n * or REFERRAL_PARTNER_INACTIVE.\n * - UNAVAILABLE: QUOTE_UNAVAILABLE; retry later.\n * - PERMISSION_DENIED: BROKER_DISABLED, or SOURCE_WALLET_REJECTED when the\n * source_wallet failed risk screening; nothing is bound.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the quote request rate of the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.QuoteQuickSwap\n */\n quoteQuickSwap: {\n methodKind: \"unary\";\n input: typeof QuoteQuickSwapRequestSchema;\n output: typeof QuoteQuickSwapResponseSchema;\n },\n /**\n * CreateQuickSwap creates or returns the QuickSwap for an idempotency key.\n *\n * A new QuickSwap is priced and gets its deposit address. The call is\n * idempotent per broker and key: a repeated or concurrent request with the\n * same body returns the same QuickSwap, quote and address, so every\n * unknown outcome is resolved by repeating the request unchanged. A\n * declared source_wallet is risk screened before the deposit address is\n * issued.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH, DESTINATION_ADDRESS_INVALID, RETURN_ADDRESS_INVALID,\n * REFUND_ADDRESS_INVALID, SOURCE_WALLET_INVALID, FEES_INVALID,\n * REFERRAL_CODE_INVALID or REFERRAL_NOT_SUPPORTED.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, ROUTE_SUSPENDED,\n * PROTECTION_UNACHIEVABLE, REFUND_ADDRESS_REQUIRED,\n * AFFILIATE_VAULT_UNKNOWN, REFERRAL_CODE_UNKNOWN or\n * REFERRAL_PARTNER_INACTIVE; nothing is bound to the key.\n * - ALREADY_EXISTS: IDEMPOTENCY_CONFLICT; the original QuickSwap stands.\n * - UNAVAILABLE: ADDRESS_UNAVAILABLE; the QuickSwap is kept and gets its\n * address automatically; follow it with GetQuickSwap or the same request.\n * - ABORTED: ADDRESS_CONFLICT; the QuickSwap never gets an address and is\n * EXPIRED (DEPOSIT_ADDRESS_CONFLICT); every repeat returns this error;\n * create a new one with a new idempotency key.\n * - UNAVAILABLE, DEADLINE_EXCEEDED: unknown outcome or QUOTE_UNAVAILABLE;\n * retry the same request.\n * - PERMISSION_DENIED: BROKER_DISABLED; nothing is bound to the key.\n * - PERMISSION_DENIED: SOURCE_WALLET_REJECTED when the source_wallet failed\n * risk screening; the QuickSwap (swap_id in the error) is REJECTED\n * without a deposit address, and every repeat returns this error.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT; nothing is bound to the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.CreateQuickSwap\n */\n createQuickSwap: {\n methodKind: \"unary\";\n input: typeof CreateQuickSwapRequestSchema;\n output: typeof CreateQuickSwapResponseSchema;\n },\n /**\n * GetQuickSwap returns the current state of one QuickSwap by swap_id or by\n * idempotency key.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed selector.\n * - NOT_FOUND: SWAP_NOT_FOUND.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the read request rate of the key.\n * - UNAUTHENTICATED: missing or invalid broker API key.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapService.GetQuickSwap\n */\n getQuickSwap: {\n methodKind: \"unary\";\n input: typeof GetQuickSwapRequestSchema;\n output: typeof GetQuickSwapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,mCACX,uBAAS,ghdAAghd,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAkCvld,MAAa,oBACX,0BAAY,kCAAkC,CAAC;;;;;AA0CjD,MAAa,mBACX,0BAAY,kCAAkC,CAAC;;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