@polyester/sdk 0.35.0-devnet-20261111025029 → 0.35.0-devnet-20261111140253

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 (261) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/dist/catalogs/index.d.ts +2 -2
  3. package/dist/catalogs/snapshot-validation.js +7 -3
  4. package/dist/catalogs/snapshot-validation.js.map +1 -1
  5. package/dist/gen/ai/v1/assistant_pb.d.ts +4164 -0
  6. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -0
  7. package/dist/gen/ai/v1/assistant_pb.js +1174 -0
  8. package/dist/gen/ai/v1/assistant_pb.js.map +1 -0
  9. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +776 -0
  10. package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -0
  11. package/dist/gen/alerts/v1/price_alerts_pb.js +378 -0
  12. package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -0
  13. package/dist/gen/auth/v1/address_book_pb.d.ts +6 -0
  14. package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
  15. package/dist/gen/auth/v1/address_book_pb.js +6 -0
  16. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  17. package/dist/gen/auth/v1/api_keys_pb.d.ts +247 -3
  18. package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
  19. package/dist/gen/auth/v1/api_keys_pb.js +81 -2
  20. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  21. package/dist/gen/auth/v1/auth_pb.d.ts +55 -6
  22. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  23. package/dist/gen/auth/v1/auth_pb.js +55 -6
  24. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  25. package/dist/gen/auth/v1/policies_pb.d.ts +186 -14
  26. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  27. package/dist/gen/auth/v1/policies_pb.js +163 -6
  28. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  29. package/dist/gen/auth/v1/profile_pb.d.ts +4 -2
  30. package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
  31. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  32. package/dist/gen/auth/v1/resolve_pb.d.ts +1 -0
  33. package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -1
  34. package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
  35. package/dist/gen/auth/v1/social_verification_pb.d.ts +170 -11
  36. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  37. package/dist/gen/auth/v1/social_verification_pb.js +41 -3
  38. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  39. package/dist/gen/auth/v1/subaccounts_pb.d.ts +25 -9
  40. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  41. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  42. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -2
  43. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
  44. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  45. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +5 -0
  46. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -1
  47. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  48. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +10 -0
  49. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
  50. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  51. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  52. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +32 -4
  53. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
  54. package/dist/gen/chain/lifecycle/v1/types_pb.js +32 -4
  55. package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
  56. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +391 -42
  57. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
  58. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +103 -17
  59. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  60. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +172 -4
  61. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  62. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +63 -2
  63. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  64. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +57 -3
  65. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
  66. package/dist/gen/chain/zipper/v1/zipper_pb.js +41 -3
  67. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  68. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +2 -1
  69. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -1
  70. package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
  71. package/dist/gen/claims/v1/claims_pb.d.ts +20 -3
  72. package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
  73. package/dist/gen/claims/v1/claims_pb.js +12 -3
  74. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  75. package/dist/gen/index.d.ts +9 -5
  76. package/dist/gen/index.js +5 -1
  77. package/dist/gen/ledger/v1/catalog_pb.d.ts +52 -1
  78. package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
  79. package/dist/gen/ledger/v1/catalog_pb.js +52 -1
  80. package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
  81. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +6 -0
  82. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  83. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  84. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +8 -0
  85. package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
  86. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  87. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  88. package/dist/gen/orders/v1/orders_pb.d.ts +29 -8
  89. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  90. package/dist/gen/orders/v1/orders_pb.js +18 -5
  91. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  92. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +20 -1
  93. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -1
  94. package/dist/gen/polyester/ratelimit/v1/types_pb.js +20 -1
  95. package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -1
  96. package/dist/gen/rewards/v1/rewards_pb.d.ts +74 -3
  97. package/dist/gen/rewards/v1/rewards_pb.d.ts.map +1 -1
  98. package/dist/gen/rewards/v1/rewards_pb.js +16 -4
  99. package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
  100. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1268 -67
  101. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  102. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +306 -5
  103. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  104. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +298 -54
  105. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  106. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +183 -37
  107. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  108. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +933 -0
  109. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -0
  110. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +292 -0
  111. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -0
  112. package/dist/gen/system/v1/system_pb.d.ts +77 -0
  113. package/dist/gen/system/v1/system_pb.d.ts.map +1 -0
  114. package/dist/gen/system/v1/system_pb.js +34 -0
  115. package/dist/gen/system/v1/system_pb.js.map +1 -0
  116. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +2 -2
  117. package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
  118. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +101 -2
  119. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  120. package/dist/gen/transfer/v1/internal_transfer_pb.js +14 -2
  121. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  122. package/dist/gen/vip/v1/vip_pb.d.ts +1 -0
  123. package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
  124. package/dist/gen/vip/v1/vip_pb.js.map +1 -1
  125. package/dist/index.d.ts +9 -9
  126. package/dist/index.js +2 -2
  127. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  128. package/dist/services/api-keys/api-keys.codecs.js +10 -1
  129. package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
  130. package/dist/services/api-keys/api-keys.schemas.d.ts +4 -0
  131. package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
  132. package/dist/services/api-keys/api-keys.schemas.js +3 -1
  133. package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
  134. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +9 -2
  135. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
  136. package/dist/services/auto-withdraw/auto-withdraw.codecs.js +9 -1
  137. package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
  138. package/dist/services/auto-withdraw/auto-withdraw.d.ts +15 -4
  139. package/dist/services/auto-withdraw/auto-withdraw.d.ts.map +1 -1
  140. package/dist/services/auto-withdraw/auto-withdraw.js +24 -8
  141. package/dist/services/auto-withdraw/auto-withdraw.js.map +1 -1
  142. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +375 -7
  143. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
  144. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +66 -11
  145. package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
  146. package/dist/services/auto-withdraw/auto-withdraw.types.d.ts +3 -3
  147. package/dist/services/changelog/changelog.schemas.d.ts +17 -17
  148. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  149. package/dist/services/claims/claims.d.ts +5 -2
  150. package/dist/services/claims/claims.d.ts.map +1 -1
  151. package/dist/services/claims/claims.js +5 -2
  152. package/dist/services/claims/claims.js.map +1 -1
  153. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  154. package/dist/services/internal-transfers/internal-transfers.d.ts +13 -4
  155. package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
  156. package/dist/services/internal-transfers/internal-transfers.js +17 -3
  157. package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
  158. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +59 -4
  159. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
  160. package/dist/services/internal-transfers/internal-transfers.schemas.js +32 -2
  161. package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
  162. package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
  163. package/dist/services/lifecycle/lifecycle.codecs.d.ts +2 -2
  164. package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
  165. package/dist/services/lifecycle/lifecycle.codecs.js +3 -1
  166. package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
  167. package/dist/services/lifecycle/lifecycle.schemas.d.ts +114 -90
  168. package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
  169. package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
  170. package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
  171. package/dist/services/market-data/market-data.schemas.js +7 -2
  172. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  173. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  174. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  175. package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
  176. package/dist/services/orders/orders-input.schemas.d.ts +7 -7
  177. package/dist/services/orders/orders-output.schemas.d.ts +19 -19
  178. package/dist/services/orders/orders.d.ts +2 -0
  179. package/dist/services/orders/orders.d.ts.map +1 -1
  180. package/dist/services/orders/orders.js +2 -0
  181. package/dist/services/orders/orders.js.map +1 -1
  182. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  183. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
  184. package/dist/services/policies/shared.codecs.js +85 -3
  185. package/dist/services/policies/shared.codecs.js.map +1 -1
  186. package/dist/services/policies/shared.d.ts +1 -1
  187. package/dist/services/policies/shared.d.ts.map +1 -1
  188. package/dist/services/policies/shared.js +5 -14
  189. package/dist/services/policies/shared.js.map +1 -1
  190. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  191. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +3 -3
  192. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  193. package/dist/services/rewards/rewards.d.ts +13 -3
  194. package/dist/services/rewards/rewards.d.ts.map +1 -1
  195. package/dist/services/rewards/rewards.js +17 -3
  196. package/dist/services/rewards/rewards.js.map +1 -1
  197. package/dist/services/rewards/rewards.schemas.d.ts +101 -4
  198. package/dist/services/rewards/rewards.schemas.d.ts.map +1 -1
  199. package/dist/services/rewards/rewards.schemas.js +12 -2
  200. package/dist/services/rewards/rewards.schemas.js.map +1 -1
  201. package/dist/services/rewards/rewards.types.d.ts +2 -2
  202. package/dist/services/social-verification/social-verification.codecs.js +13 -5
  203. package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
  204. package/dist/services/social-verification/social-verification.d.ts +18 -3
  205. package/dist/services/social-verification/social-verification.d.ts.map +1 -1
  206. package/dist/services/social-verification/social-verification.js +26 -3
  207. package/dist/services/social-verification/social-verification.js.map +1 -1
  208. package/dist/services/social-verification/social-verification.schemas.d.ts +33 -7
  209. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  210. package/dist/services/social-verification/social-verification.schemas.js +35 -10
  211. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  212. package/dist/services/social-verification/social-verification.types.d.ts +2 -2
  213. package/dist/services/subaccounts/subaccounts.schemas.d.ts +17 -17
  214. package/dist/services/trades/trades.schemas.d.ts +2 -2
  215. package/dist/services/trading-withdraws/trading-withdraws.d.ts +7 -1
  216. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  217. package/dist/services/trading-withdraws/trading-withdraws.js +11 -1
  218. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  219. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +42 -1
  220. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  221. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +19 -3
  222. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  223. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
  224. package/dist/services/transfers/transfers.schemas.d.ts +4 -4
  225. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  226. package/dist/services/triggers/triggers-output.schemas.d.ts +30 -30
  227. package/dist/services/zipper/zipper.schemas.d.ts +2 -2
  228. package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
  229. package/dist/services/zipper/zipper.schemas.js +13 -2
  230. package/dist/services/zipper/zipper.schemas.js.map +1 -1
  231. package/dist/services/zipper/zipper.types.d.ts +2 -2
  232. package/dist/shared/catalog-config.d.ts +18 -1
  233. package/dist/shared/catalog-config.d.ts.map +1 -1
  234. package/dist/shared/catalog-config.js +7 -1
  235. package/dist/shared/catalog-config.js.map +1 -1
  236. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  237. package/dist/shared/connect-error-mapping.js +5 -1
  238. package/dist/shared/connect-error-mapping.js.map +1 -1
  239. package/dist/shared/error-detail.d.ts +8 -0
  240. package/dist/shared/error-detail.d.ts.map +1 -1
  241. package/dist/shared/error-detail.js.map +1 -1
  242. package/dist/shared/error-details/claims.js +7 -2
  243. package/dist/shared/error-details/claims.js.map +1 -1
  244. package/dist/shared/error-details/withdraw.js +11 -2
  245. package/dist/shared/error-details/withdraw.js.map +1 -1
  246. package/dist/shared/errors.d.ts +20 -3
  247. package/dist/shared/errors.d.ts.map +1 -1
  248. package/dist/shared/errors.js +17 -1
  249. package/dist/shared/errors.js.map +1 -1
  250. package/dist/shared/ledger-codes.d.ts +7 -1
  251. package/dist/shared/ledger-codes.d.ts.map +1 -1
  252. package/dist/shared/ledger-codes.js +27 -3
  253. package/dist/shared/ledger-codes.js.map +1 -1
  254. package/dist/shared/rate-limit.schemas.d.ts +2 -2
  255. package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
  256. package/dist/shared/rate-limit.schemas.js +4 -1
  257. package/dist/shared/rate-limit.schemas.js.map +1 -1
  258. package/dist/shared/transports.d.ts +2 -1
  259. package/dist/shared/transports.d.ts.map +1 -1
  260. package/dist/shared/transports.js.map +1 -1
  261. package/package.json +1 -1
