@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
52 lines (51 loc) • 1.44 kB
TypeScript
import * as Types from '../types';
export type LegacyLiveBetFragment = {
__typename?: 'LiveBet';
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 | null;
isRedeemed: boolean;
isRedeemable: boolean;
isCashedOut: boolean;
tokenId: string;
createdAt: string;
resolvedAt?: string | null;
txHash: string;
core: {
__typename?: 'CoreContract';
address: string;
liquidityPool: {
__typename?: 'LiquidityPoolContract';
address: string;
};
};
selections: Array<{
__typename?: 'LiveSelection';
odds: string;
result?: Types.SelectionResult | null;
outcome: {
__typename?: 'LiveOutcome';
outcomeId: string;
condition: {
__typename?: 'LiveCondition';
conditionId: string;
status: Types.ConditionStatus;
gameId: string;
wonOutcomeIds?: Array<string> | null;
};
};
}>;
cashout?: {
__typename?: 'Cashout';
payout: string;
} | null;
};
export declare const LegacyLiveBetFragmentDoc: import("graphql/language/ast").DocumentNode;