@saberhq/snapshots
Version:
The TypeScript SDK for the Saber Voting Escrow Snapshot system.
10 lines • 403 B
TypeScript
import { PublicKey } from "@solana/web3.js";
/**
* Finds the address of an EscrowHistory.
*/
export declare const findEscrowHistoryAddress: (escrow: PublicKey, era: number) => Promise<[PublicKey, number]>;
/**
* Finds the address of a LockerHistory.
*/
export declare const findLockerHistoryAddress: (locker: PublicKey, era: number) => Promise<[PublicKey, number]>;
//# sourceMappingURL=pda.d.ts.map