import { Message } from "@bufbuild/protobuf"; import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { Timestamp } from "@bufbuild/protobuf/wkt"; declare namespace vip_pb_d_exports { export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip }; } /** * Describes the file vip/v1/vip.proto. */ declare const file_vip_v1_vip: GenFile; /** * VIPTier describes one row in a complete VIP0 through VIP10 policy catalog. * * @generated from message vip.v1.VIPTier */ type VIPTier = Message<"vip.v1.VIPTier"> & { /** * Numeric VIP tier in the inclusive range 0 through 10. * * @generated from field: uint32 tier = 1; */ tier: number; /** * Rolling 30-day settled spot volume entry threshold in USD, encoded as a * non-negative base-10 decimal string without separators or a currency * symbol. * * @generated from field: string volume_threshold_usd = 2; */ volumeThresholdUsd: string; /** * Rolling 30-day average portfolio value entry threshold in USD, encoded as * a positive base-10 decimal string without separators or a currency symbol. * Omitted for VIP0, which has no average portfolio value entry threshold. * * @generated from field: optional string aop_threshold_usd = 3; */ aopThresholdUsd?: string | undefined; /** * Absolute maker fee rate before symbol-specific adjustments, encoded as a * base-10 percentage string without a percent sign. Values are between * -100 and 100 inclusive. * * @generated from field: string maker_fee_rate_percent = 4; */ makerFeeRatePercent: string; /** * Absolute taker fee rate before symbol-specific adjustments, encoded as a * non-negative base-10 percentage string without a percent sign. Values are * between 0 and 100 inclusive. * * @generated from field: string taker_fee_rate_percent = 5; */ takerFeeRatePercent: string; }; /** * Describes the message vip.v1.VIPTier. * Use `create(VIPTierSchema)` to create a new message. */ declare const VIPTierSchema: GenMessage; /** * ListVIPTiersRequest requests the complete active VIP tier catalog. * * @generated from message vip.v1.ListVIPTiersRequest */ type ListVIPTiersRequest = Message<"vip.v1.ListVIPTiersRequest"> & {}; /** * Describes the message vip.v1.ListVIPTiersRequest. * Use `create(ListVIPTiersRequestSchema)` to create a new message. */ declare const ListVIPTiersRequestSchema: GenMessage; /** * ListVIPTiersResponse contains one complete, immutable VIP policy version. * * @generated from message vip.v1.ListVIPTiersResponse */ type ListVIPTiersResponse = Message<"vip.v1.ListVIPTiersResponse"> & { /** * Positive identifier of the returned VIP policy version. * * @generated from field: uint64 policy_version = 1; */ policyVersion: bigint; /** * UTC time at which this policy version became effective. * * @generated from field: google.protobuf.Timestamp effective_from = 2; */ effectiveFrom?: Timestamp | undefined; /** * Average portfolio value retention threshold in basis points. One basis * point is 0.01%; valid values are 1 through 10000. * * @generated from field: uint32 retention_threshold_bp = 3; */ retentionThresholdBp: number; /** * Complete VIP0 through VIP10 catalog ordered by tier ascending. This is a * naturally bounded 11-row snapshot and is not paginated. * * @generated from field: repeated vip.v1.VIPTier tiers = 4; */ tiers: VIPTier[]; }; /** * Describes the message vip.v1.ListVIPTiersResponse. * Use `create(ListVIPTiersResponseSchema)` to create a new message. */ declare const ListVIPTiersResponseSchema: GenMessage; /** * NextVIPTierThresholds contains the entry thresholds for the tier immediately * above the caller's effective tier. * * @generated from message vip.v1.NextVIPTierThresholds */ type NextVIPTierThresholds = Message<"vip.v1.NextVIPTierThresholds"> & { /** * Numeric next tier in the inclusive range 1 through 10. * * @generated from field: uint32 tier = 1; */ tier: number; /** * Rolling 30-day settled spot volume entry threshold in USD, encoded as a * non-negative base-10 decimal string without separators or a currency * symbol. * * @generated from field: string volume_threshold_usd = 2; */ volumeThresholdUsd: string; /** * Rolling 30-day average portfolio value entry threshold in USD, encoded as * a positive base-10 decimal string without separators or a currency symbol. * * @generated from field: string aop_threshold_usd = 3; */ aopThresholdUsd: string; }; /** * Describes the message vip.v1.NextVIPTierThresholds. * Use `create(NextVIPTierThresholdsSchema)` to create a new message. */ declare const NextVIPTierThresholdsSchema: GenMessage; /** * GetVIPStatusRequest requests VIP status for the authenticated caller's root * account. All subaccounts inherit that root status, so this request has no * subaccount selector. * * @generated from message vip.v1.GetVIPStatusRequest */ type GetVIPStatusRequest = Message<"vip.v1.GetVIPStatusRequest"> & {}; /** * Describes the message vip.v1.GetVIPStatusRequest. * Use `create(GetVIPStatusRequestSchema)` to create a new message. */ declare const GetVIPStatusRequestSchema: GenMessage; /** * GetVIPStatusResponse contains the authenticated caller-root VIP assignment * and the qualification facts available for that assignment. * * @generated from message vip.v1.GetVIPStatusResponse */ type GetVIPStatusResponse = Message<"vip.v1.GetVIPStatusResponse"> & { /** * Effective VIP tier in the inclusive range 0 through 10. * * @generated from field: uint32 tier = 1; */ tier: number; /** * Tier earned from rolling 30-day settled spot volume, in the inclusive * range 0 through 10. * * @generated from field: uint32 volume_tier = 2; */ volumeTier: number; /** * Tier earned from rolling 30-day average portfolio value, in the inclusive * range 0 through 10. * * @generated from field: uint32 aop_tier = 3; */ aopTier: number; /** * Rolling 30-day settled spot volume in USD, encoded as a non-negative * base-10 decimal string without separators or a currency symbol. Omitted * when complete qualification metrics are unavailable for the assignment. * * @generated from field: optional string settled_volume_30d_usd = 4; */ settledVolume30dUsd?: string | undefined; /** * Rolling 30-day average portfolio value in USD, encoded as a non-negative * base-10 decimal string without separators or a currency symbol. Omitted * when complete qualification metrics are unavailable for the assignment. * * @generated from field: optional string average_aop_30d_usd = 5; */ averageAop30dUsd?: string | undefined; /** * Positive identifier of the VIP policy used for this assignment. * * @generated from field: uint64 policy_version = 6; */ policyVersion: bigint; /** * UTC time at which the selected assignment policy became effective. * * @generated from field: google.protobuf.Timestamp policy_effective_from = 7; */ policyEffectiveFrom?: Timestamp | undefined; /** * UTC time from which the explicit VIP assignment is effective. Omitted * while a new account is using the default VIP0 tier. * * @generated from field: optional google.protobuf.Timestamp effective_from = 8; */ effectiveFrom?: Timestamp | undefined; /** * UTC time at which the explicit assignment was evaluated. Omitted while a * new account is using the default VIP0 tier. * * @generated from field: optional google.protobuf.Timestamp evaluated_at = 9; */ evaluatedAt?: Timestamp | undefined; /** * UTC cutoff of the rolling metrics used for this assignment. Omitted when * complete qualification metrics are unavailable. * * @generated from field: optional google.protobuf.Timestamp metrics_as_of = 10; */ metricsAsOf?: Timestamp | undefined; /** * Entry thresholds for the tier immediately above the effective tier. * Omitted when the effective tier is VIP10. * * @generated from field: optional vip.v1.NextVIPTierThresholds next_tier_thresholds = 11; */ nextTierThresholds?: NextVIPTierThresholds | undefined; }; /** * Describes the message vip.v1.GetVIPStatusResponse. * Use `create(GetVIPStatusResponseSchema)` to create a new message. */ declare const GetVIPStatusResponseSchema: GenMessage; /** * VIPService serves public VIP policy reference data and the authenticated * caller-root qualification status. * * @generated from service vip.v1.VIPService */ declare const VIPService: GenService<{ /** * List the complete active VIP0 through VIP10 tier catalog in ascending tier * order. * * @generated from rpc vip.v1.VIPService.ListVIPTiers */ listVIPTiers: { methodKind: "unary"; input: typeof ListVIPTiersRequestSchema; output: typeof ListVIPTiersResponseSchema; }; /** * Get VIP qualification status for the authenticated caller's root account. * * @generated from rpc vip.v1.VIPService.GetVIPStatus */ getVIPStatus: { methodKind: "unary"; input: typeof GetVIPStatusRequestSchema; output: typeof GetVIPStatusResponseSchema; }; }>; //#endregion export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip, vip_pb_d_exports }; //# sourceMappingURL=vip_pb.d.ts.map