@polyester/sdk 0.35.0 → 0.36.0-devnet-20261112202000
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 +50 -0
- package/dist/browser-core.js +1 -1
- package/dist/catalogs/snapshot-validation.js +5 -0
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +145 -3
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +33 -3
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +12 -6
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js +3 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +15 -2
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +14 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +15 -2
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +15 -2
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +8 -2
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.js +7 -1
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
- package/dist/gen/index.d.ts +2 -1
- package/dist/gen/index.js +22 -21
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +58 -6
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +10 -4
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +827 -0
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -0
- package/dist/gen/notifications/v1/notifications_pb.js +346 -0
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -0
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +248 -20
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +188 -66
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +74 -6
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +40 -5
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1195 -190
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +317 -7
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +370 -7
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +237 -14
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +40 -2
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +2 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +527 -14
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +126 -26
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -1
- package/dist/realtime/snapshot-then-stream.js +1 -1
- package/dist/server-core.js +3 -3
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +1 -1
- package/dist/services/assistant/assistant-events.schemas.d.ts +63 -45
- package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.d.ts +1 -1
- package/dist/services/assistant/assistant.codecs.js +1 -1
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.d.ts +18 -3
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +27 -4
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +14 -2
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +16 -2
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +2 -2
- package/dist/services/auth/account-signer-auth.js +2 -2
- package/dist/services/auth/auth.js +1 -1
- package/dist/services/auth/profile/profile.js +2 -2
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +22 -22
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/candles/candles.js +2 -2
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts +1 -1
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -1
- package/dist/services/changelog/changelog.codecs.js +6 -3
- package/dist/services/changelog/changelog.codecs.js.map +1 -1
- package/dist/services/changelog/changelog.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +19 -19
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.js +1 -1
- package/dist/services/heatmap/heatmap.js +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.js +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.js +3 -3
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +15 -15
- package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
- package/dist/services/market-data/market-data.js +2 -2
- package/dist/services/market-data/market-data.schemas.js +16 -1
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.js +2 -2
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts +16 -0
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -0
- package/dist/services/notifications/notifications.codecs.js +40 -0
- package/dist/services/notifications/notifications.codecs.js.map +1 -0
- package/dist/services/notifications/notifications.d.ts +41 -0
- package/dist/services/notifications/notifications.d.ts.map +1 -0
- package/dist/services/notifications/notifications.js +67 -0
- package/dist/services/notifications/notifications.js.map +1 -0
- package/dist/services/notifications/notifications.schemas.d.ts +162 -0
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -0
- package/dist/services/notifications/notifications.schemas.js +116 -0
- package/dist/services/notifications/notifications.schemas.js.map +1 -0
- package/dist/services/notifications/notifications.types.d.ts +3 -0
- package/dist/services/notifications/service.d.ts +8 -0
- package/dist/services/notifications/service.d.ts.map +1 -0
- package/dist/services/notifications/service.js +9 -0
- package/dist/services/notifications/service.js.map +1 -0
- package/dist/services/orderbook/orderbook.js +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-enums.codecs.js +12 -4
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.js +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +2688 -417
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +7 -5
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +4827 -1264
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +105 -33
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +2 -2
- package/dist/services/orders/orders-output.schemas.d.ts +44 -26
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +9 -1
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +4 -4
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +3 -0
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/orders/orders.d.ts +3 -1
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +7 -14
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +10 -4
- 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.js +2 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/price-alerts/price-alerts.codecs.d.ts +1 -1
- package/dist/services/price-alerts/price-alerts.codecs.js +3 -3
- package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.d.ts +11 -6
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -1
- package/dist/services/price-alerts/price-alerts.js +12 -7
- package/dist/services/price-alerts/price-alerts.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +11 -11
- package/dist/services/rate-limits/rate-limits.js +1 -1
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.codecs.js +3 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +7 -7
- package/dist/services/system/system.js +1 -1
- package/dist/services/trades/trades.js +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +1 -1
- package/dist/services/transfers/transfers.js +2 -2
- package/dist/services/triggers/trigger-child-order.schemas.js +3 -3
- package/dist/services/triggers/trigger-input.schemas.d.ts +272 -42
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +53 -5
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +240 -29
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +49 -2
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +7 -2
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +25 -3
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +51 -5
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/triggers/triggers.schemas.d.ts +3 -3
- package/dist/services/triggers/triggers.types.d.ts +3 -3
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.js +1 -1
- package/dist/shared/catalog-config.d.ts +6 -0
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/error-detail.d.ts +6 -2
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +1 -0
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +15 -0
- package/dist/shared/error-details/notifications.js.map +1 -0
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/shared/request-id.d.ts +6 -0
- package/dist/shared/request-id.d.ts.map +1 -0
- package/dist/shared/request-id.js +17 -0
- package/dist/shared/request-id.js.map +1 -0
- package/dist/utils/cookies.js +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +19 -17
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AutoWithdrawPause, AutoWithdrawPreviewStatus, AutoWithdrawSchedule } from "../../../chain/withdraw/v1/auto_withdraw_pb.js";
|
|
2
|
-
import { ChargedFee, QuickSwap, QuickSwapReason, QuickSwapStatus, QuickSwapTerms, RequestedFees, TokenAmount } from "./quickswap_pb.js";
|
|
3
|
-
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { ChargedFee, FeeKind, QuickSwap, QuickSwapReason, QuickSwapStatus, QuickSwapTerms, RequestedFees, TokenAmount } from "./quickswap_pb.js";
|
|
4
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
5
4
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
+
import { Message } from "@bufbuild/protobuf";
|
|
6
6
|
declare namespace quickswap_broker_pb_d_exports {
|
|
7
|
-
export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker };
|
|
7
|
+
export { AffiliateVault, AffiliateVaultSchema, AllowlistAction, AllowlistActionSchema, AllowlistChangeFailure, AllowlistChangeFailureSchema, AllowlistChangeStatus, AllowlistChangeStatusSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultAllowlistChangesRequest, ListVaultAllowlistChangesRequestSchema, ListVaultAllowlistChangesResponse, ListVaultAllowlistChangesResponseSchema, ListVaultAllowlistRequest, ListVaultAllowlistRequestSchema, ListVaultAllowlistResponse, ListVaultAllowlistResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultLedgerRequest, ListVaultLedgerRequestSchema, ListVaultLedgerResponse, ListVaultLedgerResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutClose, PayoutCloseSchema, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RequestVaultAllowlistChangeRequest, RequestVaultAllowlistChangeRequestSchema, RequestVaultAllowlistChangeResponse, RequestVaultAllowlistChangeResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAllowlistChange, VaultAllowlistChangeSchema, VaultAllowlistEntry, VaultAllowlistEntrySchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultLedgerEntry, VaultLedgerEntryKind, VaultLedgerEntryKindSchema, VaultLedgerEntrySchema, VaultLedgerFeeCredit, VaultLedgerFeeCreditSchema, VaultLedgerPayoutDebit, VaultLedgerPayoutDebitSchema, VaultLedgerPayoutRefund, VaultLedgerPayoutRefundSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker };
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file swap/quickswap/v1/quickswap_broker.proto.
|
|
@@ -1801,8 +1801,8 @@ type PayoutStep = Message<"swap.quickswap.v1.PayoutStep"> & {
|
|
|
1801
1801
|
* withdrawal_refused,
|
|
1802
1802
|
* gateway_capacity_insufficient, withdrawal_released (the withdrawal was
|
|
1803
1803
|
* released before it was sent; nothing left the vault) or
|
|
1804
|
-
* withdrawal_failed (the withdrawal ended without paying;
|
|
1805
|
-
* PAYOUT_FAILED); empty otherwise.
|
|
1804
|
+
* withdrawal_failed (the withdrawal ended without paying; close says
|
|
1805
|
+
* where its funds went, see PAYOUT_FAILED); empty otherwise.
|
|
1806
1806
|
*
|
|
1807
1807
|
* @generated from field: string reason = 5;
|
|
1808
1808
|
*/
|
|
@@ -1855,6 +1855,26 @@ type PayoutStep = Message<"swap.quickswap.v1.PayoutStep"> & {
|
|
|
1855
1855
|
* @generated from field: swap.quickswap.v1.TokenAmount charged_network_fee = 11;
|
|
1856
1856
|
*/
|
|
1857
1857
|
chargedNetworkFee?: TokenAmount | undefined;
|
|
1858
|
+
/**
|
|
1859
|
+
* How the step's withdrawal ended once it left the vault, the same close
|
|
1860
|
+
* as the step's PAYOUT_DEBIT entry in ListVaultLedger: CLOSE_PAID for a
|
|
1861
|
+
* completed step; for a failed one CLOSE_REFUNDED_TO_SMART_ACCOUNT,
|
|
1862
|
+
* CLOSE_SENT_TO_RECOVERY, or CLOSE_UNKNOWN when where its funds went is
|
|
1863
|
+
* not known. Unset (CLOSE_UNSPECIFIED) while the step is not final, and on
|
|
1864
|
+
* a step that never left the vault, such as a skipped, refused, held or
|
|
1865
|
+
* released one.
|
|
1866
|
+
*
|
|
1867
|
+
* @generated from field: swap.quickswap.v1.PayoutClose close = 12;
|
|
1868
|
+
*/
|
|
1869
|
+
close: PayoutClose;
|
|
1870
|
+
/**
|
|
1871
|
+
* The net the destination network's bridge refunded to the vault's own
|
|
1872
|
+
* smart account, the amount of the step's PAYOUT_REFUND entry; set only
|
|
1873
|
+
* with CLOSE_REFUNDED_TO_SMART_ACCOUNT, never zero for unknown.
|
|
1874
|
+
*
|
|
1875
|
+
* @generated from field: swap.quickswap.v1.TokenAmount refunded_amount = 13;
|
|
1876
|
+
*/
|
|
1877
|
+
refundedAmount?: TokenAmount | undefined;
|
|
1858
1878
|
};
|
|
1859
1879
|
/**
|
|
1860
1880
|
* Describes the message swap.quickswap.v1.PayoutStep.
|
|
@@ -2556,305 +2576,996 @@ type ListVaultPayoutRulesResponse = Message<"swap.quickswap.v1.ListVaultPayoutRu
|
|
|
2556
2576
|
*/
|
|
2557
2577
|
declare const ListVaultPayoutRulesResponseSchema: GenMessage<ListVaultPayoutRulesResponse>;
|
|
2558
2578
|
/**
|
|
2559
|
-
*
|
|
2560
|
-
* Owner.
|
|
2579
|
+
* VaultLedgerFeeCredit is the QuickSwap fee of a FEE_CREDIT entry.
|
|
2561
2580
|
*
|
|
2562
|
-
* @generated from
|
|
2581
|
+
* @generated from message swap.quickswap.v1.VaultLedgerFeeCredit
|
|
2563
2582
|
*/
|
|
2564
|
-
|
|
2583
|
+
type VaultLedgerFeeCredit = Message<"swap.quickswap.v1.VaultLedgerFeeCredit"> & {
|
|
2565
2584
|
/**
|
|
2566
|
-
*
|
|
2585
|
+
* Public ID of the credit, unique among the broker's fee credits.
|
|
2567
2586
|
*
|
|
2568
|
-
* @generated from
|
|
2587
|
+
* @generated from field: fixed64 credit_id = 1;
|
|
2569
2588
|
*/
|
|
2570
|
-
|
|
2589
|
+
creditId: bigint;
|
|
2571
2590
|
/**
|
|
2572
|
-
*
|
|
2573
|
-
*
|
|
2591
|
+
* Public ID of the QuickSwap the fee was charged on. Read it with
|
|
2592
|
+
* GetQuickSwap for its full detail.
|
|
2574
2593
|
*
|
|
2575
|
-
* @generated from
|
|
2594
|
+
* @generated from field: fixed64 swap_id = 2;
|
|
2576
2595
|
*/
|
|
2577
|
-
|
|
2596
|
+
swapId: bigint;
|
|
2578
2597
|
/**
|
|
2579
|
-
*
|
|
2580
|
-
*
|
|
2581
|
-
* payout settings.
|
|
2598
|
+
* BROKER (the broker fee, credited to the default vault) or AFFILIATE (an
|
|
2599
|
+
* affiliate fee, credited to that affiliate vault).
|
|
2582
2600
|
*
|
|
2583
|
-
* @generated from
|
|
2601
|
+
* @generated from field: swap.quickswap.v1.FeeKind fee_kind = 3;
|
|
2584
2602
|
*/
|
|
2585
|
-
|
|
2603
|
+
feeKind: FeeKind;
|
|
2586
2604
|
/**
|
|
2587
|
-
*
|
|
2605
|
+
* The fee's rate, in basis points of what each trading leg receives (of
|
|
2606
|
+
* the credited amount on a bridge); a two-leg route credits it once per
|
|
2607
|
+
* leg. Unset when the QuickSwap's fee terms are not known.
|
|
2588
2608
|
*
|
|
2589
|
-
* @generated from
|
|
2609
|
+
* @generated from field: optional uint32 fee_bps = 4;
|
|
2590
2610
|
*/
|
|
2591
|
-
|
|
2611
|
+
feeBps?: number | undefined;
|
|
2592
2612
|
/**
|
|
2593
|
-
*
|
|
2613
|
+
* Source asset and network, as an AssetChainVariant.zipped_asset_id from
|
|
2614
|
+
* GET /v1/chain/deposit-withdraw/config.
|
|
2594
2615
|
*
|
|
2595
|
-
* @generated from
|
|
2616
|
+
* @generated from field: uint32 source_zipped_asset_id = 5;
|
|
2596
2617
|
*/
|
|
2597
|
-
|
|
2618
|
+
sourceZippedAssetId: number;
|
|
2598
2619
|
/**
|
|
2599
|
-
*
|
|
2620
|
+
* Destination asset and network, as an AssetChainVariant.zipped_asset_id
|
|
2621
|
+
* from GET /v1/chain/deposit-withdraw/config.
|
|
2600
2622
|
*
|
|
2601
|
-
* @generated from
|
|
2623
|
+
* @generated from field: uint32 destination_zipped_asset_id = 6;
|
|
2602
2624
|
*/
|
|
2603
|
-
|
|
2604
|
-
}
|
|
2605
|
-
/**
|
|
2606
|
-
* Describes the enum swap.quickswap.v1.BrokerRole.
|
|
2607
|
-
*/
|
|
2608
|
-
declare const BrokerRoleSchema: GenEnum<BrokerRole>;
|
|
2609
|
-
/**
|
|
2610
|
-
* VaultStatus says whether an affiliate vault can be named by new QuickSwaps.
|
|
2611
|
-
*
|
|
2612
|
-
* @generated from enum swap.quickswap.v1.VaultStatus
|
|
2613
|
-
*/
|
|
2614
|
-
declare enum VaultStatus {
|
|
2625
|
+
destinationZippedAssetId: number;
|
|
2615
2626
|
/**
|
|
2616
|
-
*
|
|
2627
|
+
* Source amount quoted at creation, in source token units; an estimate.
|
|
2617
2628
|
*
|
|
2618
|
-
* @generated from
|
|
2629
|
+
* @generated from field: swap.quickswap.v1.TokenAmount quoted_source_amount = 7;
|
|
2619
2630
|
*/
|
|
2620
|
-
|
|
2631
|
+
quotedSourceAmount?: TokenAmount | undefined;
|
|
2621
2632
|
/**
|
|
2622
|
-
*
|
|
2633
|
+
* Destination amount expected at creation, in destination token units; an
|
|
2634
|
+
* estimate.
|
|
2623
2635
|
*
|
|
2624
|
-
* @generated from
|
|
2636
|
+
* @generated from field: swap.quickswap.v1.TokenAmount quoted_destination_amount = 8;
|
|
2625
2637
|
*/
|
|
2626
|
-
|
|
2638
|
+
quotedDestinationAmount?: TokenAmount | undefined;
|
|
2627
2639
|
/**
|
|
2628
|
-
*
|
|
2629
|
-
*
|
|
2640
|
+
* Source amount received, in source token units; unset until a deposit is
|
|
2641
|
+
* detected.
|
|
2630
2642
|
*
|
|
2631
|
-
* @generated from
|
|
2643
|
+
* @generated from field: swap.quickswap.v1.TokenAmount source_amount = 9;
|
|
2632
2644
|
*/
|
|
2633
|
-
|
|
2634
|
-
|
|
2645
|
+
sourceAmount?: TokenAmount | undefined;
|
|
2646
|
+
/**
|
|
2647
|
+
* Destination amount delivered, in destination token units; unset until a
|
|
2648
|
+
* destination payout completes.
|
|
2649
|
+
*
|
|
2650
|
+
* @generated from field: swap.quickswap.v1.TokenAmount destination_amount = 10;
|
|
2651
|
+
*/
|
|
2652
|
+
destinationAmount?: TokenAmount | undefined;
|
|
2653
|
+
};
|
|
2635
2654
|
/**
|
|
2636
|
-
* Describes the
|
|
2655
|
+
* Describes the message swap.quickswap.v1.VaultLedgerFeeCredit.
|
|
2656
|
+
* Use `create(VaultLedgerFeeCreditSchema)` to create a new message.
|
|
2637
2657
|
*/
|
|
2638
|
-
declare const
|
|
2658
|
+
declare const VaultLedgerFeeCreditSchema: GenMessage<VaultLedgerFeeCredit>;
|
|
2639
2659
|
/**
|
|
2640
|
-
*
|
|
2660
|
+
* VaultLedgerPayoutDebit is the payout of a PAYOUT_DEBIT entry: one asset's
|
|
2661
|
+
* step of a payout run, listed once its withdrawal ended and only when it
|
|
2662
|
+
* left the vault. A payout that paid nothing, or whose withdrawal was
|
|
2663
|
+
* released before it left, has no entry.
|
|
2641
2664
|
*
|
|
2642
|
-
* @generated from
|
|
2665
|
+
* @generated from message swap.quickswap.v1.VaultLedgerPayoutDebit
|
|
2643
2666
|
*/
|
|
2644
|
-
|
|
2667
|
+
type VaultLedgerPayoutDebit = Message<"swap.quickswap.v1.VaultLedgerPayoutDebit"> & {
|
|
2645
2668
|
/**
|
|
2646
|
-
*
|
|
2669
|
+
* Public payout run ID; read the run with GetPayout.
|
|
2647
2670
|
*
|
|
2648
|
-
* @generated from
|
|
2671
|
+
* @generated from field: fixed64 run_id = 1;
|
|
2649
2672
|
*/
|
|
2650
|
-
|
|
2673
|
+
runId: bigint;
|
|
2651
2674
|
/**
|
|
2652
|
-
*
|
|
2675
|
+
* What the run came to.
|
|
2653
2676
|
*
|
|
2654
|
-
* @generated from
|
|
2677
|
+
* @generated from field: swap.quickswap.v1.PayoutStatus payout_status = 2;
|
|
2655
2678
|
*/
|
|
2656
|
-
|
|
2679
|
+
payoutStatus: PayoutStatus;
|
|
2657
2680
|
/**
|
|
2658
|
-
*
|
|
2681
|
+
* Destination chain identifier.
|
|
2659
2682
|
*
|
|
2660
|
-
* @generated from
|
|
2683
|
+
* @generated from field: uint64 destination_chain_id = 3;
|
|
2661
2684
|
*/
|
|
2662
|
-
|
|
2685
|
+
destinationChainId: bigint;
|
|
2663
2686
|
/**
|
|
2664
|
-
*
|
|
2687
|
+
* Canonical destination address.
|
|
2665
2688
|
*
|
|
2666
|
-
* @generated from
|
|
2689
|
+
* @generated from field: string destination_address = 4;
|
|
2667
2690
|
*/
|
|
2668
|
-
|
|
2669
|
-
}
|
|
2670
|
-
/**
|
|
2671
|
-
* Describes the enum swap.quickswap.v1.FeeTotalsGrouping.
|
|
2672
|
-
*/
|
|
2673
|
-
declare const FeeTotalsGroupingSchema: GenEnum<FeeTotalsGrouping>;
|
|
2674
|
-
/**
|
|
2675
|
-
* StatsPeriod is the UTC calendar period GetBrokerStats groups by.
|
|
2676
|
-
*
|
|
2677
|
-
* @generated from enum swap.quickswap.v1.StatsPeriod
|
|
2678
|
-
*/
|
|
2679
|
-
declare enum StatsPeriod {
|
|
2691
|
+
destinationAddress: string;
|
|
2680
2692
|
/**
|
|
2681
|
-
*
|
|
2693
|
+
* Destination-network transaction hash; empty when none is known.
|
|
2682
2694
|
*
|
|
2683
|
-
* @generated from
|
|
2695
|
+
* @generated from field: string tx_hash = 5;
|
|
2684
2696
|
*/
|
|
2685
|
-
|
|
2697
|
+
txHash: string;
|
|
2686
2698
|
/**
|
|
2687
|
-
*
|
|
2699
|
+
* The step's state: PAYOUT_STEP_COMPLETED or PAYOUT_STEP_FAILED.
|
|
2688
2700
|
*
|
|
2689
|
-
* @generated from
|
|
2701
|
+
* @generated from field: swap.quickswap.v1.PayoutStepState state = 6;
|
|
2690
2702
|
*/
|
|
2691
|
-
|
|
2703
|
+
state: PayoutStepState;
|
|
2692
2704
|
/**
|
|
2693
|
-
*
|
|
2705
|
+
* Machine-readable reason of a failed step (see PayoutStep.reason); empty
|
|
2706
|
+
* otherwise.
|
|
2694
2707
|
*
|
|
2695
|
-
* @generated from
|
|
2708
|
+
* @generated from field: string reason = 7;
|
|
2696
2709
|
*/
|
|
2697
|
-
|
|
2698
|
-
|
|
2710
|
+
reason: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* How the withdrawal ended.
|
|
2713
|
+
*
|
|
2714
|
+
* @generated from field: swap.quickswap.v1.PayoutClose close = 8;
|
|
2715
|
+
*/
|
|
2716
|
+
close: PayoutClose;
|
|
2717
|
+
/**
|
|
2718
|
+
* The network fee charged on the withdrawal, in base units of 18
|
|
2719
|
+
* decimals: taken out of a paid amount, or kept on a rejected or failed
|
|
2720
|
+
* one and not refunded. Unset when it was not reported; never zero for
|
|
2721
|
+
* unknown.
|
|
2722
|
+
*
|
|
2723
|
+
* @generated from field: swap.quickswap.v1.TokenAmount charged_network_fee = 9;
|
|
2724
|
+
*/
|
|
2725
|
+
chargedNetworkFee?: TokenAmount | undefined;
|
|
2726
|
+
};
|
|
2699
2727
|
/**
|
|
2700
|
-
* Describes the
|
|
2728
|
+
* Describes the message swap.quickswap.v1.VaultLedgerPayoutDebit.
|
|
2729
|
+
* Use `create(VaultLedgerPayoutDebitSchema)` to create a new message.
|
|
2701
2730
|
*/
|
|
2702
|
-
declare const
|
|
2731
|
+
declare const VaultLedgerPayoutDebitSchema: GenMessage<VaultLedgerPayoutDebit>;
|
|
2703
2732
|
/**
|
|
2704
|
-
*
|
|
2705
|
-
* run and the outcome of each of its assets.
|
|
2733
|
+
* VaultLedgerPayoutRefund is the refund of a PAYOUT_REFUND entry.
|
|
2706
2734
|
*
|
|
2707
|
-
* @generated from
|
|
2735
|
+
* @generated from message swap.quickswap.v1.VaultLedgerPayoutRefund
|
|
2708
2736
|
*/
|
|
2709
|
-
|
|
2737
|
+
type VaultLedgerPayoutRefund = Message<"swap.quickswap.v1.VaultLedgerPayoutRefund"> & {
|
|
2710
2738
|
/**
|
|
2711
|
-
*
|
|
2739
|
+
* Public payout run ID of the refunded payout; its PAYOUT_DEBIT entry has
|
|
2740
|
+
* the same run_id and asset_id.
|
|
2712
2741
|
*
|
|
2713
|
-
* @generated from
|
|
2742
|
+
* @generated from field: fixed64 run_id = 1;
|
|
2714
2743
|
*/
|
|
2715
|
-
|
|
2744
|
+
runId: bigint;
|
|
2745
|
+
};
|
|
2746
|
+
/**
|
|
2747
|
+
* Describes the message swap.quickswap.v1.VaultLedgerPayoutRefund.
|
|
2748
|
+
* Use `create(VaultLedgerPayoutRefundSchema)` to create a new message.
|
|
2749
|
+
*/
|
|
2750
|
+
declare const VaultLedgerPayoutRefundSchema: GenMessage<VaultLedgerPayoutRefund>;
|
|
2751
|
+
/**
|
|
2752
|
+
* VaultLedgerEntry is one movement of a broker vault's funds.
|
|
2753
|
+
*
|
|
2754
|
+
* @generated from message swap.quickswap.v1.VaultLedgerEntry
|
|
2755
|
+
*/
|
|
2756
|
+
type VaultLedgerEntry = Message<"swap.quickswap.v1.VaultLedgerEntry"> & {
|
|
2716
2757
|
/**
|
|
2717
|
-
*
|
|
2718
|
-
* withdrawal completed on its destination network.
|
|
2758
|
+
* What moved.
|
|
2719
2759
|
*
|
|
2720
|
-
* @generated from
|
|
2760
|
+
* @generated from field: swap.quickswap.v1.VaultLedgerEntryKind kind = 1;
|
|
2721
2761
|
*/
|
|
2722
|
-
|
|
2762
|
+
kind: VaultLedgerEntryKind;
|
|
2723
2763
|
/**
|
|
2724
|
-
*
|
|
2725
|
-
*
|
|
2764
|
+
* When it happened: when a fee credit was credited; a payout debit's and
|
|
2765
|
+
* refund's run's scheduled slot (Payout.scheduled_for).
|
|
2726
2766
|
*
|
|
2727
|
-
* @generated from
|
|
2767
|
+
* @generated from field: google.protobuf.Timestamp occurred_at = 2;
|
|
2728
2768
|
*/
|
|
2729
|
-
|
|
2769
|
+
occurredAt?: Timestamp | undefined;
|
|
2730
2770
|
/**
|
|
2731
|
-
*
|
|
2771
|
+
* Public sub-account ID of the vault: the default vault or an affiliate
|
|
2772
|
+
* vault.
|
|
2732
2773
|
*
|
|
2733
|
-
* @generated from
|
|
2774
|
+
* @generated from field: fixed64 vault_account_id = 3;
|
|
2734
2775
|
*/
|
|
2735
|
-
|
|
2776
|
+
vaultAccountId: bigint;
|
|
2736
2777
|
/**
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2739
|
-
* (an amount was below the least a withdrawal on its network pays),
|
|
2740
|
-
* price_unavailable (the rule has a USD minimum and no current price
|
|
2741
|
-
* valued an asset) or destination_cooling_down (the destination was added
|
|
2742
|
-
* to the vault's external withdraw whitelist less than 24 hours ago). Each
|
|
2743
|
-
* step carries the balance evaluated, its value and the minimum it was
|
|
2744
|
-
* held to.
|
|
2778
|
+
* Asset, as an AssetConfig.ledger_id from
|
|
2779
|
+
* GET /v1/chain/deposit-withdraw/config.
|
|
2745
2780
|
*
|
|
2746
|
-
* @generated from
|
|
2781
|
+
* @generated from field: uint32 asset_id = 4;
|
|
2747
2782
|
*/
|
|
2748
|
-
|
|
2783
|
+
assetId: number;
|
|
2749
2784
|
/**
|
|
2750
|
-
*
|
|
2751
|
-
*
|
|
2752
|
-
*
|
|
2753
|
-
* destination_invalid or authority_revoked, with which the rule paused
|
|
2754
|
-
* itself (see VaultPayoutRule.pause); an Owner or Finance member resumes
|
|
2755
|
-
* it.
|
|
2785
|
+
* Amount moved, positive, in base units of 18 decimals: credited to the
|
|
2786
|
+
* vault (FEE_CREDIT), debited from it (PAYOUT_DEBIT), or refunded to its
|
|
2787
|
+
* smart account (PAYOUT_REFUND).
|
|
2756
2788
|
*
|
|
2757
|
-
* @generated from
|
|
2789
|
+
* @generated from field: swap.quickswap.v1.TokenAmount amount = 5;
|
|
2758
2790
|
*/
|
|
2759
|
-
|
|
2791
|
+
amount?: TokenAmount | undefined;
|
|
2760
2792
|
/**
|
|
2761
|
-
*
|
|
2762
|
-
*
|
|
2763
|
-
*
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
}
|
|
2793
|
+
* The detail of kind.
|
|
2794
|
+
*
|
|
2795
|
+
* @generated from oneof swap.quickswap.v1.VaultLedgerEntry.detail
|
|
2796
|
+
*/
|
|
2797
|
+
detail: {
|
|
2798
|
+
/**
|
|
2799
|
+
* Set for FEE_CREDIT.
|
|
2800
|
+
*
|
|
2801
|
+
* @generated from field: swap.quickswap.v1.VaultLedgerFeeCredit fee_credit = 6;
|
|
2802
|
+
*/
|
|
2803
|
+
value: VaultLedgerFeeCredit;
|
|
2804
|
+
case: "feeCredit";
|
|
2805
|
+
} | {
|
|
2806
|
+
/**
|
|
2807
|
+
* Set for PAYOUT_DEBIT.
|
|
2808
|
+
*
|
|
2809
|
+
* @generated from field: swap.quickswap.v1.VaultLedgerPayoutDebit payout_debit = 7;
|
|
2810
|
+
*/
|
|
2811
|
+
value: VaultLedgerPayoutDebit;
|
|
2812
|
+
case: "payoutDebit";
|
|
2813
|
+
} | {
|
|
2814
|
+
/**
|
|
2815
|
+
* Set for PAYOUT_REFUND.
|
|
2816
|
+
*
|
|
2817
|
+
* @generated from field: swap.quickswap.v1.VaultLedgerPayoutRefund payout_refund = 8;
|
|
2818
|
+
*/
|
|
2819
|
+
value: VaultLedgerPayoutRefund;
|
|
2820
|
+
case: "payoutRefund";
|
|
2821
|
+
} | {
|
|
2822
|
+
case: undefined;
|
|
2823
|
+
value?: undefined;
|
|
2824
|
+
};
|
|
2825
|
+
};
|
|
2774
2826
|
/**
|
|
2775
|
-
* Describes the
|
|
2827
|
+
* Describes the message swap.quickswap.v1.VaultLedgerEntry.
|
|
2828
|
+
* Use `create(VaultLedgerEntrySchema)` to create a new message.
|
|
2776
2829
|
*/
|
|
2777
|
-
declare const
|
|
2830
|
+
declare const VaultLedgerEntrySchema: GenMessage<VaultLedgerEntry>;
|
|
2778
2831
|
/**
|
|
2779
|
-
*
|
|
2832
|
+
* ListVaultLedgerRequest lists the ledger entries of the broker's vaults,
|
|
2833
|
+
* newest first.
|
|
2780
2834
|
*
|
|
2781
|
-
* @generated from
|
|
2835
|
+
* @generated from message swap.quickswap.v1.ListVaultLedgerRequest
|
|
2782
2836
|
*/
|
|
2783
|
-
|
|
2837
|
+
type ListVaultLedgerRequest = Message<"swap.quickswap.v1.ListVaultLedgerRequest"> & {
|
|
2784
2838
|
/**
|
|
2785
|
-
*
|
|
2839
|
+
* Broker name. A broker API key may name only its own broker.
|
|
2786
2840
|
*
|
|
2787
|
-
* @generated from
|
|
2841
|
+
* @generated from field: string broker = 1;
|
|
2788
2842
|
*/
|
|
2789
|
-
|
|
2843
|
+
broker: string;
|
|
2790
2844
|
/**
|
|
2791
|
-
*
|
|
2845
|
+
* Only this vault's entries: the default vault or an affiliate vault, as
|
|
2846
|
+
* a public sub-account ID. Zero for every vault of the broker.
|
|
2792
2847
|
*
|
|
2793
|
-
* @generated from
|
|
2848
|
+
* @generated from field: fixed64 vault_account_id = 2;
|
|
2794
2849
|
*/
|
|
2795
|
-
|
|
2850
|
+
vaultAccountId: bigint;
|
|
2796
2851
|
/**
|
|
2797
|
-
*
|
|
2852
|
+
* Only entries that occurred at or after start_time; unset for no lower
|
|
2853
|
+
* bound.
|
|
2798
2854
|
*
|
|
2799
|
-
* @generated from
|
|
2855
|
+
* @generated from field: google.protobuf.Timestamp start_time = 3;
|
|
2800
2856
|
*/
|
|
2801
|
-
|
|
2857
|
+
startTime?: Timestamp | undefined;
|
|
2802
2858
|
/**
|
|
2803
|
-
*
|
|
2804
|
-
*
|
|
2859
|
+
* Only entries that occurred before end_time (exclusive); unset for no
|
|
2860
|
+
* upper bound.
|
|
2805
2861
|
*
|
|
2806
|
-
* @generated from
|
|
2862
|
+
* @generated from field: google.protobuf.Timestamp end_time = 4;
|
|
2807
2863
|
*/
|
|
2808
|
-
|
|
2864
|
+
endTime?: Timestamp | undefined;
|
|
2809
2865
|
/**
|
|
2810
|
-
*
|
|
2811
|
-
* waits for its withdrawals to complete.
|
|
2866
|
+
* Maximum number of entries to return; 0 means 25, at most 100.
|
|
2812
2867
|
*
|
|
2813
|
-
* @generated from
|
|
2868
|
+
* @generated from field: uint32 limit = 5;
|
|
2814
2869
|
*/
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2870
|
+
limit: number;
|
|
2871
|
+
/**
|
|
2872
|
+
* Opaque keyset cursor from a previous next_page_token, exclusive, bound
|
|
2873
|
+
* to the broker, the vault filter, the time bounds and the list order.
|
|
2874
|
+
* Reuse it with the same filters; limit may change. Empty for the first
|
|
2875
|
+
* page.
|
|
2876
|
+
*
|
|
2877
|
+
* @generated from field: string page_token = 6;
|
|
2878
|
+
*/
|
|
2879
|
+
pageToken: string;
|
|
2880
|
+
};
|
|
2821
2881
|
/**
|
|
2822
|
-
*
|
|
2882
|
+
* Describes the message swap.quickswap.v1.ListVaultLedgerRequest.
|
|
2883
|
+
* Use `create(ListVaultLedgerRequestSchema)` to create a new message.
|
|
2884
|
+
*/
|
|
2885
|
+
declare const ListVaultLedgerRequestSchema: GenMessage<ListVaultLedgerRequest>;
|
|
2886
|
+
/**
|
|
2887
|
+
* ListVaultLedgerResponse lists vault ledger entries newest first by
|
|
2888
|
+
* occurred_at. At one time, payouts come before fee credits and a refund
|
|
2889
|
+
* before its debit; otherwise entries of the same time follow a stable
|
|
2890
|
+
* server-defined order, the same on every page; it does not follow
|
|
2891
|
+
* credit_id or run_id. Paging lists exactly once
|
|
2892
|
+
* every entry that sorts after the previous page's last entry when the next
|
|
2893
|
+
* page is read, including one that appeared meanwhile at an older time (a
|
|
2894
|
+
* payout whose withdrawal ended meanwhile, at its run's slot). One that
|
|
2895
|
+
* appears meanwhile at a newer time sorts before the cursor and appears only
|
|
2896
|
+
* in a listing started again from the first page. A page may hold fewer
|
|
2897
|
+
* than limit entries while next_page_token is set; continue until it is
|
|
2898
|
+
* empty.
|
|
2823
2899
|
*
|
|
2824
|
-
* @generated from
|
|
2900
|
+
* @generated from message swap.quickswap.v1.ListVaultLedgerResponse
|
|
2825
2901
|
*/
|
|
2826
|
-
|
|
2902
|
+
type ListVaultLedgerResponse = Message<"swap.quickswap.v1.ListVaultLedgerResponse"> & {
|
|
2827
2903
|
/**
|
|
2828
|
-
*
|
|
2904
|
+
* The entries.
|
|
2829
2905
|
*
|
|
2830
|
-
* @generated from
|
|
2906
|
+
* @generated from field: repeated swap.quickswap.v1.VaultLedgerEntry entries = 1;
|
|
2831
2907
|
*/
|
|
2832
|
-
|
|
2908
|
+
entries: VaultLedgerEntry[];
|
|
2833
2909
|
/**
|
|
2834
|
-
*
|
|
2910
|
+
* Cursor of the next page. Empty when no more results exist.
|
|
2835
2911
|
*
|
|
2836
|
-
* @generated from
|
|
2912
|
+
* @generated from field: string next_page_token = 2;
|
|
2837
2913
|
*/
|
|
2838
|
-
|
|
2914
|
+
nextPageToken: string;
|
|
2915
|
+
};
|
|
2916
|
+
/**
|
|
2917
|
+
* Describes the message swap.quickswap.v1.ListVaultLedgerResponse.
|
|
2918
|
+
* Use `create(ListVaultLedgerResponseSchema)` to create a new message.
|
|
2919
|
+
*/
|
|
2920
|
+
declare const ListVaultLedgerResponseSchema: GenMessage<ListVaultLedgerResponse>;
|
|
2921
|
+
/**
|
|
2922
|
+
* VaultAllowlistEntry is one destination on a vault's payout address
|
|
2923
|
+
* allowlist: an address on one network that the vault's payouts and
|
|
2924
|
+
* withdrawals may pay.
|
|
2925
|
+
*
|
|
2926
|
+
* @generated from message swap.quickswap.v1.VaultAllowlistEntry
|
|
2927
|
+
*/
|
|
2928
|
+
type VaultAllowlistEntry = Message<"swap.quickswap.v1.VaultAllowlistEntry"> & {
|
|
2839
2929
|
/**
|
|
2840
|
-
*
|
|
2930
|
+
* Destination chain identifier, as in
|
|
2931
|
+
* PayoutRuleDestination.destination_chain_id.
|
|
2841
2932
|
*
|
|
2842
|
-
* @generated from
|
|
2933
|
+
* @generated from field: uint64 destination_chain_id = 1;
|
|
2843
2934
|
*/
|
|
2844
|
-
|
|
2935
|
+
destinationChainId: bigint;
|
|
2845
2936
|
/**
|
|
2846
|
-
*
|
|
2847
|
-
*
|
|
2937
|
+
* Canonical destination address, exactly as payout rules and withdrawals
|
|
2938
|
+
* must name it.
|
|
2848
2939
|
*
|
|
2849
|
-
* @generated from
|
|
2940
|
+
* @generated from field: string destination_address = 2;
|
|
2850
2941
|
*/
|
|
2851
|
-
|
|
2942
|
+
destinationAddress: string;
|
|
2852
2943
|
/**
|
|
2853
|
-
* The
|
|
2944
|
+
* The member's name for the destination. Empty when the destination was
|
|
2945
|
+
* not added with RequestVaultAllowlistChange or was added without one.
|
|
2854
2946
|
*
|
|
2855
|
-
* @generated from
|
|
2947
|
+
* @generated from field: string label = 3;
|
|
2856
2948
|
*/
|
|
2857
|
-
|
|
2949
|
+
label: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Public account ID of the member who added the destination; 0 when it
|
|
2952
|
+
* was not added with RequestVaultAllowlistChange.
|
|
2953
|
+
*
|
|
2954
|
+
* @generated from field: fixed64 created_by_account_id = 4;
|
|
2955
|
+
*/
|
|
2956
|
+
createdByAccountId: bigint;
|
|
2957
|
+
/**
|
|
2958
|
+
* When the destination was added to the allowlist.
|
|
2959
|
+
*
|
|
2960
|
+
* @generated from field: google.protobuf.Timestamp listed_at = 5;
|
|
2961
|
+
*/
|
|
2962
|
+
listedAt?: Timestamp | undefined;
|
|
2963
|
+
/**
|
|
2964
|
+
* When payouts and withdrawals to the destination become possible: 24
|
|
2965
|
+
* hours after listed_at. Until then payouts to it are held and
|
|
2966
|
+
* withdrawals to it are refused.
|
|
2967
|
+
*
|
|
2968
|
+
* @generated from field: google.protobuf.Timestamp payable_from = 6;
|
|
2969
|
+
*/
|
|
2970
|
+
payableFrom?: Timestamp | undefined;
|
|
2971
|
+
/**
|
|
2972
|
+
* Whether payable_from is still in the future when the allowlist was
|
|
2973
|
+
* read.
|
|
2974
|
+
*
|
|
2975
|
+
* @generated from field: bool cooling_down = 7;
|
|
2976
|
+
*/
|
|
2977
|
+
coolingDown: boolean;
|
|
2978
|
+
/**
|
|
2979
|
+
* Whether the latest version of the vault's payout rule pays this
|
|
2980
|
+
* destination, enabled or paused. A destination a rule pays cannot be
|
|
2981
|
+
* removed: change the rule first.
|
|
2982
|
+
*
|
|
2983
|
+
* @generated from field: bool used_by_payout_rule = 8;
|
|
2984
|
+
*/
|
|
2985
|
+
usedByPayoutRule: boolean;
|
|
2986
|
+
};
|
|
2987
|
+
/**
|
|
2988
|
+
* Describes the message swap.quickswap.v1.VaultAllowlistEntry.
|
|
2989
|
+
* Use `create(VaultAllowlistEntrySchema)` to create a new message.
|
|
2990
|
+
*/
|
|
2991
|
+
declare const VaultAllowlistEntrySchema: GenMessage<VaultAllowlistEntry>;
|
|
2992
|
+
/**
|
|
2993
|
+
* VaultAllowlistChange is one request to add a destination to, or remove one
|
|
2994
|
+
* from, a vault's payout address allowlist.
|
|
2995
|
+
*
|
|
2996
|
+
* @generated from message swap.quickswap.v1.VaultAllowlistChange
|
|
2997
|
+
*/
|
|
2998
|
+
type VaultAllowlistChange = Message<"swap.quickswap.v1.VaultAllowlistChange"> & {
|
|
2999
|
+
/**
|
|
3000
|
+
* Public ID of the change.
|
|
3001
|
+
*
|
|
3002
|
+
* @generated from field: fixed64 change_id = 1;
|
|
3003
|
+
*/
|
|
3004
|
+
changeId: bigint;
|
|
3005
|
+
/**
|
|
3006
|
+
* Public sub-account ID of the vault.
|
|
3007
|
+
*
|
|
3008
|
+
* @generated from field: fixed64 vault_account_id = 2;
|
|
3009
|
+
*/
|
|
3010
|
+
vaultAccountId: bigint;
|
|
3011
|
+
/**
|
|
3012
|
+
* What the change does.
|
|
3013
|
+
*
|
|
3014
|
+
* @generated from field: swap.quickswap.v1.AllowlistAction action = 3;
|
|
3015
|
+
*/
|
|
3016
|
+
action: AllowlistAction;
|
|
3017
|
+
/**
|
|
3018
|
+
* Destination chain identifier.
|
|
3019
|
+
*
|
|
3020
|
+
* @generated from field: uint64 destination_chain_id = 4;
|
|
3021
|
+
*/
|
|
3022
|
+
destinationChainId: bigint;
|
|
3023
|
+
/**
|
|
3024
|
+
* Canonical destination address.
|
|
3025
|
+
*
|
|
3026
|
+
* @generated from field: string destination_address = 5;
|
|
3027
|
+
*/
|
|
3028
|
+
destinationAddress: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* ADD_DESTINATION only: the member's name for the destination; may be
|
|
3031
|
+
* empty.
|
|
3032
|
+
*
|
|
3033
|
+
* @generated from field: string label = 6;
|
|
3034
|
+
*/
|
|
3035
|
+
label: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* Public account ID of the member who requested the change.
|
|
3038
|
+
*
|
|
3039
|
+
* @generated from field: fixed64 requested_by_account_id = 7;
|
|
3040
|
+
*/
|
|
3041
|
+
requestedByAccountId: bigint;
|
|
3042
|
+
/**
|
|
3043
|
+
* When the change was requested.
|
|
3044
|
+
*
|
|
3045
|
+
* @generated from field: google.protobuf.Timestamp requested_at = 8;
|
|
3046
|
+
*/
|
|
3047
|
+
requestedAt?: Timestamp | undefined;
|
|
3048
|
+
/**
|
|
3049
|
+
* The end of the change's approval window: a change not applied by then
|
|
3050
|
+
* ends NOT_APPLIED / TIMED_OUT. A change can stay PENDING shortly past it
|
|
3051
|
+
* while its outcome is confirmed.
|
|
3052
|
+
*
|
|
3053
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 9;
|
|
3054
|
+
*/
|
|
3055
|
+
expiresAt?: Timestamp | undefined;
|
|
3056
|
+
/**
|
|
3057
|
+
* Where the change stands.
|
|
3058
|
+
*
|
|
3059
|
+
* @generated from field: swap.quickswap.v1.AllowlistChangeStatus status = 10;
|
|
3060
|
+
*/
|
|
3061
|
+
status: AllowlistChangeStatus;
|
|
3062
|
+
/**
|
|
3063
|
+
* NOT_APPLIED only: why.
|
|
3064
|
+
*
|
|
3065
|
+
* @generated from field: swap.quickswap.v1.AllowlistChangeFailure failure = 11;
|
|
3066
|
+
*/
|
|
3067
|
+
failure: AllowlistChangeFailure;
|
|
3068
|
+
/**
|
|
3069
|
+
* When the change became APPLIED or NOT_APPLIED; unset while PENDING.
|
|
3070
|
+
*
|
|
3071
|
+
* @generated from field: google.protobuf.Timestamp closed_at = 12;
|
|
3072
|
+
*/
|
|
3073
|
+
closedAt?: Timestamp | undefined;
|
|
3074
|
+
};
|
|
3075
|
+
/**
|
|
3076
|
+
* Describes the message swap.quickswap.v1.VaultAllowlistChange.
|
|
3077
|
+
* Use `create(VaultAllowlistChangeSchema)` to create a new message.
|
|
3078
|
+
*/
|
|
3079
|
+
declare const VaultAllowlistChangeSchema: GenMessage<VaultAllowlistChange>;
|
|
3080
|
+
/**
|
|
3081
|
+
* ListVaultAllowlistRequest reads one vault's payout address allowlist.
|
|
3082
|
+
*
|
|
3083
|
+
* @generated from message swap.quickswap.v1.ListVaultAllowlistRequest
|
|
3084
|
+
*/
|
|
3085
|
+
type ListVaultAllowlistRequest = Message<"swap.quickswap.v1.ListVaultAllowlistRequest"> & {
|
|
3086
|
+
/**
|
|
3087
|
+
* Broker name. A broker API key may name only its own broker.
|
|
3088
|
+
*
|
|
3089
|
+
* @generated from field: string broker = 1;
|
|
3090
|
+
*/
|
|
3091
|
+
broker: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Public sub-account ID of the vault: the default vault or an affiliate
|
|
3094
|
+
* vault.
|
|
3095
|
+
*
|
|
3096
|
+
* @generated from field: fixed64 vault_account_id = 2;
|
|
3097
|
+
*/
|
|
3098
|
+
vaultAccountId: bigint;
|
|
3099
|
+
/**
|
|
3100
|
+
* Only destinations on this destination chain; 0 for every chain.
|
|
3101
|
+
*
|
|
3102
|
+
* @generated from field: uint64 destination_chain_id = 3;
|
|
3103
|
+
*/
|
|
3104
|
+
destinationChainId: bigint;
|
|
3105
|
+
};
|
|
3106
|
+
/**
|
|
3107
|
+
* Describes the message swap.quickswap.v1.ListVaultAllowlistRequest.
|
|
3108
|
+
* Use `create(ListVaultAllowlistRequestSchema)` to create a new message.
|
|
3109
|
+
*/
|
|
3110
|
+
declare const ListVaultAllowlistRequestSchema: GenMessage<ListVaultAllowlistRequest>;
|
|
3111
|
+
/**
|
|
3112
|
+
* ListVaultAllowlistResponse is the vault's whole allowlist, at most 50
|
|
3113
|
+
* destinations per destination chain, ordered by destination_chain_id, then
|
|
3114
|
+
* destination_address. It is not paginated. A change applied moments ago
|
|
3115
|
+
* can take a few seconds to show.
|
|
3116
|
+
*
|
|
3117
|
+
* @generated from message swap.quickswap.v1.ListVaultAllowlistResponse
|
|
3118
|
+
*/
|
|
3119
|
+
type ListVaultAllowlistResponse = Message<"swap.quickswap.v1.ListVaultAllowlistResponse"> & {
|
|
3120
|
+
/**
|
|
3121
|
+
* The destinations.
|
|
3122
|
+
*
|
|
3123
|
+
* @generated from field: repeated swap.quickswap.v1.VaultAllowlistEntry entries = 1;
|
|
3124
|
+
*/
|
|
3125
|
+
entries: VaultAllowlistEntry[];
|
|
3126
|
+
};
|
|
3127
|
+
/**
|
|
3128
|
+
* Describes the message swap.quickswap.v1.ListVaultAllowlistResponse.
|
|
3129
|
+
* Use `create(ListVaultAllowlistResponseSchema)` to create a new message.
|
|
3130
|
+
*/
|
|
3131
|
+
declare const ListVaultAllowlistResponseSchema: GenMessage<ListVaultAllowlistResponse>;
|
|
3132
|
+
/**
|
|
3133
|
+
* ListVaultAllowlistChangesRequest lists one vault's allowlist changes.
|
|
3134
|
+
*
|
|
3135
|
+
* @generated from message swap.quickswap.v1.ListVaultAllowlistChangesRequest
|
|
3136
|
+
*/
|
|
3137
|
+
type ListVaultAllowlistChangesRequest = Message<"swap.quickswap.v1.ListVaultAllowlistChangesRequest"> & {
|
|
3138
|
+
/**
|
|
3139
|
+
* Broker name. A broker API key may name only its own broker.
|
|
3140
|
+
*
|
|
3141
|
+
* @generated from field: string broker = 1;
|
|
3142
|
+
*/
|
|
3143
|
+
broker: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* Public sub-account ID of the vault: the default vault or an affiliate
|
|
3146
|
+
* vault.
|
|
3147
|
+
*
|
|
3148
|
+
* @generated from field: fixed64 vault_account_id = 2;
|
|
3149
|
+
*/
|
|
3150
|
+
vaultAccountId: bigint;
|
|
3151
|
+
/**
|
|
3152
|
+
* Maximum changes, default 20, max 100.
|
|
3153
|
+
*
|
|
3154
|
+
* @generated from field: uint32 limit = 3;
|
|
3155
|
+
*/
|
|
3156
|
+
limit: number;
|
|
3157
|
+
/**
|
|
3158
|
+
* Opaque exclusive keyset cursor, bound to the broker and vault. Reuse
|
|
3159
|
+
* with the same broker and vault_account_id; limit may change.
|
|
3160
|
+
*
|
|
3161
|
+
* @generated from field: string page_token = 4;
|
|
3162
|
+
*/
|
|
3163
|
+
pageToken: string;
|
|
3164
|
+
};
|
|
3165
|
+
/**
|
|
3166
|
+
* Describes the message swap.quickswap.v1.ListVaultAllowlistChangesRequest.
|
|
3167
|
+
* Use `create(ListVaultAllowlistChangesRequestSchema)` to create a new message.
|
|
3168
|
+
*/
|
|
3169
|
+
declare const ListVaultAllowlistChangesRequestSchema: GenMessage<ListVaultAllowlistChangesRequest>;
|
|
3170
|
+
/**
|
|
3171
|
+
* ListVaultAllowlistChangesResponse lists changes newest first.
|
|
3172
|
+
*
|
|
3173
|
+
* @generated from message swap.quickswap.v1.ListVaultAllowlistChangesResponse
|
|
3174
|
+
*/
|
|
3175
|
+
type ListVaultAllowlistChangesResponse = Message<"swap.quickswap.v1.ListVaultAllowlistChangesResponse"> & {
|
|
3176
|
+
/**
|
|
3177
|
+
* The changes.
|
|
3178
|
+
*
|
|
3179
|
+
* @generated from field: repeated swap.quickswap.v1.VaultAllowlistChange changes = 1;
|
|
3180
|
+
*/
|
|
3181
|
+
changes: VaultAllowlistChange[];
|
|
3182
|
+
/**
|
|
3183
|
+
* Cursor of the next page. Empty when no more results exist.
|
|
3184
|
+
*
|
|
3185
|
+
* @generated from field: string next_page_token = 2;
|
|
3186
|
+
*/
|
|
3187
|
+
nextPageToken: string;
|
|
3188
|
+
};
|
|
3189
|
+
/**
|
|
3190
|
+
* Describes the message swap.quickswap.v1.ListVaultAllowlistChangesResponse.
|
|
3191
|
+
* Use `create(ListVaultAllowlistChangesResponseSchema)` to create a new message.
|
|
3192
|
+
*/
|
|
3193
|
+
declare const ListVaultAllowlistChangesResponseSchema: GenMessage<ListVaultAllowlistChangesResponse>;
|
|
3194
|
+
/**
|
|
3195
|
+
* RequestVaultAllowlistChangeRequest asks to add one destination to, or
|
|
3196
|
+
* remove one from, a vault's payout address allowlist.
|
|
3197
|
+
*
|
|
3198
|
+
* @generated from message swap.quickswap.v1.RequestVaultAllowlistChangeRequest
|
|
3199
|
+
*/
|
|
3200
|
+
type RequestVaultAllowlistChangeRequest = Message<"swap.quickswap.v1.RequestVaultAllowlistChangeRequest"> & {
|
|
3201
|
+
/**
|
|
3202
|
+
* Broker name.
|
|
3203
|
+
*
|
|
3204
|
+
* @generated from field: string broker = 1;
|
|
3205
|
+
*/
|
|
3206
|
+
broker: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* Public sub-account ID of the vault: the default vault or an affiliate
|
|
3209
|
+
* vault.
|
|
3210
|
+
*
|
|
3211
|
+
* @generated from field: fixed64 vault_account_id = 2;
|
|
3212
|
+
*/
|
|
3213
|
+
vaultAccountId: bigint;
|
|
3214
|
+
/**
|
|
3215
|
+
* What the change does.
|
|
3216
|
+
*
|
|
3217
|
+
* @generated from field: swap.quickswap.v1.AllowlistAction action = 3;
|
|
3218
|
+
*/
|
|
3219
|
+
action: AllowlistAction;
|
|
3220
|
+
/**
|
|
3221
|
+
* Destination chain identifier, as in
|
|
3222
|
+
* PayoutRuleDestination.destination_chain_id.
|
|
3223
|
+
*
|
|
3224
|
+
* @generated from field: uint64 destination_chain_id = 4;
|
|
3225
|
+
*/
|
|
3226
|
+
destinationChainId: bigint;
|
|
3227
|
+
/**
|
|
3228
|
+
* Destination address, in any form the destination network accepts; it
|
|
3229
|
+
* is stored and returned in canonical form. For REMOVE_DESTINATION, name a
|
|
3230
|
+
* VaultAllowlistEntry.
|
|
3231
|
+
*
|
|
3232
|
+
* @generated from field: string destination_address = 5;
|
|
3233
|
+
*/
|
|
3234
|
+
destinationAddress: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* ADD_DESTINATION only: the member's name for the destination, at most 64
|
|
3237
|
+
* characters without leading or trailing whitespace. Optional; must be
|
|
3238
|
+
* empty for REMOVE_DESTINATION.
|
|
3239
|
+
*
|
|
3240
|
+
* @generated from field: string label = 6;
|
|
3241
|
+
*/
|
|
3242
|
+
label: string;
|
|
3243
|
+
};
|
|
3244
|
+
/**
|
|
3245
|
+
* Describes the message swap.quickswap.v1.RequestVaultAllowlistChangeRequest.
|
|
3246
|
+
* Use `create(RequestVaultAllowlistChangeRequestSchema)` to create a new message.
|
|
3247
|
+
*/
|
|
3248
|
+
declare const RequestVaultAllowlistChangeRequestSchema: GenMessage<RequestVaultAllowlistChangeRequest>;
|
|
3249
|
+
/**
|
|
3250
|
+
* RequestVaultAllowlistChangeResponse returns the change, PENDING.
|
|
3251
|
+
*
|
|
3252
|
+
* @generated from message swap.quickswap.v1.RequestVaultAllowlistChangeResponse
|
|
3253
|
+
*/
|
|
3254
|
+
type RequestVaultAllowlistChangeResponse = Message<"swap.quickswap.v1.RequestVaultAllowlistChangeResponse"> & {
|
|
3255
|
+
/**
|
|
3256
|
+
* The change. Follow it with ListVaultAllowlistChanges.
|
|
3257
|
+
*
|
|
3258
|
+
* @generated from field: swap.quickswap.v1.VaultAllowlistChange change = 1;
|
|
3259
|
+
*/
|
|
3260
|
+
change?: VaultAllowlistChange | undefined;
|
|
3261
|
+
};
|
|
3262
|
+
/**
|
|
3263
|
+
* Describes the message swap.quickswap.v1.RequestVaultAllowlistChangeResponse.
|
|
3264
|
+
* Use `create(RequestVaultAllowlistChangeResponseSchema)` to create a new message.
|
|
3265
|
+
*/
|
|
3266
|
+
declare const RequestVaultAllowlistChangeResponseSchema: GenMessage<RequestVaultAllowlistChangeResponse>;
|
|
3267
|
+
/**
|
|
3268
|
+
* BrokerRole is a person's role in a broker org. A broker has exactly one
|
|
3269
|
+
* Owner.
|
|
3270
|
+
*
|
|
3271
|
+
* @generated from enum swap.quickswap.v1.BrokerRole
|
|
3272
|
+
*/
|
|
3273
|
+
declare enum BrokerRole {
|
|
3274
|
+
/**
|
|
3275
|
+
* No role; rejected in requests and never returned.
|
|
3276
|
+
*
|
|
3277
|
+
* @generated from enum value: BROKER_ROLE_UNSPECIFIED = 0;
|
|
3278
|
+
*/
|
|
3279
|
+
BROKER_ROLE_UNSPECIFIED = 0,
|
|
3280
|
+
/**
|
|
3281
|
+
* Everything, including withdrawals, payout settings and transferring
|
|
3282
|
+
* ownership. Exactly one per broker.
|
|
3283
|
+
*
|
|
3284
|
+
* @generated from enum value: OWNER = 1;
|
|
3285
|
+
*/
|
|
3286
|
+
OWNER = 1,
|
|
3287
|
+
/**
|
|
3288
|
+
* Everything except withdrawals, payout settings, changing the Owner and
|
|
3289
|
+
* transferring ownership: only the Owner and Finance withdraw or change
|
|
3290
|
+
* payout settings.
|
|
3291
|
+
*
|
|
3292
|
+
* @generated from enum value: ADMIN = 2;
|
|
3293
|
+
*/
|
|
3294
|
+
ADMIN = 2,
|
|
3295
|
+
/**
|
|
3296
|
+
* Internal transfers, withdrawals and payout settings.
|
|
3297
|
+
*
|
|
3298
|
+
* @generated from enum value: FINANCE = 3;
|
|
3299
|
+
*/
|
|
3300
|
+
FINANCE = 3,
|
|
3301
|
+
/**
|
|
3302
|
+
* Creates affiliate vaults and views balances.
|
|
3303
|
+
*
|
|
3304
|
+
* @generated from enum value: AFFILIATE_MANAGER = 4;
|
|
3305
|
+
*/
|
|
3306
|
+
AFFILIATE_MANAGER = 4,
|
|
3307
|
+
/**
|
|
3308
|
+
* Read-only.
|
|
3309
|
+
*
|
|
3310
|
+
* @generated from enum value: VIEWER = 5;
|
|
3311
|
+
*/
|
|
3312
|
+
VIEWER = 5
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* Describes the enum swap.quickswap.v1.BrokerRole.
|
|
3316
|
+
*/
|
|
3317
|
+
declare const BrokerRoleSchema: GenEnum<BrokerRole>;
|
|
3318
|
+
/**
|
|
3319
|
+
* VaultStatus says whether an affiliate vault can be named by new QuickSwaps.
|
|
3320
|
+
*
|
|
3321
|
+
* @generated from enum swap.quickswap.v1.VaultStatus
|
|
3322
|
+
*/
|
|
3323
|
+
declare enum VaultStatus {
|
|
3324
|
+
/**
|
|
3325
|
+
* No status; rejected in requests and never returned.
|
|
3326
|
+
*
|
|
3327
|
+
* @generated from enum value: VAULT_STATUS_UNSPECIFIED = 0;
|
|
3328
|
+
*/
|
|
3329
|
+
VAULT_STATUS_UNSPECIFIED = 0,
|
|
3330
|
+
/**
|
|
3331
|
+
* New QuickSwaps can credit the vault.
|
|
3332
|
+
*
|
|
3333
|
+
* @generated from enum value: VAULT_ACTIVE = 1;
|
|
3334
|
+
*/
|
|
3335
|
+
VAULT_ACTIVE = 1,
|
|
3336
|
+
/**
|
|
3337
|
+
* New QuickSwaps naming the vault are refused with AFFILIATE_VAULT_UNKNOWN.
|
|
3338
|
+
* QuickSwaps already created still credit it.
|
|
3339
|
+
*
|
|
3340
|
+
* @generated from enum value: VAULT_DISABLED = 2;
|
|
3341
|
+
*/
|
|
3342
|
+
VAULT_DISABLED = 2
|
|
3343
|
+
}
|
|
3344
|
+
/**
|
|
3345
|
+
* Describes the enum swap.quickswap.v1.VaultStatus.
|
|
3346
|
+
*/
|
|
3347
|
+
declare const VaultStatusSchema: GenEnum<VaultStatus>;
|
|
3348
|
+
/**
|
|
3349
|
+
* FeeTotalsGrouping is how GetFeeTotals groups the fees.
|
|
3350
|
+
*
|
|
3351
|
+
* @generated from enum swap.quickswap.v1.FeeTotalsGrouping
|
|
3352
|
+
*/
|
|
3353
|
+
declare enum FeeTotalsGrouping {
|
|
3354
|
+
/**
|
|
3355
|
+
* No grouping; rejected.
|
|
3356
|
+
*
|
|
3357
|
+
* @generated from enum value: GROUPING_UNSPECIFIED = 0;
|
|
3358
|
+
*/
|
|
3359
|
+
GROUPING_UNSPECIFIED = 0,
|
|
3360
|
+
/**
|
|
3361
|
+
* By credited vault.
|
|
3362
|
+
*
|
|
3363
|
+
* @generated from enum value: BY_VAULT = 1;
|
|
3364
|
+
*/
|
|
3365
|
+
BY_VAULT = 1,
|
|
3366
|
+
/**
|
|
3367
|
+
* By UTC day the fee was charged.
|
|
3368
|
+
*
|
|
3369
|
+
* @generated from enum value: BY_DAY = 2;
|
|
3370
|
+
*/
|
|
3371
|
+
BY_DAY = 2,
|
|
3372
|
+
/**
|
|
3373
|
+
* By UTC month the fee was charged.
|
|
3374
|
+
*
|
|
3375
|
+
* @generated from enum value: BY_MONTH = 3;
|
|
3376
|
+
*/
|
|
3377
|
+
BY_MONTH = 3
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* Describes the enum swap.quickswap.v1.FeeTotalsGrouping.
|
|
3381
|
+
*/
|
|
3382
|
+
declare const FeeTotalsGroupingSchema: GenEnum<FeeTotalsGrouping>;
|
|
3383
|
+
/**
|
|
3384
|
+
* StatsPeriod is the UTC calendar period GetBrokerStats groups by.
|
|
3385
|
+
*
|
|
3386
|
+
* @generated from enum swap.quickswap.v1.StatsPeriod
|
|
3387
|
+
*/
|
|
3388
|
+
declare enum StatsPeriod {
|
|
3389
|
+
/**
|
|
3390
|
+
* No period; rejected.
|
|
3391
|
+
*
|
|
3392
|
+
* @generated from enum value: PERIOD_UNSPECIFIED = 0;
|
|
3393
|
+
*/
|
|
3394
|
+
PERIOD_UNSPECIFIED = 0,
|
|
3395
|
+
/**
|
|
3396
|
+
* A UTC day.
|
|
3397
|
+
*
|
|
3398
|
+
* @generated from enum value: DAY = 1;
|
|
3399
|
+
*/
|
|
3400
|
+
DAY = 1,
|
|
3401
|
+
/**
|
|
3402
|
+
* A UTC month.
|
|
3403
|
+
*
|
|
3404
|
+
* @generated from enum value: MONTH = 2;
|
|
3405
|
+
*/
|
|
3406
|
+
MONTH = 2
|
|
3407
|
+
}
|
|
3408
|
+
/**
|
|
3409
|
+
* Describes the enum swap.quickswap.v1.StatsPeriod.
|
|
3410
|
+
*/
|
|
3411
|
+
declare const StatsPeriodSchema: GenEnum<StatsPeriod>;
|
|
3412
|
+
/**
|
|
3413
|
+
* PayoutStatus is what one payout run of a broker vault came to, from the
|
|
3414
|
+
* run and the outcome of each of its assets.
|
|
3415
|
+
*
|
|
3416
|
+
* @generated from enum swap.quickswap.v1.PayoutStatus
|
|
3417
|
+
*/
|
|
3418
|
+
declare enum PayoutStatus {
|
|
3419
|
+
/**
|
|
3420
|
+
* Never returned; rejected in filters.
|
|
3421
|
+
*
|
|
3422
|
+
* @generated from enum value: PAYOUT_STATUS_UNSPECIFIED = 0;
|
|
3423
|
+
*/
|
|
3424
|
+
PAYOUT_STATUS_UNSPECIFIED = 0,
|
|
3425
|
+
/**
|
|
3426
|
+
* The run paid: every asset with a payable amount was withdrawn and its
|
|
3427
|
+
* withdrawal completed on its destination network.
|
|
3428
|
+
*
|
|
3429
|
+
* @generated from enum value: PAYOUT_PAID = 1;
|
|
3430
|
+
*/
|
|
3431
|
+
PAYOUT_PAID = 1,
|
|
3432
|
+
/**
|
|
3433
|
+
* Some assets were paid and at least one failed; reason is the first
|
|
3434
|
+
* failed asset's, and each step shows its own outcome.
|
|
3435
|
+
*
|
|
3436
|
+
* @generated from enum value: PAYOUT_PARTIALLY_PAID = 2;
|
|
3437
|
+
*/
|
|
3438
|
+
PAYOUT_PARTIALLY_PAID = 2,
|
|
3439
|
+
/**
|
|
3440
|
+
* The run is under way; stage says where.
|
|
3441
|
+
*
|
|
3442
|
+
* @generated from enum value: PAYOUT_IN_PROGRESS = 3;
|
|
3443
|
+
*/
|
|
3444
|
+
PAYOUT_IN_PROGRESS = 3,
|
|
3445
|
+
/**
|
|
3446
|
+
* Nothing was paid, and the balance stays in the vault for the next run.
|
|
3447
|
+
* reason is nothing_to_pay (no asset reached its minimum), below_minimum
|
|
3448
|
+
* (an amount was below the least a withdrawal on its network pays),
|
|
3449
|
+
* price_unavailable (the rule has a USD minimum and no current price
|
|
3450
|
+
* valued an asset) or destination_cooling_down (the destination was added
|
|
3451
|
+
* to the vault's external withdraw whitelist less than 24 hours ago). Each
|
|
3452
|
+
* step carries the balance evaluated, its value and the minimum it was
|
|
3453
|
+
* held to.
|
|
3454
|
+
*
|
|
3455
|
+
* @generated from enum value: PAYOUT_ROLLED_OVER = 4;
|
|
3456
|
+
*/
|
|
3457
|
+
PAYOUT_ROLLED_OVER = 4,
|
|
3458
|
+
/**
|
|
3459
|
+
* Nothing was paid because the rule stopped paying, and the balance stays
|
|
3460
|
+
* in the vault. reason is rule_superseded (the rule was paused, changed or
|
|
3461
|
+
* replaced before the run paid), or destination_not_whitelisted,
|
|
3462
|
+
* destination_invalid or authority_revoked, with which the rule paused
|
|
3463
|
+
* itself (see VaultPayoutRule.pause); an Owner or Finance member resumes
|
|
3464
|
+
* it.
|
|
3465
|
+
*
|
|
3466
|
+
* @generated from enum value: PAYOUT_HELD = 5;
|
|
3467
|
+
*/
|
|
3468
|
+
PAYOUT_HELD = 5,
|
|
3469
|
+
/**
|
|
3470
|
+
* Nothing was paid, and at least one asset's payout failed; reason is the
|
|
3471
|
+
* first failure's: withdrawal_refused (refused before any funds left the
|
|
3472
|
+
* vault), gateway_capacity_insufficient (the funds stay for a later run),
|
|
3473
|
+
* withdrawal_released (released before it was sent; nothing left the
|
|
3474
|
+
* vault) or withdrawal_failed (the withdrawal ended without paying, before
|
|
3475
|
+
* or after it reached the destination network). Each step's close
|
|
3476
|
+
* (PayoutStep.close, as ListVaultLedger shows it) says where the funds of
|
|
3477
|
+
* a withdrawal that left the vault went; a withdrawal_failed step whose
|
|
3478
|
+
* close was not recorded reads CLOSE_UNKNOWN, never a guess. The step's
|
|
3479
|
+
* tx_hash, when set, is its destination-network transaction.
|
|
3480
|
+
*
|
|
3481
|
+
* @generated from enum value: PAYOUT_FAILED = 6;
|
|
3482
|
+
*/
|
|
3483
|
+
PAYOUT_FAILED = 6
|
|
3484
|
+
}
|
|
3485
|
+
/**
|
|
3486
|
+
* Describes the enum swap.quickswap.v1.PayoutStatus.
|
|
3487
|
+
*/
|
|
3488
|
+
declare const PayoutStatusSchema: GenEnum<PayoutStatus>;
|
|
3489
|
+
/**
|
|
3490
|
+
* PayoutStage is where an in-progress payout run stands.
|
|
3491
|
+
*
|
|
3492
|
+
* @generated from enum swap.quickswap.v1.PayoutStage
|
|
3493
|
+
*/
|
|
3494
|
+
declare enum PayoutStage {
|
|
3495
|
+
/**
|
|
3496
|
+
* Not in progress.
|
|
3497
|
+
*
|
|
3498
|
+
* @generated from enum value: PAYOUT_STAGE_UNSPECIFIED = 0;
|
|
3499
|
+
*/
|
|
3500
|
+
PAYOUT_STAGE_UNSPECIFIED = 0,
|
|
3501
|
+
/**
|
|
3502
|
+
* Reading the vault's balances to size the payouts.
|
|
3503
|
+
*
|
|
3504
|
+
* @generated from enum value: STAGE_PLANNING = 1;
|
|
3505
|
+
*/
|
|
3506
|
+
STAGE_PLANNING = 1,
|
|
3507
|
+
/**
|
|
3508
|
+
* A payout is waiting to be requested or being requested.
|
|
3509
|
+
*
|
|
3510
|
+
* @generated from enum value: STAGE_REQUESTING = 2;
|
|
3511
|
+
*/
|
|
3512
|
+
STAGE_REQUESTING = 2,
|
|
3513
|
+
/**
|
|
3514
|
+
* Every payout due was accepted; no destination-network transaction is
|
|
3515
|
+
* known yet.
|
|
3516
|
+
*
|
|
3517
|
+
* @generated from enum value: STAGE_PROCESSING = 3;
|
|
3518
|
+
*/
|
|
3519
|
+
STAGE_PROCESSING = 3,
|
|
3520
|
+
/**
|
|
3521
|
+
* A destination-network transaction is known (PayoutStep.tx_hash); the run
|
|
3522
|
+
* waits for its withdrawals to complete.
|
|
3523
|
+
*
|
|
3524
|
+
* @generated from enum value: STAGE_BROADCAST = 4;
|
|
3525
|
+
*/
|
|
3526
|
+
STAGE_BROADCAST = 4
|
|
3527
|
+
}
|
|
3528
|
+
/**
|
|
3529
|
+
* Describes the enum swap.quickswap.v1.PayoutStage.
|
|
3530
|
+
*/
|
|
3531
|
+
declare const PayoutStageSchema: GenEnum<PayoutStage>;
|
|
3532
|
+
/**
|
|
3533
|
+
* PayoutStepState is where one asset's payout in a run stands.
|
|
3534
|
+
*
|
|
3535
|
+
* @generated from enum swap.quickswap.v1.PayoutStepState
|
|
3536
|
+
*/
|
|
3537
|
+
declare enum PayoutStepState {
|
|
3538
|
+
/**
|
|
3539
|
+
* Never returned.
|
|
3540
|
+
*
|
|
3541
|
+
* @generated from enum value: PAYOUT_STEP_STATE_UNSPECIFIED = 0;
|
|
3542
|
+
*/
|
|
3543
|
+
PAYOUT_STEP_STATE_UNSPECIFIED = 0,
|
|
3544
|
+
/**
|
|
3545
|
+
* Planned; not yet requested.
|
|
3546
|
+
*
|
|
3547
|
+
* @generated from enum value: PAYOUT_STEP_PENDING = 1;
|
|
3548
|
+
*/
|
|
3549
|
+
PAYOUT_STEP_PENDING = 1,
|
|
3550
|
+
/**
|
|
3551
|
+
* Being requested.
|
|
3552
|
+
*
|
|
3553
|
+
* @generated from enum value: PAYOUT_STEP_REQUESTING = 2;
|
|
3554
|
+
*/
|
|
3555
|
+
PAYOUT_STEP_REQUESTING = 2,
|
|
3556
|
+
/**
|
|
3557
|
+
* The withdrawal was accepted and waits to complete on its destination
|
|
3558
|
+
* network.
|
|
3559
|
+
*
|
|
3560
|
+
* @generated from enum value: PAYOUT_STEP_SUBMITTED = 3;
|
|
3561
|
+
*/
|
|
3562
|
+
PAYOUT_STEP_SUBMITTED = 3,
|
|
3563
|
+
/**
|
|
3564
|
+
* The withdrawal completed on its destination network.
|
|
3565
|
+
*
|
|
3566
|
+
* @generated from enum value: PAYOUT_STEP_COMPLETED = 4;
|
|
3567
|
+
*/
|
|
3568
|
+
PAYOUT_STEP_COMPLETED = 4,
|
|
2858
3569
|
/**
|
|
2859
3570
|
* The payout failed; reason says why (see PAYOUT_FAILED).
|
|
2860
3571
|
*
|
|
@@ -2873,6 +3584,213 @@ declare enum PayoutStepState {
|
|
|
2873
3584
|
* Describes the enum swap.quickswap.v1.PayoutStepState.
|
|
2874
3585
|
*/
|
|
2875
3586
|
declare const PayoutStepStateSchema: GenEnum<PayoutStepState>;
|
|
3587
|
+
/**
|
|
3588
|
+
* VaultLedgerEntryKind is what moved in a vault ledger entry.
|
|
3589
|
+
*
|
|
3590
|
+
* @generated from enum swap.quickswap.v1.VaultLedgerEntryKind
|
|
3591
|
+
*/
|
|
3592
|
+
declare enum VaultLedgerEntryKind {
|
|
3593
|
+
/**
|
|
3594
|
+
* Never returned.
|
|
3595
|
+
*
|
|
3596
|
+
* @generated from enum value: LEDGER_ENTRY_KIND_UNSPECIFIED = 0;
|
|
3597
|
+
*/
|
|
3598
|
+
LEDGER_ENTRY_KIND_UNSPECIFIED = 0,
|
|
3599
|
+
/**
|
|
3600
|
+
* A broker or affiliate fee a QuickSwap credited to the vault.
|
|
3601
|
+
*
|
|
3602
|
+
* @generated from enum value: FEE_CREDIT = 1;
|
|
3603
|
+
*/
|
|
3604
|
+
FEE_CREDIT = 1,
|
|
3605
|
+
/**
|
|
3606
|
+
* An asset's payout in a payout run, debited from the vault.
|
|
3607
|
+
*
|
|
3608
|
+
* @generated from enum value: PAYOUT_DEBIT = 2;
|
|
3609
|
+
*/
|
|
3610
|
+
PAYOUT_DEBIT = 2,
|
|
3611
|
+
/**
|
|
3612
|
+
* The net of a payout the destination network's bridge rejected, refunded
|
|
3613
|
+
* to the vault's own smart account, less the network fee it kept. The
|
|
3614
|
+
* funds stay in that smart account: the refund is not part of the vault
|
|
3615
|
+
* balance ListVaultBalances reads, and no entry returns it to the vault.
|
|
3616
|
+
*
|
|
3617
|
+
* @generated from enum value: PAYOUT_REFUND = 3;
|
|
3618
|
+
*/
|
|
3619
|
+
PAYOUT_REFUND = 3
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
* Describes the enum swap.quickswap.v1.VaultLedgerEntryKind.
|
|
3623
|
+
*/
|
|
3624
|
+
declare const VaultLedgerEntryKindSchema: GenEnum<VaultLedgerEntryKind>;
|
|
3625
|
+
/**
|
|
3626
|
+
* PayoutClose is how a debited payout's withdrawal ended.
|
|
3627
|
+
*
|
|
3628
|
+
* @generated from enum swap.quickswap.v1.PayoutClose
|
|
3629
|
+
*/
|
|
3630
|
+
declare enum PayoutClose {
|
|
3631
|
+
/**
|
|
3632
|
+
* No close: the payout step is not final, or nothing left the vault. Never
|
|
3633
|
+
* returned on a ledger entry.
|
|
3634
|
+
*
|
|
3635
|
+
* @generated from enum value: CLOSE_UNSPECIFIED = 0;
|
|
3636
|
+
*/
|
|
3637
|
+
CLOSE_UNSPECIFIED = 0,
|
|
3638
|
+
/**
|
|
3639
|
+
* The withdrawal completed on its destination network; the destination
|
|
3640
|
+
* received amount minus charged_network_fee.
|
|
3641
|
+
*
|
|
3642
|
+
* @generated from enum value: CLOSE_PAID = 1;
|
|
3643
|
+
*/
|
|
3644
|
+
CLOSE_PAID = 1,
|
|
3645
|
+
/**
|
|
3646
|
+
* The destination network's bridge rejected the withdrawal and refunded
|
|
3647
|
+
* its net, less the network fee it kept, to the vault's own smart account;
|
|
3648
|
+
* a PAYOUT_REFUND entry and PayoutStep.refunded_amount show the refund.
|
|
3649
|
+
* The debit stands.
|
|
3650
|
+
*
|
|
3651
|
+
* @generated from enum value: CLOSE_REFUNDED_TO_SMART_ACCOUNT = 2;
|
|
3652
|
+
*/
|
|
3653
|
+
CLOSE_REFUNDED_TO_SMART_ACCOUNT = 2,
|
|
3654
|
+
/**
|
|
3655
|
+
* The withdrawal's execution failed on its destination network: the net
|
|
3656
|
+
* went to the bridge's recovery address, which settles it with the
|
|
3657
|
+
* broker, and the network fee was kept. The debit stands.
|
|
3658
|
+
*
|
|
3659
|
+
* @generated from enum value: CLOSE_SENT_TO_RECOVERY = 3;
|
|
3660
|
+
*/
|
|
3661
|
+
CLOSE_SENT_TO_RECOVERY = 3,
|
|
3662
|
+
/**
|
|
3663
|
+
* The withdrawal failed, and where its funds went is not known: the
|
|
3664
|
+
* payout ended before payouts recorded how a failed withdrawal closed, its
|
|
3665
|
+
* outcome was not known when it ended, or the records of its end disagree. The payout may have left the vault or
|
|
3666
|
+
* may have been returned to it; the vault's balance is authoritative.
|
|
3667
|
+
*
|
|
3668
|
+
* @generated from enum value: CLOSE_UNKNOWN = 4;
|
|
3669
|
+
*/
|
|
3670
|
+
CLOSE_UNKNOWN = 4
|
|
3671
|
+
}
|
|
3672
|
+
/**
|
|
3673
|
+
* Describes the enum swap.quickswap.v1.PayoutClose.
|
|
3674
|
+
*/
|
|
3675
|
+
declare const PayoutCloseSchema: GenEnum<PayoutClose>;
|
|
3676
|
+
/**
|
|
3677
|
+
* AllowlistAction is what a payout address allowlist change does.
|
|
3678
|
+
*
|
|
3679
|
+
* @generated from enum swap.quickswap.v1.AllowlistAction
|
|
3680
|
+
*/
|
|
3681
|
+
declare enum AllowlistAction {
|
|
3682
|
+
/**
|
|
3683
|
+
* Rejected in requests and never returned.
|
|
3684
|
+
*
|
|
3685
|
+
* @generated from enum value: ALLOWLIST_ACTION_UNSPECIFIED = 0;
|
|
3686
|
+
*/
|
|
3687
|
+
ALLOWLIST_ACTION_UNSPECIFIED = 0,
|
|
3688
|
+
/**
|
|
3689
|
+
* Adds the destination to the vault's allowlist.
|
|
3690
|
+
*
|
|
3691
|
+
* @generated from enum value: ADD_DESTINATION = 1;
|
|
3692
|
+
*/
|
|
3693
|
+
ADD_DESTINATION = 1,
|
|
3694
|
+
/**
|
|
3695
|
+
* Removes the destination from the vault's allowlist.
|
|
3696
|
+
*
|
|
3697
|
+
* @generated from enum value: REMOVE_DESTINATION = 2;
|
|
3698
|
+
*/
|
|
3699
|
+
REMOVE_DESTINATION = 2
|
|
3700
|
+
}
|
|
3701
|
+
/**
|
|
3702
|
+
* Describes the enum swap.quickswap.v1.AllowlistAction.
|
|
3703
|
+
*/
|
|
3704
|
+
declare const AllowlistActionSchema: GenEnum<AllowlistAction>;
|
|
3705
|
+
/**
|
|
3706
|
+
* AllowlistChangeStatus is where a payout address allowlist change stands.
|
|
3707
|
+
*
|
|
3708
|
+
* @generated from enum swap.quickswap.v1.AllowlistChangeStatus
|
|
3709
|
+
*/
|
|
3710
|
+
declare enum AllowlistChangeStatus {
|
|
3711
|
+
/**
|
|
3712
|
+
* Never returned.
|
|
3713
|
+
*
|
|
3714
|
+
* @generated from enum value: ALLOWLIST_CHANGE_STATUS_UNSPECIFIED = 0;
|
|
3715
|
+
*/
|
|
3716
|
+
ALLOWLIST_CHANGE_STATUS_UNSPECIFIED = 0,
|
|
3717
|
+
/**
|
|
3718
|
+
* Accepted and being applied on chain. A vault has at most one pending
|
|
3719
|
+
* change.
|
|
3720
|
+
*
|
|
3721
|
+
* @generated from enum value: PENDING = 1;
|
|
3722
|
+
*/
|
|
3723
|
+
PENDING = 1,
|
|
3724
|
+
/**
|
|
3725
|
+
* Applied: the destination is on the vault's allowlist (ADD_DESTINATION)
|
|
3726
|
+
* or no longer on it (REMOVE_DESTINATION). An added destination is
|
|
3727
|
+
* payable from its VaultAllowlistEntry.payable_from.
|
|
3728
|
+
*
|
|
3729
|
+
* @generated from enum value: APPLIED = 2;
|
|
3730
|
+
*/
|
|
3731
|
+
APPLIED = 2,
|
|
3732
|
+
/**
|
|
3733
|
+
* Not applied, and never will be; failure says why. Nothing changed on
|
|
3734
|
+
* the vault's allowlist. Request the change again to retry it.
|
|
3735
|
+
*
|
|
3736
|
+
* @generated from enum value: NOT_APPLIED = 3;
|
|
3737
|
+
*/
|
|
3738
|
+
NOT_APPLIED = 3
|
|
3739
|
+
}
|
|
3740
|
+
/**
|
|
3741
|
+
* Describes the enum swap.quickswap.v1.AllowlistChangeStatus.
|
|
3742
|
+
*/
|
|
3743
|
+
declare const AllowlistChangeStatusSchema: GenEnum<AllowlistChangeStatus>;
|
|
3744
|
+
/**
|
|
3745
|
+
* AllowlistChangeFailure is why a change ended NOT_APPLIED.
|
|
3746
|
+
*
|
|
3747
|
+
* @generated from enum swap.quickswap.v1.AllowlistChangeFailure
|
|
3748
|
+
*/
|
|
3749
|
+
declare enum AllowlistChangeFailure {
|
|
3750
|
+
/**
|
|
3751
|
+
* The change is not NOT_APPLIED.
|
|
3752
|
+
*
|
|
3753
|
+
* @generated from enum value: ALLOWLIST_CHANGE_FAILURE_UNSPECIFIED = 0;
|
|
3754
|
+
*/
|
|
3755
|
+
ALLOWLIST_CHANGE_FAILURE_UNSPECIFIED = 0,
|
|
3756
|
+
/**
|
|
3757
|
+
* The change could not be applied before its expires_at.
|
|
3758
|
+
*
|
|
3759
|
+
* @generated from enum value: TIMED_OUT = 1;
|
|
3760
|
+
*/
|
|
3761
|
+
TIMED_OUT = 1,
|
|
3762
|
+
/**
|
|
3763
|
+
* REMOVE_DESTINATION only: the destination was no longer on the
|
|
3764
|
+
* allowlist when the change was applied.
|
|
3765
|
+
*
|
|
3766
|
+
* @generated from enum value: NOT_LISTED_ON_CHAIN = 2;
|
|
3767
|
+
*/
|
|
3768
|
+
NOT_LISTED_ON_CHAIN = 2,
|
|
3769
|
+
/**
|
|
3770
|
+
* ADD_DESTINATION only: the allowlist already held 50 destinations on the
|
|
3771
|
+
* destination's network when the change was applied.
|
|
3772
|
+
*
|
|
3773
|
+
* @generated from enum value: LIMIT_REACHED = 3;
|
|
3774
|
+
*/
|
|
3775
|
+
LIMIT_REACHED = 3,
|
|
3776
|
+
/**
|
|
3777
|
+
* The requesting member no longer held the Owner or Finance role, under
|
|
3778
|
+
* the same grant, when the change was applied.
|
|
3779
|
+
*
|
|
3780
|
+
* @generated from enum value: REQUESTER_NO_LONGER_ALLOWED = 4;
|
|
3781
|
+
*/
|
|
3782
|
+
REQUESTER_NO_LONGER_ALLOWED = 4,
|
|
3783
|
+
/**
|
|
3784
|
+
* The change was refused for another reason.
|
|
3785
|
+
*
|
|
3786
|
+
* @generated from enum value: REFUSED = 5;
|
|
3787
|
+
*/
|
|
3788
|
+
REFUSED = 5
|
|
3789
|
+
}
|
|
3790
|
+
/**
|
|
3791
|
+
* Describes the enum swap.quickswap.v1.AllowlistChangeFailure.
|
|
3792
|
+
*/
|
|
3793
|
+
declare const AllowlistChangeFailureSchema: GenEnum<AllowlistChangeFailure>;
|
|
2876
3794
|
/**
|
|
2877
3795
|
* QuickSwapBrokerService administers a broker org, over ConnectRPC and REST.
|
|
2878
3796
|
* Every request names its broker. The caller is either the broker's API key,
|
|
@@ -2882,13 +3800,15 @@ declare const PayoutStepStateSchema: GenEnum<PayoutStepState>;
|
|
|
2882
3800
|
*
|
|
2883
3801
|
* | Action | Owner | Admin | Finance | Affiliate manager | Viewer | API key |
|
|
2884
3802
|
* | --- | --- | --- | --- | --- | --- | --- |
|
|
2885
|
-
* | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats, ListVaultBalances, ListPayouts, GetPayout, ListUpcomingPayouts, ListVaultPayoutRules) | yes | yes | yes | yes | yes | yes, except ListMembers |
|
|
3803
|
+
* | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats, ListVaultBalances, ListPayouts, GetPayout, ListUpcomingPayouts, ListVaultPayoutRules, ListVaultAllowlist, ListVaultAllowlistChanges) | yes | yes | yes | yes | yes | yes, except ListMembers |
|
|
2886
3804
|
* | Create vaults (CreateAffiliateVault, SetVaultStatus) | yes | yes | no | yes | no | yes |
|
|
2887
3805
|
* | Manage keys (CreateKey, RotateKey, RevokeKey) | yes | yes | no | no | no | RotateKey of itself only |
|
|
2888
3806
|
* | Manage members (InviteMember, SetMemberRole, RemoveMember) | yes | yes, never the Owner | no | no | no | no |
|
|
2889
3807
|
* | Transfer ownership | yes | no | no | no | no | no |
|
|
3808
|
+
* | Manage the payout address allowlist (RequestVaultAllowlistChange) | yes | no | yes | no | no | no |
|
|
2890
3809
|
*
|
|
2891
|
-
* A member managing keys
|
|
3810
|
+
* A member managing keys, members or the payout address allowlist must also
|
|
3811
|
+
* send a fresh step-up proof in
|
|
2892
3812
|
* the X-Auth-Step-Up header, obtained by completing an MFA challenge for
|
|
2893
3813
|
* fresh step-up; each proof authorizes one change. Reads, vaults and a key
|
|
2894
3814
|
* rotating itself need none. A denied action fails with PERMISSION_DENIED /
|
|
@@ -3303,7 +4223,92 @@ declare const QuickSwapBrokerService: GenService<{
|
|
|
3303
4223
|
input: typeof ListVaultPayoutRulesRequestSchema;
|
|
3304
4224
|
output: typeof ListVaultPayoutRulesResponseSchema;
|
|
3305
4225
|
};
|
|
4226
|
+
/**
|
|
4227
|
+
* ListVaultLedger lists the movements of the broker's vaults' funds,
|
|
4228
|
+
* newest first: each fee a QuickSwap credited, each payout that left a
|
|
4229
|
+
* vault with how it ended, and each refund of a rejected payout to the
|
|
4230
|
+
* vault's smart account. It carries no running balance; read the current
|
|
4231
|
+
* balance with ListVaultBalances. Every broker role and the broker's API
|
|
4232
|
+
* keys can read, without step-up.
|
|
4233
|
+
*
|
|
4234
|
+
* Errors:
|
|
4235
|
+
* - NOT_FOUND: BROKER_NOT_FOUND, or VAULT_NOT_FOUND for a vault that is
|
|
4236
|
+
* not the broker's.
|
|
4237
|
+
* - INVALID_ARGUMENT: a page_token from another broker, other filters or
|
|
4238
|
+
* malformed.
|
|
4239
|
+
* - UNAVAILABLE: the ledger cannot be read; retry the same request.
|
|
4240
|
+
*
|
|
4241
|
+
* @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultLedger
|
|
4242
|
+
*/
|
|
4243
|
+
listVaultLedger: {
|
|
4244
|
+
methodKind: "unary";
|
|
4245
|
+
input: typeof ListVaultLedgerRequestSchema;
|
|
4246
|
+
output: typeof ListVaultLedgerResponseSchema;
|
|
4247
|
+
};
|
|
4248
|
+
/**
|
|
4249
|
+
* ListVaultAllowlist reads one vault's payout address allowlist: the
|
|
4250
|
+
* destinations its payouts and withdrawals may pay, each with when it
|
|
4251
|
+
* becomes payable. A destination is payable 24 hours after it is listed.
|
|
4252
|
+
* Every broker role and the broker's API keys can read, without step-up.
|
|
4253
|
+
*
|
|
4254
|
+
* Errors:
|
|
4255
|
+
* - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.
|
|
4256
|
+
* - UNAVAILABLE: the allowlist or the vault's payout rule cannot be read;
|
|
4257
|
+
* no partial list is returned.
|
|
4258
|
+
*
|
|
4259
|
+
* @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultAllowlist
|
|
4260
|
+
*/
|
|
4261
|
+
listVaultAllowlist: {
|
|
4262
|
+
methodKind: "unary";
|
|
4263
|
+
input: typeof ListVaultAllowlistRequestSchema;
|
|
4264
|
+
output: typeof ListVaultAllowlistResponseSchema;
|
|
4265
|
+
};
|
|
4266
|
+
/**
|
|
4267
|
+
* ListVaultAllowlistChanges lists one vault's payout address allowlist
|
|
4268
|
+
* changes, newest first, pending ones included. Every broker role and the
|
|
4269
|
+
* broker's API keys can read, without step-up.
|
|
4270
|
+
*
|
|
4271
|
+
* Errors:
|
|
4272
|
+
* - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.
|
|
4273
|
+
* - INVALID_ARGUMENT: a page_token from another broker or vault, or
|
|
4274
|
+
* malformed.
|
|
4275
|
+
*
|
|
4276
|
+
* @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultAllowlistChanges
|
|
4277
|
+
*/
|
|
4278
|
+
listVaultAllowlistChanges: {
|
|
4279
|
+
methodKind: "unary";
|
|
4280
|
+
input: typeof ListVaultAllowlistChangesRequestSchema;
|
|
4281
|
+
output: typeof ListVaultAllowlistChangesResponseSchema;
|
|
4282
|
+
};
|
|
4283
|
+
/**
|
|
4284
|
+
* RequestVaultAllowlistChange asks to add one destination to, or remove
|
|
4285
|
+
* one from, a vault's payout address allowlist. Only Owner and Finance
|
|
4286
|
+
* members can, each change with its own fresh step-up proof. The change
|
|
4287
|
+
* is returned PENDING; ListVaultAllowlistChanges shows how it ends. A
|
|
4288
|
+
* vault has at most one pending change. An added
|
|
4289
|
+
* destination becomes payable 24 hours after it is listed
|
|
4290
|
+
* (VaultAllowlistEntry.payable_from).
|
|
4291
|
+
*
|
|
4292
|
+
* Errors:
|
|
4293
|
+
* - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND;
|
|
4294
|
+
* ALLOWLIST_DESTINATION_NOT_LISTED for a removal.
|
|
4295
|
+
* - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.
|
|
4296
|
+
* - INVALID_ARGUMENT: ALLOWLIST_DESTINATION_INVALID, or a label on a
|
|
4297
|
+
* removal or with leading or trailing whitespace.
|
|
4298
|
+
* - ALREADY_EXISTS: ALLOWLIST_DESTINATION_EXISTS.
|
|
4299
|
+
* - FAILED_PRECONDITION: ALLOWLIST_FULL, ALLOWLIST_DESTINATION_IN_USE,
|
|
4300
|
+
* ALLOWLIST_CHANGE_PENDING or VAULT_ALLOWLIST_NOT_READY.
|
|
4301
|
+
* - UNAVAILABLE: outcome unknown; read ListVaultAllowlistChanges before
|
|
4302
|
+
* requesting again.
|
|
4303
|
+
*
|
|
4304
|
+
* @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RequestVaultAllowlistChange
|
|
4305
|
+
*/
|
|
4306
|
+
requestVaultAllowlistChange: {
|
|
4307
|
+
methodKind: "unary";
|
|
4308
|
+
input: typeof RequestVaultAllowlistChangeRequestSchema;
|
|
4309
|
+
output: typeof RequestVaultAllowlistChangeResponseSchema;
|
|
4310
|
+
};
|
|
3306
4311
|
}>;
|
|
3307
4312
|
//#endregion
|
|
3308
|
-
export { AffiliateVault, AffiliateVaultSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker, quickswap_broker_pb_d_exports };
|
|
4313
|
+
export { AffiliateVault, AffiliateVaultSchema, AllowlistAction, AllowlistActionSchema, AllowlistChangeFailure, AllowlistChangeFailureSchema, AllowlistChangeStatus, AllowlistChangeStatusSchema, AssetVolume, AssetVolumeSchema, AssetWithoutDestination, AssetWithoutDestinationSchema, Broker, BrokerKey, BrokerKeySchema, BrokerRole, BrokerRoleSchema, BrokerSchema, BrokerStatsPeriod, BrokerStatsPeriodSchema, BrokerUsage, BrokerUsageSchema, CreateAffiliateVaultRequest, CreateAffiliateVaultRequestSchema, CreateAffiliateVaultResponse, CreateAffiliateVaultResponseSchema, CreateKeyRequest, CreateKeyRequestSchema, CreateKeyResponse, CreateKeyResponseSchema, FeeSplit, FeeSplitSchema, FeeTotal, FeeTotalSchema, FeeTotalsGrouping, FeeTotalsGroupingSchema, GetBrokerRequest, GetBrokerRequestSchema, GetBrokerResponse, GetBrokerResponseSchema, GetBrokerStatsRequest, GetBrokerStatsRequestSchema, GetBrokerStatsResponse, GetBrokerStatsResponseSchema, GetFeeTotalsRequest, GetFeeTotalsRequestSchema, GetFeeTotalsResponse, GetFeeTotalsResponseSchema, GetPayoutRequest, GetPayoutRequestSchema, GetPayoutResponse, GetPayoutResponseSchema, GetVaultRequest, GetVaultRequestSchema, GetVaultResponse, GetVaultResponseSchema, Invite, InviteMemberRequest, InviteMemberRequestSchema, InviteMemberResponse, InviteMemberResponseSchema, InviteSchema, ListKeysRequest, ListKeysRequestSchema, ListKeysResponse, ListKeysResponseSchema, ListMembersRequest, ListMembersRequestSchema, ListMembersResponse, ListMembersResponseSchema, ListMyBrokersRequest, ListMyBrokersRequestSchema, ListMyBrokersResponse, ListMyBrokersResponseSchema, ListPayoutsRequest, ListPayoutsRequestSchema, ListPayoutsResponse, ListPayoutsResponseSchema, ListQuickSwapsRequest, ListQuickSwapsRequestSchema, ListQuickSwapsResponse, ListQuickSwapsResponseSchema, ListUpcomingPayoutsRequest, ListUpcomingPayoutsRequestSchema, ListUpcomingPayoutsResponse, ListUpcomingPayoutsResponseSchema, ListVaultAllowlistChangesRequest, ListVaultAllowlistChangesRequestSchema, ListVaultAllowlistChangesResponse, ListVaultAllowlistChangesResponseSchema, ListVaultAllowlistRequest, ListVaultAllowlistRequestSchema, ListVaultAllowlistResponse, ListVaultAllowlistResponseSchema, ListVaultBalancesRequest, ListVaultBalancesRequestSchema, ListVaultBalancesResponse, ListVaultBalancesResponseSchema, ListVaultLedgerRequest, ListVaultLedgerRequestSchema, ListVaultLedgerResponse, ListVaultLedgerResponseSchema, ListVaultPayoutRulesRequest, ListVaultPayoutRulesRequestSchema, ListVaultPayoutRulesResponse, ListVaultPayoutRulesResponseSchema, ListVaultsRequest, ListVaultsRequestSchema, ListVaultsResponse, ListVaultsResponseSchema, Member, MemberSchema, Membership, MembershipSchema, Payout, PayoutClose, PayoutCloseSchema, PayoutRuleDestination, PayoutRuleDestinationSchema, PayoutSchema, PayoutStage, PayoutStageSchema, PayoutStatus, PayoutStatusSchema, PayoutStep, PayoutStepSchema, PayoutStepState, PayoutStepStateSchema, QuickSwapBrokerService, QuickSwapBrokerServiceGetQuickSwapRequest, QuickSwapBrokerServiceGetQuickSwapRequestSchema, QuickSwapBrokerServiceGetQuickSwapResponse, QuickSwapBrokerServiceGetQuickSwapResponseSchema, QuickSwapSummary, QuickSwapSummarySchema, RemoveMemberRequest, RemoveMemberRequestSchema, RemoveMemberResponse, RemoveMemberResponseSchema, RequestVaultAllowlistChangeRequest, RequestVaultAllowlistChangeRequestSchema, RequestVaultAllowlistChangeResponse, RequestVaultAllowlistChangeResponseSchema, RespondToInviteRequest, RespondToInviteRequestSchema, RespondToInviteResponse, RespondToInviteResponseSchema, RevokeKeyRequest, RevokeKeyRequestSchema, RevokeKeyResponse, RevokeKeyResponseSchema, RotateKeyRequest, RotateKeyRequestSchema, RotateKeyResponse, RotateKeyResponseSchema, SetMemberRoleRequest, SetMemberRoleRequestSchema, SetMemberRoleResponse, SetMemberRoleResponseSchema, SetVaultStatusRequest, SetVaultStatusRequestSchema, SetVaultStatusResponse, SetVaultStatusResponseSchema, StatsPeriod, StatsPeriodSchema, StatusCount, StatusCountSchema, TransferOwnershipRequest, TransferOwnershipRequestSchema, TransferOwnershipResponse, TransferOwnershipResponseSchema, UpcomingPayout, UpcomingPayoutAsset, UpcomingPayoutAssetSchema, UpcomingPayoutSchema, VaultAllowlistChange, VaultAllowlistChangeSchema, VaultAllowlistEntry, VaultAllowlistEntrySchema, VaultAssetBalance, VaultAssetBalanceSchema, VaultBalance, VaultBalanceSchema, VaultLedgerEntry, VaultLedgerEntryKind, VaultLedgerEntryKindSchema, VaultLedgerEntrySchema, VaultLedgerFeeCredit, VaultLedgerFeeCreditSchema, VaultLedgerPayoutDebit, VaultLedgerPayoutDebitSchema, VaultLedgerPayoutRefund, VaultLedgerPayoutRefundSchema, VaultPayoutRule, VaultPayoutRuleSchema, VaultStatus, VaultStatusSchema, file_swap_quickswap_v1_quickswap_broker, quickswap_broker_pb_d_exports };
|
|
3309
4314
|
//# sourceMappingURL=quickswap_broker_pb.d.ts.map
|