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