Stafi
subscan
Runtime Modules / Council
Spec Version:
Call Functions
Name
Lookup
Parameters
set_members0a003
execute0a012
propose0a023
vote0a033
close0a044
disapprove_proposal0a051
Events
Name
Lookup
Attributes
Proposed0700
Voted0701
Approved0702
Disapproved0703
Executed0704
MemberExecuted0705
Closed0706
Storage Functions
Name
Type
Proposals{"origin":"PlainType","plain_type":"Vec<Hash>"}
ProposalOf{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"Proposal","isLinked":false}}
Voting{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"Votes<AccountId, BlockNumber>","isLinked":false}}
ProposalCount{"origin":"PlainType","plain_type":"u32"}
Members{"origin":"PlainType","plain_type":"Vec<AccountId>"}
Prime{"origin":"PlainType","plain_type":"AccountId"}
Error Types
Name
Docs
NotMember Account is not a member
DuplicateProposal Duplicate proposals not allowed
ProposalMissing Proposal must exist
WrongIndex Mismatched index
DuplicateVote Duplicate vote ignored
AlreadyInitialized Members are already initialized!
TooEarly The close call was made too early, before the end of the voting.
TooManyProposals There can only be a maximum of `MaxProposals` active proposals.
WrongProposalWeight The given weight bound for the proposal was too low.
WrongProposalLength The given length bound for the proposal was too low.