@zlattice/lattice-js
Version:
Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)
18 lines • 704 B
TypeScript
interface Proposal {
approve(proposalId: string): Promise<string>;
reject(proposalId: string): Promise<string>;
refresh(proposalId: string): Promise<string>;
refreshBatch(proposalIds: string[]): Promise<string>;
cancel(proposalId: string): Promise<string>;
}
declare class ProposalContract implements Proposal {
private readonly iface;
constructor();
approve(proposalId: string): Promise<string>;
reject(proposalId: string): Promise<string>;
refresh(proposalId: string): Promise<string>;
refreshBatch(proposalIds: string[]): Promise<string>;
cancel(proposalId: string): Promise<string>;
}
export { ProposalContract };
//# sourceMappingURL=proposal.d.ts.map