UNPKG

@moonwell-fi/moonwell-sdk

Version:

TypeScript Interface for Moonwell

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