UNPKG

@azuro-org/toolkit

Version:

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

19 lines (18 loc) 565 B
import { type ChainId } from '../../config'; import { type WaveId } from '../../global'; type Period = { id: number; /** ISO String "2024-05-13T00:00:00.000Z" */ startsAt: string; /** ISO String "2024-05-20T00:00:00.000Z". It's a startsAt of next period */ endsAt: string; totalPoints: string; waveId: number; }; export type WavePeriodsResponse = Period[]; type Props = { waveId?: WaveId; chainId?: ChainId; }; export declare const getWavePeriods: ({ waveId, chainId }?: Props) => Promise<WavePeriodsResponse | null>; export {};