UNPKG

@azuro-org/sdk

Version:

One-stop solution for building betting dApps on the Azuro Protocol.

16 lines (15 loc) 506 B
import { ConditionState, type GameMarkets } from '@azuro-org/toolkit'; type Props = { states: Record<string, ConditionState>; marketsByKey: Record<string, GameMarkets[0]>; sortedMarketKeys: string[]; activeMarketKey: string; }; export declare const findActiveCondition: ({ states, marketsByKey, sortedMarketKeys, activeMarketKey }: Props) => { nextMarketKey: string; nextConditionIndex: number; } | { nextMarketKey?: undefined; nextConditionIndex?: undefined; }; export {};