@darwinia/types
Version:
Implementation of the Parity codec
10 lines (9 loc) • 432 B
TypeScript
import type { Enum } from '@polkadot/types-codec';
/** @name DarwiniaDemocracyVoteThreshold */
export interface DarwiniaDemocracyVoteThreshold extends Enum {
readonly isSuperMajorityApprove: boolean;
readonly isSuperMajorityAgainst: boolean;
readonly isSimpleMajority: boolean;
readonly type: 'SuperMajorityApprove' | 'SuperMajorityAgainst' | 'SimpleMajority';
}
export declare type PHANTOM_DEMOCRACY = 'democracy';