@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
32 lines (31 loc) • 2.26 kB
TypeScript
export { environments, Environment } from './envs';
export * from './config';
export * from './global';
export * from './abis';
export * from './docs';
export { getProviderFromId } from './utils/getProviderFromId';
export { calcMindOdds } from './utils/calcMindOdds';
export { getIsPendingResolution } from './utils/getIsPendingResolution';
export { getBetStatus, BetStatus } from './utils/getBetStatus';
export { getBetFee, type BetFeeResponse } from './utils/getBetFee';
export { groupConditionsByMarket, type GameMarkets, type MarketOutcome, type Market } from './utils/groupConditionsByMarket';
export { setupContracts, type Contracts } from './utils/setupContracts';
export { getFeedGraphqlEndpoint, getBetsGraphqlEndpoint, getApiEndpoint, getSocketEndpoint } from './utils/getEndpoints';
export { getBetTypedData } from './utils/getBetTypedData';
export { getComboBetTypedData } from './utils/getComboBetTypedData';
export { createBet } from './utils/createBet';
export { createComboBet } from './utils/createComboBet';
export { getBet, type GetBetResponse } from './utils/getBet';
export { getMaxBet, type GetMaxBetResponse } from './utils/getMaxBet';
export { getWaveLevels, WaveLevelName, type WaveLevelData, type WaveLevelsResponse } from './utils/wave/getWaveLevels';
export { getWaveStats, type WaveStatsResponse } from './utils/wave/getWaveStats';
export { getWavePeriods, type WavePeriodsResponse } from './utils/wave/getWavePeriods';
export { getWaveLeaderBoard, type WaveLeaderBoardItem } from './utils/wave/getWaveLeaderBoard';
export { activateWave } from './utils/wave/activateWave';
export { getPrecalculatedCashouts, type GetPrecalculatedCashouts } from './utils/cashout/getPrecalculatedCashouts';
export { getCalculatedCashout, type GetCalculatedCashout } from './utils/cashout/getCalculatedCashout';
export { getCashoutTypedData } from './utils/cashout/getCashoutTypedData';
export { createCashout, CashoutState, type CreateCashoutResponse } from './utils/cashout/createCashout';
export { getCashout, type GetCashoutResponse } from './utils/cashout/getCashout';
export { getBonuses, type GetBonuses } from './utils/bonus/getBonuses';
export { getAvailableFreebets, type GetAvailableFreebets } from './utils/bonus/getAvailableFreebets';