UNPKG

@drift-labs/sdk-browser

Version:
9 lines 560 B
/// <reference types="bn.js" /> import { BN } from '@coral-xyz/anchor'; import { StateAccount } from '../types'; export declare function calculateInitUserFee(stateAccount: StateAccount): BN; export declare function getMaxNumberOfSubAccounts(stateAccount: StateAccount): BN; export declare function useMedianTriggerPrice(stateAccount: StateAccount): boolean; export declare function builderCodesEnabled(stateAccount: StateAccount): boolean; export declare function builderReferralEnabled(stateAccount: StateAccount): boolean; //# sourceMappingURL=state.d.ts.map