@swaptoshi/governance-module
Version:
Klayr governance on-chain module
15 lines (14 loc) • 843 B
TypeScript
import { Types, StateMachine } from 'klayr-framework';
import { BaseGovernableConfig } from './base_governable_config';
import { GovernableConfigVerifyContext, GovernanceModuleConfig } from './types';
import { GovernanceInternalMethod } from './internal_method';
export declare class GovernanceGovernableConfig extends BaseGovernableConfig<GovernanceModuleConfig> {
schema: import("./types").GovernableConfigSchema<GovernanceModuleConfig>;
default: GovernanceModuleConfig;
private _internalMethod;
addDependencies(internalMethod: GovernanceInternalMethod): void;
beforeConfigInit(genesisConfig: Types.GenesisConfig): void;
verify(_context: GovernableConfigVerifyContext<GovernanceModuleConfig>): Promise<StateMachine.VerificationResult>;
private _verifyConfig;
private _isValidNonNegativeIntegerOrPercentage;
}