@polyester/sdk 0.32.1 → 0.32.2-devnet-20261102211233

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 (125) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/client.d.ts +2 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/auth/v1/address_book_pb.js +1 -1
  7. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  8. package/dist/gen/auth/v1/api_keys_pb.js +1 -1
  9. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js +1 -1
  11. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  12. package/dist/gen/auth/v1/mfa_pb.js +1 -1
  13. package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
  14. package/dist/gen/auth/v1/policies_pb.js +1 -1
  15. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  16. package/dist/gen/auth/v1/profile_pb.js +1 -1
  17. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  18. package/dist/gen/auth/v1/resolve_pb.js +1 -1
  19. package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/social_verification_pb.js +1 -1
  21. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  22. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  23. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  24. package/dist/gen/chain/analytics/v1/analytics_read_pb.js +1 -1
  25. package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
  26. package/dist/gen/chain/deposit/v1/deposit_pb.js +1 -1
  27. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  28. package/dist/gen/chain/guard/v1/guard_signer_pb.js +1 -1
  29. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  30. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  31. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  32. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +1 -1
  33. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  34. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +1 -1
  35. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  36. package/dist/gen/chain/zipper/v1/zipper_pb.js +1 -1
  37. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  38. package/dist/gen/changelog/v1/changelog_pb.d.ts +643 -0
  39. package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -0
  40. package/dist/gen/changelog/v1/changelog_pb.js +272 -0
  41. package/dist/gen/changelog/v1/changelog_pb.js.map +1 -0
  42. package/dist/gen/checkpoints/v1/checkpoints_pb.js +1 -1
  43. package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
  44. package/dist/gen/claims/v1/claims_pb.js +1 -1
  45. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  46. package/dist/gen/fees/v1/fees_pb.js +1 -1
  47. package/dist/gen/fees/v1/fees_pb.js.map +1 -1
  48. package/dist/gen/index.d.ts +2 -1
  49. package/dist/gen/index.js +2 -1
  50. package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
  51. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  52. package/dist/gen/marketdata/v1/heatmap_pb.js +1 -1
  53. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  54. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  55. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  56. package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
  57. package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
  58. package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
  59. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  60. package/dist/gen/orders/v1/orders_pb.js +1 -1
  61. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  62. package/dist/gen/orders/v1/orders_read_pb.d.ts +9 -1
  63. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  64. package/dist/gen/orders/v1/orders_read_pb.js +9 -1
  65. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  66. package/dist/gen/polyester/api/options_pb.d.ts +11 -4
  67. package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
  68. package/dist/gen/polyester/api/options_pb.js +11 -3
  69. package/dist/gen/polyester/api/options_pb.js.map +1 -1
  70. package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
  71. package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
  72. package/dist/gen/rewards/v1/rewards_pb.js +1 -1
  73. package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
  74. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  75. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  76. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1 -1
  77. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  78. package/dist/gen/swap/v1/swap_pb.js +1 -1
  79. package/dist/gen/swap/v1/swap_pb.js.map +1 -1
  80. package/dist/gen/transfer/v1/internal_transfer_pb.js +1 -1
  81. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  82. package/dist/gen/triggers/v1/triggers_pb.d.ts +9 -0
  83. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  84. package/dist/gen/triggers/v1/triggers_pb.js +10 -1
  85. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  86. package/dist/gen/vip/v1/vip_pb.js +1 -1
  87. package/dist/gen/vip/v1/vip_pb.js.map +1 -1
  88. package/dist/index.d.ts +4 -1
  89. package/dist/services/balances/balances.schemas.d.ts +3 -3
  90. package/dist/services/changelog/changelog.codecs.d.ts +13 -0
  91. package/dist/services/changelog/changelog.codecs.d.ts.map +1 -0
  92. package/dist/services/changelog/changelog.codecs.js +83 -0
  93. package/dist/services/changelog/changelog.codecs.js.map +1 -0
  94. package/dist/services/changelog/changelog.d.ts +36 -0
  95. package/dist/services/changelog/changelog.d.ts.map +1 -0
  96. package/dist/services/changelog/changelog.js +53 -0
  97. package/dist/services/changelog/changelog.js.map +1 -0
  98. package/dist/services/changelog/changelog.schemas.d.ts +358 -0
  99. package/dist/services/changelog/changelog.schemas.d.ts.map +1 -0
  100. package/dist/services/changelog/changelog.schemas.js +101 -0
  101. package/dist/services/changelog/changelog.schemas.js.map +1 -0
  102. package/dist/services/changelog/changelog.types.d.ts +3 -0
  103. package/dist/services/changelog/service.d.ts +8 -0
  104. package/dist/services/changelog/service.d.ts.map +1 -0
  105. package/dist/services/changelog/service.js +9 -0
  106. package/dist/services/changelog/service.js.map +1 -0
  107. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  108. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  109. package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
  110. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  111. package/dist/services/orders/orders-batch.schemas.d.ts +5 -5
  112. package/dist/services/orders/orders-output.schemas.d.ts +13 -13
  113. package/dist/services/orders/orders.codecs.js +1 -0
  114. package/dist/services/orders/orders.codecs.js.map +1 -1
  115. package/dist/services/subaccounts/subaccounts.schemas.d.ts +3 -3
  116. package/dist/services/trades/trades.schemas.d.ts +2 -2
  117. package/dist/services/transfers/transfers.schemas.d.ts +1 -1
  118. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  119. package/dist/services/triggers/triggers-output.schemas.d.ts +19 -19
  120. package/dist/services/triggers/triggers.codecs.js +1 -0
  121. package/dist/services/triggers/triggers.codecs.js.map +1 -1
  122. package/dist/wired-services.d.ts.map +1 -1
  123. package/dist/wired-services.js +2 -0
  124. package/dist/wired-services.js.map +1 -1
  125. 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(\"CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsyHi5zd2FwLnF1aWNrc3dhcC52MS5Ub2tlbkFtb3VudEIASABCCQoFYm91bmQSACIRCg9NYXJrZXRFeGVjdXRpb24iRQoNVHdhcEV4ZWN1dGlvbhIVCgtkdXJhdGlvbl9tcxgBIAEoBEIAEhsKEXNsaWNlX2ludGVydmFsX21zGAIgASgEQgA6ACKBAQoJRXhlY3V0aW9uEjQKBm1hcmtldBgBIAEoCzIiLnN3YXAucXVpY2tzd2FwLnYxLk1hcmtldEV4ZWN1dGlvbkgAEjAKBH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XN0Giouc3dhcC5xdWlja3N3YXAudjEuQ3JlYXRlUXVpY2tTd2FwUmVzcG9uc2UiABJhCgxHZXRRdWlja1N3YXASJi5zd2FwLnF1aWNrc3dhcC52MS5HZXRRdWlja1N3YXBSZXF1ZXN0Gicuc3dhcC5xdWlja3N3YXAudjEuR2V0UXVpY2tTd2FwUmVzcG9uc2UiAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3N3YXAvcXVpY2tzd2FwL3YxO3F1aWNrc3dhcHYxYgZwcm90bzM=\", [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 * and AFFILIATE) 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 * @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). Trading fees are rounded up, so the charged fee never\n * exceeds the quoted one.\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.\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.\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 * QuickSwapQuote is the priced view of a QuickSwap's terms. Price fields are\n * estimates at quoted_at; only the protection fields are guarantees.\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.\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. A smaller deposit is returned to\n * return_address (DEPOSIT_BELOW_MINIMUM). It is never below the source\n * network's minimum\n * (AssetChainVariant.deposit_min_amount in the config), and 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 * Quoted fee components for deposit_amount: each leg's service, broker and\n * affiliate fees, in that order, legs in route order (a bridge has one set,\n * charged at payout), then network fees. Affiliates are in ascending\n * account_id order. Zero fees are omitted.\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/**\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, 7);\n\n/**\n * Screening is the risk screening of a QuickSwap. Deposits are screened on\n * arrival; the outcome shows in the status, its reason and each deposit's\n * 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 * Recorded and shown; not used to accept or reject a deposit.\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, 8);\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 native-coin deposits on EVM\n * networks: 250000. Polyester does not enforce this limit. On some networks,\n * depositing to an address that has never received funds requires far more\n * than 21000 gas. If the limit is too low, the transaction fails on chain\n * without depositing funds, and the network fee is still charged. Use at\n * least the recommended limit. Unused gas is not charged. Zero for token\n * 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, 9);\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 detection order; stable for the QuickSwap's life.\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/**\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, 10);\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 execution started.\n *\n * @generated from field: google.protobuf.Timestamp started_at = 7;\n */\n startedAt?: Timestamp | undefined;\n\n /**\n * Execution deadline: started_at plus the TWAP duration, or plus the market\n * execution window. 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/**\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, 11);\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 * Deposit whose funds this withdrawal moves.\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.\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 *\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).\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.\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.\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, 12);\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. Returns made directly for such deposits are not yet\n * reported in withdrawals; RETURN_ONLY does not confirm a completed return.\n * Read again if the end user reports such a deposit or needs the final\n * 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.\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 (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.\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 * or allocation ends without one (EXPIRED with DEPOSIT_ADDRESS_CONFLICT);\n * 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, whatever later\n * versions change.\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.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 29;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Broker and affiliate fees charged so far, as settled: one entry per fee\n * kind, credited vault and asset, in kind, then account_id, then asset_id\n * order. Grows while the QuickSwap executes or pays out a bridge.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 30;\n */\n chargedFees: ChargedFee[];\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, 13);\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, 14);\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 or AFFILIATE.\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.\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/**\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, 15);\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 * broker_bps and the affiliates' bps total at most 300. Fees outside these\n * rules fail with FEES_INVALID.\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/**\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, 16);\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 * Creating a QuickSwap prices the terms 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, 17);\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.\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, 18);\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.\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 needs one; must be empty otherwise.\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. Deposits that are not accepted, and source funds\n * that are not traded, go here; never to an 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 needs one; must be empty otherwise.\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.\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 needs one; must be empty otherwise.\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 and\n * is shown on the QuickSwap.\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 * broker_bps and the affiliates' bps total at most 300. Fees outside these\n * rules fail with FEES_INVALID.\n *\n * @generated from field: uint32 broker_bps = 12;\n */\n brokerBps: number;\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, 19);\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, 20);\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, 21);\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, 22);\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, 23);\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: the leg's pair fee in basis points of\n * what the leg receives. A two-leg route has one per leg. On a bridge, the\n * one bridge fee in basis points of the credited 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.\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/**\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 (DEPOSIT_BELOW_MINIMUM) or\n * above 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.\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.\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. On a HELD QuickSwap nothing was\n * traded and the funds are held for review; otherwise untraded funds are\n * refunded or returned.\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. It is not\n * executed: it is returned to return_address, and the QuickSwap shows\n * RETURNING and RETURNED with this reason. A deposit that cannot be returned\n * on the network it was received on is held (HELD with this reason); the\n * broker contacts Polyester broker support with the 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; it is returned to\n * return_address.\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; it is never executed or returned automatically. The\n * broker contacts Polyester broker support with the swap_id.\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/**\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 * 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/**\n * Describes the enum swap.quickswap.v1.WithdrawalRole.\n */\nexport const WithdrawalRoleSchema: GenEnum<WithdrawalRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 5);\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, 6);\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). HELD can be entered from\n * any non-terminal status and is not terminal. The terminal statuses are\n * COMPLETED, REFUNDED, RETURNED and EXPIRED; a terminal status never\n * changes. Accept status values added 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 * 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. 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).\n *\n * @generated from enum value: EXPIRED = 16;\n */\n EXPIRED = 16,\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, 7);\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.\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 the\n * affiliate vaults the broker may create. Nothing is bound to the key. A\n * funded or expired QuickSwap frees an unfunded slot; when the response\n * carries a Retry-After header, retry after that 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 broker has no affiliate vault with this ID.\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: more than three affiliates, an affiliate without\n * a valid account_id or with bps outside 1 to 300, a vault named twice, or\n * broker_bps and the affiliates' bps totalling more than 300.\n *\n * @generated from enum value: FEES_INVALID = 32;\n */\n FEES_INVALID = 32,\n\n /**\n * The broker stats cannot be read: a QuickSwap in the window, named by\n * ErrorDetail.swap_id, is missing a record they need. Contact Polyester\n * broker 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/**\n * Describes the enum swap.quickswap.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 8);\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 * IDEMPOTENCY_CONFLICT, 413 when a request body is too large, 429 for\n * RESOURCE_EXHAUSTED (with a Retry-After header when the request rate was\n * exceeded), 500 for an internal error, 503 for UNAVAILABLE and 504 for\n * DEADLINE_EXCEEDED.\n *\n * @generated from service swap.quickswap.v1.QuickSwapService\n */\nexport const QuickSwapService: GenService<{\n /**\n * QuoteQuickSwap prices terms without creating a QuickSwap or reserving a\n * deposit address. The quote states whether the route needs a refund\n * address.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH or FEES_INVALID.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, PROTECTION_UNACHIEVABLE or\n * AFFILIATE_VAULT_UNKNOWN.\n * - UNAVAILABLE: QUOTE_UNAVAILABLE; retry later.\n * - PERMISSION_DENIED: BROKER_DISABLED.\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 the QuickSwap for idempotency_key, prices it and\n * allocates its deposit address. It is idempotent per broker and key: a\n * repeated or concurrent request with the same body returns the same\n * QuickSwap, quote and address, so every unknown outcome is resolved by\n * repeating the request unchanged.\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 or FEES_INVALID.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, PROTECTION_UNACHIEVABLE,\n * REFUND_ADDRESS_REQUIRED or AFFILIATE_VAULT_UNKNOWN; nothing is bound to\n * 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 * - 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\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@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(\"CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsyHi5zd2FwLnF1aWNrc3dhcC52MS5Ub2tlbkFtb3VudEIASABCCQoFYm91bmQSACIRCg9NYXJrZXRFeGVjdXRpb24iRQoNVHdhcEV4ZWN1dGlvbhIVCgtkdXJhdGlvbl9tcxgBIAEoBEIAEhsKEXNsaWNlX2ludGVydmFsX21zGAIgASgEQgA6ACKBAQoJRXhlY3V0aW9uEjQKBm1hcmtldBgBIAEoCzIiLnN3YXAucXVpY2tzd2FwLnYxLk1hcmtldEV4ZWN1dGlvbkgAEjAKBHR3YXAYAiABKAsyIC5zd2FwLnF1aWNrc3dhcC52MS5Ud2FwRXhlY3V0aW9uSABCDAoIc3RyYXRlZ3kSACKlAgoOUXVpY2tTd2FwVGVybXMSIAoWc291cmNlX3ppcHBlZF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SZXF1ZXN0Gicuc3dhcC5xdWlja3N3YXAudjEuR2V0UXVpY2tTd2FwUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vc3dhcC9xdWlja3N3YXAvdjE7cXVpY2tzd2FwdjFiBnByb3RvMw==\", [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 * and AFFILIATE) 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 * @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). Trading fees are rounded up, so the charged fee never\n * exceeds the quoted one.\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.\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.\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 * QuickSwapQuote is the priced view of a QuickSwap's terms. Price fields are\n * estimates at quoted_at; only the protection fields are guarantees.\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.\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. A smaller deposit is returned to\n * return_address (DEPOSIT_BELOW_MINIMUM). It is never below the source\n * network's minimum\n * (AssetChainVariant.deposit_min_amount in the config), and 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 * Quoted fee components for deposit_amount: each leg's service, broker and\n * affiliate fees, in that order, legs in route order (a bridge has one set,\n * charged at payout), then network fees. Affiliates are in ascending\n * account_id order. Zero fees are omitted.\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/**\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, 7);\n\n/**\n * Screening is the risk screening of a QuickSwap. Deposits are screened on\n * arrival; the outcome shows in the status, its reason and each deposit's\n * 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 * Recorded and shown; not used to accept or reject a deposit.\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, 8);\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 native-coin deposits on EVM\n * networks: 250000. Polyester does not enforce this limit. On some networks,\n * depositing to an address that has never received funds requires far more\n * than 21000 gas. If the limit is too low, the transaction fails on chain\n * without depositing funds, and the network fee is still charged. Use at\n * least the recommended limit. Unused gas is not charged. Zero for token\n * 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, 9);\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 detection order; stable for the QuickSwap's life.\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/**\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, 10);\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 execution started.\n *\n * @generated from field: google.protobuf.Timestamp started_at = 7;\n */\n startedAt?: Timestamp | undefined;\n\n /**\n * Execution deadline: started_at plus the TWAP duration, or plus the market\n * execution window. 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/**\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, 11);\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 * Deposit whose funds this withdrawal moves.\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.\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 *\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).\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.\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.\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, 12);\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. Returns made directly for such deposits are not yet\n * reported in withdrawals; RETURN_ONLY does not confirm a completed return.\n * Read again if the end user reports such a deposit or needs the final\n * 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.\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 (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.\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 * or allocation ends without one (EXPIRED with DEPOSIT_ADDRESS_CONFLICT);\n * 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, whatever later\n * versions change.\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.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 29;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Broker and affiliate fees charged so far, as settled: one entry per fee\n * kind, credited vault and asset, in kind, then account_id, then asset_id\n * order. Grows while the QuickSwap executes or pays out a bridge.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 30;\n */\n chargedFees: ChargedFee[];\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, 13);\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, 14);\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 or AFFILIATE.\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.\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/**\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, 15);\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 * broker_bps and the affiliates' bps total at most 300. Fees outside these\n * rules fail with FEES_INVALID.\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/**\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, 16);\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 * Creating a QuickSwap prices the terms 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, 17);\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.\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, 18);\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.\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 needs one; must be empty otherwise.\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. Deposits that are not accepted, and source funds\n * that are not traded, go here; never to an 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 needs one; must be empty otherwise.\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.\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 needs one; must be empty otherwise.\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 and\n * is shown on the QuickSwap.\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 * broker_bps and the affiliates' bps total at most 300. Fees outside these\n * rules fail with FEES_INVALID.\n *\n * @generated from field: uint32 broker_bps = 12;\n */\n brokerBps: number;\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, 19);\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, 20);\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, 21);\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, 22);\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, 23);\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: the leg's pair fee in basis points of\n * what the leg receives. A two-leg route has one per leg. On a bridge, the\n * one bridge fee in basis points of the credited 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.\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/**\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 (DEPOSIT_BELOW_MINIMUM) or\n * above 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.\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.\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. On a HELD QuickSwap nothing was\n * traded and the funds are held for review; otherwise untraded funds are\n * refunded or returned.\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. It is not\n * executed: it is returned to return_address, and the QuickSwap shows\n * RETURNING and RETURNED with this reason. A deposit that cannot be returned\n * on the network it was received on is held (HELD with this reason); the\n * broker contacts Polyester broker support with the 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; it is returned to\n * return_address.\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; it is never executed or returned automatically. The\n * broker contacts Polyester broker support with the swap_id.\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/**\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 * 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/**\n * Describes the enum swap.quickswap.v1.WithdrawalRole.\n */\nexport const WithdrawalRoleSchema: GenEnum<WithdrawalRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 5);\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, 6);\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). HELD can be entered from\n * any non-terminal status and is not terminal. The terminal statuses are\n * COMPLETED, REFUNDED, RETURNED and EXPIRED; a terminal status never\n * changes. Accept status values added 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 * 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. 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).\n *\n * @generated from enum value: EXPIRED = 16;\n */\n EXPIRED = 16,\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, 7);\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.\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 the\n * affiliate vaults the broker may create. Nothing is bound to the key. A\n * funded or expired QuickSwap frees an unfunded slot; when the response\n * carries a Retry-After header, retry after that 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 broker has no affiliate vault with this ID.\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: more than three affiliates, an affiliate without\n * a valid account_id or with bps outside 1 to 300, a vault named twice, or\n * broker_bps and the affiliates' bps totalling more than 300.\n *\n * @generated from enum value: FEES_INVALID = 32;\n */\n FEES_INVALID = 32,\n\n /**\n * The broker stats cannot be read: a QuickSwap in the window, named by\n * ErrorDetail.swap_id, is missing a record they need. Contact Polyester\n * broker 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/**\n * Describes the enum swap.quickswap.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap, 8);\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 * IDEMPOTENCY_CONFLICT, 413 when a request body is too large, 429 for\n * RESOURCE_EXHAUSTED (with a Retry-After header when the request rate was\n * exceeded), 500 for an internal error, 503 for UNAVAILABLE and 504 for\n * DEADLINE_EXCEEDED.\n *\n * @generated from service swap.quickswap.v1.QuickSwapService\n */\nexport const QuickSwapService: GenService<{\n /**\n * QuoteQuickSwap prices terms without creating a QuickSwap or reserving a\n * deposit address. The quote states whether the route needs a refund\n * address.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, AMOUNT_OUT_OF_RANGE,\n * DECIMALS_MISMATCH or FEES_INVALID.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, PROTECTION_UNACHIEVABLE or\n * AFFILIATE_VAULT_UNKNOWN.\n * - UNAVAILABLE: QUOTE_UNAVAILABLE; retry later.\n * - PERMISSION_DENIED: BROKER_DISABLED.\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 the QuickSwap for idempotency_key, prices it and\n * allocates its deposit address. It is idempotent per broker and key: a\n * repeated or concurrent request with the same body returns the same\n * QuickSwap, quote and address, so every unknown outcome is resolved by\n * repeating the request unchanged.\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 or FEES_INVALID.\n * - FAILED_PRECONDITION: ROUTE_UNSUPPORTED, PROTECTION_UNACHIEVABLE,\n * REFUND_ADDRESS_REQUIRED or AFFILIATE_VAULT_UNKNOWN; nothing is bound to\n * 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 * - 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,o1WAAo1W,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAkC35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