UNPKG

@saberhq/snapshots

Version:

The TypeScript SDK for the Saber Voting Escrow Snapshot system.

12 lines 586 B
import type { AnchorTypes } from "@saberhq/anchor-contrib"; import type { SnapshotsIDL } from "../idls/snapshots"; export * from "../idls/snapshots"; export declare type SnapshotsTypes = AnchorTypes<SnapshotsIDL, { lockerHistory: LockerHistoryData; escrowHistory: EscrowHistoryData; }>; declare type Accounts = SnapshotsTypes["Accounts"]; export declare type LockerHistoryData = Accounts["LockerHistory"]; export declare type EscrowHistoryData = Accounts["EscrowHistory"]; export declare type SnapshotsProgram = SnapshotsTypes["Program"]; //# sourceMappingURL=snapshots.d.ts.map