UNPKG

@azuro-org/sdk

Version:

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

18 lines (17 loc) 623 B
import { type TransactionReceipt, type Address } from 'viem'; import { type Selection, type ChainId } from '@azuro-org/toolkit'; import { type Bet } from '../global'; export type NewBetProps = { bet: { rawAmount: bigint; selections: Selection[]; freebetId: string | undefined; isFreebetAmountReturnable: boolean | undefined; }; odds: Record<string, number>; affiliate: Address; receipt: TransactionReceipt; }; export declare const useBetsCache: (chainId?: ChainId) => { updateBetCache: (tokenId: string | bigint, values: Partial<Bet>, isLegacy?: boolean) => void; };