UNPKG

@moonwell-fi/moonwell-sdk

Version:

TypeScript Interface for Moonwell

13 lines 817 B
import type { Address, Chain } from "viem"; import type { MoonwellClient } from "../../client/createMoonwellClient.js"; import type { NetworkParameterType } from "../../common/types.js"; import type { VoteReceipt } from "../../types/voteReceipt.js"; export type GetUserVoteReceiptParameters<environments, network extends Chain | undefined> = NetworkParameterType<environments, network> & { /** Id of the proposal */ proposalId: number; /** User address*/ userAddress: Address; }; export type GetUserVoteReceiptReturnType = Promise<VoteReceipt[]>; export declare function getUserVoteReceipt<environments, Network extends Chain | undefined>(client: MoonwellClient, args: GetUserVoteReceiptParameters<environments, Network>): GetUserVoteReceiptReturnType; //# sourceMappingURL=getUserVoteReceipt.d.ts.map