@swaptoshi/governance-module
Version:
Klayr governance on-chain module
8 lines (7 loc) • 433 B
TypeScript
import { Modules, StateMachine } from 'klayr-framework';
import { VoteParams } from '../types';
export declare class VoteCommand extends Modules.BaseCommand {
verify(_context: StateMachine.CommandVerifyContext<VoteParams>): Promise<StateMachine.VerificationResult>;
execute(_context: StateMachine.CommandExecuteContext<VoteParams>): Promise<void>;
schema: import("@swaptoshi/utils/dist/types").TypedSchema<VoteParams>;
}