@polyester/sdk 0.36.0-devnet-20261116002603 → 0.36.0-devnet-20261116150503

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 (107) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
  3. package/dist/gen/auth/v1/auth_pb.js +1 -1
  4. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  5. package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
  6. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  7. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +3 -2
  8. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  9. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +3 -2
  10. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  11. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +2 -1
  12. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  13. package/dist/gen/ledger/read/v1/ledger_read_pb.js +2 -1
  14. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  15. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +0 -3
  16. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  17. package/dist/gen/marketdata/v1/heatmap_pb.js +0 -3
  18. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  19. package/dist/gen/orderbook/v1/orderbook_pb.d.ts +28 -79
  20. package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
  21. package/dist/gen/orderbook/v1/orderbook_pb.js +3 -77
  22. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  23. package/dist/gen/orders/v1/orders_pb.d.ts +126 -71
  24. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  25. package/dist/gen/orders/v1/orders_pb.js +37 -19
  26. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  27. package/dist/gen/orders/v1/orders_read_pb.d.ts +30 -12
  28. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  29. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  30. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +87 -60
  31. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  32. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  33. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  34. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +14 -11
  35. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  36. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +8 -4
  37. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  38. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +45 -42
  39. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  40. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +10 -10
  41. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  42. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +2 -1
  43. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  44. package/dist/gen/transfer/v1/internal_transfer_pb.js +2 -1
  45. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  46. package/dist/gen/triggers/v1/triggers_pb.d.ts +65 -49
  47. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  48. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  49. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  50. package/dist/services/assistant/assistant-events.schemas.d.ts +75 -75
  51. package/dist/services/assistant/assistant.schemas.d.ts +1 -1
  52. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
  53. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  54. package/dist/services/balances/balances.schemas.js +1 -1
  55. package/dist/services/candles/candles.schemas.d.ts +10 -10
  56. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  57. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  58. package/dist/services/claims/claims.schemas.d.ts +2 -2
  59. package/dist/services/claims/claims.schemas.js +1 -1
  60. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +6 -6
  61. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  62. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  63. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
  64. package/dist/services/internal-transfers/internal-transfers.schemas.js +1 -1
  65. package/dist/services/lifecycle/lifecycle.schemas.d.ts +12 -12
  66. package/dist/services/lifecycle/lifecycle.schemas.js +1 -1
  67. package/dist/services/orderbook/orderbook.codecs.js +2 -42
  68. package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
  69. package/dist/services/orderbook/orderbook.d.ts +3 -1
  70. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  71. package/dist/services/orderbook/orderbook.js +18 -11
  72. package/dist/services/orderbook/orderbook.js.map +1 -1
  73. package/dist/services/orderbook/orderbook.schemas.d.ts +12 -11
  74. package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
  75. package/dist/services/orderbook/orderbook.schemas.js +10 -12
  76. package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
  77. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  78. package/dist/services/orders/orders-batch.schemas.d.ts +40 -40
  79. package/dist/services/orders/orders-input.schemas.d.ts +6 -6
  80. package/dist/services/orders/orders-output.schemas.d.ts +11 -11
  81. package/dist/services/orders/orders-output.schemas.js +1 -1
  82. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +2 -2
  83. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
  84. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -3
  85. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  86. package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
  87. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  88. package/dist/services/statement-exports/statement-exports.schemas.d.ts +12 -12
  89. package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -12
  90. package/dist/services/system/system.schemas.d.ts +13 -13
  91. package/dist/services/trades/trades.schemas.d.ts +2 -2
  92. package/dist/services/trades/trades.schemas.js +1 -1
  93. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
  94. package/dist/services/transfers/transfers.schemas.js +1 -1
  95. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  96. package/dist/services/triggers/triggers-output.schemas.d.ts +50 -50
  97. package/dist/shared/decimal-surface.d.ts.map +1 -1
  98. package/dist/shared/decimal-surface.js +4 -1
  99. package/dist/shared/decimal-surface.js.map +1 -1
  100. package/dist/shared/error-details/withdraw.js +1 -1
  101. package/dist/shared/schemas.js +2 -2
  102. package/dist/shared/schemas.js.map +1 -1
  103. package/dist/utils/numbers.js +1 -10
  104. package/dist/utils/numbers.js.map +1 -1
  105. package/dist/utils/u128.js +1 -1
  106. package/dist/utils/u128.js.map +1 -1
  107. package/package.json +1 -1
