// Copyright 2017-2021 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 // order important in structs... :) /* eslint-disable sort-keys */ import type { Definitions } from '../../types'; export default { rpc: {}, types: { ApprovalFlag: 'u32', DefunctVoter: { who: 'AccountId', voteCount: 'Compact', candidateCount: 'Compact' }, Renouncing: { _enum: { Member: 'Null', RunnerUp: 'Null', Candidate: 'Compact' } }, SetIndex: 'u32', Vote: 'GenericVote', VoteIndex: 'u32', VoterInfo: { lastActive: 'VoteIndex', lastWin: 'VoteIndex', pot: 'Balance', stake: 'Balance' }, VoteThreshold: { _enum: [ 'Super majority approval', 'Super majority rejection', 'Simple majority' ] } } } as Definitions;