import { Side } from "../../orders/v1/orders_pb.js"; import { Message } from "@bufbuild/protobuf"; import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { Timestamp } from "@bufbuild/protobuf/wkt"; declare namespace checkpoints_pb_d_exports { export { AssetAmount, AssetAmountSchema, BiggestTrade, BiggestTradeSchema, ChainFlow, ChainFlowSchema, Checkpoint, CheckpointBadge, CheckpointBadgeSchema, CheckpointField, CheckpointFieldSchema, CheckpointSchema, CheckpointService, EarnedBadge, EarnedBadgeSchema, FlowTotal, FlowTotalSchema, FundingDay, FundingDaySchema, FundingFlowSummary, FundingFlowSummarySchema, ListMyCheckpointsRequest, ListMyCheckpointsRequestSchema, ListMyCheckpointsResponse, ListMyCheckpointsResponseSchema, OrderToolCounts, OrderToolCountsSchema, OrderTypeCounts, OrderTypeCountsSchema, PairActivity, PairActivitySchema, PortfolioValuePoint, PortfolioValuePointSchema, TimeInForceCounts, TimeInForceCountsSchema, VIPTierChange, VIPTierChangeSchema, VolumePoint, VolumePointSchema, WeekdayTrades, WeekdayTradesSchema, file_checkpoints_v1_checkpoints }; } /** * Describes the file checkpoints/v1/checkpoints.proto. */ declare const file_checkpoints_v1_checkpoints: GenFile; /** * VolumePoint is the trading activity of one UTC day. * * @generated from message checkpoints.v1.VolumePoint */ type VolumePoint = Message<"checkpoints.v1.VolumePoint"> & { /** * UTC midnight that starts the day. * * @generated from field: google.protobuf.Timestamp day = 1; */ day?: Timestamp | undefined; /** * Settled trading volume of the day in USD, encoded as a non-negative * base-10 decimal string without separators or a currency symbol. * * @generated from field: string usd = 2; */ usd: string; /** * True when the day's volume is a lower bound because some of its trades * could not be valued. * * @generated from field: bool approximate = 3; */ approximate: boolean; /** * Number of trade fills on the day, including fills against the account's * own orders, which add no volume. * * @generated from field: uint64 trades = 4; */ trades: bigint; }; /** * Describes the message checkpoints.v1.VolumePoint. * Use `create(VolumePointSchema)` to create a new message. */ declare const VolumePointSchema: GenMessage; /** * PortfolioValuePoint is the account's portfolio value at the end of one hour. * * @generated from message checkpoints.v1.PortfolioValuePoint */ type PortfolioValuePoint = Message<"checkpoints.v1.PortfolioValuePoint"> & { /** * UTC start of the hour. * * @generated from field: google.protobuf.Timestamp hour = 1; */ hour?: Timestamp | undefined; /** * Portfolio value in USD, encoded as a base-10 decimal string without * separators or a currency symbol. * * @generated from field: string usd = 2; */ usd: string; /** * True when this value is approximate because some holdings could not be * valued at that hour. * * @generated from field: bool approximate = 3; */ approximate: boolean; }; /** * Describes the message checkpoints.v1.PortfolioValuePoint. * Use `create(PortfolioValuePointSchema)` to create a new message. */ declare const PortfolioValuePointSchema: GenMessage; /** * WeekdayTrades counts trade fills on one UTC weekday by UTC hour. * * @generated from message checkpoints.v1.WeekdayTrades */ type WeekdayTrades = Message<"checkpoints.v1.WeekdayTrades"> & { /** * Exactly 24 counts, one per UTC hour of the day from 0 through 23. * * @generated from field: repeated uint64 hours = 1; */ hours: bigint[]; }; /** * Describes the message checkpoints.v1.WeekdayTrades. * Use `create(WeekdayTradesSchema)` to create a new message. */ declare const WeekdayTradesSchema: GenMessage; /** * PairActivity is the season activity on one spot market. * * @generated from message checkpoints.v1.PairActivity */ type PairActivity = Message<"checkpoints.v1.PairActivity"> & { /** * Stable numeric spot market identifier. * * @generated from field: uint32 symbol_id = 1; */ symbolId: number; /** * Display symbol of the market, for example BTC-USDT. Empty when the market * is no longer listed. * * @generated from field: string symbol = 2; */ symbol: string; /** * Season trading volume on this market in USD, encoded as a non-negative * base-10 decimal string without separators or a currency symbol. * * @generated from field: string volume_usd = 3; */ volumeUsd: string; /** * Number of trade fills on this market. * * @generated from field: uint64 trades = 4; */ trades: bigint; }; /** * Describes the message checkpoints.v1.PairActivity. * Use `create(PairActivitySchema)` to create a new message. */ declare const PairActivitySchema: GenMessage; /** * BiggestTrade identifies the season's largest trade fill by USD value. * * @generated from message checkpoints.v1.BiggestTrade */ type BiggestTrade = Message<"checkpoints.v1.BiggestTrade"> & { /** * Stable numeric spot market identifier. * * @generated from field: uint32 symbol_id = 1; */ symbolId: number; /** * Display symbol of the market, for example BTC-USDT. Empty when the market * is no longer listed. * * @generated from field: string symbol = 2; */ symbol: string; /** * The account's side of the fill. * * @generated from field: orders.v1.Side side = 3; */ side: Side; /** * UTC time of the fill. * * @generated from field: google.protobuf.Timestamp at = 4; */ at?: Timestamp | undefined; }; /** * Describes the message checkpoints.v1.BiggestTrade. * Use `create(BiggestTradeSchema)` to create a new message. */ declare const BiggestTradeSchema: GenMessage; /** * OrderTypeCounts counts placed orders by order type. * * @generated from message checkpoints.v1.OrderTypeCounts */ type OrderTypeCounts = Message<"checkpoints.v1.OrderTypeCounts"> & { /** * Limit orders. * * @generated from field: uint64 limit = 1; */ limit: bigint; /** * Market orders. * * @generated from field: uint64 market = 2; */ market: bigint; }; /** * Describes the message checkpoints.v1.OrderTypeCounts. * Use `create(OrderTypeCountsSchema)` to create a new message. */ declare const OrderTypeCountsSchema: GenMessage; /** * TimeInForceCounts counts placed orders by time in force. * * @generated from message checkpoints.v1.TimeInForceCounts */ type TimeInForceCounts = Message<"checkpoints.v1.TimeInForceCounts"> & { /** * Good-till-canceled orders. * * @generated from field: uint64 gtc = 1; */ gtc: bigint; /** * Immediate-or-cancel orders. * * @generated from field: uint64 ioc = 2; */ ioc: bigint; /** * Fill-or-kill orders. * * @generated from field: uint64 fok = 3; */ fok: bigint; /** * Good-till-date orders. * * @generated from field: uint64 gtd = 4; */ gtd: bigint; }; /** * Describes the message checkpoints.v1.TimeInForceCounts. * Use `create(TimeInForceCountsSchema)` to create a new message. */ declare const TimeInForceCountsSchema: GenMessage; /** * OrderToolCounts counts distinct uses of each order tool. One strategy that * generates several orders counts once. * * @generated from message checkpoints.v1.OrderToolCounts */ type OrderToolCounts = Message<"checkpoints.v1.OrderToolCounts"> & { /** * Stop-loss uses. * * @generated from field: uint64 stop_loss = 1; */ stopLoss: bigint; /** * Take-profit uses. * * @generated from field: uint64 take_profit = 2; */ takeProfit: bigint; /** * Trailing-stop uses. * * @generated from field: uint64 trailing_stop = 3; */ trailingStop: bigint; /** * TWAP uses. * * @generated from field: uint64 twap = 4; */ twap: bigint; /** * Ladder uses. * * @generated from field: uint64 ladder = 5; */ ladder: bigint; }; /** * Describes the message checkpoints.v1.OrderToolCounts. * Use `create(OrderToolCountsSchema)` to create a new message. */ declare const OrderToolCountsSchema: GenMessage; /** * VIPTierChange is a VIP tier in effect from one UTC date of the season. * * @generated from message checkpoints.v1.VIPTierChange */ type VIPTierChange = Message<"checkpoints.v1.VIPTierChange"> & { /** * UTC date from which the tier applies, formatted as YYYY-MM-DD. * * @generated from field: string date = 1; */ date: string; /** * VIP tier in the inclusive range 0 through 10. * * @generated from field: uint32 tier = 2; */ tier: number; }; /** * Describes the message checkpoints.v1.VIPTierChange. * Use `create(VIPTierChangeSchema)` to create a new message. */ declare const VIPTierChangeSchema: GenMessage; /** * EarnedBadge is a badge and when it was earned. * * @generated from message checkpoints.v1.EarnedBadge */ type EarnedBadge = Message<"checkpoints.v1.EarnedBadge"> & { /** * The badge. * * @generated from field: checkpoints.v1.CheckpointBadge badge = 1; */ badge: CheckpointBadge; /** * UTC time the badge's threshold was first crossed, within the season. * * @generated from field: google.protobuf.Timestamp earned_at = 2; */ earnedAt?: Timestamp | undefined; }; /** * Describes the message checkpoints.v1.EarnedBadge. * Use `create(EarnedBadgeSchema)` to create a new message. */ declare const EarnedBadgeSchema: GenMessage; /** * AssetAmount is a total of one asset. * * @generated from message checkpoints.v1.AssetAmount */ type AssetAmount = Message<"checkpoints.v1.AssetAmount"> & { /** * Asset symbol, for example USDT. * * @generated from field: string asset = 1; */ asset: string; /** * Amount in whole asset units, encoded as a base-10 decimal string without * separators. * * @generated from field: string amount = 2; */ amount: string; /** * USD value, encoded as a base-10 decimal string without separators or a * currency symbol. Omitted when the asset had no USD price at the required * time, and always when excluded_from_value is true. * * @generated from field: optional string usd = 3; */ usd?: string | undefined; /** * True when the asset does not count toward account value, for example a * test token that cannot be traded. It is listed by amount only, has no * USD value and is left out of every USD total, which it never makes * approximate or omitted. * * @generated from field: bool excluded_from_value = 4; */ excludedFromValue: boolean; }; /** * Describes the message checkpoints.v1.AssetAmount. * Use `create(AssetAmountSchema)` to create a new message. */ declare const AssetAmountSchema: GenMessage; /** * FlowTotal counts operations and sums their USD values, each valued when it * happened. * * @generated from message checkpoints.v1.FlowTotal */ type FlowTotal = Message<"checkpoints.v1.FlowTotal"> & { /** * Number of operations, including operations in assets excluded from * value. * * @generated from field: uint64 count = 1; */ count: bigint; /** * USD total over assets that count toward account value, encoded as a * non-negative base-10 decimal string without separators or a currency * symbol. Assets excluded from value add nothing. Omitted when any other * operation had no USD value. * * @generated from field: optional string usd = 2; */ usd?: string | undefined; }; /** * Describes the message checkpoints.v1.FlowTotal. * Use `create(FlowTotalSchema)` to create a new message. */ declare const FlowTotalSchema: GenMessage; /** * ChainFlow is the deposits or withdrawals on one Polyester Chain. * * @generated from message checkpoints.v1.ChainFlow */ type ChainFlow = Message<"checkpoints.v1.ChainFlow"> & { /** * Polyester Chain id. * * @generated from field: uint32 polyester_chain_id = 1; */ polyesterChainId: number; /** * Display name of the chain, for example Ethereum Sepolia. Empty when the * chain is not in the current chain catalog. * * @generated from field: string chain_name = 2; */ chainName: string; /** * Number of operations and their USD total on this chain. * * @generated from field: checkpoints.v1.FlowTotal total = 3; */ total?: FlowTotal | undefined; }; /** * Describes the message checkpoints.v1.ChainFlow. * Use `create(ChainFlowSchema)` to create a new message. */ declare const ChainFlowSchema: GenMessage; /** * FundingFlowSummary summarizes successful deposits or withdrawals. * * @generated from message checkpoints.v1.FundingFlowSummary */ type FundingFlowSummary = Message<"checkpoints.v1.FundingFlowSummary"> & { /** * Number of successful operations. * * @generated from field: uint64 count = 1; */ count: bigint; /** * Operations per chain, by polyester_chain_id ascending. Operations without * a known chain are counted only in count. * * @generated from field: repeated checkpoints.v1.ChainFlow chains = 2; */ chains: ChainFlow[]; /** * Totals per asset, by asset ascending, each valued in USD when it was * made. Assets excluded from value are listed by amount only. * * @generated from field: repeated checkpoints.v1.AssetAmount amounts = 3; */ amounts: AssetAmount[]; }; /** * Describes the message checkpoints.v1.FundingFlowSummary. * Use `create(FundingFlowSummarySchema)` to create a new message. */ declare const FundingFlowSummarySchema: GenMessage; /** * FundingDay is the deposit and withdrawal value of one UTC day, over assets * that count toward account value; assets excluded from value add nothing. * * @generated from message checkpoints.v1.FundingDay */ type FundingDay = Message<"checkpoints.v1.FundingDay"> & { /** * UTC date, formatted as YYYY-MM-DD. * * @generated from field: string date = 1; */ date: string; /** * USD value of the day's deposits, encoded as a non-negative base-10 * decimal string without separators or a currency symbol; "0" without a * deposit. Omitted when a deposit had no USD value. * * @generated from field: optional string deposit_usd = 2; */ depositUsd?: string | undefined; /** * USD value of the day's withdrawals, encoded as a non-negative base-10 * decimal string without separators or a currency symbol; "0" without a * withdrawal. Omitted when a withdrawal had no USD value. * * @generated from field: optional string withdrawal_usd = 3; */ withdrawalUsd?: string | undefined; }; /** * Describes the message checkpoints.v1.FundingDay. * Use `create(FundingDaySchema)` to create a new message. */ declare const FundingDaySchema: GenMessage; /** * Checkpoint is one frozen season recap of a root account and all of its * subaccounts. Only the account owner can read it. * * @generated from message checkpoints.v1.Checkpoint */ type Checkpoint = Message<"checkpoints.v1.Checkpoint"> & { /** * Positive checkpoint number. Checkpoint 1 is the first season; numbers * increase by season. * * @generated from field: uint32 number = 1; */ number: number; /** * UTC start of the season, inclusive. * * @generated from field: google.protobuf.Timestamp season_start = 2; */ seasonStart?: Timestamp | undefined; /** * UTC end of the season, exclusive. * * @generated from field: google.protobuf.Timestamp season_end = 3; */ seasonEnd?: Timestamp | undefined; /** * UTC time at which the checkpoint was recorded. * * @generated from field: google.protobuf.Timestamp taken_at = 4; */ takenAt?: Timestamp | undefined; /** * Season trading volume in USD, encoded as a non-negative base-10 decimal * string without separators or a currency symbol. * * @generated from field: string volume_usd = 5; */ volumeUsd: string; /** * Number of trade fills. * * @generated from field: uint64 trades = 6; */ trades: bigint; /** * Number of orders placed. * * @generated from field: uint64 orders = 7; */ orders: bigint; /** * Number of UTC days with at least one trade. * * @generated from field: uint32 days_active = 8; */ daysActive: number; /** * Longest run of consecutive UTC days with at least one trade. * * @generated from field: uint32 longest_streak = 9; */ longestStreak: number; /** * Markets traded, highest volume first, then by symbol_id ascending. This * is naturally bounded by the number of markets traded and is not * paginated. * * @generated from field: repeated checkpoints.v1.PairActivity top_pairs = 10; */ topPairs: PairActivity[]; /** * Number of different markets traded. * * @generated from field: uint32 markets_traded = 11; */ marketsTraded: number; /** * Trade fills on the maker side. * * @generated from field: uint64 maker_trades = 12; */ makerTrades: bigint; /** * Trade fills on the taker side. * * @generated from field: uint64 taker_trades = 13; */ takerTrades: bigint; /** * Trade fills where both sides belonged to this account. * * @generated from field: uint64 self_trades = 14; */ selfTrades: bigint; /** * Trade fills by UTC weekday and hour: exactly 7 entries, Monday first. * * @generated from field: repeated checkpoints.v1.WeekdayTrades trades_by_weekday_hour = 15; */ tradesByWeekdayHour: WeekdayTrades[]; /** * Volume and trade fills of every UTC day of the season, oldest first, days * without trades included. * * @generated from field: repeated checkpoints.v1.VolumePoint daily_volume = 16; */ dailyVolume: VolumePoint[]; /** * Largest single trade fill in USD, encoded as a non-negative base-10 * decimal string without separators or a currency symbol. * * @generated from field: string biggest_trade_usd = 17; */ biggestTradeUsd: string; /** * The fill valued biggest_trade_usd, the earliest on a tie. Omitted when no * fill could be valued. * * @generated from field: checkpoints.v1.BiggestTrade biggest_trade = 18; */ biggestTrade?: BiggestTrade | undefined; /** * Placed orders by order type. * * @generated from field: checkpoints.v1.OrderTypeCounts order_types = 19; */ orderTypes?: OrderTypeCounts | undefined; /** * Placed orders by time in force. * * @generated from field: checkpoints.v1.TimeInForceCounts time_in_force = 20; */ timeInForce?: TimeInForceCounts | undefined; /** * Order tool uses. * * @generated from field: checkpoints.v1.OrderToolCounts tools = 21; */ tools?: OrderToolCounts | undefined; /** * Post-only orders placed. * * @generated from field: uint64 post_only = 22; */ postOnly: bigint; /** * Orders amended at least once. * * @generated from field: uint64 amends = 23; */ amends: bigint; /** * Orders that ended fully filled. * * @generated from field: uint64 filled_orders = 24; */ filledOrders: bigint; /** * Orders that ended canceled or rejected after a partial fill. * * @generated from field: uint64 partially_filled_orders = 25; */ partiallyFilledOrders: bigint; /** * Orders that ended canceled. * * @generated from field: uint64 canceled_orders = 26; */ canceledOrders: bigint; /** * Orders that ended rejected. * * @generated from field: uint64 rejected_orders = 27; */ rejectedOrders: bigint; /** * Share of placed orders that ended fully filled, a base-10 decimal string * from 0 to 1. * * @generated from field: string fill_rate = 28; */ fillRate: string; /** * Share of placed orders that ended canceled, a base-10 decimal string from * 0 to 1. * * @generated from field: string cancel_ratio = 29; */ cancelRatio: string; /** * Typical time a good-till-canceled or good-till-date limit order rested * before it filled or was canceled, in milliseconds. Omitted when no such * order ended in the season. * * @generated from field: optional uint64 median_limit_rest_ms = 30; */ medianLimitRestMs?: bigint | undefined; /** * UTC time of the first trade fill in the season. Omitted without trades. * * @generated from field: google.protobuf.Timestamp first_trade_at = 31; */ firstTradeAt?: Timestamp | undefined; /** * UTC date with the most trade fills, formatted as YYYY-MM-DD. Omitted * without trades. * * @generated from field: optional string busiest_day = 32; */ busiestDay?: string | undefined; /** * UTC hour of day, 0 through 23, with the most trade fills. Omitted without * trades. * * @generated from field: optional uint32 most_active_hour_utc = 33; */ mostActiveHourUtc?: number | undefined; /** * VIP tier at the moment the checkpoint was recorded, 0 through 10. * * @generated from field: uint32 vip_tier_at_checkpoint = 34; */ vipTierAtCheckpoint: number; /** * Highest VIP tier reached during the season, 0 through 10. * * @generated from field: uint32 peak_vip_tier = 35; */ peakVipTier: number; /** * VIP tier changes during the season, oldest first. The first entry is the * tier at the season start when one was in effect. * * @generated from field: repeated checkpoints.v1.VIPTierChange vip_timeline = 36; */ vipTimeline: VIPTierChange[]; /** * Badges earned in the season, in badge display order. * * @generated from field: repeated checkpoints.v1.EarnedBadge badges = 37; */ badges: EarnedBadge[]; /** * Portfolio value at the end of each hour, oldest first. Hours without a * recorded value are absent; draw them as gaps, not zero. * * @generated from field: repeated checkpoints.v1.PortfolioValuePoint portfolio_value = 38; */ portfolioValue: PortfolioValuePoint[]; /** * Trading balance per asset at the end of the season, valued in USD at that * time; assets excluded from value are listed by amount only. Shown for * the record only. * * @generated from field: repeated checkpoints.v1.AssetAmount trading_balances = 39; */ tradingBalances: AssetAmount[]; /** * Funding balance per asset at the end of the season, valued in USD at that * time; assets excluded from value are listed by amount only. Shown for * the record only. * * @generated from field: repeated checkpoints.v1.AssetAmount funding_balances = 40; */ fundingBalances: AssetAmount[]; /** * Successful deposits. * * @generated from field: checkpoints.v1.FundingFlowSummary deposits = 41; */ deposits?: FundingFlowSummary | undefined; /** * Successful withdrawals. * * @generated from field: checkpoints.v1.FundingFlowSummary withdrawals = 42; */ withdrawals?: FundingFlowSummary | undefined; /** * Deposit and withdrawal USD values per UTC day with at least one of them, * oldest first. * * @generated from field: repeated checkpoints.v1.FundingDay funding_by_day = 43; */ fundingByDay: FundingDay[]; /** * Transfers received from other accounts, excluding daily claim payouts. * * @generated from field: checkpoints.v1.FlowTotal transfers_in = 44; */ transfersIn?: FlowTotal | undefined; /** * Transfers sent to other accounts. * * @generated from field: checkpoints.v1.FlowTotal transfers_out = 45; */ transfersOut?: FlowTotal | undefined; /** * Internal transfers made. * * @generated from field: uint64 internal_transfers = 46; */ internalTransfers: bigint; /** * Daily claims collected. * * @generated from field: uint64 daily_claims = 47; */ dailyClaims: bigint; /** * Daily claim totals per asset, by asset ascending, each valued in USD * when it was paid. Assets excluded from value are listed by amount only. * * @generated from field: repeated checkpoints.v1.AssetAmount daily_claim_amounts = 48; */ dailyClaimAmounts: AssetAmount[]; /** * USD value brought in during the season: daily claim payouts, deposits * and transfers in, each valued when it happened, over assets that count * toward account value; assets excluded from value add nothing. Encoded as * a non-negative base-10 decimal string without separators or a currency * symbol. Omitted when any other part had no USD value. * * @generated from field: optional string inflow_usd = 49; */ inflowUsd?: string | undefined; /** * USD value taken out during the season: withdrawals and transfers out, * each valued when it happened, over assets that count toward account * value; assets excluded from value add nothing. Encoded as a non-negative * base-10 decimal string without separators or a currency symbol. Omitted * when any other part had no USD value. * * @generated from field: optional string outflow_usd = 50; */ outflowUsd?: string | undefined; /** * inflow_usd minus outflow_usd, encoded as a base-10 decimal string that * may be negative. Omitted when either is omitted. * * @generated from field: optional string net_inflow_usd = 51; */ netInflowUsd?: string | undefined; /** * USD value of all trading and funding balances at the end of the season * that count toward account value, encoded as a base-10 decimal string. * Assets excluded from value add nothing. Omitted when any other balance * had no USD value. * * @generated from field: optional string final_value_usd = 52; */ finalValueUsd?: string | undefined; /** * USD value of the funding balances restored to the account when the * season opened, valued at the end of the season like final_value_usd, * over assets that count toward account value; assets excluded from value * add nothing. Encoded as a non-negative base-10 decimal string without * separators or a currency symbol; "0" when the season opened with no * balances. Omitted when a restored balance had no USD value. * * @generated from field: optional string opening_value_usd = 56; */ openingValueUsd?: string | undefined; /** * Season result: final_value_usd minus opening_value_usd minus * net_inflow_usd, encoded as a base-10 decimal string that may be negative. * Price moves on restored holdings are not counted as result. Omitted when * any of them is omitted. * * @generated from field: optional string season_result_usd = 53; */ seasonResultUsd?: string | undefined; /** * Subaccounts of the account. * * @generated from field: uint64 subaccounts = 54; */ subaccounts: bigint; /** * Values computed from partial evidence, in ascending enum order. Empty * when every value is exact. * * @generated from field: repeated checkpoints.v1.CheckpointField incomplete = 55; */ incomplete: CheckpointField[]; }; /** * Describes the message checkpoints.v1.Checkpoint. * Use `create(CheckpointSchema)` to create a new message. */ declare const CheckpointSchema: GenMessage; /** * ListMyCheckpointsRequest requests every checkpoint of the authenticated * caller's root account. * * @generated from message checkpoints.v1.ListMyCheckpointsRequest */ type ListMyCheckpointsRequest = Message<"checkpoints.v1.ListMyCheckpointsRequest"> & { /** * Optional subaccount public identifier. Checkpoints cover a root account * and all of its subaccounts, so a subaccount resolves to its root account, * which must be the caller's own. * * @generated from field: optional fixed64 subaccount_id = 1; */ subaccountId?: bigint | undefined; }; /** * Describes the message checkpoints.v1.ListMyCheckpointsRequest. * Use `create(ListMyCheckpointsRequestSchema)` to create a new message. */ declare const ListMyCheckpointsRequestSchema: GenMessage; /** * ListMyCheckpointsResponse contains the caller's checkpoints. * * @generated from message checkpoints.v1.ListMyCheckpointsResponse */ type ListMyCheckpointsResponse = Message<"checkpoints.v1.ListMyCheckpointsResponse"> & { /** * Checkpoints of the root account, newest first. There is at most one per * season, so the list is naturally bounded and not paginated. Empty when * the account has no checkpoint, for example when it did not trade in any * recorded season. * * @generated from field: repeated checkpoints.v1.Checkpoint checkpoints = 1; */ checkpoints: Checkpoint[]; }; /** * Describes the message checkpoints.v1.ListMyCheckpointsResponse. * Use `create(ListMyCheckpointsResponseSchema)` to create a new message. */ declare const ListMyCheckpointsResponseSchema: GenMessage; /** * CheckpointBadge is an achievement earned in one season by meeting a fixed * threshold. Badges never depend on other accounts' activity. Values are in * display order. * * @generated from enum checkpoints.v1.CheckpointBadge */ declare enum CheckpointBadge { /** * No badge was specified. * * @generated from enum value: BADGE_UNSPECIFIED = 0; */ BADGE_UNSPECIFIED = 0, /** * At least one trade in the season. * * @generated from enum value: FIRST_TRADE = 1; */ FIRST_TRADE = 1, /** * Traded on at least 7 consecutive UTC days. * * @generated from enum value: SEVEN_DAY_STREAK = 2; */ SEVEN_DAY_STREAK = 2, /** * Traded at least 3 different markets. * * @generated from enum value: THREE_MARKETS = 3; */ THREE_MARKETS = 3, /** * At least 1000 USD of season trading volume. * * @generated from enum value: VOLUME_1000_USD = 4; */ VOLUME_1000_USD = 4, /** * At least 100 trades in the season. * * @generated from enum value: HUNDRED_TRADES = 5; */ HUNDRED_TRADES = 5, /** * Traded at least 10 different markets. * * @generated from enum value: TEN_MARKETS = 6; */ TEN_MARKETS = 6, /** * Traded on at least 30 consecutive UTC days. * * @generated from enum value: THIRTY_DAY_STREAK = 7; */ THIRTY_DAY_STREAK = 7, /** * Used every order tool: stop loss, take profit, trailing stop, TWAP and * ladder. * * @generated from enum value: EVERY_ORDER_TOOL = 8; */ EVERY_ORDER_TOOL = 8 } /** * Describes the enum checkpoints.v1.CheckpointBadge. */ declare const CheckpointBadgeSchema: GenEnum; /** * CheckpointField names a checkpoint value computed from partial evidence, * for example trades or holdings that had no USD price at the required time. * The value shown is a lower bound or omitted; show it with an approximation * marker rather than hiding the field. * * @generated from enum checkpoints.v1.CheckpointField */ declare enum CheckpointField { /** * No field was specified. * * @generated from enum value: FIELD_UNSPECIFIED = 0; */ FIELD_UNSPECIFIED = 0, /** * Season volume_usd and the daily volume curve. * * @generated from enum value: VOLUME = 1; */ VOLUME = 1, /** * Per-market volume in top_pairs. * * @generated from enum value: TOP_PAIRS = 2; */ TOP_PAIRS = 2, /** * Limit and market order counts. * * @generated from enum value: ORDER_TYPES = 3; */ ORDER_TYPES = 3, /** * Time-in-force counts. * * @generated from enum value: TIME_IN_FORCE = 4; */ TIME_IN_FORCE = 4, /** * Filled, partially filled, canceled and rejected order counts, and the * fill and cancel ratios derived from them. * * @generated from enum value: ORDER_STATUS = 5; */ ORDER_STATUS = 5, /** * Order tool counts and the every-order-tool badge. * * @generated from enum value: TOOLS = 6; */ TOOLS = 6, /** * Median resting time of limit orders. * * @generated from enum value: MEDIAN_LIMIT_REST = 7; */ MEDIAN_LIMIT_REST = 7, /** * Deposit count, amounts and USD values. * * @generated from enum value: DEPOSITS = 8; */ DEPOSITS = 8, /** * Withdrawal count, amounts and USD values. * * @generated from enum value: WITHDRAWALS = 9; */ WITHDRAWALS = 9, /** * Internal transfer count. * * @generated from enum value: INTERNAL_TRANSFERS = 10; */ INTERNAL_TRANSFERS = 10, /** * Daily claim amounts. * * @generated from enum value: DAILY_CLAIM_AMOUNTS = 11; */ DAILY_CLAIM_AMOUNTS = 11, /** * Hourly portfolio value curve. * * @generated from enum value: PORTFOLIO_VALUE = 12; */ PORTFOLIO_VALUE = 12, /** * Trading balances at the end of the season. * * @generated from enum value: TRADING_BALANCES = 13; */ TRADING_BALANCES = 13, /** * Funding balances at the end of the season. * * @generated from enum value: FUNDING_BALANCES = 14; */ FUNDING_BALANCES = 14, /** * Transfers in and out between this account and other accounts. * * @generated from enum value: TRANSFERS = 15; */ TRANSFERS = 15, /** * Season inflow, outflow, opening value, final value and season result. * * @generated from enum value: SEASON_RESULT = 16; */ SEASON_RESULT = 16 } /** * Describes the enum checkpoints.v1.CheckpointField. */ declare const CheckpointFieldSchema: GenEnum; /** * CheckpointService serves frozen testnet season recaps. * * @generated from service checkpoints.v1.CheckpointService */ declare const CheckpointService: GenService<{ /** * List every checkpoint of the authenticated caller's root account, newest * first. Checkpoints are private to the account owner. An API key needs * READ_CHECKPOINTS and must be scoped to the main account. * * @generated from rpc checkpoints.v1.CheckpointService.ListMyCheckpoints */ listMyCheckpoints: { methodKind: "unary"; input: typeof ListMyCheckpointsRequestSchema; output: typeof ListMyCheckpointsResponseSchema; }; }>; //#endregion export { AssetAmount, AssetAmountSchema, BiggestTrade, BiggestTradeSchema, ChainFlow, ChainFlowSchema, Checkpoint, CheckpointBadge, CheckpointBadgeSchema, CheckpointField, CheckpointFieldSchema, CheckpointSchema, CheckpointService, EarnedBadge, EarnedBadgeSchema, FlowTotal, FlowTotalSchema, FundingDay, FundingDaySchema, FundingFlowSummary, FundingFlowSummarySchema, ListMyCheckpointsRequest, ListMyCheckpointsRequestSchema, ListMyCheckpointsResponse, ListMyCheckpointsResponseSchema, OrderToolCounts, OrderToolCountsSchema, OrderTypeCounts, OrderTypeCountsSchema, PairActivity, PairActivitySchema, PortfolioValuePoint, PortfolioValuePointSchema, TimeInForceCounts, TimeInForceCountsSchema, VIPTierChange, VIPTierChangeSchema, VolumePoint, VolumePointSchema, WeekdayTrades, WeekdayTradesSchema, checkpoints_pb_d_exports, file_checkpoints_v1_checkpoints }; //# sourceMappingURL=checkpoints_pb.d.ts.map