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