@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
23 lines (22 loc) • 674 B
TypeScript
import { type Address } from 'viem';
import { type ChainId } from '../../config';
import { type WaveId } from '../../global';
import { type WaveLevelData } from './getWaveLevels';
export type WaveLeaderBoardItem = {
position: number;
address: Address;
points: string;
bonusPoints: string | null;
totalMultipliedPoints: string;
bonusMultiplier: number | null;
level: number | null;
levelDescription: WaveLevelData | null;
};
type Props = {
waveId?: WaveId;
account?: Address;
startsAt?: number;
chainId?: ChainId;
};
export declare const getWaveLeaderBoard: (props?: Props) => Promise<WaveLeaderBoardItem[] | null>;
export {};