UNPKG

@azuro-org/toolkit

Version:

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

31 lines (30 loc) 939 B
import { type Address } from 'viem'; import { type ChainId } from '../../config'; import { type WaveId } from '../../global'; import { type WaveLevelData } from './getWaveLevels'; export type WaveStatsResponse = { address: Address; waveId: number; levelActivated: boolean; initialLevel: number; level: number; betPoints: string; dexPoints: string; liqudityPoints: string; stakingPoints: string; leaderboardPoints: string; manualPoints: string; /** "2.100000", final points without level multiplier */ points: string; /** "2.100000", final points with level multiplier ('boost') */ multipliedPoints: string; sharePercent: string; levelDescription: WaveLevelData; }; type Props = { account: Address; waveId?: WaveId; chainId?: ChainId; }; export declare const getWaveStats: ({ account, waveId, chainId }: Props) => Promise<WaveStatsResponse | null>; export {};