UNPKG

@moonwell-fi/moonwell-sdk

Version:

TypeScript Interface for Moonwell

8 lines 733 B
import type { MoonwellClient } from "../../client/createMoonwellClient.js"; import type { NetworkParameterType } from "../../common/types.js"; import type { Chain } from "../../environments/index.js"; import type { StakingSnapshot } from "../../types/staking.js"; export type GetStakingSnapshotsParameters<environments, network extends Chain | undefined> = NetworkParameterType<environments, network>; export type GetStakingSnapshotsReturnType = Promise<StakingSnapshot[]>; export declare function getStakingSnapshots<environments, Network extends Chain | undefined>(client: MoonwellClient, args?: GetStakingSnapshotsParameters<environments, Network>): GetStakingSnapshotsReturnType; //# sourceMappingURL=getStakingSnapshots.d.ts.map