@@ -37,8 +37,8 @@ type ReferralRates = Message<"swap.quickswap.v1.ReferralRates"> & {
37
37
  declare const ReferralRatesSchema: GenMessage<ReferralRates>;
38
38
  /**
39
39
  * ReferralProgram is the referral rates of every route category. Polyester
40
- * can change them at any time; a change applies to Quick Swaps created after
41
- * it, and Quick Swaps already created keep their rates.
40
+ * can change them at any time; a change applies to QuickSwaps created after
41
+ * it, and QuickSwaps already created keep their rates.
42
42
  *
43
43
  * @generated from message swap.quickswap.v1.ReferralProgram
44
44
  */
@@ -105,7 +105,7 @@ type ReferralPartner = Message<"swap.quickswap.v1.ReferralPartner"> & {
105
105
  */
106
106
  code: string;
107
107
  /**
108
- * Path of the share link on Polyester's Quick Swap app: "/r/" followed by
108
+ * Path of the share link on Polyester's QuickSwap app: "/r/" followed by
109
109
  * the code.
110
110
  *
111
111
  * @generated from field: string link_path = 6;
@@ -153,8 +153,8 @@ type EnrollReferralPartnerRequest = Message<"swap.quickswap.v1.EnrollReferralPar
153
153
  */
154
154
  earningsSubaccountId: bigint;
155
155
  /**
156
- * Name shown for the partner, 1 to 64 characters without leading or
157
- * trailing spaces.
156
+ * Name shown for the partner, at most 64 characters. Leading and trailing
157
+ * spaces are removed; at least one other character must remain.
158
158
  *
159
159
  * @generated from field: string display_name = 2;
160
160
  */
@@ -320,7 +320,7 @@ type ReferralCommission = Message<"swap.quickswap.v1.ReferralCommission"> & {
320
320
  */
321
321
  declare const ReferralCommissionSchema: GenMessage<ReferralCommission>;
322
322
  /**
323
- * ReferralCredit is one commission credit of a Quick Swap: a settled trade
323
+ * ReferralCredit is one commission credit of a QuickSwap: a settled trade
324
324
  * of one of its legs, or its bridge payout.
325
325
  *
326
326
  * @generated from message swap.quickswap.v1.ReferralCredit
@@ -352,7 +352,7 @@ type ReferralCredit = Message<"swap.quickswap.v1.ReferralCredit"> & {
352
352
  */
353
353
  declare const ReferralCreditSchema: GenMessage<ReferralCredit>;
354
354
  /**
355
- * ReferredQuickSwap is a Quick Swap the caller referred, as its referral
355
+ * ReferredQuickSwap is a QuickSwap the caller referred, as its referral
356
356
  * partner sees it. It carries no identity of the person who swapped and no
357
357
  * account, address, memo, transaction hash or flow ID. Amounts are exact;
358
358
  * every time is rounded down to the minute.
@@ -380,7 +380,7 @@ type ReferredQuickSwap = Message<"swap.quickswap.v1.ReferredQuickSwap"> & {
380
380
  */
381
381
  isTerminal: boolean;
382
382
  /**
383
- * When the Quick Swap was created, rounded down to the minute.
383
+ * When the QuickSwap was created, rounded down to the minute.
384
384
  *
385
385
  * @generated from field: google.protobuf.Timestamp created_at = 4;
386
386
  */
@@ -459,7 +459,7 @@ type ReferredQuickSwap = Message<"swap.quickswap.v1.ReferredQuickSwap"> & {
459
459
  commissionBps: number;
460
460
  /**
461
461
  * Commission credited so far, one entry per asset in asset_id order. Grows
462
- * while the Quick Swap executes or pays out a bridge; empty until the
462
+ * while the QuickSwap executes or pays out a bridge; empty until the
463
463
  * first credit. Each credit is commission_bps applied to what its leg
464
464
  * actually received, so it can differ from an estimate.
465
465
  *
@@ -473,7 +473,7 @@ type ReferredQuickSwap = Message<"swap.quickswap.v1.ReferredQuickSwap"> & {
473
473
  */
474
474
  declare const ReferredQuickSwapSchema: GenMessage<ReferredQuickSwap>;
475
475
  /**
476
- * ReferralCommissionValue is the US dollar value of a Quick Swap's commission
476
+ * ReferralCommissionValue is the US dollar value of a QuickSwap's commission
477
477
  * at a current price.
478
478
  *
479
479
  * @generated from message swap.quickswap.v1.ReferralCommissionValue
@@ -501,9 +501,9 @@ type ReferralCommissionValue = Message<"swap.quickswap.v1.ReferralCommissionValu
501
501
  */
502
502
  declare const ReferralCommissionValueSchema: GenMessage<ReferralCommissionValue>;
503
503
  /**
504
- * ReferralBreakdown shows how a referred Quick Swap's fee and the partner's
504
+ * ReferralBreakdown shows how a referred QuickSwap's fee and the partner's
505
505
  * commission were worked out. Rates are in basis points of what each leg
506
- * receives and are fixed when the Quick Swap is created; a two-leg route
506
+ * receives and are fixed when the QuickSwap is created; a two-leg route
507
507
  * shows the sum of both legs' rates. For example, on a one-leg route with a
508
508
  * 30 bps fee, a 3 bps discount and a 6 bps commission, the user pays 27 bps
509
509
  * and the partner earns 6 bps, 20% of the fee before the discount.
@@ -570,34 +570,34 @@ type ReferralBreakdown = Message<"swap.quickswap.v1.ReferralBreakdown"> & {
570
570
  */
571
571
  declare const ReferralBreakdownSchema: GenMessage<ReferralBreakdown>;
572
572
  /**
573
- * ListReferredQuickSwapsRequest lists the Quick Swaps the caller referred.
573
+ * ListReferredQuickSwapsRequest lists the QuickSwaps the caller referred.
574
574
  *
575
575
  * @generated from message swap.quickswap.v1.ListReferredQuickSwapsRequest
576
576
  */
577
577
  type ListReferredQuickSwapsRequest = Message<"swap.quickswap.v1.ListReferredQuickSwapsRequest"> & {
578
578
  /**
579
- * Only Quick Swaps created at or after start_time, rounded down to the
579
+ * Only QuickSwaps created at or after start_time, rounded down to the
580
580
  * minute; unset for no lower bound.
581
581
  *
582
582
  * @generated from field: google.protobuf.Timestamp start_time = 1;
583
583
  */
584
584
  startTime?: Timestamp | undefined;
585
585
  /**
586
- * Only Quick Swaps created before end_time (exclusive), rounded up to the
587
- * minute; unset for no upper bound.
586
+ * Only QuickSwaps created before end_time (exclusive), rounded up to the
587
+ * minute; after start_time when both are set; unset for no upper bound.
588
588
  *
589
589
  * @generated from field: google.protobuf.Timestamp end_time = 2;
590
590
  */
591
591
  endTime?: Timestamp | undefined;
592
592
  /**
593
- * Only Quick Swaps in one of these statuses, at most 16; empty for every
593
+ * Only QuickSwaps in one of these statuses, at most 16; empty for every
594
594
  * status.
595
595
  *
596
596
  * @generated from field: repeated swap.quickswap.v1.QuickSwapStatus statuses = 3;
597
597
  */
598
598
  statuses: QuickSwapStatus[];
599
599
  /**
600
- * Maximum number of Quick Swaps to return; 0 means 100, at most 200.
600
+ * Maximum number of QuickSwaps to return; 0 means 100, at most 200.
601
601
  *
602
602
  * @generated from field: uint32 limit = 4;
603
603
  */
@@ -605,7 +605,7 @@ type ListReferredQuickSwapsRequest = Message<"swap.quickswap.v1.ListReferredQuic
605
605
  /**
606
606
  * Opaque keyset cursor from a previous next_page_token, exclusive, bound
607
607
  * to the caller's partner record, the filters and the list order. It
608
- * names only the swap_id of the previous page's last Quick Swap. Reuse it
608
+ * names only the swap_id of the previous page's last QuickSwap. Reuse it
609
609
  * with the same filters. Empty for the first page.
610
610
  *
611
611
  * @generated from field: string page_token = 5;
@@ -618,9 +618,9 @@ type ListReferredQuickSwapsRequest = Message<"swap.quickswap.v1.ListReferredQuic
618
618
  */
619
619
  declare const ListReferredQuickSwapsRequestSchema: GenMessage<ListReferredQuickSwapsRequest>;
620
620
  /**
621
- * ListReferredQuickSwapsResponse lists Quick Swaps newest minute first.
621
+ * ListReferredQuickSwapsResponse lists QuickSwaps newest minute first.
622
622
  * Within a minute the order is fixed but does not follow creation time.
623
- * Every Quick Swap whose creation was complete when the first page was read
623
+ * Every QuickSwap whose creation was complete when the first page was read
624
624
  * is listed exactly once. One whose creation completed later may be missing
625
625
  * from later pages, even if its created_at is earlier than theirs.
626
626
  *
@@ -628,7 +628,7 @@ declare const ListReferredQuickSwapsRequestSchema: GenMessage<ListReferredQuickS
628
628
  */
629
629
  type ListReferredQuickSwapsResponse = Message<"swap.quickswap.v1.ListReferredQuickSwapsResponse"> & {
630
630
  /**
631
- * The Quick Swaps.
631
+ * The QuickSwaps.
632
632
  *
633
633
  * @generated from field: repeated swap.quickswap.v1.ReferredQuickSwap quick_swaps = 1;
634
634
  */
@@ -646,7 +646,7 @@ type ListReferredQuickSwapsResponse = Message<"swap.quickswap.v1.ListReferredQui
646
646
  */
647
647
  declare const ListReferredQuickSwapsResponseSchema: GenMessage<ListReferredQuickSwapsResponse>;
648
648
  /**
649
- * GetReferredQuickSwapRequest reads one Quick Swap the caller referred.
649
+ * GetReferredQuickSwapRequest reads one QuickSwap the caller referred.
650
650
  *
651
651
  * @generated from message swap.quickswap.v1.GetReferredQuickSwapRequest
652
652
  */
@@ -664,14 +664,14 @@ type GetReferredQuickSwapRequest = Message<"swap.quickswap.v1.GetReferredQuickSw
664
664
  */
665
665
  declare const GetReferredQuickSwapRequestSchema: GenMessage<GetReferredQuickSwapRequest>;
666
666
  /**
667
- * GetReferredQuickSwapResponse returns the Quick Swap with its fee
667
+ * GetReferredQuickSwapResponse returns the QuickSwap with its fee
668
668
  * breakdown, in progress or done.
669
669
  *
670
670
  * @generated from message swap.quickswap.v1.GetReferredQuickSwapResponse
671
671
  */
672
672
  type GetReferredQuickSwapResponse = Message<"swap.quickswap.v1.GetReferredQuickSwapResponse"> & {
673
673
  /**
674
- * The Quick Swap.
674
+ * The QuickSwap.
675
675
  *
676
676
  * @generated from field: swap.quickswap.v1.ReferredQuickSwap quick_swap = 1;
677
677
  */
@@ -709,14 +709,14 @@ declare enum ReferralPartnerStatus {
709
709
  */
710
710
  PARTNER_PENDING = 1,
711
711
  /**
712
- * Approved: Quick Swaps made with the partner's code earn the commission.
712
+ * Approved: QuickSwaps made with the partner's code earn the commission.
713
713
  *
714
714
  * @generated from enum value: PARTNER_ACTIVE = 2;
715
715
  */
716
716
  PARTNER_ACTIVE = 2,
717
717
  /**
718
- * Disabled by Polyester: new Quick Swaps with the code earn nothing and the
719
- * code cannot be changed. Quick Swaps already created keep their terms.
718
+ * Disabled by Polyester: new QuickSwaps with the code earn nothing and the
719
+ * code cannot be changed. QuickSwaps already created keep their terms.
720
720
  *
721
721
  * @generated from enum value: PARTNER_DISABLED = 3;
722
722
  */
@@ -801,10 +801,10 @@ declare enum ReferralCommissionBasis {
801
801
  declare const ReferralCommissionBasisSchema: GenEnum<ReferralCommissionBasis>;
802
802
  /**
803
803
  * QuickSwapReferralService is a referral partner's own record, over
804
- * ConnectRPC. A referral partner shares a link with their code; Quick Swaps
805
- * made through it on Polyester's own Quick Swap app give the user a discount
804
+ * ConnectRPC. A referral partner shares a link with their code; QuickSwaps
805
+ * made through it on Polyester's own QuickSwap app give the user a discount
806
806
  * and pay the partner a commission, both out of the broker fee (see
807
- * ReferralProgram). Referrals never apply to Quick Swaps through other
807
+ * ReferralProgram). Referrals never apply to QuickSwaps through other
808
808
  * brokers or the API.
809
809
  *
810
810
  * Every RPC takes the caller's interactive session token and acts only on
@@ -814,11 +814,11 @@ declare const ReferralCommissionBasisSchema: GenEnum<ReferralCommissionBasis>;
814
814
  * EnrollReferralPartner.
815
815
  *
816
816
  * A partner's code can be changed while it is not disabled, up to 9 times.
817
- * The old code is retired and never given to anyone again; Quick Swaps
817
+ * The old code is retired and never given to anyone again; QuickSwaps
818
818
  * already referred keep their partner.
819
819
  *
820
- * A partner reads the Quick Swaps it referred with ListReferredQuickSwaps
821
- * and GetReferredQuickSwap, never another partner's or a Quick Swap without
820
+ * A partner reads the QuickSwaps it referred with ListReferredQuickSwaps
821
+ * and GetReferredQuickSwap, never another partner's or a QuickSwap without
822
822
  * its referral. They return no identity of the person who swapped and no
823
823
  * account, address, memo, transaction hash or flow ID; amounts are exact and
824
824
  * times are rounded down to the minute.
@@ -895,9 +895,10 @@ declare const QuickSwapReferralService: GenService<{
895
895
  output: typeof SetReferralCodeResponseSchema;
896
896
  };
897
897
  /**
898
- * ListReferredQuickSwaps lists the Quick Swaps the caller referred, newest
899
- * first, filtered by status and creation time, with their rates and the
900
- * commission credited so far.
898
+ * ListReferredQuickSwaps lists the QuickSwaps the caller referred.
899
+ *
900
+ * Newest first, filtered by status and creation time. Each QuickSwap
901
+ * carries its rates and the commission credited so far.
901
902
  *
902
903
  * Errors:
903
904
  * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.
@@ -912,13 +913,15 @@ declare const QuickSwapReferralService: GenService<{
912
913
  output: typeof ListReferredQuickSwapsResponseSchema;
913
914
  };
914
915
  /**
915
- * GetReferredQuickSwap returns one Quick Swap the caller referred, in
916
- * progress or done, with the breakdown of its fee and the commission:
917
- * rates, every credit and the commission's current US dollar value.
916
+ * GetReferredQuickSwap returns one QuickSwap the caller referred.
917
+ *
918
+ * The QuickSwap can be in progress or done. Its breakdown shows the fee
919
+ * and commission rates, every commission credit and the commission's
920
+ * current US dollar value.
918
921
  *
919
922
  * Errors:
920
- * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND, or SWAP_NOT_FOUND for a Quick
921
- * Swap the caller did not refer.
923
+ * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND, or SWAP_NOT_FOUND for a
924
+ * QuickSwap the caller did not refer.
922
925
  *
923
926
  * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.GetReferredQuickSwap
924
927
  */
@@ -1 +1 @@
1
- {"version":3,"file":"quickswap_referral_pb.d.ts","names":[],"sources":["../../../../../src/gen/swap/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BAA6B,QAAQ;;;;;;aAQtC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;;EAQA;;;;;cAMW,gCAAgC,QAAQ;;;;;;aAQzC;;;;;;EAMV;;;;;;;EAQA;;;;;cAMW,+BAA+B,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCvC,0BAA0B;;;;;;;;;;;;;EAarC;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;EAWjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;EAkBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;EAejB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;EAejB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -37,7 +37,7 @@ var quickswap_referral_pb_exports = /* @__PURE__ */ __exportAll({
37
37
  /**
38
38
  * Describes the file swap/quickswap/v1/quickswap_referral.proto.
39
39
  */
40
- const file_swap_quickswap_v1_quickswap_referral = /*@__PURE__*/ fileDesc("Cipzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXBfcmVmZXJyYWwucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIj0KDVJlZmVycmFsUmF0ZXMSFAoMZGlzY291bnRfYnBzGAEgASgNEhYKDmNvbW1pc3Npb25fYnBzGAIgASgNIq0BCg9SZWZlcnJhbFByb2dyYW0SMAoGbm9ybWFsGAEgASgLMiAuc3dhcC5xdWlja3N3YXAudjEuUmVmZXJyYWxSYXRlcxI0CgpzdGFibGVjb2luGAIgASgLMiAuc3dhcC5xdWlja3N3YXAudjEuUmVmZXJyYWxSYXRlcxIyCghicmlkZ2luZxgDIAEoCzIgLnN3YXAucXVpY2tzd2FwLnYxLlJlZmVycmFsUmF0ZXMiuwIKD1JlZmVycmFsUGFydG5lchISCgpwYXJ0bmVyX2lkGAEgASgGEhQKD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YXB2MWIGcHJvdG8z", [
41
41
  file_google_protobuf_timestamp,
42
42
  file_polyester_api_options,
43
43
  file_swap_quickswap_v1_quickswap
@@ -163,14 +163,14 @@ let ReferralPartnerStatus = /* @__PURE__ */ function(ReferralPartnerStatus) {
163
163
  */
164
164
  ReferralPartnerStatus[ReferralPartnerStatus["PARTNER_PENDING"] = 1] = "PARTNER_PENDING";
165
165
  /**
166
- * Approved: Quick Swaps made with the partner's code earn the commission.
166
+ * Approved: QuickSwaps made with the partner's code earn the commission.
167
167
  *
168
168
  * @generated from enum value: PARTNER_ACTIVE = 2;
169
169
  */
170
170
  ReferralPartnerStatus[ReferralPartnerStatus["PARTNER_ACTIVE"] = 2] = "PARTNER_ACTIVE";
171
171
  /**
172
- * Disabled by Polyester: new Quick Swaps with the code earn nothing and the
173
- * code cannot be changed. Quick Swaps already created keep their terms.
172
+ * Disabled by Polyester: new QuickSwaps with the code earn nothing and the
173
+ * code cannot be changed. QuickSwaps already created keep their terms.
174
174
  *
175
175
  * @generated from enum value: PARTNER_DISABLED = 3;
176
176
  */
@@ -258,10 +258,10 @@ let ReferralCommissionBasis = /* @__PURE__ */ function(ReferralCommissionBasis)
258
258
  const ReferralCommissionBasisSchema = /*@__PURE__*/ enumDesc(file_swap_quickswap_v1_quickswap_referral, 2);
259
259
  /**
260
260
  * QuickSwapReferralService is a referral partner's own record, over
261
- * ConnectRPC. A referral partner shares a link with their code; Quick Swaps
262
- * made through it on Polyester's own Quick Swap app give the user a discount
261
+ * ConnectRPC. A referral partner shares a link with their code; QuickSwaps
262
+ * made through it on Polyester's own QuickSwap app give the user a discount
263
263
  * and pay the partner a commission, both out of the broker fee (see
264
- * ReferralProgram). Referrals never apply to Quick Swaps through other
264
+ * ReferralProgram). Referrals never apply to QuickSwaps through other
265
265
  * brokers or the API.
266
266
  *
267
267
  * Every RPC takes the caller's interactive session token and acts only on
@@ -271,11 +271,11 @@ const ReferralCommissionBasisSchema = /*@__PURE__*/ enumDesc(file_swap_quickswap
271
271
  * EnrollReferralPartner.
272
272
  *
273
273
  * A partner's code can be changed while it is not disabled, up to 9 times.
274
- * The old code is retired and never given to anyone again; Quick Swaps
274
+ * The old code is retired and never given to anyone again; QuickSwaps
275
275
  * already referred keep their partner.
276
276
  *
277
- * A partner reads the Quick Swaps it referred with ListReferredQuickSwaps
278
- * and GetReferredQuickSwap, never another partner's or a Quick Swap without
277
+ * A partner reads the QuickSwaps it referred with ListReferredQuickSwaps
278
+ * and GetReferredQuickSwap, never another partner's or a QuickSwap without
279
279
  * its referral. They return no identity of the person who swapped and no
280
280
  * account, address, memo, transaction hash or flow ID; amounts are exact and
281
281
  * times are rounded down to the minute.
@@ -1 +1 @@
1
- {"version":3,"file":"quickswap_referral_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_referral_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_referral.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 { QuickSwapStatus, TokenAmount } from \"./quickswap_pb.js\";\nimport { file_swap_quickswap_v1_quickswap } from \"./quickswap_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap_referral.proto.\n */\nexport const file_swap_quickswap_v1_quickswap_referral: GenFile = /*@__PURE__*/\n fileDesc(\"Cipzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXBfcmVmZXJyYWwucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIj0KDVJlZ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mVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vc3dhcC9xdWlja3N3YXAvdjE7cXVpY2tzd2FwdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options, file_swap_quickswap_v1_quickswap]);\n\n/**\n * ReferralRates are the referral rates of one route category, in whole basis\n * points of the swapped amount. Both come out of the broker fee; a referral\n * never reduces the Polyester service fee.\n *\n * @generated from message swap.quickswap.v1.ReferralRates\n */\nexport type ReferralRates = Message<\"swap.quickswap.v1.ReferralRates\"> & {\n /**\n * Taken off the referred user's fee.\n *\n * @generated from field: uint32 discount_bps = 1;\n */\n discountBps: number;\n\n /**\n * Paid to the partner.\n *\n * @generated from field: uint32 commission_bps = 2;\n */\n commissionBps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralRates.\n * Use `create(ReferralRatesSchema)` to create a new message.\n */\nexport const ReferralRatesSchema: GenMessage<ReferralRates> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n/**\n * ReferralProgram is the referral rates of every route category. Polyester\n * can change them at any time; a change applies to Quick Swaps created after\n * it, and Quick Swaps already created keep their rates.\n *\n * @generated from message swap.quickswap.v1.ReferralProgram\n */\nexport type ReferralProgram = Message<\"swap.quickswap.v1.ReferralProgram\"> & {\n /**\n * Swaps between two assets, at least one of them not a stablecoin.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates normal = 1;\n */\n normal?: ReferralRates | undefined;\n\n /**\n * Swaps between two stablecoins.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates stablecoin = 2;\n */\n stablecoin?: ReferralRates | undefined;\n\n /**\n * Moves of one asset between networks.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates bridging = 3;\n */\n bridging?: ReferralRates | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralProgram.\n * Use `create(ReferralProgramSchema)` to create a new message.\n */\nexport const ReferralProgramSchema: GenMessage<ReferralProgram> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 1);\n\n/**\n * ReferralPartner is the caller's referral partner record.\n *\n * @generated from message swap.quickswap.v1.ReferralPartner\n */\nexport type ReferralPartner = Message<\"swap.quickswap.v1.ReferralPartner\"> & {\n /**\n * Public partner ID.\n *\n * @generated from field: fixed64 partner_id = 1;\n */\n partnerId: bigint;\n\n /**\n * Name shown for the partner.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n\n /**\n * Status.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartnerStatus status = 3;\n */\n status: ReferralPartnerStatus;\n\n /**\n * Public sub-account ID of the caller's sub-account credited with the\n * commissions. It never changes.\n *\n * @generated from field: fixed64 earnings_subaccount_id = 4;\n */\n earningsSubaccountId: bigint;\n\n /**\n * Current referral code, lower case.\n *\n * @generated from field: string code = 5;\n */\n code: string;\n\n /**\n * Path of the share link on Polyester's Quick Swap app: \"/r/\" followed by\n * the code.\n *\n * @generated from field: string link_path = 6;\n */\n linkPath: string;\n\n /**\n * Rates the partner earns on; unset while no referral program runs.\n *\n * @generated from field: swap.quickswap.v1.ReferralProgram program = 7;\n */\n program?: ReferralProgram | undefined;\n\n /**\n * When the partner enrolled.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 8;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Code changes left. A partner holds at most 10 codes over its lifetime,\n * the one it enrolled with included, because a retired code is never given\n * to anyone again; at 0, SetReferralCode refuses a new code with\n * REFERRAL_CODE_LIMIT.\n *\n * @generated from field: uint32 code_changes_remaining = 9;\n */\n codeChangesRemaining: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralPartner.\n * Use `create(ReferralPartnerSchema)` to create a new message.\n */\nexport const ReferralPartnerSchema: GenMessage<ReferralPartner> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 2);\n\n/**\n * EnrollReferralPartnerRequest applies to become a referral partner.\n *\n * @generated from message swap.quickswap.v1.EnrollReferralPartnerRequest\n */\nexport type EnrollReferralPartnerRequest = Message<\"swap.quickswap.v1.EnrollReferralPartnerRequest\"> & {\n /**\n * Public sub-account ID of an active sub-account the caller owns, to be\n * credited with the commissions. It cannot be changed later or be used by\n * another partner.\n *\n * @generated from field: fixed64 earnings_subaccount_id = 1;\n */\n earningsSubaccountId: bigint;\n\n /**\n * Name shown for the partner, 1 to 64 characters without leading or\n * trailing spaces.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.EnrollReferralPartnerRequest.\n * Use `create(EnrollReferralPartnerRequestSchema)` to create a new message.\n */\nexport const EnrollReferralPartnerRequestSchema: GenMessage<EnrollReferralPartnerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 3);\n\n/**\n * EnrollReferralPartnerResponse returns the new partner, pending review, with\n * a random 8-character code.\n *\n * @generated from message swap.quickswap.v1.EnrollReferralPartnerResponse\n */\nexport type EnrollReferralPartnerResponse = Message<\"swap.quickswap.v1.EnrollReferralPartnerResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.EnrollReferralPartnerResponse.\n * Use `create(EnrollReferralPartnerResponseSchema)` to create a new message.\n */\nexport const EnrollReferralPartnerResponseSchema: GenMessage<EnrollReferralPartnerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 4);\n\n/**\n * GetReferralPartnerRequest reads the caller's partner record.\n *\n * @generated from message swap.quickswap.v1.GetReferralPartnerRequest\n */\nexport type GetReferralPartnerRequest = Message<\"swap.quickswap.v1.GetReferralPartnerRequest\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferralPartnerRequest.\n * Use `create(GetReferralPartnerRequestSchema)` to create a new message.\n */\nexport const GetReferralPartnerRequestSchema: GenMessage<GetReferralPartnerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 5);\n\n/**\n * GetReferralPartnerResponse returns the caller's partner record.\n *\n * @generated from message swap.quickswap.v1.GetReferralPartnerResponse\n */\nexport type GetReferralPartnerResponse = Message<\"swap.quickswap.v1.GetReferralPartnerResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferralPartnerResponse.\n * Use `create(GetReferralPartnerResponseSchema)` to create a new message.\n */\nexport const GetReferralPartnerResponseSchema: GenMessage<GetReferralPartnerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 6);\n\n/**\n * CheckReferralCodeRequest asks whether the caller may take a code.\n *\n * @generated from message swap.quickswap.v1.CheckReferralCodeRequest\n */\nexport type CheckReferralCodeRequest = Message<\"swap.quickswap.v1.CheckReferralCodeRequest\"> & {\n /**\n * The code; letters are compared case-insensitively.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CheckReferralCodeRequest.\n * Use `create(CheckReferralCodeRequestSchema)` to create a new message.\n */\nexport const CheckReferralCodeRequestSchema: GenMessage<CheckReferralCodeRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 7);\n\n/**\n * CheckReferralCodeResponse answers for the code. The answer can change\n * before SetReferralCode if another partner takes the code first.\n *\n * @generated from message swap.quickswap.v1.CheckReferralCodeResponse\n */\nexport type CheckReferralCodeResponse = Message<\"swap.quickswap.v1.CheckReferralCodeResponse\"> & {\n /**\n * The code in lower case; empty when it is CODE_INVALID.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n\n /**\n * Whether the caller may take it.\n *\n * @generated from field: swap.quickswap.v1.ReferralCodeAvailability availability = 2;\n */\n availability: ReferralCodeAvailability;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CheckReferralCodeResponse.\n * Use `create(CheckReferralCodeResponseSchema)` to create a new message.\n */\nexport const CheckReferralCodeResponseSchema: GenMessage<CheckReferralCodeResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 8);\n\n/**\n * SetReferralCodeRequest replaces the caller's referral code.\n *\n * @generated from message swap.quickswap.v1.SetReferralCodeRequest\n */\nexport type SetReferralCodeRequest = Message<\"swap.quickswap.v1.SetReferralCodeRequest\"> & {\n /**\n * New code: 4 to 16 letters, digits and hyphens, starting and ending with\n * a letter or digit, without two hyphens in a row. Letters are stored in\n * lower case.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetReferralCodeRequest.\n * Use `create(SetReferralCodeRequestSchema)` to create a new message.\n */\nexport const SetReferralCodeRequestSchema: GenMessage<SetReferralCodeRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 9);\n\n/**\n * SetReferralCodeResponse returns the partner with its new code.\n *\n * @generated from message swap.quickswap.v1.SetReferralCodeResponse\n */\nexport type SetReferralCodeResponse = Message<\"swap.quickswap.v1.SetReferralCodeResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetReferralCodeResponse.\n * Use `create(SetReferralCodeResponseSchema)` to create a new message.\n */\nexport const SetReferralCodeResponseSchema: GenMessage<SetReferralCodeResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 10);\n\n/**\n * ReferralCommission is the commission credited to the partner in one asset.\n *\n * @generated from message swap.quickswap.v1.ReferralCommission\n */\nexport type ReferralCommission = Message<\"swap.quickswap.v1.ReferralCommission\"> & {\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 = 1;\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 = 2;\n */\n amount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCommission.\n * Use `create(ReferralCommissionSchema)` to create a new message.\n */\nexport const ReferralCommissionSchema: GenMessage<ReferralCommission> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 11);\n\n/**\n * ReferralCredit is one commission credit of a Quick Swap: a settled trade\n * of one of its legs, or its bridge payout.\n *\n * @generated from message swap.quickswap.v1.ReferralCredit\n */\nexport type ReferralCredit = Message<\"swap.quickswap.v1.ReferralCredit\"> & {\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 = 1;\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 = 2;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * When the commission was credited, rounded down to the minute.\n *\n * @generated from field: google.protobuf.Timestamp accrued_at = 3;\n */\n accruedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCredit.\n * Use `create(ReferralCreditSchema)` to create a new message.\n */\nexport const ReferralCreditSchema: GenMessage<ReferralCredit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 12);\n\n/**\n * ReferredQuickSwap is a Quick Swap the caller referred, as its referral\n * partner sees it. It carries no identity of the person who swapped and no\n * account, address, memo, transaction hash or flow ID. Amounts are exact;\n * every time is rounded down to the minute.\n *\n * @generated from message swap.quickswap.v1.ReferredQuickSwap\n */\nexport type ReferredQuickSwap = Message<\"swap.quickswap.v1.ReferredQuickSwap\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * Current status. Accept status values added later; is_terminal is\n * authoritative.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 2;\n */\n status: QuickSwapStatus;\n\n /**\n * True when status is terminal; a terminal status never changes.\n *\n * @generated from field: bool is_terminal = 3;\n */\n isTerminal: boolean;\n\n /**\n * When the Quick Swap was created, rounded down to the minute.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When status became terminal, rounded down to the minute; unset while\n * not terminal.\n *\n * @generated from field: google.protobuf.Timestamp terminal_at = 5;\n */\n terminalAt?: Timestamp | undefined;\n\n /**\n * Source asset and network, as an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 source_zipped_asset_id = 6;\n */\n sourceZippedAssetId: number;\n\n /**\n * Destination asset and network, as an AssetChainVariant.zipped_asset_id\n * from GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 destination_zipped_asset_id = 7;\n */\n destinationZippedAssetId: number;\n\n /**\n * Source amount quoted at creation, in source token units; an estimate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount quoted_source_amount = 8;\n */\n quotedSourceAmount?: TokenAmount | undefined;\n\n /**\n * Destination amount expected at creation, in destination token units; an\n * estimate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount quoted_destination_amount = 9;\n */\n quotedDestinationAmount?: TokenAmount | undefined;\n\n /**\n * Source amount received, in source token units; unset until a deposit is\n * detected.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount source_amount = 10;\n */\n sourceAmount?: TokenAmount | undefined;\n\n /**\n * Destination amount delivered, in destination token units; unset until a\n * destination payout completes.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount destination_amount = 11;\n */\n destinationAmount?: TokenAmount | undefined;\n\n /**\n * Fee rate the user would pay without the referral, in basis points: the\n * Polyester service fee plus the broker fee before the discount. Each\n * trading leg is charged its rate on what that leg receives, so a two-leg\n * route shows the sum of both legs' rates; a bridge has one rate. Fixed\n * at creation.\n *\n * @generated from field: uint32 base_fee_bps = 12;\n */\n baseFeeBps: number;\n\n /**\n * Fee rate the user pays, in basis points: base_fee_bps less the\n * referral discount. Fixed at creation.\n *\n * @generated from field: uint32 charged_fee_bps = 13;\n */\n chargedFeeBps: number;\n\n /**\n * Commission rate credited to the partner, in basis points, summed over\n * legs as base_fee_bps is. Fixed at creation.\n *\n * @generated from field: uint32 commission_bps = 14;\n */\n commissionBps: number;\n\n /**\n * Commission credited so far, one entry per asset in asset_id order. Grows\n * while the Quick Swap executes or pays out a bridge; empty until the\n * first credit. Each credit is commission_bps applied to what its leg\n * actually received, so it can differ from an estimate.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferralCommission commission = 15;\n */\n commission: ReferralCommission[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferredQuickSwap.\n * Use `create(ReferredQuickSwapSchema)` to create a new message.\n */\nexport const ReferredQuickSwapSchema: GenMessage<ReferredQuickSwap> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 13);\n\n/**\n * ReferralCommissionValue is the US dollar value of a Quick Swap's commission\n * at a current price.\n *\n * @generated from message swap.quickswap.v1.ReferralCommissionValue\n */\nexport type ReferralCommissionValue = Message<\"swap.quickswap.v1.ReferralCommissionValue\"> & {\n /**\n * Value of every credited commission at the current price of its asset,\n * in USD, encoded as a non-negative base-10 decimal string without\n * separators or a currency symbol, rounded down to 6 decimal places. It is\n * the value now, not the value when the commission was credited.\n *\n * @generated from field: string usd = 1;\n */\n usd: string;\n\n /**\n * Time of the oldest price used.\n *\n * @generated from field: google.protobuf.Timestamp as_of = 2;\n */\n asOf?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCommissionValue.\n * Use `create(ReferralCommissionValueSchema)` to create a new message.\n */\nexport const ReferralCommissionValueSchema: GenMessage<ReferralCommissionValue> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 14);\n\n/**\n * ReferralBreakdown shows how a referred Quick Swap's fee and the partner's\n * commission were worked out. Rates are in basis points of what each leg\n * receives and are fixed when the Quick Swap is created; a two-leg route\n * shows the sum of both legs' rates. For example, on a one-leg route with a\n * 30 bps fee, a 3 bps discount and a 6 bps commission, the user pays 27 bps\n * and the partner earns 6 bps, 20% of the fee before the discount.\n *\n * @generated from message swap.quickswap.v1.ReferralBreakdown\n */\nexport type ReferralBreakdown = Message<\"swap.quickswap.v1.ReferralBreakdown\"> & {\n /**\n * Fee rate without the referral: the Polyester service fee plus the\n * broker fee before the discount.\n *\n * @generated from field: uint32 base_fee_bps = 1;\n */\n baseFeeBps: number;\n\n /**\n * Fee rate the user pays: base_fee_bps less discount_bps.\n *\n * @generated from field: uint32 charged_fee_bps = 2;\n */\n chargedFeeBps: number;\n\n /**\n * Discount off the user's fee.\n *\n * @generated from field: uint32 discount_bps = 3;\n */\n discountBps: number;\n\n /**\n * Commission credited to the partner.\n *\n * @generated from field: uint32 commission_bps = 4;\n */\n commissionBps: number;\n\n /**\n * What the commission is a share of: always PRE_DISCOUNT_FEE.\n *\n * @generated from field: swap.quickswap.v1.ReferralCommissionBasis basis = 5;\n */\n basis: ReferralCommissionBasis;\n\n /**\n * Commission credits, oldest first, at most 100. Their sum per asset is\n * ReferredQuickSwap.commission.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferralCredit credited = 6;\n */\n credited: ReferralCredit[];\n\n /**\n * True when more than 100 credits exist; only the first 100 are listed.\n *\n * @generated from field: bool credited_truncated = 7;\n */\n creditedTruncated: boolean;\n\n /**\n * Value of the commission credited so far in US dollars at the current\n * price. Unset when nothing is credited yet or when a credited asset has\n * no current price; the amounts are still returned.\n *\n * @generated from field: swap.quickswap.v1.ReferralCommissionValue commission_value = 8;\n */\n commissionValue?: ReferralCommissionValue | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralBreakdown.\n * Use `create(ReferralBreakdownSchema)` to create a new message.\n */\nexport const ReferralBreakdownSchema: GenMessage<ReferralBreakdown> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 15);\n\n/**\n * ListReferredQuickSwapsRequest lists the Quick Swaps the caller referred.\n *\n * @generated from message swap.quickswap.v1.ListReferredQuickSwapsRequest\n */\nexport type ListReferredQuickSwapsRequest = Message<\"swap.quickswap.v1.ListReferredQuickSwapsRequest\"> & {\n /**\n * Only Quick Swaps created at or after start_time, rounded down to the\n * minute; unset for no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Only Quick Swaps created before end_time (exclusive), rounded up to the\n * minute; unset for no upper bound.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Only Quick Swaps in one of these statuses, at most 16; empty for every\n * status.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapStatus statuses = 3;\n */\n statuses: QuickSwapStatus[];\n\n /**\n * Maximum number of Quick Swaps to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 4;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound\n * to the caller's partner record, the filters and the list order. It\n * names only the swap_id of the previous page's last Quick Swap. Reuse it\n * with the same filters. Empty for the first page.\n *\n * @generated from field: string page_token = 5;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListReferredQuickSwapsRequest.\n * Use `create(ListReferredQuickSwapsRequestSchema)` to create a new message.\n */\nexport const ListReferredQuickSwapsRequestSchema: GenMessage<ListReferredQuickSwapsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 16);\n\n/**\n * ListReferredQuickSwapsResponse lists Quick Swaps newest minute first.\n * Within a minute the order is fixed but does not follow creation time.\n * Every Quick Swap whose creation was complete when the first page was read\n * is listed exactly once. One whose creation completed later may be missing\n * from later pages, even if its created_at is earlier than theirs.\n *\n * @generated from message swap.quickswap.v1.ListReferredQuickSwapsResponse\n */\nexport type ListReferredQuickSwapsResponse = Message<\"swap.quickswap.v1.ListReferredQuickSwapsResponse\"> & {\n /**\n * The Quick Swaps.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferredQuickSwap quick_swaps = 1;\n */\n quickSwaps: ReferredQuickSwap[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListReferredQuickSwapsResponse.\n * Use `create(ListReferredQuickSwapsResponseSchema)` to create a new message.\n */\nexport const ListReferredQuickSwapsResponseSchema: GenMessage<ListReferredQuickSwapsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 17);\n\n/**\n * GetReferredQuickSwapRequest reads one Quick Swap the caller referred.\n *\n * @generated from message swap.quickswap.v1.GetReferredQuickSwapRequest\n */\nexport type GetReferredQuickSwapRequest = Message<\"swap.quickswap.v1.GetReferredQuickSwapRequest\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferredQuickSwapRequest.\n * Use `create(GetReferredQuickSwapRequestSchema)` to create a new message.\n */\nexport const GetReferredQuickSwapRequestSchema: GenMessage<GetReferredQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 18);\n\n/**\n * GetReferredQuickSwapResponse returns the Quick Swap with its fee\n * breakdown, in progress or done.\n *\n * @generated from message swap.quickswap.v1.GetReferredQuickSwapResponse\n */\nexport type GetReferredQuickSwapResponse = Message<\"swap.quickswap.v1.GetReferredQuickSwapResponse\"> & {\n /**\n * The Quick Swap.\n *\n * @generated from field: swap.quickswap.v1.ReferredQuickSwap quick_swap = 1;\n */\n quickSwap?: ReferredQuickSwap | undefined;\n\n /**\n * How its fee and the partner's commission were worked out.\n *\n * @generated from field: swap.quickswap.v1.ReferralBreakdown breakdown = 2;\n */\n breakdown?: ReferralBreakdown | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferredQuickSwapResponse.\n * Use `create(GetReferredQuickSwapResponseSchema)` to create a new message.\n */\nexport const GetReferredQuickSwapResponseSchema: GenMessage<GetReferredQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 19);\n\n/**\n * ReferralPartnerStatus is where a referral partner stands. Partners are\n * invite-only: Polyester reviews every enrollment.\n *\n * @generated from enum swap.quickswap.v1.ReferralPartnerStatus\n */\nexport enum ReferralPartnerStatus {\n /**\n * No status; never returned.\n *\n * @generated from enum value: PARTNER_STATUS_UNSPECIFIED = 0;\n */\n PARTNER_STATUS_UNSPECIFIED = 0,\n\n /**\n * Enrolled and waiting for Polyester's review. The code is reserved for the\n * partner but earns nothing yet.\n *\n * @generated from enum value: PARTNER_PENDING = 1;\n */\n PARTNER_PENDING = 1,\n\n /**\n * Approved: Quick Swaps made with the partner's code earn the commission.\n *\n * @generated from enum value: PARTNER_ACTIVE = 2;\n */\n PARTNER_ACTIVE = 2,\n\n /**\n * Disabled by Polyester: new Quick Swaps with the code earn nothing and the\n * code cannot be changed. Quick Swaps already created keep their terms.\n *\n * @generated from enum value: PARTNER_DISABLED = 3;\n */\n PARTNER_DISABLED = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralPartnerStatus.\n */\nexport const ReferralPartnerStatusSchema: GenEnum<ReferralPartnerStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n/**\n * ReferralCodeAvailability says whether the caller may take a referral code.\n *\n * @generated from enum swap.quickswap.v1.ReferralCodeAvailability\n */\nexport enum ReferralCodeAvailability {\n /**\n * No answer; never returned.\n *\n * @generated from enum value: CODE_AVAILABILITY_UNSPECIFIED = 0;\n */\n CODE_AVAILABILITY_UNSPECIFIED = 0,\n\n /**\n * Free: SetReferralCode would make it the caller's code.\n *\n * @generated from enum value: CODE_AVAILABLE = 1;\n */\n CODE_AVAILABLE = 1,\n\n /**\n * Already the caller's current code.\n *\n * @generated from enum value: CODE_CURRENT = 2;\n */\n CODE_CURRENT = 2,\n\n /**\n * Another partner's current code.\n *\n * @generated from enum value: CODE_TAKEN = 3;\n */\n CODE_TAKEN = 3,\n\n /**\n * Reserved: a brand or broker name, or a code a partner used before.\n * Codes are never reused.\n *\n * @generated from enum value: CODE_RESERVED = 4;\n */\n CODE_RESERVED = 4,\n\n /**\n * Not a valid code: 4 to 16 letters, digits and hyphens, starting and\n * ending with a letter or digit, without two hyphens in a row.\n *\n * @generated from enum value: CODE_INVALID = 5;\n */\n CODE_INVALID = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralCodeAvailability.\n */\nexport const ReferralCodeAvailabilitySchema: GenEnum<ReferralCodeAvailability> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 1);\n\n/**\n * ReferralCommissionBasis is what a referral commission is a share of.\n *\n * @generated from enum swap.quickswap.v1.ReferralCommissionBasis\n */\nexport enum ReferralCommissionBasis {\n /**\n * No basis; never returned.\n *\n * @generated from enum value: COMMISSION_BASIS_UNSPECIFIED = 0;\n */\n COMMISSION_BASIS_UNSPECIFIED = 0,\n\n /**\n * The fee before the referred user's discount: commission_bps out of\n * base_fee_bps, not out of the discounted charged_fee_bps.\n *\n * @generated from enum value: PRE_DISCOUNT_FEE = 1;\n */\n PRE_DISCOUNT_FEE = 1,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralCommissionBasis.\n */\nexport const ReferralCommissionBasisSchema: GenEnum<ReferralCommissionBasis> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 2);\n\n/**\n * QuickSwapReferralService is a referral partner's own record, over\n * ConnectRPC. A referral partner shares a link with their code; Quick Swaps\n * made through it on Polyester's own Quick Swap app give the user a discount\n * and pay the partner a commission, both out of the broker fee (see\n * ReferralProgram). Referrals never apply to Quick Swaps through other\n * brokers or the API.\n *\n * Every RPC takes the caller's interactive session token and acts only on\n * the caller's own partner record; a broker API key is refused with\n * PERMISSION_DENIED / ACTION_DENIED. A person who has not enrolled gets\n * NOT_FOUND / REFERRAL_PARTNER_NOT_FOUND from every RPC but\n * EnrollReferralPartner.\n *\n * A partner's code can be changed while it is not disabled, up to 9 times.\n * The old code is retired and never given to anyone again; Quick Swaps\n * already referred keep their partner.\n *\n * A partner reads the Quick Swaps it referred with ListReferredQuickSwaps\n * and GetReferredQuickSwap, never another partner's or a Quick Swap without\n * its referral. They return no identity of the person who swapped and no\n * account, address, memo, transaction hash or flow ID; amounts are exact and\n * times are rounded down to the minute.\n *\n * Every RPC is rate limited per account: over the limit it fails with\n * RESOURCE_EXHAUSTED, a RateLimitDetail and a Retry-After header.\n *\n * @generated from service swap.quickswap.v1.QuickSwapReferralService\n */\nexport const QuickSwapReferralService: GenService<{\n /**\n * EnrollReferralPartner applies to become a referral partner. The partner\n * starts pending until Polyester approves it, with a random 8-character\n * code that can be changed. Repeating the request returns the same\n * partner.\n *\n * Errors:\n * - FAILED_PRECONDITION: EARNINGS_ACCOUNT_INVALID.\n * - ALREADY_EXISTS: REFERRAL_PARTNER_EXISTS.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.EnrollReferralPartner\n */\n enrollReferralPartner: {\n methodKind: \"unary\";\n input: typeof EnrollReferralPartnerRequestSchema;\n output: typeof EnrollReferralPartnerResponseSchema;\n },\n /**\n * GetReferralPartner returns the caller's partner record: status, rates,\n * code and share link.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.GetReferralPartner\n */\n getReferralPartner: {\n methodKind: \"unary\";\n input: typeof GetReferralPartnerRequestSchema;\n output: typeof GetReferralPartnerResponseSchema;\n },\n /**\n * CheckReferralCode says whether the caller may take a referral code.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.CheckReferralCode\n */\n checkReferralCode: {\n methodKind: \"unary\";\n input: typeof CheckReferralCodeRequestSchema;\n output: typeof CheckReferralCodeResponseSchema;\n },\n /**\n * SetReferralCode replaces the caller's referral code. The old code is\n * retired for good, so a partner can change its code at most 9 times (see\n * ReferralPartner.code_changes_remaining). Setting the current code again\n * changes nothing.\n *\n * Errors:\n * - INVALID_ARGUMENT: REFERRAL_CODE_INVALID.\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n * - ALREADY_EXISTS: REFERRAL_CODE_TAKEN.\n * - FAILED_PRECONDITION: REFERRAL_CODE_RESERVED, REFERRAL_CODE_LIMIT or\n * REFERRAL_PARTNER_DISABLED.\n * - RESOURCE_EXHAUSTED: the caller's rate limit; retry after Retry-After.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.SetReferralCode\n */\n setReferralCode: {\n methodKind: \"unary\";\n input: typeof SetReferralCodeRequestSchema;\n output: typeof SetReferralCodeResponseSchema;\n },\n /**\n * ListReferredQuickSwaps lists the Quick Swaps the caller referred, newest\n * first, filtered by status and creation time, with their rates and the\n * commission credited so far.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another partner, other filters or\n * malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.ListReferredQuickSwaps\n */\n listReferredQuickSwaps: {\n methodKind: \"unary\";\n input: typeof ListReferredQuickSwapsRequestSchema;\n output: typeof ListReferredQuickSwapsResponseSchema;\n },\n /**\n * GetReferredQuickSwap returns one Quick Swap the caller referred, in\n * progress or done, with the breakdown of its fee and the commission:\n * rates, every credit and the commission's current US dollar value.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND, or SWAP_NOT_FOUND for a Quick\n * Swap the caller did not refer.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.GetReferredQuickSwap\n */\n getReferredQuickSwap: {\n methodKind: \"unary\";\n input: typeof GetReferredQuickSwapRequestSchema;\n output: typeof GetReferredQuickSwapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,4CACX,uBAAS,g+KAAg+K;CAAC;CAAgC;CAA4B;AAAgC,CAAC;;;;;AA6BzkL,MAAa,sBACX,0BAAY,2CAA2C,CAAC;;;;;AAoC1D,MAAa,wBACX,0BAAY,2CAA2C,CAAC;;;;;AAiF1D,MAAa,wBACX,0BAAY,2CAA2C,CAAC;;;;;AA8B1D,MAAa,qCACX,0BAAY,2CAA2C,CAAC;;;;;AAqB1D,MAAa,sCACX,0BAAY,2CAA2C,CAAC;;;;;AAc1D,MAAa,kCACX,0BAAY,2CAA2C,CAAC;;;;;AAoB1D,MAAa,mCACX,0BAAY,2CAA2C,CAAC;;;;;AAoB1D,MAAa,iCACX,0BAAY,2CAA2C,CAAC;;;;;AA4B1D,MAAa,kCACX,0BAAY,2CAA2C,CAAC;;;;;AAsB1D,MAAa,+BACX,0BAAY,2CAA2C,CAAC;;;;;AAoB1D,MAAa,gCACX,0BAAY,2CAA2C,EAAE;;;;;AA4B3D,MAAa,2BACX,0BAAY,2CAA2C,EAAE;;;;;AAoC3D,MAAa,uBACX,0BAAY,2CAA2C,EAAE;;;;;AAyI3D,MAAa,0BACX,0BAAY,2CAA2C,EAAE;;;;;AA+B3D,MAAa,gCACX,0BAAY,2CAA2C,EAAE;;;;;AA8E3D,MAAa,0BACX,0BAAY,2CAA2C,EAAE;;;;;AAsD3D,MAAa,sCACX,0BAAY,2CAA2C,EAAE;;;;;AA+B3D,MAAa,uCACX,0BAAY,2CAA2C,EAAE;;;;;AAoB3D,MAAa,oCACX,0BAAY,2CAA2C,EAAE;;;;;AA4B3D,MAAa,qCACX,0BAAY,2CAA2C,EAAE;;;;;;;AAQ3D,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,gCAAA,KAAA;;;;;;;CAQA,sBAAA,sBAAA,qBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,oBAAA,KAAA;;;;;;;CAQA,sBAAA,sBAAA,sBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,2CAA2C,CAAC;;;;;;AAOvD,IAAY,2BAAL,yBAAA,0BAAA;;;;;;CAML,yBAAA,yBAAA,mCAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,oBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,kBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,gBAAA,KAAA;;;;;;;CAQA,yBAAA,yBAAA,mBAAA,KAAA;;;;;;;CAQA,yBAAA,yBAAA,kBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,iCACX,uBAAS,2CAA2C,CAAC;;;;;;AAOvD,IAAY,0BAAL,yBAAA,yBAAA;;;;;;CAML,wBAAA,wBAAA,kCAAA,KAAA;;;;;;;CAQA,wBAAA,wBAAA,sBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,gCACX,uBAAS,2CAA2C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BvD,MAAa,2BAoGX,0BAAY,2CAA2C,CAAC"}
1
+ {"version":3,"file":"quickswap_referral_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_referral_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_referral.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 { QuickSwapStatus, TokenAmount } from \"./quickswap_pb.js\";\nimport { file_swap_quickswap_v1_quickswap } from \"./quickswap_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap_referral.proto.\n */\nexport const file_swap_quickswap_v1_quickswap_referral: GenFile = /*@__PURE__*/\n fileDesc(\"Cipzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXBfcmVmZXJyYWwucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIj0KDVJlZmVycmFsUmF0ZXMSFAoMZGlzY291bnRfYnBzGAEgASgNEhYKDmNvbW1pc3Npb25fYnBzGAIgASgNIq0BCg9SZWZlcnJhbFByb2dyYW0SMAoGbm9ybWFsGAEgASgLMiAuc3dhcC5xdWlja3N3YXAudjEuUmVmZXJyYWxSYXRlcxI0CgpzdGFibGVjb2luGAIgASgLMiAuc3dhcC5xdWlja3N3YXAudjEuUmVmZXJyYWxSYXRlcxIyCghicmlkZ2luZxgDIAEoCzIgLnN3YXAucXVpY2tzd2FwLnYxLlJlZmVycmFsUmF0ZXMiuwIKD1JlZmVycmFsUGFydG5lchISCgpwYXJ0bmVyX2lkGAEgASgGEhQKDGRpc3BsYXlfbmFtZRgCIAEoCRI4CgZzdGF0dXMYAyABKA4yKC5zd2FwLnF1aWNrc3dhcC52MS5SZWZlcnJhbFBhcnRuZXJTdGF0dXMSHgoWZWFybmluZ3Nfc3ViYWNjb3VudF9pZBgEIAEoBhIMCgRjb2RlGAUgASgJEhEKCWxpbmtfcGF0aBgGIAEoCRIzCgdwcm9ncmFtGAcgASgLMiIuc3dhcC5xdWlja3N3YXAudjEuUmVmZXJyYWxQcm9ncmFtEi4KCmNyZWF0ZWRfYXQYCCABKAsyGi5nb29nbGUucHJvdG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LnF1aWNrc3dhcC52MS5TZXRSZWZlcnJhbENvZGVSZXNwb25zZSIAEn8KFkxpc3RSZWZlcnJlZFF1aWNrU3dhcHMSMC5zd2FwLnF1aWNrc3dhcC52MS5MaXN0UmVmZXJyZWRRdWlja1N3YXBzUmVxdWVzdBoxLnN3YXAucXVpY2tzd2FwLnYxLkxpc3RSZWZlcnJlZFF1aWNrU3dhcHNSZXNwb25zZSIAEnkKFEdldFJlZmVycmVkUXVpY2tTd2FwEi4uc3dhcC5xdWlja3N3YXAudjEuR2V0UmVmZXJyZWRRdWlja1N3YXBSZXF1ZXN0Gi8uc3dhcC5xdWlja3N3YXAudjEuR2V0UmVmZXJyZWRRdWlja1N3YXBSZXNwb25zZSIAGgBCS1pJZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9zd2FwL3F1aWNrc3dhcC92MTtxdWlja3N3YXB2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_swap_quickswap_v1_quickswap]);\n\n/**\n * ReferralRates are the referral rates of one route category, in whole basis\n * points of the swapped amount. Both come out of the broker fee; a referral\n * never reduces the Polyester service fee.\n *\n * @generated from message swap.quickswap.v1.ReferralRates\n */\nexport type ReferralRates = Message<\"swap.quickswap.v1.ReferralRates\"> & {\n /**\n * Taken off the referred user's fee.\n *\n * @generated from field: uint32 discount_bps = 1;\n */\n discountBps: number;\n\n /**\n * Paid to the partner.\n *\n * @generated from field: uint32 commission_bps = 2;\n */\n commissionBps: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralRates.\n * Use `create(ReferralRatesSchema)` to create a new message.\n */\nexport const ReferralRatesSchema: GenMessage<ReferralRates> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n/**\n * ReferralProgram is the referral rates of every route category. Polyester\n * can change them at any time; a change applies to QuickSwaps created after\n * it, and QuickSwaps already created keep their rates.\n *\n * @generated from message swap.quickswap.v1.ReferralProgram\n */\nexport type ReferralProgram = Message<\"swap.quickswap.v1.ReferralProgram\"> & {\n /**\n * Swaps between two assets, at least one of them not a stablecoin.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates normal = 1;\n */\n normal?: ReferralRates | undefined;\n\n /**\n * Swaps between two stablecoins.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates stablecoin = 2;\n */\n stablecoin?: ReferralRates | undefined;\n\n /**\n * Moves of one asset between networks.\n *\n * @generated from field: swap.quickswap.v1.ReferralRates bridging = 3;\n */\n bridging?: ReferralRates | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralProgram.\n * Use `create(ReferralProgramSchema)` to create a new message.\n */\nexport const ReferralProgramSchema: GenMessage<ReferralProgram> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 1);\n\n/**\n * ReferralPartner is the caller's referral partner record.\n *\n * @generated from message swap.quickswap.v1.ReferralPartner\n */\nexport type ReferralPartner = Message<\"swap.quickswap.v1.ReferralPartner\"> & {\n /**\n * Public partner ID.\n *\n * @generated from field: fixed64 partner_id = 1;\n */\n partnerId: bigint;\n\n /**\n * Name shown for the partner.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n\n /**\n * Status.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartnerStatus status = 3;\n */\n status: ReferralPartnerStatus;\n\n /**\n * Public sub-account ID of the caller's sub-account credited with the\n * commissions. It never changes.\n *\n * @generated from field: fixed64 earnings_subaccount_id = 4;\n */\n earningsSubaccountId: bigint;\n\n /**\n * Current referral code, lower case.\n *\n * @generated from field: string code = 5;\n */\n code: string;\n\n /**\n * Path of the share link on Polyester's QuickSwap app: \"/r/\" followed by\n * the code.\n *\n * @generated from field: string link_path = 6;\n */\n linkPath: string;\n\n /**\n * Rates the partner earns on; unset while no referral program runs.\n *\n * @generated from field: swap.quickswap.v1.ReferralProgram program = 7;\n */\n program?: ReferralProgram | undefined;\n\n /**\n * When the partner enrolled.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 8;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Code changes left. A partner holds at most 10 codes over its lifetime,\n * the one it enrolled with included, because a retired code is never given\n * to anyone again; at 0, SetReferralCode refuses a new code with\n * REFERRAL_CODE_LIMIT.\n *\n * @generated from field: uint32 code_changes_remaining = 9;\n */\n codeChangesRemaining: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralPartner.\n * Use `create(ReferralPartnerSchema)` to create a new message.\n */\nexport const ReferralPartnerSchema: GenMessage<ReferralPartner> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 2);\n\n/**\n * EnrollReferralPartnerRequest applies to become a referral partner.\n *\n * @generated from message swap.quickswap.v1.EnrollReferralPartnerRequest\n */\nexport type EnrollReferralPartnerRequest = Message<\"swap.quickswap.v1.EnrollReferralPartnerRequest\"> & {\n /**\n * Public sub-account ID of an active sub-account the caller owns, to be\n * credited with the commissions. It cannot be changed later or be used by\n * another partner.\n *\n * @generated from field: fixed64 earnings_subaccount_id = 1;\n */\n earningsSubaccountId: bigint;\n\n /**\n * Name shown for the partner, at most 64 characters. Leading and trailing\n * spaces are removed; at least one other character must remain.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.EnrollReferralPartnerRequest.\n * Use `create(EnrollReferralPartnerRequestSchema)` to create a new message.\n */\nexport const EnrollReferralPartnerRequestSchema: GenMessage<EnrollReferralPartnerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 3);\n\n/**\n * EnrollReferralPartnerResponse returns the new partner, pending review, with\n * a random 8-character code.\n *\n * @generated from message swap.quickswap.v1.EnrollReferralPartnerResponse\n */\nexport type EnrollReferralPartnerResponse = Message<\"swap.quickswap.v1.EnrollReferralPartnerResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.EnrollReferralPartnerResponse.\n * Use `create(EnrollReferralPartnerResponseSchema)` to create a new message.\n */\nexport const EnrollReferralPartnerResponseSchema: GenMessage<EnrollReferralPartnerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 4);\n\n/**\n * GetReferralPartnerRequest reads the caller's partner record.\n *\n * @generated from message swap.quickswap.v1.GetReferralPartnerRequest\n */\nexport type GetReferralPartnerRequest = Message<\"swap.quickswap.v1.GetReferralPartnerRequest\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferralPartnerRequest.\n * Use `create(GetReferralPartnerRequestSchema)` to create a new message.\n */\nexport const GetReferralPartnerRequestSchema: GenMessage<GetReferralPartnerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 5);\n\n/**\n * GetReferralPartnerResponse returns the caller's partner record.\n *\n * @generated from message swap.quickswap.v1.GetReferralPartnerResponse\n */\nexport type GetReferralPartnerResponse = Message<\"swap.quickswap.v1.GetReferralPartnerResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferralPartnerResponse.\n * Use `create(GetReferralPartnerResponseSchema)` to create a new message.\n */\nexport const GetReferralPartnerResponseSchema: GenMessage<GetReferralPartnerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 6);\n\n/**\n * CheckReferralCodeRequest asks whether the caller may take a code.\n *\n * @generated from message swap.quickswap.v1.CheckReferralCodeRequest\n */\nexport type CheckReferralCodeRequest = Message<\"swap.quickswap.v1.CheckReferralCodeRequest\"> & {\n /**\n * The code; letters are compared case-insensitively.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CheckReferralCodeRequest.\n * Use `create(CheckReferralCodeRequestSchema)` to create a new message.\n */\nexport const CheckReferralCodeRequestSchema: GenMessage<CheckReferralCodeRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 7);\n\n/**\n * CheckReferralCodeResponse answers for the code. The answer can change\n * before SetReferralCode if another partner takes the code first.\n *\n * @generated from message swap.quickswap.v1.CheckReferralCodeResponse\n */\nexport type CheckReferralCodeResponse = Message<\"swap.quickswap.v1.CheckReferralCodeResponse\"> & {\n /**\n * The code in lower case; empty when it is CODE_INVALID.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n\n /**\n * Whether the caller may take it.\n *\n * @generated from field: swap.quickswap.v1.ReferralCodeAvailability availability = 2;\n */\n availability: ReferralCodeAvailability;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CheckReferralCodeResponse.\n * Use `create(CheckReferralCodeResponseSchema)` to create a new message.\n */\nexport const CheckReferralCodeResponseSchema: GenMessage<CheckReferralCodeResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 8);\n\n/**\n * SetReferralCodeRequest replaces the caller's referral code.\n *\n * @generated from message swap.quickswap.v1.SetReferralCodeRequest\n */\nexport type SetReferralCodeRequest = Message<\"swap.quickswap.v1.SetReferralCodeRequest\"> & {\n /**\n * New code: 4 to 16 letters, digits and hyphens, starting and ending with\n * a letter or digit, without two hyphens in a row. Letters are stored in\n * lower case.\n *\n * @generated from field: string code = 1;\n */\n code: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetReferralCodeRequest.\n * Use `create(SetReferralCodeRequestSchema)` to create a new message.\n */\nexport const SetReferralCodeRequestSchema: GenMessage<SetReferralCodeRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 9);\n\n/**\n * SetReferralCodeResponse returns the partner with its new code.\n *\n * @generated from message swap.quickswap.v1.SetReferralCodeResponse\n */\nexport type SetReferralCodeResponse = Message<\"swap.quickswap.v1.SetReferralCodeResponse\"> & {\n /**\n * The partner.\n *\n * @generated from field: swap.quickswap.v1.ReferralPartner partner = 1;\n */\n partner?: ReferralPartner | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetReferralCodeResponse.\n * Use `create(SetReferralCodeResponseSchema)` to create a new message.\n */\nexport const SetReferralCodeResponseSchema: GenMessage<SetReferralCodeResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 10);\n\n/**\n * ReferralCommission is the commission credited to the partner in one asset.\n *\n * @generated from message swap.quickswap.v1.ReferralCommission\n */\nexport type ReferralCommission = Message<\"swap.quickswap.v1.ReferralCommission\"> & {\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 = 1;\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 = 2;\n */\n amount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCommission.\n * Use `create(ReferralCommissionSchema)` to create a new message.\n */\nexport const ReferralCommissionSchema: GenMessage<ReferralCommission> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 11);\n\n/**\n * ReferralCredit is one commission credit of a QuickSwap: a settled trade\n * of one of its legs, or its bridge payout.\n *\n * @generated from message swap.quickswap.v1.ReferralCredit\n */\nexport type ReferralCredit = Message<\"swap.quickswap.v1.ReferralCredit\"> & {\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 = 1;\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 = 2;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * When the commission was credited, rounded down to the minute.\n *\n * @generated from field: google.protobuf.Timestamp accrued_at = 3;\n */\n accruedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCredit.\n * Use `create(ReferralCreditSchema)` to create a new message.\n */\nexport const ReferralCreditSchema: GenMessage<ReferralCredit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 12);\n\n/**\n * ReferredQuickSwap is a QuickSwap the caller referred, as its referral\n * partner sees it. It carries no identity of the person who swapped and no\n * account, address, memo, transaction hash or flow ID. Amounts are exact;\n * every time is rounded down to the minute.\n *\n * @generated from message swap.quickswap.v1.ReferredQuickSwap\n */\nexport type ReferredQuickSwap = Message<\"swap.quickswap.v1.ReferredQuickSwap\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * Current status. Accept status values added later; is_terminal is\n * authoritative.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 2;\n */\n status: QuickSwapStatus;\n\n /**\n * True when status is terminal; a terminal status never changes.\n *\n * @generated from field: bool is_terminal = 3;\n */\n isTerminal: boolean;\n\n /**\n * When the QuickSwap was created, rounded down to the minute.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When status became terminal, rounded down to the minute; unset while\n * not terminal.\n *\n * @generated from field: google.protobuf.Timestamp terminal_at = 5;\n */\n terminalAt?: Timestamp | undefined;\n\n /**\n * Source asset and network, as an AssetChainVariant.zipped_asset_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 source_zipped_asset_id = 6;\n */\n sourceZippedAssetId: number;\n\n /**\n * Destination asset and network, as an AssetChainVariant.zipped_asset_id\n * from GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 destination_zipped_asset_id = 7;\n */\n destinationZippedAssetId: number;\n\n /**\n * Source amount quoted at creation, in source token units; an estimate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount quoted_source_amount = 8;\n */\n quotedSourceAmount?: TokenAmount | undefined;\n\n /**\n * Destination amount expected at creation, in destination token units; an\n * estimate.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount quoted_destination_amount = 9;\n */\n quotedDestinationAmount?: TokenAmount | undefined;\n\n /**\n * Source amount received, in source token units; unset until a deposit is\n * detected.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount source_amount = 10;\n */\n sourceAmount?: TokenAmount | undefined;\n\n /**\n * Destination amount delivered, in destination token units; unset until a\n * destination payout completes.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount destination_amount = 11;\n */\n destinationAmount?: TokenAmount | undefined;\n\n /**\n * Fee rate the user would pay without the referral, in basis points: the\n * Polyester service fee plus the broker fee before the discount. Each\n * trading leg is charged its rate on what that leg receives, so a two-leg\n * route shows the sum of both legs' rates; a bridge has one rate. Fixed\n * at creation.\n *\n * @generated from field: uint32 base_fee_bps = 12;\n */\n baseFeeBps: number;\n\n /**\n * Fee rate the user pays, in basis points: base_fee_bps less the\n * referral discount. Fixed at creation.\n *\n * @generated from field: uint32 charged_fee_bps = 13;\n */\n chargedFeeBps: number;\n\n /**\n * Commission rate credited to the partner, in basis points, summed over\n * legs as base_fee_bps is. Fixed at creation.\n *\n * @generated from field: uint32 commission_bps = 14;\n */\n commissionBps: number;\n\n /**\n * Commission credited so far, one entry per asset in asset_id order. Grows\n * while the QuickSwap executes or pays out a bridge; empty until the\n * first credit. Each credit is commission_bps applied to what its leg\n * actually received, so it can differ from an estimate.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferralCommission commission = 15;\n */\n commission: ReferralCommission[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferredQuickSwap.\n * Use `create(ReferredQuickSwapSchema)` to create a new message.\n */\nexport const ReferredQuickSwapSchema: GenMessage<ReferredQuickSwap> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 13);\n\n/**\n * ReferralCommissionValue is the US dollar value of a QuickSwap's commission\n * at a current price.\n *\n * @generated from message swap.quickswap.v1.ReferralCommissionValue\n */\nexport type ReferralCommissionValue = Message<\"swap.quickswap.v1.ReferralCommissionValue\"> & {\n /**\n * Value of every credited commission at the current price of its asset,\n * in USD, encoded as a non-negative base-10 decimal string without\n * separators or a currency symbol, rounded down to 6 decimal places. It is\n * the value now, not the value when the commission was credited.\n *\n * @generated from field: string usd = 1;\n */\n usd: string;\n\n /**\n * Time of the oldest price used.\n *\n * @generated from field: google.protobuf.Timestamp as_of = 2;\n */\n asOf?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralCommissionValue.\n * Use `create(ReferralCommissionValueSchema)` to create a new message.\n */\nexport const ReferralCommissionValueSchema: GenMessage<ReferralCommissionValue> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 14);\n\n/**\n * ReferralBreakdown shows how a referred QuickSwap's fee and the partner's\n * commission were worked out. Rates are in basis points of what each leg\n * receives and are fixed when the QuickSwap is created; a two-leg route\n * shows the sum of both legs' rates. For example, on a one-leg route with a\n * 30 bps fee, a 3 bps discount and a 6 bps commission, the user pays 27 bps\n * and the partner earns 6 bps, 20% of the fee before the discount.\n *\n * @generated from message swap.quickswap.v1.ReferralBreakdown\n */\nexport type ReferralBreakdown = Message<\"swap.quickswap.v1.ReferralBreakdown\"> & {\n /**\n * Fee rate without the referral: the Polyester service fee plus the\n * broker fee before the discount.\n *\n * @generated from field: uint32 base_fee_bps = 1;\n */\n baseFeeBps: number;\n\n /**\n * Fee rate the user pays: base_fee_bps less discount_bps.\n *\n * @generated from field: uint32 charged_fee_bps = 2;\n */\n chargedFeeBps: number;\n\n /**\n * Discount off the user's fee.\n *\n * @generated from field: uint32 discount_bps = 3;\n */\n discountBps: number;\n\n /**\n * Commission credited to the partner.\n *\n * @generated from field: uint32 commission_bps = 4;\n */\n commissionBps: number;\n\n /**\n * What the commission is a share of: always PRE_DISCOUNT_FEE.\n *\n * @generated from field: swap.quickswap.v1.ReferralCommissionBasis basis = 5;\n */\n basis: ReferralCommissionBasis;\n\n /**\n * Commission credits, oldest first, at most 100. Their sum per asset is\n * ReferredQuickSwap.commission.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferralCredit credited = 6;\n */\n credited: ReferralCredit[];\n\n /**\n * True when more than 100 credits exist; only the first 100 are listed.\n *\n * @generated from field: bool credited_truncated = 7;\n */\n creditedTruncated: boolean;\n\n /**\n * Value of the commission credited so far in US dollars at the current\n * price. Unset when nothing is credited yet or when a credited asset has\n * no current price; the amounts are still returned.\n *\n * @generated from field: swap.quickswap.v1.ReferralCommissionValue commission_value = 8;\n */\n commissionValue?: ReferralCommissionValue | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ReferralBreakdown.\n * Use `create(ReferralBreakdownSchema)` to create a new message.\n */\nexport const ReferralBreakdownSchema: GenMessage<ReferralBreakdown> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 15);\n\n/**\n * ListReferredQuickSwapsRequest lists the QuickSwaps the caller referred.\n *\n * @generated from message swap.quickswap.v1.ListReferredQuickSwapsRequest\n */\nexport type ListReferredQuickSwapsRequest = Message<\"swap.quickswap.v1.ListReferredQuickSwapsRequest\"> & {\n /**\n * Only QuickSwaps created at or after start_time, rounded down to the\n * minute; unset for no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Only QuickSwaps created before end_time (exclusive), rounded up to the\n * minute; after start_time when both are set; unset for no upper bound.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Only QuickSwaps in one of these statuses, at most 16; empty for every\n * status.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapStatus statuses = 3;\n */\n statuses: QuickSwapStatus[];\n\n /**\n * Maximum number of QuickSwaps to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 4;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound\n * to the caller's partner record, the filters and the list order. It\n * names only the swap_id of the previous page's last QuickSwap. Reuse it\n * with the same filters. Empty for the first page.\n *\n * @generated from field: string page_token = 5;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListReferredQuickSwapsRequest.\n * Use `create(ListReferredQuickSwapsRequestSchema)` to create a new message.\n */\nexport const ListReferredQuickSwapsRequestSchema: GenMessage<ListReferredQuickSwapsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 16);\n\n/**\n * ListReferredQuickSwapsResponse lists QuickSwaps newest minute first.\n * Within a minute the order is fixed but does not follow creation time.\n * Every QuickSwap whose creation was complete when the first page was read\n * is listed exactly once. One whose creation completed later may be missing\n * from later pages, even if its created_at is earlier than theirs.\n *\n * @generated from message swap.quickswap.v1.ListReferredQuickSwapsResponse\n */\nexport type ListReferredQuickSwapsResponse = Message<\"swap.quickswap.v1.ListReferredQuickSwapsResponse\"> & {\n /**\n * The QuickSwaps.\n *\n * @generated from field: repeated swap.quickswap.v1.ReferredQuickSwap quick_swaps = 1;\n */\n quickSwaps: ReferredQuickSwap[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListReferredQuickSwapsResponse.\n * Use `create(ListReferredQuickSwapsResponseSchema)` to create a new message.\n */\nexport const ListReferredQuickSwapsResponseSchema: GenMessage<ListReferredQuickSwapsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 17);\n\n/**\n * GetReferredQuickSwapRequest reads one QuickSwap the caller referred.\n *\n * @generated from message swap.quickswap.v1.GetReferredQuickSwapRequest\n */\nexport type GetReferredQuickSwapRequest = Message<\"swap.quickswap.v1.GetReferredQuickSwapRequest\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferredQuickSwapRequest.\n * Use `create(GetReferredQuickSwapRequestSchema)` to create a new message.\n */\nexport const GetReferredQuickSwapRequestSchema: GenMessage<GetReferredQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 18);\n\n/**\n * GetReferredQuickSwapResponse returns the QuickSwap with its fee\n * breakdown, in progress or done.\n *\n * @generated from message swap.quickswap.v1.GetReferredQuickSwapResponse\n */\nexport type GetReferredQuickSwapResponse = Message<\"swap.quickswap.v1.GetReferredQuickSwapResponse\"> & {\n /**\n * The QuickSwap.\n *\n * @generated from field: swap.quickswap.v1.ReferredQuickSwap quick_swap = 1;\n */\n quickSwap?: ReferredQuickSwap | undefined;\n\n /**\n * How its fee and the partner's commission were worked out.\n *\n * @generated from field: swap.quickswap.v1.ReferralBreakdown breakdown = 2;\n */\n breakdown?: ReferralBreakdown | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetReferredQuickSwapResponse.\n * Use `create(GetReferredQuickSwapResponseSchema)` to create a new message.\n */\nexport const GetReferredQuickSwapResponseSchema: GenMessage<GetReferredQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_referral, 19);\n\n/**\n * ReferralPartnerStatus is where a referral partner stands. Partners are\n * invite-only: Polyester reviews every enrollment.\n *\n * @generated from enum swap.quickswap.v1.ReferralPartnerStatus\n */\nexport enum ReferralPartnerStatus {\n /**\n * No status; never returned.\n *\n * @generated from enum value: PARTNER_STATUS_UNSPECIFIED = 0;\n */\n PARTNER_STATUS_UNSPECIFIED = 0,\n\n /**\n * Enrolled and waiting for Polyester's review. The code is reserved for the\n * partner but earns nothing yet.\n *\n * @generated from enum value: PARTNER_PENDING = 1;\n */\n PARTNER_PENDING = 1,\n\n /**\n * Approved: QuickSwaps made with the partner's code earn the commission.\n *\n * @generated from enum value: PARTNER_ACTIVE = 2;\n */\n PARTNER_ACTIVE = 2,\n\n /**\n * Disabled by Polyester: new QuickSwaps with the code earn nothing and the\n * code cannot be changed. QuickSwaps already created keep their terms.\n *\n * @generated from enum value: PARTNER_DISABLED = 3;\n */\n PARTNER_DISABLED = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralPartnerStatus.\n */\nexport const ReferralPartnerStatusSchema: GenEnum<ReferralPartnerStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n/**\n * ReferralCodeAvailability says whether the caller may take a referral code.\n *\n * @generated from enum swap.quickswap.v1.ReferralCodeAvailability\n */\nexport enum ReferralCodeAvailability {\n /**\n * No answer; never returned.\n *\n * @generated from enum value: CODE_AVAILABILITY_UNSPECIFIED = 0;\n */\n CODE_AVAILABILITY_UNSPECIFIED = 0,\n\n /**\n * Free: SetReferralCode would make it the caller's code.\n *\n * @generated from enum value: CODE_AVAILABLE = 1;\n */\n CODE_AVAILABLE = 1,\n\n /**\n * Already the caller's current code.\n *\n * @generated from enum value: CODE_CURRENT = 2;\n */\n CODE_CURRENT = 2,\n\n /**\n * Another partner's current code.\n *\n * @generated from enum value: CODE_TAKEN = 3;\n */\n CODE_TAKEN = 3,\n\n /**\n * Reserved: a brand or broker name, or a code a partner used before.\n * Codes are never reused.\n *\n * @generated from enum value: CODE_RESERVED = 4;\n */\n CODE_RESERVED = 4,\n\n /**\n * Not a valid code: 4 to 16 letters, digits and hyphens, starting and\n * ending with a letter or digit, without two hyphens in a row.\n *\n * @generated from enum value: CODE_INVALID = 5;\n */\n CODE_INVALID = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralCodeAvailability.\n */\nexport const ReferralCodeAvailabilitySchema: GenEnum<ReferralCodeAvailability> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 1);\n\n/**\n * ReferralCommissionBasis is what a referral commission is a share of.\n *\n * @generated from enum swap.quickswap.v1.ReferralCommissionBasis\n */\nexport enum ReferralCommissionBasis {\n /**\n * No basis; never returned.\n *\n * @generated from enum value: COMMISSION_BASIS_UNSPECIFIED = 0;\n */\n COMMISSION_BASIS_UNSPECIFIED = 0,\n\n /**\n * The fee before the referred user's discount: commission_bps out of\n * base_fee_bps, not out of the discounted charged_fee_bps.\n *\n * @generated from enum value: PRE_DISCOUNT_FEE = 1;\n */\n PRE_DISCOUNT_FEE = 1,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.ReferralCommissionBasis.\n */\nexport const ReferralCommissionBasisSchema: GenEnum<ReferralCommissionBasis> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_referral, 2);\n\n/**\n * QuickSwapReferralService is a referral partner's own record, over\n * ConnectRPC. A referral partner shares a link with their code; QuickSwaps\n * made through it on Polyester's own QuickSwap app give the user a discount\n * and pay the partner a commission, both out of the broker fee (see\n * ReferralProgram). Referrals never apply to QuickSwaps through other\n * brokers or the API.\n *\n * Every RPC takes the caller's interactive session token and acts only on\n * the caller's own partner record; a broker API key is refused with\n * PERMISSION_DENIED / ACTION_DENIED. A person who has not enrolled gets\n * NOT_FOUND / REFERRAL_PARTNER_NOT_FOUND from every RPC but\n * EnrollReferralPartner.\n *\n * A partner's code can be changed while it is not disabled, up to 9 times.\n * The old code is retired and never given to anyone again; QuickSwaps\n * already referred keep their partner.\n *\n * A partner reads the QuickSwaps it referred with ListReferredQuickSwaps\n * and GetReferredQuickSwap, never another partner's or a QuickSwap without\n * its referral. They return no identity of the person who swapped and no\n * account, address, memo, transaction hash or flow ID; amounts are exact and\n * times are rounded down to the minute.\n *\n * Every RPC is rate limited per account: over the limit it fails with\n * RESOURCE_EXHAUSTED, a RateLimitDetail and a Retry-After header.\n *\n * @generated from service swap.quickswap.v1.QuickSwapReferralService\n */\nexport const QuickSwapReferralService: GenService<{\n /**\n * EnrollReferralPartner applies to become a referral partner. The partner\n * starts pending until Polyester approves it, with a random 8-character\n * code that can be changed. Repeating the request returns the same\n * partner.\n *\n * Errors:\n * - FAILED_PRECONDITION: EARNINGS_ACCOUNT_INVALID.\n * - ALREADY_EXISTS: REFERRAL_PARTNER_EXISTS.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.EnrollReferralPartner\n */\n enrollReferralPartner: {\n methodKind: \"unary\";\n input: typeof EnrollReferralPartnerRequestSchema;\n output: typeof EnrollReferralPartnerResponseSchema;\n },\n /**\n * GetReferralPartner returns the caller's partner record: status, rates,\n * code and share link.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.GetReferralPartner\n */\n getReferralPartner: {\n methodKind: \"unary\";\n input: typeof GetReferralPartnerRequestSchema;\n output: typeof GetReferralPartnerResponseSchema;\n },\n /**\n * CheckReferralCode says whether the caller may take a referral code.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.CheckReferralCode\n */\n checkReferralCode: {\n methodKind: \"unary\";\n input: typeof CheckReferralCodeRequestSchema;\n output: typeof CheckReferralCodeResponseSchema;\n },\n /**\n * SetReferralCode replaces the caller's referral code. The old code is\n * retired for good, so a partner can change its code at most 9 times (see\n * ReferralPartner.code_changes_remaining). Setting the current code again\n * changes nothing.\n *\n * Errors:\n * - INVALID_ARGUMENT: REFERRAL_CODE_INVALID.\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n * - ALREADY_EXISTS: REFERRAL_CODE_TAKEN.\n * - FAILED_PRECONDITION: REFERRAL_CODE_RESERVED, REFERRAL_CODE_LIMIT or\n * REFERRAL_PARTNER_DISABLED.\n * - RESOURCE_EXHAUSTED: the caller's rate limit; retry after Retry-After.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.SetReferralCode\n */\n setReferralCode: {\n methodKind: \"unary\";\n input: typeof SetReferralCodeRequestSchema;\n output: typeof SetReferralCodeResponseSchema;\n },\n /**\n * ListReferredQuickSwaps lists the QuickSwaps the caller referred.\n *\n * Newest first, filtered by status and creation time. Each QuickSwap\n * carries its rates and the commission credited so far.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another partner, other filters or\n * malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.ListReferredQuickSwaps\n */\n listReferredQuickSwaps: {\n methodKind: \"unary\";\n input: typeof ListReferredQuickSwapsRequestSchema;\n output: typeof ListReferredQuickSwapsResponseSchema;\n },\n /**\n * GetReferredQuickSwap returns one QuickSwap the caller referred.\n *\n * The QuickSwap can be in progress or done. Its breakdown shows the fee\n * and commission rates, every commission credit and the commission's\n * current US dollar value.\n *\n * Errors:\n * - NOT_FOUND: REFERRAL_PARTNER_NOT_FOUND, or SWAP_NOT_FOUND for a\n * QuickSwap the caller did not refer.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapReferralService.GetReferredQuickSwap\n */\n getReferredQuickSwap: {\n methodKind: \"unary\";\n input: typeof GetReferredQuickSwapRequestSchema;\n output: typeof GetReferredQuickSwapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap_referral, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,4CACX,uBAAS,g+KAAg+K;CAAC;CAAgC;CAA4B;AAAgC,CAAC;;;;;AA6BzkL,MAAa,sBACX,0BAAY,2CAA2C,CAAC;;;;;AAoC1D,MAAa,wBACX,0BAAY,2CAA2C,CAAC;;;;;AAiF1D,MAAa,wBACX,0BAAY,2CAA2C,CAAC;;;;;AA8B1D,MAAa,qCACX,0BAAY,2CAA2C,CAAC;;;;;AAqB1D,MAAa,sCACX,0BAAY,2CAA2C,CAAC;;;;;AAc1D,MAAa,kCACX,0BAAY,2CAA2C,CAAC;;;;;AAoB1D,MAAa,mCACX,0BAAY,2CAA2C,CAAC;;;;;AAoB1D,MAAa,iCACX,0BAAY,2CAA2C,CAAC;;;;;AA4B1D,MAAa,kCACX,0BAAY,2CAA2C,CAAC;;;;;AAsB1D,MAAa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AAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,gCACX,uBAAS,2CAA2C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BvD,MAAa,2BAuGX,0BAAY,2CAA2C,CAAC"}
@@ -635,7 +635,8 @@ declare enum ErrorCode {
635
635
  */
636
636
  FUNDS_LOCK_CONFLICT = 21,
637
637
  /**
638
- * The authoritative capital view is not ready or is stale.
638
+ * The account's available balance cannot be confirmed right now. Retry
639
+ * later.
639
640
  *
640
641
  * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 22;
641
642
  */
@@ -1 +1 @@
1
- {"version":3,"file":"internal_transfer_pb.d.ts","names":[],"sources":["../../../../src/gen/transfer/v1/internal_transfer_pb.ts"],"mappings":";;;;;;;;;cAca,oCAAoC;;;;;;;KASrC,gCAAgC;;;;;;;;EAQ1C;;;;EAKA;;;;;;IAME;IACA;;;;;;;IAOA;IACA;;;;;;;IAOA;IACA;;IACI;IAAiB;;;;;;;EAOvB;;;;;;;EAQA,YAAY;;;;;;EAOZ;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sBAAsB;;;;;;EAMhC;;;;;;EAOA;;;;;;EAOA;;;;;;cAOW,2BAA2B,WAAW;;;;;;KAQvC,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;;KAS/B,iCAAiC;;;;;;EAM3C;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,YAAY;;;;;;EAOZ,cAAc;;;;;;EAOd,QAAQ;;;;;;;EAQR;;;;;;cAOW,sCAAsC,WAAW;;;;;;;;KAUlD,2BAA2B;;;;;;;;EAQrC;;;;EAKA;;;;;;IAME;IACA;;;;;;;IAOA;IACA;;;;;;;IAOA;IACA;;IACI;IAAiB;;;;;;;EAOvB;;;;;;;EAQA,YAAY;;;;;;cAOD,gCAAgC,WAAW;;;;;;;KAS5C,sCAAsC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A;;;;;;;EAQA;;;;;cAMW,sCAAsC,QAAQ;;;;;;;cAS9C,yBAAyB;;;;;;;;;EASpC;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;EAejB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -219,7 +219,8 @@ let ErrorCode = /* @__PURE__ */ function(ErrorCode) {
219
219
  */
220
220
  ErrorCode[ErrorCode["FUNDS_LOCK_CONFLICT"] = 21] = "FUNDS_LOCK_CONFLICT";
221
221
  /**
222
- * The authoritative capital view is not ready or is stale.
222
+ * The account's available balance cannot be confirmed right now. Retry
223
+ * later.
223
224
  *
224
225
  * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 22;
225
226
  */