@@ -1,9 +1,10 @@
1
+ import { AutoWithdrawPause, AutoWithdrawPreviewStatus, AutoWithdrawSchedule } from "../../../chain/withdraw/v1/auto_withdraw_pb.js";
1
2
  import { ChargedFee, QuickSwap, QuickSwapReason, QuickSwapStatus, QuickSwapTerms, RequestedFees, TokenAmount } from "./quickswap_pb.js";
2
3
  import { Message } from "@bufbuild/protobuf";
3
4
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
4
5
  import { Timestamp } from "@bufbuild/protobuf/wkt";
5
6
  declare namespace quickswap_broker_pb_d_exports {
6
- export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker };
7
+ export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker };
7
8
  }
8
9
  /**
9
10
  * Describes the file swap/quickswap/v1/quickswap_broker.proto.
@@ -974,7 +975,7 @@ type ListVaultsRequest = Message<"swap.quickswap.v1.ListVaultsRequest"> & {
974
975
  limit: number;
975
976
  /**
976
977
  * Opaque keyset cursor from a previous next_page_token, exclusive, bound to
977
- * the broker and ordered by ascending account_id. Empty for the first page.
978
+ * the broker and the list order. Empty for the first page.
978
979
  *
979
980
  * @generated from field: string page_token = 3;
980
981
  */
