@polyester/sdk 0.35.0-devnet-20261111031027 → 0.35.0-devnet-20261111161451
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/dist/catalogs/snapshot-validation.js +2 -1
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +4164 -0
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -0
- package/dist/gen/ai/v1/assistant_pb.js +1174 -0
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -0
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +776 -0
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -0
- package/dist/gen/alerts/v1/price_alerts_pb.js +378 -0
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts +6 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +6 -0
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +242 -2
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +81 -2
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +48 -6
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +48 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +83 -19
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +74 -16
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +167 -11
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +41 -3
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -6
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -2
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +5 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +10 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +32 -4
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +32 -4
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +391 -42
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +103 -17
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +170 -3
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +63 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.js +1 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/index.d.ts +14 -10
- package/dist/gen/index.js +11 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +9 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +8 -0
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +4 -4
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +20 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.js +20 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1186 -127
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +282 -5
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +253 -38
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +180 -36
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +933 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +292 -0
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -0
- package/dist/gen/system/v1/system_pb.d.ts +77 -0
- package/dist/gen/system/v1/system_pb.d.ts.map +1 -0
- package/dist/gen/system/v1/system_pb.js +34 -0
- package/dist/gen/system/v1/system_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +2 -2
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/index.d.ts +14 -6
- package/dist/services/api-keys/api-keys.codecs.js +10 -1
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
- package/dist/services/api-keys/api-keys.d.ts +16 -1
- package/dist/services/api-keys/api-keys.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.js +25 -1
- package/dist/services/api-keys/api-keys.js.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +116 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +29 -3
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.types.d.ts +2 -2
- package/dist/services/api-keys/index.d.ts +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +4618 -0
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -0
- package/dist/services/assistant/assistant-events.schemas.js +485 -0
- package/dist/services/assistant/assistant-events.schemas.js.map +1 -0
- package/dist/services/assistant/assistant.codecs.d.ts +24 -0
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -0
- package/dist/services/assistant/assistant.codecs.js +88 -0
- package/dist/services/assistant/assistant.codecs.js.map +1 -0
- package/dist/services/assistant/assistant.d.ts +76 -0
- package/dist/services/assistant/assistant.d.ts.map +1 -0
- package/dist/services/assistant/assistant.js +133 -0
- package/dist/services/assistant/assistant.js.map +1 -0
- package/dist/services/assistant/assistant.schemas.d.ts +184 -0
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -0
- package/dist/services/assistant/assistant.schemas.js +135 -0
- package/dist/services/assistant/assistant.schemas.js.map +1 -0
- package/dist/services/assistant/assistant.types.d.ts +4 -0
- package/dist/services/assistant/service.d.ts +8 -0
- package/dist/services/assistant/service.d.ts.map +1 -0
- package/dist/services/assistant/service.js +9 -0
- package/dist/services/assistant/service.js.map +1 -0
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +9 -2
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js +9 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.d.ts +15 -4
- package/dist/services/auto-withdraw/auto-withdraw.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +24 -8
- package/dist/services/auto-withdraw/auto-withdraw.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +394 -26
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +67 -12
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.types.d.ts +3 -3
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/candles/candles.schemas.js +5 -2
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +2 -2
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +3 -1
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +210 -186
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.js +1 -1
- package/dist/services/market-data/market-data.schemas.js +7 -2
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +2 -2
- package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
- package/dist/services/orders/orders-input.schemas.d.ts +6 -6
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +16 -16
- package/dist/services/orders/orders-output.schemas.js +3 -3
- package/dist/services/orders/orders-risk.schemas.js +1 -1
- package/dist/services/orders/orders.codecs.js +1 -1
- package/dist/services/orders/orders.js +3 -3
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +24 -3
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/price-alerts/price-alerts.codecs.d.ts +20 -0
- package/dist/services/price-alerts/price-alerts.codecs.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.codecs.js +66 -0
- package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.d.ts +38 -0
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.js +60 -0
- package/dist/services/price-alerts/price-alerts.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +309 -0
- package/dist/services/price-alerts/price-alerts.schemas.d.ts.map +1 -0
- package/dist/services/price-alerts/price-alerts.schemas.js +130 -0
- package/dist/services/price-alerts/price-alerts.schemas.js.map +1 -0
- package/dist/services/price-alerts/price-alerts.types.d.ts +3 -0
- package/dist/services/price-alerts/service.d.ts +8 -0
- package/dist/services/price-alerts/service.d.ts.map +1 -0
- package/dist/services/price-alerts/service.js +9 -0
- package/dist/services/price-alerts/service.js.map +1 -0
- package/dist/services/social-verification/social-verification.codecs.js +13 -5
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +18 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js +26 -3
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +33 -7
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +35 -10
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/social-verification/social-verification.types.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +8 -8
- package/dist/services/system/service.d.ts +8 -0
- package/dist/services/system/service.d.ts.map +1 -0
- package/dist/services/system/service.js +9 -0
- package/dist/services/system/service.js.map +1 -0
- package/dist/services/system/system.d.ts +25 -0
- package/dist/services/system/system.d.ts.map +1 -0
- package/dist/services/system/system.js +24 -0
- package/dist/services/system/system.js.map +1 -0
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +7 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +11 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +42 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +19 -3
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
- package/dist/services/transfers/transfers.schemas.d.ts +5 -5
- package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/trigger-input.schemas.js +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +49 -49
- package/dist/services/triggers/triggers.codecs.js +1 -1
- package/dist/services/triggers/triggers.js +2 -2
- package/dist/shared/catalog-config.d.ts +5 -0
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -0
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +24 -10
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +2 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +15 -0
- package/dist/shared/error-details/alerts.js.map +1 -0
- package/dist/shared/error-details/assistant.js +15 -0
- package/dist/shared/error-details/assistant.js.map +1 -0
- package/dist/shared/error-details/withdraw.js +11 -2
- package/dist/shared/error-details/withdraw.js.map +1 -1
- package/dist/shared/ledger-codes.d.ts +4 -2
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +6 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +3 -3
- package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
- package/dist/shared/rate-limit.schemas.js +4 -1
- package/dist/shared/rate-limit.schemas.js.map +1 -1
- package/dist/shared/transports.d.ts +2 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +11 -5
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Message } from "@bufbuild/protobuf";
|
|
|
2
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
declare namespace quickswap_pb_d_exports {
|
|
5
|
-
export { AffiliateShare, AffiliateShareSchema, ChargedFee, ChargedFeeSchema, CreateQuickSwapRequest, CreateQuickSwapRequestSchema, CreateQuickSwapResponse, CreateQuickSwapResponseSchema, Deposit, DepositAddressState, DepositAddressStateSchema, DepositDisposition, DepositDispositionSchema, DepositInstructions, DepositInstructionsSchema, DepositSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, Execution, ExecutionProgress, ExecutionProgressSchema, ExecutionSchema, FeeKind, FeeKindSchema, GetQuickSwapRequest, GetQuickSwapRequestSchema, GetQuickSwapResponse, GetQuickSwapResponseSchema, MarketExecution, MarketExecutionSchema, Protection, ProtectionSchema, QuickSwap, QuickSwapQuote, QuickSwapQuoteSchema, QuickSwapReason, QuickSwapReasonSchema, QuickSwapSchema, QuickSwapService, QuickSwapStatus, QuickSwapStatusSchema, QuickSwapTerms, QuickSwapTermsSchema, QuoteBasis, QuoteBasisSchema, QuoteFee, QuoteFeeSchema, QuoteQuickSwapRequest, QuoteQuickSwapRequestSchema, QuoteQuickSwapResponse, QuoteQuickSwapResponseSchema, RequestedFees, RequestedFeesSchema, Screening, ScreeningSchema, TokenAmount, TokenAmountSchema, TwapExecution, TwapExecutionSchema, Withdrawal, WithdrawalRole, WithdrawalRoleSchema, WithdrawalSchema, WithdrawalState, WithdrawalStateSchema, file_swap_quickswap_v1_quickswap };
|
|
5
|
+
export { AffiliateShare, AffiliateShareSchema, ChargedFee, ChargedFeeSchema, CreateQuickSwapRequest, CreateQuickSwapRequestSchema, CreateQuickSwapResponse, CreateQuickSwapResponseSchema, Deposit, DepositAddressState, DepositAddressStateSchema, DepositDisposition, DepositDispositionSchema, DepositInstructions, DepositInstructionsSchema, DepositSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, Execution, ExecutionProgress, ExecutionProgressSchema, ExecutionSchema, FeeKind, FeeKindSchema, GetQuickSwapRequest, GetQuickSwapRequestSchema, GetQuickSwapResponse, GetQuickSwapResponseSchema, MarketExecution, MarketExecutionSchema, Protection, ProtectionSchema, QuickSwap, QuickSwapQuote, QuickSwapQuoteSchema, QuickSwapReason, QuickSwapReasonSchema, QuickSwapSchema, QuickSwapService, QuickSwapStatus, QuickSwapStatusSchema, QuickSwapTerms, QuickSwapTermsSchema, QuoteBasis, QuoteBasisSchema, QuoteFee, QuoteFeeSchema, QuoteQuickSwapRequest, QuoteQuickSwapRequestSchema, QuoteQuickSwapResponse, QuoteQuickSwapResponseSchema, ReferralPricing, ReferralPricingSchema, RequestedFees, RequestedFeesSchema, Screening, ScreeningSchema, TokenAmount, TokenAmountSchema, TwapExecution, TwapExecutionSchema, Withdrawal, WithdrawalRole, WithdrawalRoleSchema, WithdrawalSchema, WithdrawalState, WithdrawalStateSchema, file_swap_quickswap_v1_quickswap };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file swap/quickswap/v1/quickswap.proto.
|
|
@@ -233,8 +233,8 @@ type QuickSwapTerms = Message<"swap.quickswap.v1.QuickSwapTerms"> & {
|
|
|
233
233
|
*/
|
|
234
234
|
declare const QuickSwapTermsSchema: GenMessage<QuickSwapTerms>;
|
|
235
235
|
/**
|
|
236
|
-
* QuoteFee is one fee component of a quote. Trading fees (SERVICE, BROKER
|
|
237
|
-
* and
|
|
236
|
+
* QuoteFee is one fee component of a quote. Trading fees (SERVICE, BROKER,
|
|
237
|
+
* AFFILIATE and REFERRAL) are charged when each leg settles, in the asset that leg
|
|
238
238
|
* receives: the base asset on a buy, the quote asset on a sell. Each is
|
|
239
239
|
* computed on its own from what the leg receives and rounded down when
|
|
240
240
|
* charged. A bridge has no settlement; its fees are charged at payout, in
|
|
@@ -283,7 +283,7 @@ type QuoteFee = Message<"swap.quickswap.v1.QuoteFee"> & {
|
|
|
283
283
|
bps: number;
|
|
284
284
|
/**
|
|
285
285
|
* AFFILIATE only: public sub-account ID of the affiliate vault credited
|
|
286
|
-
* with the fee; zero for every other kind.
|
|
286
|
+
* with the fee; zero for every other kind, REFERRAL included.
|
|
287
287
|
*
|
|
288
288
|
* @generated from field: fixed64 account_id = 5;
|
|
289
289
|
*/
|
|
@@ -294,6 +294,42 @@ type QuoteFee = Message<"swap.quickswap.v1.QuoteFee"> & {
|
|
|
294
294
|
* Use `create(QuoteFeeSchema)` to create a new message.
|
|
295
295
|
*/
|
|
296
296
|
declare const QuoteFeeSchema: GenMessage<QuoteFee>;
|
|
297
|
+
/**
|
|
298
|
+
* ReferralPricing is the referral applied to a QuickSwap, in whole basis
|
|
299
|
+
* points of what each leg receives. The end user pays the service fee plus
|
|
300
|
+
* base_broker_bps less discount_bps; the broker fee charged is
|
|
301
|
+
* base_broker_bps less discount_bps and commission_bps, and the partner is
|
|
302
|
+
* credited commission_bps (FeeKind REFERRAL). The service fee is unchanged.
|
|
303
|
+
* The rates depend on the route: bridging when nothing is traded,
|
|
304
|
+
* stablecoin when every leg trades two stablecoins, normal otherwise.
|
|
305
|
+
*
|
|
306
|
+
* @generated from message swap.quickswap.v1.ReferralPricing
|
|
307
|
+
*/
|
|
308
|
+
type ReferralPricing = Message<"swap.quickswap.v1.ReferralPricing"> & {
|
|
309
|
+
/**
|
|
310
|
+
* Broker fee without the referral: the request's broker_bps.
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: uint32 base_broker_bps = 1;
|
|
313
|
+
*/
|
|
314
|
+
baseBrokerBps: number;
|
|
315
|
+
/**
|
|
316
|
+
* Discount off the end user's fee.
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: uint32 discount_bps = 2;
|
|
319
|
+
*/
|
|
320
|
+
discountBps: number;
|
|
321
|
+
/**
|
|
322
|
+
* Commission credited to the referral partner.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: uint32 commission_bps = 3;
|
|
325
|
+
*/
|
|
326
|
+
commissionBps: number;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message swap.quickswap.v1.ReferralPricing.
|
|
330
|
+
* Use `create(ReferralPricingSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
declare const ReferralPricingSchema: GenMessage<ReferralPricing>;
|
|
297
333
|
/**
|
|
298
334
|
* QuickSwapQuote is the priced view of a QuickSwap's terms. Prices, amounts
|
|
299
335
|
* and fees are estimates at quoted_at; only the protection fields are
|
|
@@ -393,9 +429,9 @@ type QuickSwapQuote = Message<"swap.quickswap.v1.QuickSwapQuote"> & {
|
|
|
393
429
|
intermediateAssetId: number;
|
|
394
430
|
/**
|
|
395
431
|
* Estimated fee components for deposit_amount at quoted_at: each leg's
|
|
396
|
-
* service, broker and affiliate fees, in that order, legs in
|
|
397
|
-
* bridge has one set, charged at payout), then network fees.
|
|
398
|
-
* in ascending account_id order. Zero fees are omitted. The fees charged
|
|
432
|
+
* service, broker and affiliate or referral fees, in that order, legs in
|
|
433
|
+
* route order (a bridge has one set, charged at payout), then network fees.
|
|
434
|
+
* Affiliates are in ascending account_id order. Zero fees are omitted. The fees charged
|
|
399
435
|
* are each rate applied to the actual execution and can differ from these
|
|
400
436
|
* amounts; QuickSwap.charged_fees reports the broker and affiliate fees as
|
|
401
437
|
* charged.
|
|
@@ -419,6 +455,14 @@ type QuickSwapQuote = Message<"swap.quickswap.v1.QuickSwapQuote"> & {
|
|
|
419
455
|
* @generated from field: google.protobuf.Timestamp expires_at = 10;
|
|
420
456
|
*/
|
|
421
457
|
expiresAt?: Timestamp | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* The referral applied; set only when the request carried a
|
|
460
|
+
* referral_code. A QuickSwap's quote keeps the referral fixed at creation:
|
|
461
|
+
* later changes to the referral program or partner never change it.
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: swap.quickswap.v1.ReferralPricing referral = 11;
|
|
464
|
+
*/
|
|
465
|
+
referral?: ReferralPricing | undefined;
|
|
422
466
|
};
|
|
423
467
|
/**
|
|
424
468
|
* Describes the message swap.quickswap.v1.QuickSwapQuote.
|
|
@@ -736,13 +780,15 @@ type Withdrawal = Message<"swap.quickswap.v1.Withdrawal"> & {
|
|
|
736
780
|
*/
|
|
737
781
|
zippedAssetId: number;
|
|
738
782
|
/**
|
|
739
|
-
* Recipient address in the network's native text form.
|
|
783
|
+
* Recipient address in the network's native text form. Empty on a
|
|
784
|
+
* COMPLIANCE_TRANSFER, whose recipient Polyester does not record.
|
|
740
785
|
*
|
|
741
786
|
* @generated from field: string address = 5;
|
|
742
787
|
*/
|
|
743
788
|
address: string;
|
|
744
789
|
/**
|
|
745
|
-
* Recipient destination tag or memo; empty when the network uses none
|
|
790
|
+
* Recipient destination tag or memo; empty when the network uses none,
|
|
791
|
+
* and on a COMPLIANCE_TRANSFER.
|
|
746
792
|
*
|
|
747
793
|
* @generated from field: string memo = 6;
|
|
748
794
|
*/
|
|
@@ -751,7 +797,10 @@ type Withdrawal = Message<"swap.quickswap.v1.Withdrawal"> & {
|
|
|
751
797
|
* Amount delivered to address after the network fee, in zipped_asset_id's
|
|
752
798
|
* token units; set once FINALIZED. Like tx_hash, it is the amount recorded
|
|
753
799
|
* for this withdrawal and can be corrected for up to 24 hours after the
|
|
754
|
-
* QuickSwap ends (terminal_at).
|
|
800
|
+
* QuickSwap ends (terminal_at). Unset on the RETURN of a deposit returned
|
|
801
|
+
* because its risk screen failed (SOURCE_SCREENING_FAILED): that return is
|
|
802
|
+
* sent from the deposit address and reports no delivered amount. Unset on
|
|
803
|
+
* a COMPLIANCE_TRANSFER too.
|
|
755
804
|
*
|
|
756
805
|
* @generated from field: swap.quickswap.v1.TokenAmount amount = 7;
|
|
757
806
|
*/
|
|
@@ -759,7 +808,8 @@ type Withdrawal = Message<"swap.quickswap.v1.Withdrawal"> & {
|
|
|
759
808
|
/**
|
|
760
809
|
* Actual network fee withheld from this withdrawal, in the same units; set
|
|
761
810
|
* once FINALIZED. Can be corrected for up to 24 hours after the QuickSwap
|
|
762
|
-
* ends, like amount.
|
|
811
|
+
* ends, like amount. Unset on the RETURN of a deposit returned because its
|
|
812
|
+
* risk screen failed, and on a COMPLIANCE_TRANSFER, like amount.
|
|
763
813
|
*
|
|
764
814
|
* @generated from field: swap.quickswap.v1.TokenAmount network_fee = 8;
|
|
765
815
|
*/
|
|
@@ -798,7 +848,11 @@ type Withdrawal = Message<"swap.quickswap.v1.Withdrawal"> & {
|
|
|
798
848
|
* the authoritative, latest state of the transfer, including a correction
|
|
799
849
|
* made after tx_hash, amount and network_fee stop being updated. Lifecycle
|
|
800
850
|
* flow amounts are 18-decimal unified units (amount_e18), not token base
|
|
801
|
-
* units.
|
|
851
|
+
* units. For the RETURN of a deposit returned because its risk screen
|
|
852
|
+
* failed, it is the deposit's flow (Deposit.flow_id), which ends REFUNDED
|
|
853
|
+
* with the return as its transaction. For a COMPLIANCE_TRANSFER, it is the
|
|
854
|
+
* deposit's flow too, which ends FAILED with reason
|
|
855
|
+
* ZIPPER_COMPLIANCE_TRANSFERRED and the transfer as its transaction.
|
|
802
856
|
*
|
|
803
857
|
* @generated from field: string flow_id = 13;
|
|
804
858
|
*/
|
|
@@ -1011,7 +1065,9 @@ type QuickSwap = Message<"swap.quickswap.v1.QuickSwap"> & {
|
|
|
1011
1065
|
*/
|
|
1012
1066
|
feeScheduleVersion: bigint;
|
|
1013
1067
|
/**
|
|
1014
|
-
* Broker and affiliate fees as requested, fixed at creation.
|
|
1068
|
+
* Broker and affiliate fees as requested, fixed at creation. With a
|
|
1069
|
+
* referral (quote.referral), the broker fee charged is broker_bps less the
|
|
1070
|
+
* referral's discount and commission.
|
|
1015
1071
|
*
|
|
1016
1072
|
* @generated from field: swap.quickswap.v1.RequestedFees fees = 29;
|
|
1017
1073
|
*/
|
|
@@ -1066,14 +1122,14 @@ declare const RequestedFeesSchema: GenMessage<RequestedFees>;
|
|
|
1066
1122
|
*/
|
|
1067
1123
|
type ChargedFee = Message<"swap.quickswap.v1.ChargedFee"> & {
|
|
1068
1124
|
/**
|
|
1069
|
-
* BROKER or
|
|
1125
|
+
* BROKER, AFFILIATE or REFERRAL.
|
|
1070
1126
|
*
|
|
1071
1127
|
* @generated from field: swap.quickswap.v1.FeeKind kind = 1;
|
|
1072
1128
|
*/
|
|
1073
1129
|
kind: FeeKind;
|
|
1074
1130
|
/**
|
|
1075
1131
|
* Public sub-account ID of the credited vault: the default vault for
|
|
1076
|
-
* BROKER, the affiliate vault for AFFILIATE.
|
|
1132
|
+
* BROKER, the affiliate vault for AFFILIATE; zero for REFERRAL.
|
|
1077
1133
|
*
|
|
1078
1134
|
* @generated from field: fixed64 account_id = 2;
|
|
1079
1135
|
*/
|
|
@@ -1126,6 +1182,13 @@ type QuoteQuickSwapRequest = Message<"swap.quickswap.v1.QuoteQuickSwapRequest">
|
|
|
1126
1182
|
* @generated from field: repeated swap.quickswap.v1.AffiliateShare affiliates = 3;
|
|
1127
1183
|
*/
|
|
1128
1184
|
affiliates: AffiliateShare[];
|
|
1185
|
+
/**
|
|
1186
|
+
* Optional referral partner code, as CreateQuickSwapRequest.referral_code:
|
|
1187
|
+
* at most 64 bytes.
|
|
1188
|
+
*
|
|
1189
|
+
* @generated from field: string referral_code = 4;
|
|
1190
|
+
*/
|
|
1191
|
+
referralCode: string;
|
|
1129
1192
|
};
|
|
1130
1193
|
/**
|
|
1131
1194
|
* Describes the message swap.quickswap.v1.QuoteQuickSwapRequest.
|
|
@@ -1288,6 +1351,20 @@ type CreateQuickSwapRequest = Message<"swap.quickswap.v1.CreateQuickSwapRequest"
|
|
|
1288
1351
|
* @generated from field: uint32 broker_bps = 12;
|
|
1289
1352
|
*/
|
|
1290
1353
|
brokerBps: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* Optional referral partner code from a referral link, case-insensitive,
|
|
1356
|
+
* at most 64 bytes; empty for none. Only a broker with a referral program may send one
|
|
1357
|
+
* (REFERRAL_NOT_SUPPORTED otherwise), never with affiliates (FEES_INVALID).
|
|
1358
|
+
* It must be a valid code (REFERRAL_CODE_INVALID) that is a partner's
|
|
1359
|
+
* current code (REFERRAL_CODE_UNKNOWN), and the partner must be active
|
|
1360
|
+
* (REFERRAL_PARTNER_INACTIVE). The program's rates
|
|
1361
|
+
* for the route are applied (quote.referral) and fixed at creation. It is
|
|
1362
|
+
* part of the request: the same idempotency_key with another code, or with
|
|
1363
|
+
* and without one, is IDEMPOTENCY_CONFLICT.
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from field: string referral_code = 13;
|
|
1366
|
+
*/
|
|
1367
|
+
referralCode: string;
|
|
1291
1368
|
};
|
|
1292
1369
|
/**
|
|
1293
1370
|
* Describes the message swap.quickswap.v1.CreateQuickSwapRequest.
|
|
@@ -1502,7 +1579,18 @@ declare enum FeeKind {
|
|
|
1502
1579
|
*
|
|
1503
1580
|
* @generated from enum value: WITHDRAWAL_NETWORK = 5;
|
|
1504
1581
|
*/
|
|
1505
|
-
WITHDRAWAL_NETWORK = 5
|
|
1582
|
+
WITHDRAWAL_NETWORK = 5,
|
|
1583
|
+
/**
|
|
1584
|
+
* Referral commission of one trading leg: the referral partner's
|
|
1585
|
+
* commission_bps (ReferralPricing) of what the leg receives, credited to
|
|
1586
|
+
* the partner. It comes out of the broker fee and adds nothing to what the
|
|
1587
|
+
* end user pays. Only a request with a referral_code has one; it never
|
|
1588
|
+
* appears with AFFILIATE fees. On a bridge one, on the credited amount,
|
|
1589
|
+
* charged at payout.
|
|
1590
|
+
*
|
|
1591
|
+
* @generated from enum value: REFERRAL = 6;
|
|
1592
|
+
*/
|
|
1593
|
+
REFERRAL = 6
|
|
1506
1594
|
}
|
|
1507
1595
|
/**
|
|
1508
1596
|
* Describes the enum swap.quickswap.v1.FeeKind.
|
|
@@ -1585,7 +1673,10 @@ declare enum DepositDisposition {
|
|
|
1585
1673
|
*/
|
|
1586
1674
|
RETURN_ONLY = 3,
|
|
1587
1675
|
/**
|
|
1588
|
-
* Held for review; it neither executes nor returns until released.
|
|
1676
|
+
* Held for review; it neither executes nor returns until released. A
|
|
1677
|
+
* deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) keeps this
|
|
1678
|
+
* disposition after Zipper's compliance team transferred its funds out
|
|
1679
|
+
* (QuickSwap CLOSED).
|
|
1589
1680
|
*
|
|
1590
1681
|
* @generated from enum value: ON_HOLD = 4;
|
|
1591
1682
|
*/
|
|
@@ -1634,9 +1725,10 @@ declare enum QuickSwapReason {
|
|
|
1634
1725
|
*/
|
|
1635
1726
|
CAPACITY_UNAVAILABLE = 4,
|
|
1636
1727
|
/**
|
|
1637
|
-
* Execution could not meet the protection
|
|
1638
|
-
*
|
|
1639
|
-
*
|
|
1728
|
+
* Execution could not meet the protection; untraded funds are refunded or
|
|
1729
|
+
* returned. When no protected order could be placed for the deposit, nothing
|
|
1730
|
+
* is traded: the deposit is returned to return_address, and the QuickSwap
|
|
1731
|
+
* shows RETURNING and RETURNED with this reason.
|
|
1640
1732
|
*
|
|
1641
1733
|
* @generated from enum value: PROTECTION_NOT_MET = 7;
|
|
1642
1734
|
*/
|
|
@@ -1656,18 +1748,22 @@ declare enum QuickSwapReason {
|
|
|
1656
1748
|
*/
|
|
1657
1749
|
LATE_DEPOSIT = 9,
|
|
1658
1750
|
/**
|
|
1659
|
-
* The deposit is below the published min_deposit_amount
|
|
1660
|
-
*
|
|
1661
|
-
*
|
|
1662
|
-
*
|
|
1663
|
-
*
|
|
1751
|
+
* The deposit is below the published min_deposit_amount, or its credit after
|
|
1752
|
+
* the deposit network fee is below the smallest order the route's market
|
|
1753
|
+
* accepts. It is not executed: it is returned to return_address, and the
|
|
1754
|
+
* QuickSwap shows RETURNING and RETURNED with this reason. A deposit that
|
|
1755
|
+
* cannot be returned on the network it was received on is held (HELD with
|
|
1756
|
+
* this reason); the broker contacts Polyester broker support with the
|
|
1757
|
+
* swap_id.
|
|
1664
1758
|
*
|
|
1665
1759
|
* @generated from enum value: DEPOSIT_BELOW_MINIMUM = 11;
|
|
1666
1760
|
*/
|
|
1667
1761
|
DEPOSIT_BELOW_MINIMUM = 11,
|
|
1668
1762
|
/**
|
|
1669
|
-
* The deposit is above max_deposit_amount
|
|
1670
|
-
*
|
|
1763
|
+
* The deposit is above max_deposit_amount, or above the largest order the
|
|
1764
|
+
* route's market accepts. It is not executed: it is returned to
|
|
1765
|
+
* return_address, and the QuickSwap shows RETURNING and RETURNED with this
|
|
1766
|
+
* reason.
|
|
1671
1767
|
*
|
|
1672
1768
|
* @generated from enum value: DEPOSIT_ABOVE_MAXIMUM = 12;
|
|
1673
1769
|
*/
|
|
@@ -1706,8 +1802,11 @@ declare enum QuickSwapReason {
|
|
|
1706
1802
|
OUTCOME_RECONCILING = 17,
|
|
1707
1803
|
/**
|
|
1708
1804
|
* Polyester's deposit screening blocked the deposit. It is held for
|
|
1709
|
-
* compliance review; it is never executed or returned automatically.
|
|
1710
|
-
* broker contacts Polyester broker support with the swap_id.
|
|
1805
|
+
* compliance review (HELD); it is never executed or returned automatically.
|
|
1806
|
+
* The broker contacts Polyester broker support with the swap_id. If
|
|
1807
|
+
* Zipper's compliance team later transfers the funds out to an address of
|
|
1808
|
+
* its choosing, not necessarily the user's, the QuickSwap ends CLOSED with
|
|
1809
|
+
* this reason; the funds were not returned to return_address.
|
|
1711
1810
|
*
|
|
1712
1811
|
* @generated from enum value: SOURCE_SCREENING_BLOCKED = 20;
|
|
1713
1812
|
*/
|
|
@@ -1759,7 +1858,17 @@ declare enum QuickSwapReason {
|
|
|
1759
1858
|
*
|
|
1760
1859
|
* @generated from enum value: INTERMEDIATE_BELOW_MINIMUM = 26;
|
|
1761
1860
|
*/
|
|
1762
|
-
INTERMEDIATE_BELOW_MINIMUM = 26
|
|
1861
|
+
INTERMEDIATE_BELOW_MINIMUM = 26,
|
|
1862
|
+
/**
|
|
1863
|
+
* A market on the route was halted, restricted or delisted when the deposit
|
|
1864
|
+
* was credited and did not reopen within a bounded wait after the deposit
|
|
1865
|
+
* was credited, the same for market and TWAP execution. Nothing was traded:
|
|
1866
|
+
* the deposit is returned to return_address, and the QuickSwap shows
|
|
1867
|
+
* RETURNING and RETURNED with this reason.
|
|
1868
|
+
*
|
|
1869
|
+
* @generated from enum value: MARKET_CLOSED = 27;
|
|
1870
|
+
*/
|
|
1871
|
+
MARKET_CLOSED = 27
|
|
1763
1872
|
}
|
|
1764
1873
|
/**
|
|
1765
1874
|
* Describes the enum swap.quickswap.v1.QuickSwapReason.
|
|
@@ -1797,7 +1906,18 @@ declare enum WithdrawalRole {
|
|
|
1797
1906
|
*
|
|
1798
1907
|
* @generated from enum value: RETURN = 3;
|
|
1799
1908
|
*/
|
|
1800
|
-
RETURN = 3
|
|
1909
|
+
RETURN = 3,
|
|
1910
|
+
/**
|
|
1911
|
+
* A deposit blocked by its risk screen (SOURCE_SCREENING_BLOCKED) that
|
|
1912
|
+
* Zipper's compliance team transferred out on the network it was received
|
|
1913
|
+
* on, to an address of its choosing, not necessarily the user's. Not a
|
|
1914
|
+
* return or a refund: Polyester records neither the recipient nor the
|
|
1915
|
+
* amount, so address, memo, amount and network_fee are unset; tx_hash is
|
|
1916
|
+
* the transfer, and flow_id the deposit's flow.
|
|
1917
|
+
*
|
|
1918
|
+
* @generated from enum value: COMPLIANCE_TRANSFER = 4;
|
|
1919
|
+
*/
|
|
1920
|
+
COMPLIANCE_TRANSFER = 4
|
|
1801
1921
|
}
|
|
1802
1922
|
/**
|
|
1803
1923
|
* Describes the enum swap.quickswap.v1.WithdrawalRole.
|
|
@@ -1867,8 +1987,9 @@ declare const WithdrawalStateSchema: GenEnum<WithdrawalState>;
|
|
|
1867
1987
|
* bridge) → PAYING_OUT | REFUNDING | RETURNING → a terminal status. A
|
|
1868
1988
|
* QuickSwap that cannot be issued a deposit address goes from ALLOCATING
|
|
1869
1989
|
* straight to EXPIRED (DEPOSIT_ADDRESS_CONFLICT). HELD can be entered from
|
|
1870
|
-
* any non-terminal status and is not terminal
|
|
1871
|
-
*
|
|
1990
|
+
* any non-terminal status and is not terminal; a QuickSwap HELD with
|
|
1991
|
+
* SOURCE_SCREENING_BLOCKED can end CLOSED. The terminal statuses are
|
|
1992
|
+
* COMPLETED, REFUNDED, RETURNED, EXPIRED and CLOSED; a terminal status never
|
|
1872
1993
|
* changes. Accept status values added later; is_terminal is authoritative.
|
|
1873
1994
|
*
|
|
1874
1995
|
* @generated from enum swap.quickswap.v1.QuickSwapStatus
|
|
@@ -1950,7 +2071,8 @@ declare enum QuickSwapStatus {
|
|
|
1950
2071
|
RETURNING = 11,
|
|
1951
2072
|
/**
|
|
1952
2073
|
* Funds are held for review. Not terminal: review resumes the QuickSwap or
|
|
1953
|
-
* returns the funds
|
|
2074
|
+
* returns the funds, or, for SOURCE_SCREENING_BLOCKED, the QuickSwap can
|
|
2075
|
+
* end CLOSED. reason says why when a specific reason applies, else
|
|
1954
2076
|
* it is REASON_UNSPECIFIED. The broker contacts Polyester broker support
|
|
1955
2077
|
* with the swap_id.
|
|
1956
2078
|
*
|
|
@@ -1986,7 +2108,17 @@ declare enum QuickSwapStatus {
|
|
|
1986
2108
|
*
|
|
1987
2109
|
* @generated from enum value: EXPIRED = 16;
|
|
1988
2110
|
*/
|
|
1989
|
-
EXPIRED = 16
|
|
2111
|
+
EXPIRED = 16,
|
|
2112
|
+
/**
|
|
2113
|
+
* Terminal: the deposit was blocked by its risk screen
|
|
2114
|
+
* (SOURCE_SCREENING_BLOCKED), and Zipper's compliance team transferred the
|
|
2115
|
+
* funds out on the deposit's network to an address of its choosing, not
|
|
2116
|
+
* necessarily the user's. Nothing was returned to return_address or
|
|
2117
|
+
* refunded. Its one withdrawal is that COMPLIANCE_TRANSFER, FINALIZED.
|
|
2118
|
+
*
|
|
2119
|
+
* @generated from enum value: CLOSED = 17;
|
|
2120
|
+
*/
|
|
2121
|
+
CLOSED = 17
|
|
1990
2122
|
}
|
|
1991
2123
|
/**
|
|
1992
2124
|
* Describes the enum swap.quickswap.v1.QuickSwapStatus.
|
|
@@ -2087,7 +2219,8 @@ declare enum ErrorCode {
|
|
|
2087
2219
|
*/
|
|
2088
2220
|
IDEMPOTENCY_CONFLICT = 14,
|
|
2089
2221
|
/**
|
|
2090
|
-
* No QuickSwap of this broker matches the selector
|
|
2222
|
+
* No QuickSwap of this broker matches the selector; on
|
|
2223
|
+
* QuickSwapReferralService, no QuickSwap the caller referred.
|
|
2091
2224
|
*
|
|
2092
2225
|
* @generated from enum value: SWAP_NOT_FOUND = 15;
|
|
2093
2226
|
*/
|
|
@@ -2214,7 +2347,89 @@ declare enum ErrorCode {
|
|
|
2214
2347
|
*
|
|
2215
2348
|
* @generated from enum value: ADDRESS_CONFLICT = 34;
|
|
2216
2349
|
*/
|
|
2217
|
-
ADDRESS_CONFLICT = 34
|
|
2350
|
+
ADDRESS_CONFLICT = 34,
|
|
2351
|
+
/**
|
|
2352
|
+
* The referral code is another partner's current code.
|
|
2353
|
+
*
|
|
2354
|
+
* @generated from enum value: REFERRAL_CODE_TAKEN = 35;
|
|
2355
|
+
*/
|
|
2356
|
+
REFERRAL_CODE_TAKEN = 35,
|
|
2357
|
+
/**
|
|
2358
|
+
* The referral code is reserved: a brand or broker name, or a code a
|
|
2359
|
+
* partner used before. Codes are never reused.
|
|
2360
|
+
*
|
|
2361
|
+
* @generated from enum value: REFERRAL_CODE_RESERVED = 36;
|
|
2362
|
+
*/
|
|
2363
|
+
REFERRAL_CODE_RESERVED = 36,
|
|
2364
|
+
/**
|
|
2365
|
+
* The referral code is not 4 to 16 letters, digits and hyphens, starting
|
|
2366
|
+
* and ending with a letter or digit, without two hyphens in a row.
|
|
2367
|
+
*
|
|
2368
|
+
* @generated from enum value: REFERRAL_CODE_INVALID = 37;
|
|
2369
|
+
*/
|
|
2370
|
+
REFERRAL_CODE_INVALID = 37,
|
|
2371
|
+
/**
|
|
2372
|
+
* The caller has not enrolled as a referral partner.
|
|
2373
|
+
*
|
|
2374
|
+
* @generated from enum value: REFERRAL_PARTNER_NOT_FOUND = 38;
|
|
2375
|
+
*/
|
|
2376
|
+
REFERRAL_PARTNER_NOT_FOUND = 38,
|
|
2377
|
+
/**
|
|
2378
|
+
* The caller is already a referral partner with another earnings
|
|
2379
|
+
* sub-account or display name.
|
|
2380
|
+
*
|
|
2381
|
+
* @generated from enum value: REFERRAL_PARTNER_EXISTS = 39;
|
|
2382
|
+
*/
|
|
2383
|
+
REFERRAL_PARTNER_EXISTS = 39,
|
|
2384
|
+
/**
|
|
2385
|
+
* The earnings sub-account is not an active sub-account of the caller, or
|
|
2386
|
+
* another referral partner already uses it.
|
|
2387
|
+
*
|
|
2388
|
+
* @generated from enum value: EARNINGS_ACCOUNT_INVALID = 40;
|
|
2389
|
+
*/
|
|
2390
|
+
EARNINGS_ACCOUNT_INVALID = 40,
|
|
2391
|
+
/**
|
|
2392
|
+
* The referral partner is disabled; its code cannot be changed.
|
|
2393
|
+
*
|
|
2394
|
+
* @generated from enum value: REFERRAL_PARTNER_DISABLED = 41;
|
|
2395
|
+
*/
|
|
2396
|
+
REFERRAL_PARTNER_DISABLED = 41,
|
|
2397
|
+
/**
|
|
2398
|
+
* The referral partner has used all its referral codes: a partner holds at
|
|
2399
|
+
* most 10 codes over its lifetime, the one it enrolled with included, and
|
|
2400
|
+
* each change retires a code for good. Its current code stays.
|
|
2401
|
+
*
|
|
2402
|
+
* @generated from enum value: REFERRAL_CODE_LIMIT = 42;
|
|
2403
|
+
*/
|
|
2404
|
+
REFERRAL_CODE_LIMIT = 42,
|
|
2405
|
+
/**
|
|
2406
|
+
* The request has a referral_code, but the broker has no referral program.
|
|
2407
|
+
* Repeat it without the code.
|
|
2408
|
+
*
|
|
2409
|
+
* @generated from enum value: REFERRAL_NOT_SUPPORTED = 43;
|
|
2410
|
+
*/
|
|
2411
|
+
REFERRAL_NOT_SUPPORTED = 43,
|
|
2412
|
+
/**
|
|
2413
|
+
* The referral_code is not a referral partner's current code: unknown, or
|
|
2414
|
+
* replaced by the partner. Repeat the request without the code.
|
|
2415
|
+
*
|
|
2416
|
+
* @generated from enum value: REFERRAL_CODE_UNKNOWN = 44;
|
|
2417
|
+
*/
|
|
2418
|
+
REFERRAL_CODE_UNKNOWN = 44,
|
|
2419
|
+
/**
|
|
2420
|
+
* The referral_code's partner is not active: not yet approved, disabled, or
|
|
2421
|
+
* without an account its commission can be credited to. Repeat the
|
|
2422
|
+
* request without the code.
|
|
2423
|
+
*
|
|
2424
|
+
* @generated from enum value: REFERRAL_PARTNER_INACTIVE = 45;
|
|
2425
|
+
*/
|
|
2426
|
+
REFERRAL_PARTNER_INACTIVE = 45,
|
|
2427
|
+
/**
|
|
2428
|
+
* No payout run of the broker's vaults has this ID.
|
|
2429
|
+
*
|
|
2430
|
+
* @generated from enum value: PAYOUT_NOT_FOUND = 46;
|
|
2431
|
+
*/
|
|
2432
|
+
PAYOUT_NOT_FOUND = 46
|
|
2218
2433
|
}
|
|
2219
2434
|
/**
|
|
2220
2435
|
* Describes the enum swap.quickswap.v1.ErrorCode.
|
|
@@ -2323,5 +2538,5 @@ declare const QuickSwapService: GenService<{
|
|
|
2323
2538
|
};
|
|
2324
2539
|
}>;
|
|
2325
2540
|
//#endregion
|
|
2326
|
-
export { AffiliateShare, AffiliateShareSchema, ChargedFee, ChargedFeeSchema, CreateQuickSwapRequest, CreateQuickSwapRequestSchema, CreateQuickSwapResponse, CreateQuickSwapResponseSchema, Deposit, DepositAddressState, DepositAddressStateSchema, DepositDisposition, DepositDispositionSchema, DepositInstructions, DepositInstructionsSchema, DepositSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, Execution, ExecutionProgress, ExecutionProgressSchema, ExecutionSchema, FeeKind, FeeKindSchema, GetQuickSwapRequest, GetQuickSwapRequestSchema, GetQuickSwapResponse, GetQuickSwapResponseSchema, MarketExecution, MarketExecutionSchema, Protection, ProtectionSchema, QuickSwap, QuickSwapQuote, QuickSwapQuoteSchema, QuickSwapReason, QuickSwapReasonSchema, QuickSwapSchema, QuickSwapService, QuickSwapStatus, QuickSwapStatusSchema, QuickSwapTerms, QuickSwapTermsSchema, QuoteBasis, QuoteBasisSchema, QuoteFee, QuoteFeeSchema, QuoteQuickSwapRequest, QuoteQuickSwapRequestSchema, QuoteQuickSwapResponse, QuoteQuickSwapResponseSchema, RequestedFees, RequestedFeesSchema, Screening, ScreeningSchema, TokenAmount, TokenAmountSchema, TwapExecution, TwapExecutionSchema, Withdrawal, WithdrawalRole, WithdrawalRoleSchema, WithdrawalSchema, WithdrawalState, WithdrawalStateSchema, file_swap_quickswap_v1_quickswap, quickswap_pb_d_exports };
|
|
2541
|
+
export { AffiliateShare, AffiliateShareSchema, ChargedFee, ChargedFeeSchema, CreateQuickSwapRequest, CreateQuickSwapRequestSchema, CreateQuickSwapResponse, CreateQuickSwapResponseSchema, Deposit, DepositAddressState, DepositAddressStateSchema, DepositDisposition, DepositDispositionSchema, DepositInstructions, DepositInstructionsSchema, DepositSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, Execution, ExecutionProgress, ExecutionProgressSchema, ExecutionSchema, FeeKind, FeeKindSchema, GetQuickSwapRequest, GetQuickSwapRequestSchema, GetQuickSwapResponse, GetQuickSwapResponseSchema, MarketExecution, MarketExecutionSchema, Protection, ProtectionSchema, QuickSwap, QuickSwapQuote, QuickSwapQuoteSchema, QuickSwapReason, QuickSwapReasonSchema, QuickSwapSchema, QuickSwapService, QuickSwapStatus, QuickSwapStatusSchema, QuickSwapTerms, QuickSwapTermsSchema, QuoteBasis, QuoteBasisSchema, QuoteFee, QuoteFeeSchema, QuoteQuickSwapRequest, QuoteQuickSwapRequestSchema, QuoteQuickSwapResponse, QuoteQuickSwapResponseSchema, ReferralPricing, ReferralPricingSchema, RequestedFees, RequestedFeesSchema, Screening, ScreeningSchema, TokenAmount, TokenAmountSchema, TwapExecution, TwapExecutionSchema, Withdrawal, WithdrawalRole, WithdrawalRoleSchema, WithdrawalSchema, WithdrawalState, WithdrawalStateSchema, file_swap_quickswap_v1_quickswap, quickswap_pb_d_exports };
|
|
2327
2542
|
//# sourceMappingURL=quickswap_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quickswap_pb.d.ts","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_pb.ts"],"mappings":";;;;;;;;;cAca,kCAAkC;;;;;;KAQnC,cAAc;;;;;;;;EAQxB;;;;;;;;;;;EAYA;;;;;;cAOW,mBAAmB,WAAW;;;;;;;;KAU/B,aAAa;;;;;;EAMvB;;;;;;;;IAQE;IACA;;;;;;;;;IASA,OAAO;IACP;;IACI;IAAiB;;;;;;;cAOZ,kBAAkB,WAAW;;;;;;;KAS9B,kBAAkB;;;;;cAOjB,uBAAuB,WAAW;;;;;;;;;;;;;;;;;;;KAqBnC,gBAAgB;;;;;;;;EAQ1B;;;;;;;;EASA;;;;;;cAOW,qBAAqB,WAAW;;;;;;KAQjC,YAAY;;;;;;EAMtB;;;;;;IAME,OAAO;IACP;;;;;;;IAOA,OAAO;IACP;;IACI;IAAiB;;;;;;;cAOZ,iBAAiB,WAAW;;;;;;;;;;;;KAc7B,iBAAiB;;;;;;;;EAQ3B;;;;;;;;EASA;;;;;;EAOA,OAAO;;;;;;;EAQP,SAAS;;;;;;EAOT,aAAa;;;;;;;EAQb,YAAY;;;;;;cAOD,sBAAsB,WAAW;;;;;;;;;;;;;;;;;;KAoBlC,WAAW;;;;;;EAMrB,MAAM;;;;;;;;EASN;;;;;;;;;EAUA,SAAS;;;;;;;;EAST;;;;;;;EAQA;;;;;;cAOW,gBAAgB,WAAW;;;;;;;;;;;;;;;;;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