UNPKG

@azuro-org/toolkit

Version:

This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.

20 lines (19 loc) 448 B
import { GameState } from '../docs/feed/types'; import { BetStatus as GraphBetStatus } from '../docs/bets/types'; export declare enum BetStatus { Accepted = 0, Live = 1, PendingResolution = 2, Resolved = 3, Canceled = 4 } type Game = { state: GameState; startsAt: string; }; type Props = { games: Game[]; graphStatus: GraphBetStatus; }; export declare const getBetStatus: (props: Props) => BetStatus; export {};