@@ -986,7 +987,8 @@ type ListVaultsRequest = Message<"swap.quickswap.v1.ListVaultsRequest"> & {
986
987
  */
987
988
  declare const ListVaultsRequestSchema: GenMessage<ListVaultsRequest>;
988
989
  /**
989
- * ListVaultsResponse lists vaults in ascending account_id order.
990
+ * ListVaultsResponse lists vaults in a stable server-defined order, the
991
+ * same on every page; it does not follow the public account_id values.
990
992
  *
991
993
  * @generated from message swap.quickswap.v1.ListVaultsResponse
992
994
  */
@@ -1232,7 +1234,8 @@ type ListQuickSwapsRequest = Message<"swap.quickswap.v1.ListQuickSwapsRequest">
1232
1234
  broker: string;
1233
1235
  /**
1234
1236
  * Only QuickSwaps whose fees credit this vault: an affiliate vault they
1235
- * name, or the default vault when they set a broker fee. Zero for every
1237
+ * name, or the default vault when they set a broker fee. A referral
1238
+ * partner's commission credits no vault of the broker. Zero for every
1236
1239
  * QuickSwap.
1237
1240
  *
1238
1241
  * @generated from field: fixed64 vault_account_id = 2;
@@ -1267,8 +1270,8 @@ type ListQuickSwapsRequest = Message<"swap.quickswap.v1.ListQuickSwapsRequest">
1267
1270
  limit: number;
1268
1271
  /**
1269
1272
  * Opaque keyset cursor from a previous next_page_token, exclusive, bound
1270
- * to the broker, the filters and the newest-first order by creation time,
1271
- * then swap_id. Reuse it with the same filters. Empty for the first page.
1273
+ * to the broker, the filters and the list order. Reuse it with the same
1274
+ * filters. Empty for the first page.
1272
1275
  *
1273
1276
  * @generated from field: string page_token = 7;
1274
1277
  */
@@ -1280,10 +1283,11 @@ type ListQuickSwapsRequest = Message<"swap.quickswap.v1.ListQuickSwapsRequest">
1280
1283
  */
1281
1284
  declare const ListQuickSwapsRequestSchema: GenMessage<ListQuickSwapsRequest>;
1282
1285
  /**
1283
- * ListQuickSwapsResponse lists QuickSwaps newest first: by creation time,
1284
- * then swap_id, both descending. A QuickSwap created after the first page
1285
- * was read is not listed by later pages; every earlier one is listed exactly
1286
- * once.
1286
+ * ListQuickSwapsResponse lists QuickSwaps newest first by creation time.
1287
+ * QuickSwaps created at the same time follow a stable server-defined order,
1288
+ * the same on every page; it does not follow swap_id. A QuickSwap created
1289
+ * after the first page was read is not listed by later pages; every earlier
1290
+ * one is listed exactly once.
1287
1291
  *
1288
1292
  * @generated from message swap.quickswap.v1.ListQuickSwapsResponse
1289
1293
  */
@@ -1308,7 +1312,8 @@ type ListQuickSwapsResponse = Message<"swap.quickswap.v1.ListQuickSwapsResponse"
1308
1312
  declare const ListQuickSwapsResponseSchema: GenMessage<ListQuickSwapsResponse>;
1309
1313
  /**
1310
1314
  * GetFeeTotalsRequest totals the broker and affiliate fees charged to the
1311
- * broker's QuickSwaps in a time window.
1315
+ * broker's QuickSwaps in a time window: the fees credited to the broker's
1316
+ * vaults, never a referral partner's commission.
1312
1317
  *
1313
1318
  * @generated from message swap.quickswap.v1.GetFeeTotalsRequest
1314
1319
  */
@@ -1533,92 +1538,1023 @@ type FeeSplit = Message<"swap.quickswap.v1.FeeSplit"> & {
1533
1538
  * @generated from field: swap.quickswap.v1.TokenAmount affiliate_fee = 4;
1534
1539
  */
1535
1540
  affiliateFee?: TokenAmount | undefined;
1541
+ /**
1542
+ * Referral commissions, credited to referral partners rather than to a
1543
+ * vault of the broker, in base units of 18 decimals.
1544
+ *
1545
+ * @generated from field: swap.quickswap.v1.TokenAmount referral_fee = 5;
1546
+ */
1547
+ referralFee?: TokenAmount | undefined;
1548
+ };
1549
+ /**
1550
+ * Describes the message swap.quickswap.v1.FeeSplit.
1551
+ * Use `create(FeeSplitSchema)` to create a new message.
1552
+ */
1553
+ declare const FeeSplitSchema: GenMessage<FeeSplit>;
1554
+ /**
1555
+ * BrokerStatsPeriod is a broker's QuickSwap activity in one UTC day or
1556
+ * month. A QuickSwap counts in the period it was created in, with its
1557
+ * current status, its credited deposit and its destination payout, so a
1558
+ * period's numbers keep moving until its QuickSwaps end. A fee counts in the
1559
+ * period it was charged in, as in GetFeeTotals, which can be later than the
1560
+ * period its QuickSwap was created in.
1561
+ *
1562
+ * @generated from message swap.quickswap.v1.BrokerStatsPeriod
1563
+ */
1564
+ type BrokerStatsPeriod = Message<"swap.quickswap.v1.BrokerStatsPeriod"> & {
1565
+ /**
1566
+ * Start of the UTC day or month.
1567
+ *
1568
+ * @generated from field: google.protobuf.Timestamp period_start = 1;
1569
+ */
1570
+ periodStart?: Timestamp | undefined;
1571
+ /**
1572
+ * QuickSwaps created in the period, inside the window.
1573
+ *
1574
+ * @generated from field: uint64 created_count = 2;
1575
+ */
1576
+ createdCount: bigint;
1577
+ /**
1578
+ * Those QuickSwaps by current status, in QuickSwapStatus number order;
1579
+ * statuses with none are omitted. The counts total created_count.
1580
+ *
1581
+ * @generated from field: repeated swap.quickswap.v1.StatusCount statuses = 3;
1582
+ */
1583
+ statuses: StatusCount[];
1584
+ /**
1585
+ * Deposits credited to those QuickSwaps and taken in for execution, per
1586
+ * asset, in asset_id order: including a deposit later found ineligible
1587
+ * and returned, excluding a deposit held for review before credit.
1588
+ *
1589
+ * @generated from field: repeated swap.quickswap.v1.AssetVolume deposited = 4;
1590
+ */
1591
+ deposited: AssetVolume[];
1592
+ /**
1593
+ * Paid to the destination of those QuickSwaps whose DESTINATION
1594
+ * withdrawal is FINALIZED, per asset, in asset_id order: after service,
1595
+ * broker and affiliate fees, before the destination network fee.
1596
+ *
1597
+ * @generated from field: repeated swap.quickswap.v1.AssetVolume delivered = 5;
1598
+ */
1599
+ delivered: AssetVolume[];
1600
+ /**
1601
+ * Fees charged to the broker's QuickSwaps in the period, per asset, in
1602
+ * asset_id order. broker_fee plus affiliate_fee equals the GetFeeTotals
1603
+ * total of the same window, period and asset.
1604
+ *
1605
+ * @generated from field: repeated swap.quickswap.v1.FeeSplit fees = 6;
1606
+ */
1607
+ fees: FeeSplit[];
1608
+ };
1609
+ /**
1610
+ * Describes the message swap.quickswap.v1.BrokerStatsPeriod.
1611
+ * Use `create(BrokerStatsPeriodSchema)` to create a new message.
1612
+ */
1613
+ declare const BrokerStatsPeriodSchema: GenMessage<BrokerStatsPeriod>;
1614
+ /**
1615
+ * GetBrokerStatsResponse lists every period of the window with a QuickSwap
1616
+ * created or a fee charged, oldest first, complete (the window is bounded).
1617
+ * Periods with neither are omitted.
1618
+ *
1619
+ * @generated from message swap.quickswap.v1.GetBrokerStatsResponse
1620
+ */
1621
+ type GetBrokerStatsResponse = Message<"swap.quickswap.v1.GetBrokerStatsResponse"> & {
1622
+ /**
1623
+ * The periods.
1624
+ *
1625
+ * @generated from field: repeated swap.quickswap.v1.BrokerStatsPeriod periods = 1;
1626
+ */
1627
+ periods: BrokerStatsPeriod[];
1628
+ };
1629
+ /**
1630
+ * Describes the message swap.quickswap.v1.GetBrokerStatsResponse.
1631
+ * Use `create(GetBrokerStatsResponseSchema)` to create a new message.
1632
+ */
1633
+ declare const GetBrokerStatsResponseSchema: GenMessage<GetBrokerStatsResponse>;
1634
+ /**
1635
+ * ListVaultBalancesRequest selects a broker's default and affiliate vaults.
1636
+ *
1637
+ * @generated from message swap.quickswap.v1.ListVaultBalancesRequest
1638
+ */
1639
+ type ListVaultBalancesRequest = Message<"swap.quickswap.v1.ListVaultBalancesRequest"> & {
1640
+ /**
1641
+ * Broker name.
1642
+ *
1643
+ * @generated from field: string broker = 1;
1644
+ */
1645
+ broker: string;
1646
+ /**
1647
+ * Public vault subaccount ID. Omit to include every vault, including disabled
1648
+ * affiliates. A root account or another broker's vault is NOT_FOUND.
1649
+ *
1650
+ * @generated from field: fixed64 vault_account_id = 2;
1651
+ */
1652
+ vaultAccountId: bigint;
1653
+ /**
1654
+ * Maximum vaults, default 20, max 200.
1655
+ *
1656
+ * @generated from field: uint32 limit = 3;
1657
+ */
1658
+ limit: number;
1659
+ /**
1660
+ * Opaque exclusive keyset cursor, bound to the broker and vault filter.
1661
+ * Reuse with the same broker and vault_account_id; limit may change.
1662
+ *
1663
+ * @generated from field: string page_token = 4;
1664
+ */
1665
+ pageToken: string;
1666
+ };
1667
+ /**
1668
+ * Describes the message swap.quickswap.v1.ListVaultBalancesRequest.
1669
+ * Use `create(ListVaultBalancesRequestSchema)` to create a new message.
1670
+ */
1671
+ declare const ListVaultBalancesRequestSchema: GenMessage<ListVaultBalancesRequest>;
1672
+ /**
1673
+ * VaultAssetBalance is the current posted balance in one asset.
1674
+ *
1675
+ * @generated from message swap.quickswap.v1.VaultAssetBalance
1676
+ */
1677
+ type VaultAssetBalance = Message<"swap.quickswap.v1.VaultAssetBalance"> & {
1678
+ /**
1679
+ * Unified asset ID, including assets no longer enabled for new swaps.
1680
+ *
1681
+ * @generated from field: uint32 asset_id = 1;
1682
+ */
1683
+ assetId: number;
1684
+ /**
1685
+ * Settled balance of the vault's Funding and Trading accounts, at 18 decimals.
1686
+ * Pending credits are excluded. This is not a withdrawability guarantee.
1687
+ *
1688
+ * @generated from field: swap.quickswap.v1.TokenAmount amount = 2;
1689
+ */
1690
+ amount?: TokenAmount | undefined;
1691
+ /**
1692
+ * Funds committed to pending outgoing transfers, at 18 decimals. amount
1693
+ * still counts these funds and has NOT been reduced by pending_outgoing.
1694
+ * amount minus pending_outgoing is the balance not yet committed to an
1695
+ * outgoing transfer. This excludes order holds and is not a withdrawability guarantee.
1696
+ *
1697
+ * @generated from field: swap.quickswap.v1.TokenAmount pending_outgoing = 3;
1698
+ */
1699
+ pendingOutgoing?: TokenAmount | undefined;
1700
+ };
1701
+ /**
1702
+ * Describes the message swap.quickswap.v1.VaultAssetBalance.
1703
+ * Use `create(VaultAssetBalanceSchema)` to create a new message.
1704
+ */
1705
+ declare const VaultAssetBalanceSchema: GenMessage<VaultAssetBalance>;
1706
+ /**
1707
+ * VaultBalance is one vault's current balance observation.
1708
+ *
1709
+ * @generated from message swap.quickswap.v1.VaultBalance
1710
+ */
1711
+ type VaultBalance = Message<"swap.quickswap.v1.VaultBalance"> & {
1712
+ /**
1713
+ * Public vault subaccount ID.
1714
+ *
1715
+ * @generated from field: fixed64 vault_account_id = 1;
1716
+ */
1717
+ vaultAccountId: bigint;
1718
+ /**
1719
+ * Asset balances in ascending asset_id order. Empty for an unfunded vault.
1720
+ *
1721
+ * @generated from field: repeated swap.quickswap.v1.VaultAssetBalance assets = 2;
1722
+ */
1723
+ assets: VaultAssetBalance[];
1724
+ /**
1725
+ * UTC time this vault's balance read completed. Vaults are read separately;
1726
+ * this does not describe an atomic snapshot across vaults or pages.
1727
+ *
1728
+ * @generated from field: google.protobuf.Timestamp as_of = 3;
1729
+ */
1730
+ asOf?: Timestamp | undefined;
1731
+ };
1732
+ /**
1733
+ * Describes the message swap.quickswap.v1.VaultBalance.
1734
+ * Use `create(VaultBalanceSchema)` to create a new message.
1735
+ */
1736
+ declare const VaultBalanceSchema: GenMessage<VaultBalance>;
1737
+ /**
1738
+ * ListVaultBalancesResponse lists vaults in ascending account creation-ID
1739
+ * order, independent of their encoded public IDs. A failed balance read fails
1740
+ * the entire page; it is never represented as a zero balance.
1741
+ *
1742
+ * @generated from message swap.quickswap.v1.ListVaultBalancesResponse
1743
+ */
1744
+ type ListVaultBalancesResponse = Message<"swap.quickswap.v1.ListVaultBalancesResponse"> & {
1745
+ /**
1746
+ * Default and affiliate vault balances, at most limit vaults.
1747
+ *
1748
+ * @generated from field: repeated swap.quickswap.v1.VaultBalance vaults = 1;
1749
+ */
1750
+ vaults: VaultBalance[];
1751
+ /**
1752
+ * Opaque exclusive keyset cursor. Empty when no more results exist.
1753
+ *
1754
+ * @generated from field: string next_page_token = 2;
1755
+ */
1756
+ nextPageToken: string;
1757
+ };
1758
+ /**
1759
+ * Describes the message swap.quickswap.v1.ListVaultBalancesResponse.
1760
+ * Use `create(ListVaultBalancesResponseSchema)` to create a new message.
1761
+ */
1762
+ declare const ListVaultBalancesResponseSchema: GenMessage<ListVaultBalancesResponse>;
1763
+ /**
1764
+ * PayoutStep is one asset's payout in a run. Amounts are in base units of 18
1765
+ * decimals.
1766
+ *
1767
+ * @generated from message swap.quickswap.v1.PayoutStep
1768
+ */
1769
+ type PayoutStep = Message<"swap.quickswap.v1.PayoutStep"> & {
1770
+ /**
1771
+ * Asset paid, as an AssetConfig.ledger_id from
1772
+ * GET /v1/chain/deposit-withdraw/config.
1773
+ *
1774
+ * @generated from field: uint32 asset_id = 1;
1775
+ */
1776
+ assetId: number;
1777
+ /**
1778
+ * Destination chain identifier.
1779
+ *
1780
+ * @generated from field: uint64 destination_chain_id = 2;
1781
+ */
1782
+ destinationChainId: bigint;
1783
+ /**
1784
+ * Canonical destination address.
1785
+ *
1786
+ * @generated from field: string destination_address = 3;
1787
+ */
1788
+ destinationAddress: string;
1789
+ /**
1790
+ * Where the payout stands.
1791
+ *
1792
+ * @generated from field: swap.quickswap.v1.PayoutStepState state = 4;
1793
+ */
1794
+ state: PayoutStepState;
1795
+ /**
1796
+ * Machine-readable reason of a skipped or failed step: below_minimum,
1797
+ * price_unavailable, rule_superseded, destination_not_whitelisted,
1798
+ * destination_cooling_down (the destination was added to the vault's
1799
+ * external withdraw whitelist less than 24 hours ago; the balance stays
1800
+ * for a later run), destination_invalid, authority_revoked,
1801
+ * withdrawal_refused,
1802
+ * gateway_capacity_insufficient, withdrawal_released (the withdrawal was
1803
+ * released before it was sent; nothing left the vault) or
1804
+ * withdrawal_failed (the withdrawal ended without paying; see
1805
+ * PAYOUT_FAILED); empty otherwise.
1806
+ *
1807
+ * @generated from field: string reason = 5;
1808
+ */
1809
+ reason: string;
1810
+ /**
1811
+ * The vault's available balance of the asset when the run started.
1812
+ *
1813
+ * @generated from field: swap.quickswap.v1.TokenAmount available = 6;
1814
+ */
1815
+ available?: TokenAmount | undefined;
1816
+ /**
1817
+ * What the step pays: the available balance up to the rule's per-run
1818
+ * ceiling, rounded down to whole units of the destination network. Zero
1819
+ * when skipped. The network fee is taken out of it on the way.
1820
+ *
1821
+ * @generated from field: swap.quickswap.v1.TokenAmount amount = 7;
1822
+ */
1823
+ amount?: TokenAmount | undefined;
1824
+ /**
1825
+ * The least amount the rule pays for the asset (the destination's minimum
1826
+ * in the rule version the run executed). A withdrawal on the network may
1827
+ * need more, as below_minimum says.
1828
+ *
1829
+ * @generated from field: swap.quickswap.v1.TokenAmount minimum = 8;
1830
+ */
1831
+ minimum?: TokenAmount | undefined;
1832
+ /**
1833
+ * USD value of the payable amount when the run started, checked against
1834
+ * Payout.min_usd_value; unset when the rule has no USD minimum or no
1835
+ * current price valued the asset.
1836
+ *
1837
+ * @generated from field: swap.quickswap.v1.TokenAmount value_usd = 9;
1838
+ */
1839
+ valueUsd?: TokenAmount | undefined;
1840
+ /**
1841
+ * Destination-network transaction hash, once known.
1842
+ *
1843
+ * @generated from field: string tx_hash = 10;
1844
+ */
1845
+ txHash: string;
1846
+ /**
1847
+ * The network fee charged on the withdrawal. On a completed step it was
1848
+ * taken out of amount, so the destination received amount minus this fee.
1849
+ * On a failed step whose withdrawal the destination network's bridge
1850
+ * rejected or failed to execute, it is the fee kept, which is not
1851
+ * refunded. Unset until the step is final, on a skipped step or one that
1852
+ * failed before reaching that bridge, and when the fee was not reported;
1853
+ * never zero for unknown.
1854
+ *
1855
+ * @generated from field: swap.quickswap.v1.TokenAmount charged_network_fee = 11;
1856
+ */
1857
+ chargedNetworkFee?: TokenAmount | undefined;
1858
+ };
1859
+ /**
1860
+ * Describes the message swap.quickswap.v1.PayoutStep.
1861
+ * Use `create(PayoutStepSchema)` to create a new message.
1862
+ */
1863
+ declare const PayoutStepSchema: GenMessage<PayoutStep>;
1864
+ /**
1865
+ * Payout is one scheduled payout run of a broker vault's payout rule.
1866
+ *
1867
+ * @generated from message swap.quickswap.v1.Payout
1868
+ */
1869
+ type Payout = Message<"swap.quickswap.v1.Payout"> & {
1870
+ /**
1871
+ * Public payout run ID.
1872
+ *
1873
+ * @generated from field: fixed64 run_id = 1;
1874
+ */
1875
+ runId: bigint;
1876
+ /**
1877
+ * Public sub-account ID of the vault paid out: the default vault or an
1878
+ * affiliate vault.
1879
+ *
1880
+ * @generated from field: fixed64 vault_account_id = 2;
1881
+ */
1882
+ vaultAccountId: bigint;
1883
+ /**
1884
+ * What the run came to.
1885
+ *
1886
+ * @generated from field: swap.quickswap.v1.PayoutStatus status = 3;
1887
+ */
1888
+ status: PayoutStatus;
1889
+ /**
1890
+ * Machine-readable reason of the status (see PayoutStatus); empty for
1891
+ * PAYOUT_PAID and PAYOUT_IN_PROGRESS.
1892
+ *
1893
+ * @generated from field: string reason = 4;
1894
+ */
1895
+ reason: string;
1896
+ /**
1897
+ * Where an in-progress run stands; PAYOUT_STAGE_UNSPECIFIED otherwise.
1898
+ *
1899
+ * @generated from field: swap.quickswap.v1.PayoutStage stage = 5;
1900
+ */
1901
+ stage: PayoutStage;
1902
+ /**
1903
+ * The rule version the run executed.
1904
+ *
1905
+ * @generated from field: uint32 rule_version = 6;
1906
+ */
1907
+ ruleVersion: number;
1908
+ /**
1909
+ * The scheduled UTC slot the run belongs to.
1910
+ *
1911
+ * @generated from field: google.protobuf.Timestamp scheduled_for = 7;
1912
+ */
1913
+ scheduledFor?: Timestamp | undefined;
1914
+ /**
1915
+ * When the run started.
1916
+ *
1917
+ * @generated from field: google.protobuf.Timestamp started_at = 8;
1918
+ */
1919
+ startedAt?: Timestamp | undefined;
1920
+ /**
1921
+ * When the run ended; unset while it is in progress.
1922
+ *
1923
+ * @generated from field: google.protobuf.Timestamp finished_at = 9;
1924
+ */
1925
+ finishedAt?: Timestamp | undefined;
1926
+ /**
1927
+ * The rule's least USD value of one payout, in base units of 18 decimals;
1928
+ * unset when the rule has no USD minimum.
1929
+ *
1930
+ * @generated from field: swap.quickswap.v1.TokenAmount min_usd_value = 10;
1931
+ */
1932
+ minUsdValue?: TokenAmount | undefined;
1933
+ /**
1934
+ * One step per destination of the rule version, in asset_id order. Empty
1935
+ * while the run is planning.
1936
+ *
1937
+ * @generated from field: repeated swap.quickswap.v1.PayoutStep steps = 11;
1938
+ */
1939
+ steps: PayoutStep[];
1940
+ };
1941
+ /**
1942
+ * Describes the message swap.quickswap.v1.Payout.
1943
+ * Use `create(PayoutSchema)` to create a new message.
1944
+ */
1945
+ declare const PayoutSchema: GenMessage<Payout>;
1946
+ /**
1947
+ * ListPayoutsRequest lists the payout runs of the broker's vaults, newest
1948
+ * first. Every filter narrows the list.
1949
+ *
1950
+ * @generated from message swap.quickswap.v1.ListPayoutsRequest
1951
+ */
1952
+ type ListPayoutsRequest = Message<"swap.quickswap.v1.ListPayoutsRequest"> & {
1953
+ /**
1954
+ * Broker name. A broker API key may name only its own broker.
1955
+ *
1956
+ * @generated from field: string broker = 1;
1957
+ */
1958
+ broker: string;
1959
+ /**
1960
+ * Only this vault's payouts: the default vault or an affiliate vault, as
1961
+ * a public sub-account ID. Zero for every vault of the broker.
1962
+ *
1963
+ * @generated from field: fixed64 vault_account_id = 2;
1964
+ */
1965
+ vaultAccountId: bigint;
1966
+ /**
1967
+ * Only payouts in one of these statuses, at most 6; empty for every
1968
+ * status.
1969
+ *
1970
+ * @generated from field: repeated swap.quickswap.v1.PayoutStatus statuses = 3;
1971
+ */
1972
+ statuses: PayoutStatus[];
1973
+ /**
1974
+ * Only runs scheduled at or after start_time; unset for no lower bound.
1975
+ *
1976
+ * @generated from field: google.protobuf.Timestamp start_time = 4;
1977
+ */
1978
+ startTime?: Timestamp | undefined;
1979
+ /**
1980
+ * Only runs scheduled before end_time (exclusive); unset for no upper
1981
+ * bound.
1982
+ *
1983
+ * @generated from field: google.protobuf.Timestamp end_time = 5;
1984
+ */
1985
+ endTime?: Timestamp | undefined;
1986
+ /**
1987
+ * Maximum number of payouts to return; 0 means 50, at most 100.
1988
+ *
1989
+ * @generated from field: uint32 limit = 6;
1990
+ */
1991
+ limit: number;
1992
+ /**
1993
+ * Opaque keyset cursor from a previous next_page_token, exclusive, bound
1994
+ * to the broker, the filters and the list order. Reuse it with the same
1995
+ * filters; limit may change. Empty for the first page.
1996
+ *
1997
+ * @generated from field: string page_token = 7;
1998
+ */
1999
+ pageToken: string;
2000
+ };
2001
+ /**
2002
+ * Describes the message swap.quickswap.v1.ListPayoutsRequest.
2003
+ * Use `create(ListPayoutsRequestSchema)` to create a new message.
2004
+ */
2005
+ declare const ListPayoutsRequestSchema: GenMessage<ListPayoutsRequest>;
2006
+ /**
2007
+ * ListPayoutsResponse lists payouts newest first by scheduled slot. Runs of
2008
+ * the same slot follow a stable server-defined order, the same on every
2009
+ * page; it does not follow run_id. Paging lists exactly once every run that
2010
+ * sorts after the previous page's last run when the next page is read,
2011
+ * including a run started meanwhile for an older slot. A run started
2012
+ * meanwhile for a newer slot sorts before the cursor and appears only in a
2013
+ * listing started again from the first page.
2014
+ *
2015
+ * @generated from message swap.quickswap.v1.ListPayoutsResponse
2016
+ */
2017
+ type ListPayoutsResponse = Message<"swap.quickswap.v1.ListPayoutsResponse"> & {
2018
+ /**
2019
+ * The payouts.
2020
+ *
2021
+ * @generated from field: repeated swap.quickswap.v1.Payout payouts = 1;
2022
+ */
2023
+ payouts: Payout[];
2024
+ /**
2025
+ * Cursor of the next page. Empty when no more results exist.
2026
+ *
2027
+ * @generated from field: string next_page_token = 2;
2028
+ */
2029
+ nextPageToken: string;
2030
+ };
2031
+ /**
2032
+ * Describes the message swap.quickswap.v1.ListPayoutsResponse.
2033
+ * Use `create(ListPayoutsResponseSchema)` to create a new message.
2034
+ */
2035
+ declare const ListPayoutsResponseSchema: GenMessage<ListPayoutsResponse>;
2036
+ /**
2037
+ * GetPayoutRequest reads one payout run of the broker's vaults.
2038
+ *
2039
+ * @generated from message swap.quickswap.v1.GetPayoutRequest
2040
+ */
2041
+ type GetPayoutRequest = Message<"swap.quickswap.v1.GetPayoutRequest"> & {
2042
+ /**
2043
+ * Broker name. A broker API key may name only its own broker.
2044
+ *
2045
+ * @generated from field: string broker = 1;
2046
+ */
2047
+ broker: string;
2048
+ /**
2049
+ * Public payout run ID. A run of another broker's vault is
2050
+ * indistinguishable from an unknown ID.
2051
+ *
2052
+ * @generated from field: fixed64 run_id = 2;
2053
+ */
2054
+ runId: bigint;
2055
+ };
2056
+ /**
2057
+ * Describes the message swap.quickswap.v1.GetPayoutRequest.
2058
+ * Use `create(GetPayoutRequestSchema)` to create a new message.
2059
+ */
2060
+ declare const GetPayoutRequestSchema: GenMessage<GetPayoutRequest>;
2061
+ /**
2062
+ * GetPayoutResponse carries the payout.
2063
+ *
2064
+ * @generated from message swap.quickswap.v1.GetPayoutResponse
2065
+ */
2066
+ type GetPayoutResponse = Message<"swap.quickswap.v1.GetPayoutResponse"> & {
2067
+ /**
2068
+ * The payout run.
2069
+ *
2070
+ * @generated from field: swap.quickswap.v1.Payout payout = 1;
2071
+ */
2072
+ payout?: Payout | undefined;
2073
+ };
2074
+ /**
2075
+ * Describes the message swap.quickswap.v1.GetPayoutResponse.
2076
+ * Use `create(GetPayoutResponseSchema)` to create a new message.
2077
+ */
2078
+ declare const GetPayoutResponseSchema: GenMessage<GetPayoutResponse>;
2079
+ /**
2080
+ * UpcomingPayoutAsset is what a vault's next payout run would do with one
2081
+ * asset, sized from the vault's balance now. Amounts are in base units of 18
2082
+ * decimals.
2083
+ *
2084
+ * @generated from message swap.quickswap.v1.UpcomingPayoutAsset
2085
+ */
2086
+ type UpcomingPayoutAsset = Message<"swap.quickswap.v1.UpcomingPayoutAsset"> & {
2087
+ /**
2088
+ * Asset, as an AssetConfig.ledger_id from
2089
+ * GET /v1/chain/deposit-withdraw/config.
2090
+ *
2091
+ * @generated from field: uint32 asset_id = 1;
2092
+ */
2093
+ assetId: number;
2094
+ /**
2095
+ * Destination chain identifier; zero when the rule has no destination for
2096
+ * the asset.
2097
+ *
2098
+ * @generated from field: uint64 destination_chain_id = 2;
2099
+ */
2100
+ destinationChainId: bigint;
2101
+ /**
2102
+ * Canonical destination address; empty when the rule has no destination
2103
+ * for the asset.
2104
+ *
2105
+ * @generated from field: string destination_address = 3;
2106
+ */
2107
+ destinationAddress: string;
2108
+ /**
2109
+ * The vault's available balance of the asset now.
2110
+ *
2111
+ * @generated from field: swap.quickswap.v1.TokenAmount available = 4;
2112
+ */
2113
+ available?: TokenAmount | undefined;
2114
+ /**
2115
+ * What the run would pay: the available balance up to the rule's per-run
2116
+ * ceiling, rounded down to whole units of the destination network, or zero
2117
+ * when it holds.
2118
+ *
2119
+ * @generated from field: swap.quickswap.v1.TokenAmount payable = 5;
2120
+ */
2121
+ payable?: TokenAmount | undefined;
2122
+ /**
2123
+ * What would stay in the vault: available minus payable.
2124
+ *
2125
+ * @generated from field: swap.quickswap.v1.TokenAmount held_back = 6;
2126
+ */
2127
+ heldBack?: TokenAmount | undefined;
2128
+ /**
2129
+ * Why held_back stays, or why nothing pays: below_minimum,
2130
+ * price_unavailable, no_destination (the rule pays no destination for the
2131
+ * asset), destination_cooling_down (the destination was added to the
2132
+ * vault's external withdraw whitelist less than 24 hours ago; see
2133
+ * payable_from), above_max (the balance above the per-run ceiling stays)
2134
+ * or dust (less than one whole unit of the destination network stays);
2135
+ * empty when the whole balance pays.
2136
+ *
2137
+ * @generated from field: string hold_reason = 7;
2138
+ */
2139
+ holdReason: string;
2140
+ /**
2141
+ * The least one payout of the asset pays: the destination's minimum, or
2142
+ * the least a withdrawal on its network pays now when that is higher.
2143
+ * Unset when the rule has no destination for the asset.
2144
+ *
2145
+ * @generated from field: swap.quickswap.v1.TokenAmount minimum = 8;
2146
+ */
2147
+ minimum?: TokenAmount | undefined;
2148
+ /**
2149
+ * USD value of what the asset would pay before its minimums, at the
2150
+ * current price as of priced_at; unset when no current price values it or
2151
+ * the rule has no destination for it.
2152
+ *
2153
+ * @generated from field: swap.quickswap.v1.TokenAmount value_usd = 9;
2154
+ */
2155
+ valueUsd?: TokenAmount | undefined;
2156
+ /**
2157
+ * When the price behind value_usd was observed; unset with it.
2158
+ *
2159
+ * @generated from field: google.protobuf.Timestamp priced_at = 10;
2160
+ */
2161
+ pricedAt?: Timestamp | undefined;
2162
+ /**
2163
+ * The network fee a payout to the destination is expected to be charged,
2164
+ * from the network's latest sampled fee: an estimate, not the fee charged
2165
+ * (PayoutStep.charged_network_fee). It is taken out of the payout. Unset
2166
+ * when the rule has no destination for the asset or the fee is not known
2167
+ * now.
2168
+ *
2169
+ * @generated from field: swap.quickswap.v1.TokenAmount estimated_network_fee = 11;
2170
+ */
2171
+ estimatedNetworkFee?: TokenAmount | undefined;
2172
+ /**
2173
+ * When estimated_network_fee was sampled; unset with it.
2174
+ *
2175
+ * @generated from field: google.protobuf.Timestamp estimated_network_fee_sampled_at = 12;
2176
+ */
2177
+ estimatedNetworkFeeSampledAt?: Timestamp | undefined;
2178
+ /**
2179
+ * Set only while the destination is cooling down (hold_reason
2180
+ * destination_cooling_down): when it can be paid, 24 hours after it was
2181
+ * added to the vault's external withdraw whitelist. Unset with that hold
2182
+ * reason when the time is not known yet.
2183
+ *
2184
+ * @generated from field: google.protobuf.Timestamp payable_from = 13;
2185
+ */
2186
+ payableFrom?: Timestamp | undefined;
2187
+ };
2188
+ /**
2189
+ * Describes the message swap.quickswap.v1.UpcomingPayoutAsset.
2190
+ * Use `create(UpcomingPayoutAssetSchema)` to create a new message.
2191
+ */
2192
+ declare const UpcomingPayoutAssetSchema: GenMessage<UpcomingPayoutAsset>;
2193
+ /**
2194
+ * UpcomingPayout previews one vault's next payout run from its balances now.
2195
+ * It plans exactly as the run does; balances, prices and fees can change
2196
+ * before the run starts.
2197
+ *
2198
+ * @generated from message swap.quickswap.v1.UpcomingPayout
2199
+ */
2200
+ type UpcomingPayout = Message<"swap.quickswap.v1.UpcomingPayout"> & {
2201
+ /**
2202
+ * Public sub-account ID of the vault.
2203
+ *
2204
+ * @generated from field: fixed64 vault_account_id = 1;
2205
+ */
2206
+ vaultAccountId: bigint;
2207
+ /**
2208
+ * Whether the next run would pay.
2209
+ *
2210
+ * @generated from field: chain.withdraw.v1.AutoWithdrawPreviewStatus status = 2;
2211
+ */
2212
+ status: AutoWithdrawPreviewStatus;
2213
+ /**
2214
+ * When the next run starts: its UTC slot, or, while a due slot waits to
2215
+ * start, that slot. For an hourly rule, the next hourly check. Unset when
2216
+ * the vault has no rule or the rule is paused.
2217
+ *
2218
+ * @generated from field: google.protobuf.Timestamp next_run_at = 3;
2219
+ */
2220
+ nextRunAt?: Timestamp | undefined;
2221
+ /**
2222
+ * The rule's latest version; zero when the vault has no rule.
2223
+ *
2224
+ * @generated from field: uint32 rule_version = 4;
2225
+ */
2226
+ ruleVersion: number;
2227
+ /**
2228
+ * Set when the rule paused itself; a rule paused by a member has none.
2229
+ *
2230
+ * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 5;
2231
+ */
2232
+ pause?: AutoWithdrawPause | undefined;
2233
+ /**
2234
+ * The rule's least USD value of one payout, in base units of 18 decimals;
2235
+ * unset when the vault has no rule or the rule has no USD minimum.
2236
+ *
2237
+ * @generated from field: swap.quickswap.v1.TokenAmount min_usd_value = 6;
2238
+ */
2239
+ minUsdValue?: TokenAmount | undefined;
2240
+ /**
2241
+ * One entry per destination of the rule, then per other asset with a
2242
+ * positive balance, in asset_id order. Empty when the vault has no rule or
2243
+ * the rule is paused.
2244
+ *
2245
+ * @generated from field: repeated swap.quickswap.v1.UpcomingPayoutAsset assets = 7;
2246
+ */
2247
+ assets: UpcomingPayoutAsset[];
2248
+ /**
2249
+ * When the balances, prices and fees this preview used were read.
2250
+ *
2251
+ * @generated from field: google.protobuf.Timestamp computed_at = 8;
2252
+ */
2253
+ computedAt?: Timestamp | undefined;
2254
+ };
2255
+ /**
2256
+ * Describes the message swap.quickswap.v1.UpcomingPayout.
2257
+ * Use `create(UpcomingPayoutSchema)` to create a new message.
2258
+ */
2259
+ declare const UpcomingPayoutSchema: GenMessage<UpcomingPayout>;
2260
+ /**
2261
+ * ListUpcomingPayoutsRequest previews the next payout run of the broker's
2262
+ * vaults.
2263
+ *
2264
+ * @generated from message swap.quickswap.v1.ListUpcomingPayoutsRequest
2265
+ */
2266
+ type ListUpcomingPayoutsRequest = Message<"swap.quickswap.v1.ListUpcomingPayoutsRequest"> & {
2267
+ /**
2268
+ * Broker name. A broker API key may name only its own broker.
2269
+ *
2270
+ * @generated from field: string broker = 1;
2271
+ */
2272
+ broker: string;
2273
+ /**
2274
+ * Public vault sub-account ID. Omit to include every vault, including
2275
+ * disabled affiliates. A root account or another broker's vault is
2276
+ * NOT_FOUND.
2277
+ *
2278
+ * @generated from field: fixed64 vault_account_id = 2;
2279
+ */
2280
+ vaultAccountId: bigint;
2281
+ /**
2282
+ * Maximum vaults, default 20, max 200.
2283
+ *
2284
+ * @generated from field: uint32 limit = 3;
2285
+ */
2286
+ limit: number;
2287
+ /**
2288
+ * Opaque exclusive keyset cursor, bound to the broker and vault filter.
2289
+ * Reuse with the same broker and vault_account_id; limit may change.
2290
+ *
2291
+ * @generated from field: string page_token = 4;
2292
+ */
2293
+ pageToken: string;
2294
+ };
2295
+ /**
2296
+ * Describes the message swap.quickswap.v1.ListUpcomingPayoutsRequest.
2297
+ * Use `create(ListUpcomingPayoutsRequestSchema)` to create a new message.
2298
+ */
2299
+ declare const ListUpcomingPayoutsRequestSchema: GenMessage<ListUpcomingPayoutsRequest>;
2300
+ /**
2301
+ * ListUpcomingPayoutsResponse lists vaults in ascending account creation-ID
2302
+ * order, as ListVaultBalances does. A vault whose preview cannot be read
2303
+ * fails the entire page; it is never shown as having nothing to pay.
2304
+ *
2305
+ * @generated from message swap.quickswap.v1.ListUpcomingPayoutsResponse
2306
+ */
2307
+ type ListUpcomingPayoutsResponse = Message<"swap.quickswap.v1.ListUpcomingPayoutsResponse"> & {
2308
+ /**
2309
+ * One preview per vault, at most limit vaults, vaults without a rule
2310
+ * included.
2311
+ *
2312
+ * @generated from field: repeated swap.quickswap.v1.UpcomingPayout upcoming_payouts = 1;
2313
+ */
2314
+ upcomingPayouts: UpcomingPayout[];
2315
+ /**
2316
+ * Opaque exclusive keyset cursor. Empty when no more results exist.
2317
+ *
2318
+ * @generated from field: string next_page_token = 2;
2319
+ */
2320
+ nextPageToken: string;
2321
+ };
2322
+ /**
2323
+ * Describes the message swap.quickswap.v1.ListUpcomingPayoutsResponse.
2324
+ * Use `create(ListUpcomingPayoutsResponseSchema)` to create a new message.
2325
+ */
2326
+ declare const ListUpcomingPayoutsResponseSchema: GenMessage<ListUpcomingPayoutsResponse>;
2327
+ /**
2328
+ * PayoutRuleDestination pays one asset of a vault, in kind, to one address.
2329
+ * Amounts are in base units of 18 decimals.
2330
+ *
2331
+ * @generated from message swap.quickswap.v1.PayoutRuleDestination
2332
+ */
2333
+ type PayoutRuleDestination = Message<"swap.quickswap.v1.PayoutRuleDestination"> & {
2334
+ /**
2335
+ * Asset paid, as an AssetConfig.ledger_id from
2336
+ * GET /v1/chain/deposit-withdraw/config.
2337
+ *
2338
+ * @generated from field: uint32 asset_id = 1;
2339
+ */
2340
+ assetId: number;
2341
+ /**
2342
+ * Destination chain identifier.
2343
+ *
2344
+ * @generated from field: uint64 destination_chain_id = 2;
2345
+ */
2346
+ destinationChainId: bigint;
2347
+ /**
2348
+ * Canonical destination address.
2349
+ *
2350
+ * @generated from field: string destination_address = 3;
2351
+ */
2352
+ destinationAddress: string;
2353
+ /**
2354
+ * A run pays the asset only when the payable amount reaches this minimum.
2355
+ *
2356
+ * @generated from field: swap.quickswap.v1.TokenAmount min_amount = 4;
2357
+ */
2358
+ minAmount?: TokenAmount | undefined;
2359
+ /**
2360
+ * The most one run pays the asset; the rest stays in the vault.
2361
+ *
2362
+ * @generated from field: swap.quickswap.v1.TokenAmount max_amount = 5;
2363
+ */
2364
+ maxAmount?: TokenAmount | undefined;
2365
+ /**
2366
+ * The least one payout to this destination can pay now: the network's
2367
+ * withdrawal minimum, and more than its current network fee. It follows
2368
+ * the network fee. Unset when the network or its fee is not known now.
2369
+ *
2370
+ * @generated from field: swap.quickswap.v1.TokenAmount min_floor = 6;
2371
+ */
2372
+ minFloor?: TokenAmount | undefined;
2373
+ /**
2374
+ * The network fee a payout to this destination is expected to be charged,
2375
+ * from the network's latest sampled fee: an estimate, not the fee charged
2376
+ * (PayoutStep.charged_network_fee). Unset when it is not known now.
2377
+ *
2378
+ * @generated from field: swap.quickswap.v1.TokenAmount estimated_network_fee = 7;
2379
+ */
2380
+ estimatedNetworkFee?: TokenAmount | undefined;
2381
+ /**
2382
+ * When estimated_network_fee was sampled; unset with it.
2383
+ *
2384
+ * @generated from field: google.protobuf.Timestamp estimated_network_fee_sampled_at = 8;
2385
+ */
2386
+ estimatedNetworkFeeSampledAt?: Timestamp | undefined;
1536
2387
  };
1537
2388
  /**
1538
- * Describes the message swap.quickswap.v1.FeeSplit.
1539
- * Use `create(FeeSplitSchema)` to create a new message.
2389
+ * Describes the message swap.quickswap.v1.PayoutRuleDestination.
2390
+ * Use `create(PayoutRuleDestinationSchema)` to create a new message.
1540
2391
  */
1541
- declare const FeeSplitSchema: GenMessage<FeeSplit>;
2392
+ declare const PayoutRuleDestinationSchema: GenMessage<PayoutRuleDestination>;
1542
2393
  /**
1543
- * BrokerStatsPeriod is a broker's QuickSwap activity in one UTC day or
1544
- * month. A QuickSwap counts in the period it was created in, with its
1545
- * current status, its credited deposit and its destination payout, so a
1546
- * period's numbers keep moving until its QuickSwaps end. A fee counts in the
1547
- * period it was charged in, as in GetFeeTotals, which can be later than the
1548
- * period its QuickSwap was created in.
2394
+ * AssetWithoutDestination is an asset a vault holds or was ever credited
2395
+ * in, which its rule pays no destination for, so no run pays it out.
1549
2396
  *
1550
- * @generated from message swap.quickswap.v1.BrokerStatsPeriod
2397
+ * @generated from message swap.quickswap.v1.AssetWithoutDestination
1551
2398
  */
1552
- type BrokerStatsPeriod = Message<"swap.quickswap.v1.BrokerStatsPeriod"> & {
2399
+ type AssetWithoutDestination = Message<"swap.quickswap.v1.AssetWithoutDestination"> & {
1553
2400
  /**
1554
- * Start of the UTC day or month.
2401
+ * Asset, as an AssetConfig.ledger_id from
2402
+ * GET /v1/chain/deposit-withdraw/config.
1555
2403
  *
1556
- * @generated from field: google.protobuf.Timestamp period_start = 1;
2404
+ * @generated from field: uint32 asset_id = 1;
1557
2405
  */
1558
- periodStart?: Timestamp | undefined;
2406
+ assetId: number;
1559
2407
  /**
1560
- * QuickSwaps created in the period, inside the window.
2408
+ * The vault's settled balance of the asset now, as ListVaultBalances
2409
+ * reports it, in base units of 18 decimals; zero when everything it was
2410
+ * credited has left the vault.
1561
2411
  *
1562
- * @generated from field: uint64 created_count = 2;
2412
+ * @generated from field: swap.quickswap.v1.TokenAmount balance = 2;
1563
2413
  */
1564
- createdCount: bigint;
2414
+ balance?: TokenAmount | undefined;
2415
+ };
2416
+ /**
2417
+ * Describes the message swap.quickswap.v1.AssetWithoutDestination.
2418
+ * Use `create(AssetWithoutDestinationSchema)` to create a new message.
2419
+ */
2420
+ declare const AssetWithoutDestinationSchema: GenMessage<AssetWithoutDestination>;
2421
+ /**
2422
+ * VaultPayoutRule is one broker vault's payout rule and the assets it leaves
2423
+ * in the vault.
2424
+ *
2425
+ * @generated from message swap.quickswap.v1.VaultPayoutRule
2426
+ */
2427
+ type VaultPayoutRule = Message<"swap.quickswap.v1.VaultPayoutRule"> & {
1565
2428
  /**
1566
- * Those QuickSwaps by current status, in QuickSwapStatus number order;
1567
- * statuses with none are omitted. The counts total created_count.
2429
+ * Public sub-account ID of the vault.
1568
2430
  *
1569
- * @generated from field: repeated swap.quickswap.v1.StatusCount statuses = 3;
2431
+ * @generated from field: fixed64 vault_account_id = 1;
1570
2432
  */
1571
- statuses: StatusCount[];
2433
+ vaultAccountId: bigint;
1572
2434
  /**
1573
- * Deposits credited to those QuickSwaps and taken in for execution, per
1574
- * asset, in asset_id order: including a deposit later found ineligible
1575
- * and returned, excluding a deposit held for review before credit.
2435
+ * The rule's latest version; zero when the vault has no rule, and every
2436
+ * other rule field is then unset.
1576
2437
  *
1577
- * @generated from field: repeated swap.quickswap.v1.AssetVolume deposited = 4;
2438
+ * @generated from field: uint32 rule_version = 2;
1578
2439
  */
1579
- deposited: AssetVolume[];
2440
+ ruleVersion: number;
1580
2441
  /**
1581
- * Paid to the destination of those QuickSwaps whose DESTINATION
1582
- * withdrawal is FINALIZED, per asset, in asset_id order: after service,
1583
- * broker and affiliate fees, before the destination network fee.
2442
+ * Whether the rule runs: it runs only while enabled and without a pause.
1584
2443
  *
1585
- * @generated from field: repeated swap.quickswap.v1.AssetVolume delivered = 5;
2444
+ * @generated from field: bool enabled = 3;
1586
2445
  */
1587
- delivered: AssetVolume[];
2446
+ enabled: boolean;
1588
2447
  /**
1589
- * Fees charged to the broker's QuickSwaps in the period, per asset, in
1590
- * asset_id order. broker_fee plus affiliate_fee equals the GetFeeTotals
1591
- * total of the same window, period and asset.
2448
+ * When the rule runs.
1592
2449
  *
1593
- * @generated from field: repeated swap.quickswap.v1.FeeSplit fees = 6;
2450
+ * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;
1594
2451
  */
1595
- fees: FeeSplit[];
2452
+ schedule?: AutoWithdrawSchedule | undefined;
2453
+ /**
2454
+ * One destination per paid asset, in asset_id order.
2455
+ *
2456
+ * @generated from field: repeated swap.quickswap.v1.PayoutRuleDestination destinations = 5;
2457
+ */
2458
+ destinations: PayoutRuleDestination[];
2459
+ /**
2460
+ * Set when the rule paused itself; an Owner or Finance member resumes it.
2461
+ *
2462
+ * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 6;
2463
+ */
2464
+ pause?: AutoWithdrawPause | undefined;
2465
+ /**
2466
+ * Least USD value one payout of the rule pays, in base units of 18
2467
+ * decimals; unset when the rule has no USD minimum.
2468
+ *
2469
+ * @generated from field: swap.quickswap.v1.TokenAmount min_usd_value = 7;
2470
+ */
2471
+ minUsdValue?: TokenAmount | undefined;
2472
+ /**
2473
+ * When the rule's latest version was set.
2474
+ *
2475
+ * @generated from field: google.protobuf.Timestamp updated_at = 8;
2476
+ */
2477
+ updatedAt?: Timestamp | undefined;
2478
+ /**
2479
+ * Every asset the vault holds or was ever credited in that the rule pays
2480
+ * no destination for, in asset_id order; every such asset when the vault
2481
+ * has no rule.
2482
+ *
2483
+ * @generated from field: repeated swap.quickswap.v1.AssetWithoutDestination assets_without_destination = 9;
2484
+ */
2485
+ assetsWithoutDestination: AssetWithoutDestination[];
1596
2486
  };
1597
2487
  /**
1598
- * Describes the message swap.quickswap.v1.BrokerStatsPeriod.
1599
- * Use `create(BrokerStatsPeriodSchema)` to create a new message.
2488
+ * Describes the message swap.quickswap.v1.VaultPayoutRule.
2489
+ * Use `create(VaultPayoutRuleSchema)` to create a new message.
1600
2490
  */
1601
- declare const BrokerStatsPeriodSchema: GenMessage<BrokerStatsPeriod>;
2491
+ declare const VaultPayoutRuleSchema: GenMessage<VaultPayoutRule>;
1602
2492
  /**
1603
- * GetBrokerStatsResponse lists every period of the window with a QuickSwap
1604
- * created or a fee charged, oldest first, complete (the window is bounded).
1605
- * Periods with neither are omitted.
2493
+ * ListVaultPayoutRulesRequest reads the payout rules of the broker's vaults.
1606
2494
  *
1607
- * @generated from message swap.quickswap.v1.GetBrokerStatsResponse
2495
+ * @generated from message swap.quickswap.v1.ListVaultPayoutRulesRequest
1608
2496
  */
1609
- type GetBrokerStatsResponse = Message<"swap.quickswap.v1.GetBrokerStatsResponse"> & {
2497
+ type ListVaultPayoutRulesRequest = Message<"swap.quickswap.v1.ListVaultPayoutRulesRequest"> & {
1610
2498
  /**
1611
- * The periods.
2499
+ * Broker name. A broker API key may name only its own broker.
1612
2500
  *
1613
- * @generated from field: repeated swap.quickswap.v1.BrokerStatsPeriod periods = 1;
2501
+ * @generated from field: string broker = 1;
1614
2502
  */
1615
- periods: BrokerStatsPeriod[];
2503
+ broker: string;
2504
+ /**
2505
+ * Public vault sub-account ID. Omit to include every vault, including
2506
+ * disabled affiliates. A root account or another broker's vault is
2507
+ * NOT_FOUND.
2508
+ *
2509
+ * @generated from field: fixed64 vault_account_id = 2;
2510
+ */
2511
+ vaultAccountId: bigint;
2512
+ /**
2513
+ * Maximum vaults, default 20, max 200.
2514
+ *
2515
+ * @generated from field: uint32 limit = 3;
2516
+ */
2517
+ limit: number;
2518
+ /**
2519
+ * Opaque exclusive keyset cursor, bound to the broker and vault filter.
2520
+ * Reuse with the same broker and vault_account_id; limit may change.
2521
+ *
2522
+ * @generated from field: string page_token = 4;
2523
+ */
2524
+ pageToken: string;
1616
2525
  };
1617
2526
  /**
1618
- * Describes the message swap.quickswap.v1.GetBrokerStatsResponse.
1619
- * Use `create(GetBrokerStatsResponseSchema)` to create a new message.
2527
+ * Describes the message swap.quickswap.v1.ListVaultPayoutRulesRequest.
2528
+ * Use `create(ListVaultPayoutRulesRequestSchema)` to create a new message.
1620
2529
  */
1621
- declare const GetBrokerStatsResponseSchema: GenMessage<GetBrokerStatsResponse>;
2530
+ declare const ListVaultPayoutRulesRequestSchema: GenMessage<ListVaultPayoutRulesRequest>;
2531
+ /**
2532
+ * ListVaultPayoutRulesResponse lists vaults in ascending account
2533
+ * creation-ID order, as ListVaultBalances does. A failed read fails the
2534
+ * entire page.
2535
+ *
2536
+ * @generated from message swap.quickswap.v1.ListVaultPayoutRulesResponse
2537
+ */
2538
+ type ListVaultPayoutRulesResponse = Message<"swap.quickswap.v1.ListVaultPayoutRulesResponse"> & {
2539
+ /**
2540
+ * One entry per vault, at most limit vaults, vaults without a rule
2541
+ * included.
2542
+ *
2543
+ * @generated from field: repeated swap.quickswap.v1.VaultPayoutRule rules = 1;
2544
+ */
2545
+ rules: VaultPayoutRule[];
2546
+ /**
2547
+ * Opaque exclusive keyset cursor. Empty when no more results exist.
2548
+ *
2549
+ * @generated from field: string next_page_token = 2;
2550
+ */
2551
+ nextPageToken: string;
2552
+ };
2553
+ /**
2554
+ * Describes the message swap.quickswap.v1.ListVaultPayoutRulesResponse.
2555
+ * Use `create(ListVaultPayoutRulesResponseSchema)` to create a new message.
2556
+ */
2557
+ declare const ListVaultPayoutRulesResponseSchema: GenMessage<ListVaultPayoutRulesResponse>;
1622
2558
  /**
1623
2559
  * BrokerRole is a person's role in a broker org. A broker has exactly one
1624
2560
  * Owner.
@@ -1633,13 +2569,16 @@ declare enum BrokerRole {
1633
2569
  */
1634
2570
  BROKER_ROLE_UNSPECIFIED = 0,
1635
2571
  /**
1636
- * Everything, including transferring ownership. Exactly one per broker.
2572
+ * Everything, including withdrawals, payout settings and transferring
2573
+ * ownership. Exactly one per broker.
1637
2574
  *
1638
2575
  * @generated from enum value: OWNER = 1;
1639
2576
  */
1640
2577
  OWNER = 1,
1641
2578
  /**
1642
- * Everything except changing the Owner or transferring ownership.
2579
+ * Everything except withdrawals, payout settings, changing the Owner and
2580
+ * transferring ownership: only the Owner and Finance withdraw or change
2581
+ * payout settings.
1643
2582
  *
1644
2583
  * @generated from enum value: ADMIN = 2;
1645
2584
  */
@@ -1761,6 +2700,179 @@ declare enum StatsPeriod {
1761
2700
  * Describes the enum swap.quickswap.v1.StatsPeriod.
1762
2701
  */
1763
2702
  declare const StatsPeriodSchema: GenEnum<StatsPeriod>;
2703
+ /**
2704
+ * PayoutStatus is what one payout run of a broker vault came to, from the
2705
+ * run and the outcome of each of its assets.
2706
+ *
2707
+ * @generated from enum swap.quickswap.v1.PayoutStatus
2708
+ */
2709
+ declare enum PayoutStatus {
2710
+ /**
2711
+ * Never returned; rejected in filters.
2712
+ *
2713
+ * @generated from enum value: PAYOUT_STATUS_UNSPECIFIED = 0;
2714
+ */
2715
+ PAYOUT_STATUS_UNSPECIFIED = 0,
2716
+ /**
2717
+ * The run paid: every asset with a payable amount was withdrawn and its
2718
+ * withdrawal completed on its destination network.
2719
+ *
2720
+ * @generated from enum value: PAYOUT_PAID = 1;
2721
+ */
2722
+ PAYOUT_PAID = 1,
2723
+ /**
2724
+ * Some assets were paid and at least one failed; reason is the first
2725
+ * failed asset's, and each step shows its own outcome.
2726
+ *
2727
+ * @generated from enum value: PAYOUT_PARTIALLY_PAID = 2;
2728
+ */
2729
+ PAYOUT_PARTIALLY_PAID = 2,
2730
+ /**
2731
+ * The run is under way; stage says where.
2732
+ *
2733
+ * @generated from enum value: PAYOUT_IN_PROGRESS = 3;
2734
+ */
2735
+ PAYOUT_IN_PROGRESS = 3,
2736
+ /**
2737
+ * Nothing was paid, and the balance stays in the vault for the next run.
2738
+ * reason is nothing_to_pay (no asset reached its minimum), below_minimum
2739
+ * (an amount was below the least a withdrawal on its network pays),
2740
+ * price_unavailable (the rule has a USD minimum and no current price
2741
+ * valued an asset) or destination_cooling_down (the destination was added
2742
+ * to the vault's external withdraw whitelist less than 24 hours ago). Each
2743
+ * step carries the balance evaluated, its value and the minimum it was
2744
+ * held to.
2745
+ *
2746
+ * @generated from enum value: PAYOUT_ROLLED_OVER = 4;
2747
+ */
2748
+ PAYOUT_ROLLED_OVER = 4,
2749
+ /**
2750
+ * Nothing was paid because the rule stopped paying, and the balance stays
2751
+ * in the vault. reason is rule_superseded (the rule was paused, changed or
2752
+ * replaced before the run paid), or destination_not_whitelisted,
2753
+ * destination_invalid or authority_revoked, with which the rule paused
2754
+ * itself (see VaultPayoutRule.pause); an Owner or Finance member resumes
2755
+ * it.
2756
+ *
2757
+ * @generated from enum value: PAYOUT_HELD = 5;
2758
+ */
2759
+ PAYOUT_HELD = 5,
2760
+ /**
2761
+ * Nothing was paid, and at least one asset's payout failed; reason is the
2762
+ * first failure's: withdrawal_refused (refused before any funds left the
2763
+ * vault), gateway_capacity_insufficient (the funds stay for a later run),
2764
+ * withdrawal_released (released before it was sent; nothing left the
2765
+ * vault) or withdrawal_failed (the withdrawal ended without paying, before
2766
+ * or after it reached the destination network). Where the funds of a
2767
+ * withdrawal_failed payout are now is not shown yet. The step's tx_hash,
2768
+ * when set, is its destination-network transaction.
2769
+ *
2770
+ * @generated from enum value: PAYOUT_FAILED = 6;
2771
+ */
2772
+ PAYOUT_FAILED = 6
2773
+ }
2774
+ /**
2775
+ * Describes the enum swap.quickswap.v1.PayoutStatus.
2776
+ */
2777
+ declare const PayoutStatusSchema: GenEnum<PayoutStatus>;
2778
+ /**
2779
+ * PayoutStage is where an in-progress payout run stands.
2780
+ *
2781
+ * @generated from enum swap.quickswap.v1.PayoutStage
2782
+ */
2783
+ declare enum PayoutStage {
2784
+ /**
2785
+ * Not in progress.
2786
+ *
2787
+ * @generated from enum value: PAYOUT_STAGE_UNSPECIFIED = 0;
2788
+ */
2789
+ PAYOUT_STAGE_UNSPECIFIED = 0,
2790
+ /**
2791
+ * Reading the vault's balances to size the payouts.
2792
+ *
2793
+ * @generated from enum value: STAGE_PLANNING = 1;
2794
+ */
2795
+ STAGE_PLANNING = 1,
2796
+ /**
2797
+ * A payout is waiting to be requested or being requested.
2798
+ *
2799
+ * @generated from enum value: STAGE_REQUESTING = 2;
2800
+ */
2801
+ STAGE_REQUESTING = 2,
2802
+ /**
2803
+ * Every payout due was accepted; no destination-network transaction is
2804
+ * known yet.
2805
+ *
2806
+ * @generated from enum value: STAGE_PROCESSING = 3;
2807
+ */
2808
+ STAGE_PROCESSING = 3,
2809
+ /**
2810
+ * A destination-network transaction is known (PayoutStep.tx_hash); the run
2811
+ * waits for its withdrawals to complete.
2812
+ *
2813
+ * @generated from enum value: STAGE_BROADCAST = 4;
2814
+ */
2815
+ STAGE_BROADCAST = 4
2816
+ }
2817
+ /**
2818
+ * Describes the enum swap.quickswap.v1.PayoutStage.
2819
+ */
2820
+ declare const PayoutStageSchema: GenEnum<PayoutStage>;
2821
+ /**
2822
+ * PayoutStepState is where one asset's payout in a run stands.
2823
+ *
2824
+ * @generated from enum swap.quickswap.v1.PayoutStepState
2825
+ */
2826
+ declare enum PayoutStepState {
2827
+ /**
2828
+ * Never returned.
2829
+ *
2830
+ * @generated from enum value: PAYOUT_STEP_STATE_UNSPECIFIED = 0;
2831
+ */
2832
+ PAYOUT_STEP_STATE_UNSPECIFIED = 0,
2833
+ /**
2834
+ * Planned; not yet requested.
2835
+ *
2836
+ * @generated from enum value: PAYOUT_STEP_PENDING = 1;
2837
+ */
2838
+ PAYOUT_STEP_PENDING = 1,
2839
+ /**
2840
+ * Being requested.
2841
+ *
2842
+ * @generated from enum value: PAYOUT_STEP_REQUESTING = 2;
2843
+ */
2844
+ PAYOUT_STEP_REQUESTING = 2,
2845
+ /**
2846
+ * The withdrawal was accepted and waits to complete on its destination
2847
+ * network.
2848
+ *
2849
+ * @generated from enum value: PAYOUT_STEP_SUBMITTED = 3;
2850
+ */
2851
+ PAYOUT_STEP_SUBMITTED = 3,
2852
+ /**
2853
+ * The withdrawal completed on its destination network.
2854
+ *
2855
+ * @generated from enum value: PAYOUT_STEP_COMPLETED = 4;
2856
+ */
2857
+ PAYOUT_STEP_COMPLETED = 4,
2858
+ /**
2859
+ * The payout failed; reason says why (see PAYOUT_FAILED).
2860
+ *
2861
+ * @generated from enum value: PAYOUT_STEP_FAILED = 5;
2862
+ */
2863
+ PAYOUT_STEP_FAILED = 5,
2864
+ /**
2865
+ * Nothing was paid for this asset in this run; reason says why, and the
2866
+ * balance stays in the vault.
2867
+ *
2868
+ * @generated from enum value: PAYOUT_STEP_SKIPPED = 6;
2869
+ */
2870
+ PAYOUT_STEP_SKIPPED = 6
2871
+ }
2872
+ /**
2873
+ * Describes the enum swap.quickswap.v1.PayoutStepState.
2874
+ */
2875
+ declare const PayoutStepStateSchema: GenEnum<PayoutStepState>;
1764
2876
  /**
1765
2877
  * QuickSwapBrokerService administers a broker org, over ConnectRPC and REST.
1766
2878
  * Every request names its broker. The caller is either the broker's API key,
@@ -1770,7 +2882,7 @@ declare const StatsPeriodSchema: GenEnum<StatsPeriod>;
1770
2882
  *
1771
2883
  * | Action | Owner | Admin | Finance | Affiliate manager | Viewer | API key |
1772
2884
  * | --- | --- | --- | --- | --- | --- | --- |
1773
- * | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats) | yes | yes | yes | yes | yes | yes, except ListMembers |
2885
+ * | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats, ListVaultBalances, ListPayouts, GetPayout, ListUpcomingPayouts, ListVaultPayoutRules) | yes | yes | yes | yes | yes | yes, except ListMembers |
1774
2886
  * | Create vaults (CreateAffiliateVault, SetVaultStatus) | yes | yes | no | yes | no | yes |
1775
2887
  * | Manage keys (CreateKey, RotateKey, RevokeKey) | yes | yes | no | no | no | RotateKey of itself only |
1776
2888
  * | Manage members (InviteMember, SetMemberRole, RemoveMember) | yes | yes, never the Owner | no | no | no | no |
@@ -1803,6 +2915,19 @@ declare const QuickSwapBrokerService: GenService<{
1803
2915
  input: typeof GetBrokerRequestSchema;
1804
2916
  output: typeof GetBrokerResponseSchema;
1805
2917
  };
2918
+ /**
2919
+ * ListVaultBalances reads current balances for this broker's own vaults.
2920
+ * All broker roles and the broker's API keys can read, without step-up.
2921
+ * Errors: NOT_FOUND for an unknown broker or vault; UNAVAILABLE when a
2922
+ * balance cannot be read. No partial page is returned on a read failure.
2923
+ *
2924
+ * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultBalances
2925
+ */
2926
+ listVaultBalances: {
2927
+ methodKind: "unary";
2928
+ input: typeof ListVaultBalancesRequestSchema;
2929
+ output: typeof ListVaultBalancesResponseSchema;
2930
+ };
1806
2931
  /**
1807
2932
  * ListMyBrokers lists the brokers the caller is a member of and the
1808
2933
  * invites addressed to the caller. Session token only.
@@ -2087,8 +3212,8 @@ declare const QuickSwapBrokerService: GenService<{
2087
3212
  /**
2088
3213
  * GetBrokerStats reads the broker's QuickSwap activity in a window, per UTC
2089
3214
  * day or month: QuickSwaps created by status, deposits credited and
2090
- * payouts delivered per asset, and the service, broker and affiliate fees
2091
- * charged per asset.
3215
+ * payouts delivered per asset, and the service, broker, affiliate and
3216
+ * referral fees charged per asset.
2092
3217
  *
2093
3218
  * Errors:
2094
3219
  * - NOT_FOUND: BROKER_NOT_FOUND.
@@ -2102,7 +3227,83 @@ declare const QuickSwapBrokerService: GenService<{
2102
3227
  input: typeof GetBrokerStatsRequestSchema;
2103
3228
  output: typeof GetBrokerStatsResponseSchema;
2104
3229
  };
3230
+ /**
3231
+ * ListPayouts lists the payout runs of the broker's vaults, newest first,
3232
+ * filtered by vault, status and scheduled slot. Every broker role and the
3233
+ * broker's API keys can read, without step-up.
3234
+ *
3235
+ * Errors:
3236
+ * - NOT_FOUND: BROKER_NOT_FOUND, or VAULT_NOT_FOUND for a vault that is
3237
+ * not the broker's.
3238
+ * - INVALID_ARGUMENT: a page_token from another broker, other filters or
3239
+ * malformed.
3240
+ * - UNAVAILABLE: the payouts cannot be read; retry the same request.
3241
+ *
3242
+ * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListPayouts
3243
+ */
3244
+ listPayouts: {
3245
+ methodKind: "unary";
3246
+ input: typeof ListPayoutsRequestSchema;
3247
+ output: typeof ListPayoutsResponseSchema;
3248
+ };
3249
+ /**
3250
+ * GetPayout reads one payout run of the broker's vaults, for a detail view
3251
+ * or a link from a ledger entry. Every broker role and the broker's API
3252
+ * keys can read, without step-up.
3253
+ *
3254
+ * Errors:
3255
+ * - NOT_FOUND: BROKER_NOT_FOUND, or PAYOUT_NOT_FOUND, including a run of
3256
+ * another broker's vault.
3257
+ * - UNAVAILABLE: the payout cannot be read; retry the same request.
3258
+ *
3259
+ * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetPayout
3260
+ */
3261
+ getPayout: {
3262
+ methodKind: "unary";
3263
+ input: typeof GetPayoutRequestSchema;
3264
+ output: typeof GetPayoutResponseSchema;
3265
+ };
3266
+ /**
3267
+ * ListUpcomingPayouts previews the next payout run of each of the
3268
+ * broker's vaults from its balances now: when it starts, whether it would
3269
+ * pay, and per asset what it would pay, what would stay and why, and the
3270
+ * expected network fee. Every broker role and the broker's API keys can
3271
+ * read, without step-up.
3272
+ *
3273
+ * Errors:
3274
+ * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.
3275
+ * - INVALID_ARGUMENT: a page_token from another broker or vault filter, or
3276
+ * malformed.
3277
+ * - UNAVAILABLE: a preview cannot be read; no partial page is returned.
3278
+ *
3279
+ * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListUpcomingPayouts
3280
+ */
3281
+ listUpcomingPayouts: {
3282
+ methodKind: "unary";
3283
+ input: typeof ListUpcomingPayoutsRequestSchema;
3284
+ output: typeof ListUpcomingPayoutsResponseSchema;
3285
+ };
3286
+ /**
3287
+ * ListVaultPayoutRules reads the payout rule of each of the broker's
3288
+ * vaults, and the assets each vault holds or was credited in that its rule
3289
+ * pays no destination for. Every broker role and the broker's API keys can
3290
+ * read, without step-up; only Owner and Finance members change rules.
3291
+ *
3292
+ * Errors:
3293
+ * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.
3294
+ * - INVALID_ARGUMENT: a page_token from another broker or vault filter, or
3295
+ * malformed.
3296
+ * - UNAVAILABLE: a rule or balance cannot be read; no partial page is
3297
+ * returned.
3298
+ *
3299
+ * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultPayoutRules
3300
+ */
3301
+ listVaultPayoutRules: {
3302
+ methodKind: "unary";
3303
+ input: typeof ListVaultPayoutRulesRequestSchema;
3304
+ output: typeof ListVaultPayoutRulesResponseSchema;
3305
+ };
2105
3306
  }>;
2106
3307
  //#endregion
2107
- export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker, quickswap_broker_pb_d_exports };
3308
+ export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker, quickswap_broker_pb_d_exports };
2108
3309
  //# sourceMappingURL=quickswap_broker_pb.d.ts.map