UNPKG

@azuro-org/toolkit

Version:

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

58 lines (57 loc) 1.67 kB
import * as Types from '../types'; export type BetFragment = { __typename?: 'V3_Bet'; id: string; actor: string; amount: string; status: Types.BetStatus; potentialPayout: string; payout?: string | null; result?: Types.BetResult | null; odds: string; settledOdds?: string | null; redeemedTxHash?: string | null; affiliate: string; isRedeemed: boolean; isRedeemable: boolean; isCashedOut: boolean; freebetId?: string | null; isFreebetAmountReturnable?: boolean | null; paymasterContractAddress?: string | null; tokenId: string; createdAt: string; resolvedAt?: string | null; txHash: string; core: { __typename?: 'CoreContract'; address: string; liquidityPool: { __typename?: 'LiquidityPoolContract'; address: string; }; }; selections: Array<{ __typename?: 'V3_Selection'; odds: string; result?: Types.SelectionResult | null; conditionKind: Types.V3_SelectionConditionKind; outcome: { __typename?: 'V3_Outcome'; outcomeId: string; title?: string | null; condition: { __typename?: 'V3_Condition'; conditionId: string; title?: string | null; status: Types.ConditionStatus; gameId: string; wonOutcomeIds?: Array<string> | null; }; }; }>; cashout?: { __typename?: 'Cashout'; payout: string; } | null; }; export declare const BetFragmentDoc: import("graphql/language/ast").DocumentNode;