/// import { BN } from "@project-serum/anchor"; import { PublicKey } from "@solana/web3.js"; import { Greeks } from "./optionChain"; export declare enum FeeTier { NORMAL = 0, MAKER = 1, VIP1 = 2, VIP2 = 3, VIP3 = 4 } export interface Position { seriesId: number; contracts: BN; cashflow: BN; feesPaid: BN; expiration: BN; } export interface AssetGroupSummary { cummulativeMarkUnderlying: number; cummulativeMarkStable: number; totalLockedStable: number; totalLockedUnderlying: number; cummulativeGreeks: Greeks; } export interface AssetGroup { summary: AssetGroupSummary; optionChain: PublicKey; positions: Position[]; } export interface TokenWithdrawCriteria { minBalance: BN; mintIndex: number; } export interface TradingAccount { key: PublicKey; owner: PublicKey; version: number; bump: number; accountType: number; feeTier: FeeTier; feeTierExpiry: BN; uniqueSeed: number; maxTokenAccounts: number; accountStats: { tradeCount: number; feesPaidInCents: number; }; withdrawalCriteria: { minFeesPaid: number; tokenWithdrawCriteria: TokenWithdrawCriteria[]; }; rewards: { ticketsEarnedS1: number; ticketsSpentS1: number; receivedComplimentaryS1: boolean; }; tokenAccounts: PublicKey[]; assetGroups: AssetGroup[]; } //# sourceMappingURL=tradingAccount.d.ts.map