UNPKG

@azuro-org/toolkit

Version:

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

17 lines (16 loc) 562 B
import { type Address } from 'viem'; import { type ChainId } from '../../config'; import { type Freebet, type Selection } from '../../global'; import { type RawBonus } from './getBonuses'; export type GetFreebetsResponse = { bonuses: RawBonus[]; }; type Props = { chainId: ChainId; account: Address; affiliate: Address; selections: Selection[]; }; export type GetAvailableFreebets = Freebet[] | null; export declare const getAvailableFreebets: ({ chainId, account, affiliate, selections }: Props) => Promise<GetAvailableFreebets>; export {};