kusama
subscan
Kusama
Runtime Modules / Society
Spec Version:
Call Functions
Name
Lookup
Parameters
bid1a001
unbid1a011
vouch1a023
unvouch1a031
vote1a042
defender_vote1a051
payout1a06-
found1a073
unfound1a08-
judge_suspended_member1a092
judge_suspended_candidate1a0a2
set_max_members1a0b1
Storage Functions
Name
Type
Founder{"origin":"PlainType","plain_type":"AccountId"}
Rules{"origin":"PlainType","plain_type":"Hash"}
Candidates{"origin":"PlainType","plain_type":"Vec<Bid<AccountId, BalanceOf>>"}
SuspendedCandidates{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"(BalanceOf, BidKind<AccountId, BalanceOf>)","isLinked":false}}
Pot{"origin":"PlainType","plain_type":"BalanceOf"}
Head{"origin":"PlainType","plain_type":"AccountId"}
Members{"origin":"PlainType","plain_type":"Vec<AccountId>"}
SuspendedMembers{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"bool","isLinked":false}}
Bids{"origin":"PlainType","plain_type":"Vec<Bid<AccountId, BalanceOf>>"}
Vouching{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"VouchingStatus","isLinked":false}}
Payouts{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Vec<(BlockNumber, BalanceOf)>","isLinked":false}}
Strikes{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"StrikeCount","isLinked":false}}
Votes{"origin":"DoubleMapType","double_map_type":{"key":"AccountId","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Vote","isLinked":false}}
Defender{"origin":"PlainType","plain_type":"AccountId"}
DefenderVotes{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Vote","isLinked":false}}
MaxMembers{"origin":"PlainType","plain_type":"u32"}
Constants
Name
Type
Value
CandidateDepositBalanceOf0x00a0724e180900000000000000000000
WrongSideDeductionBalanceOf0x00204aa9d10100000000000000000000
MaxStrikesu320x0a000000
PeriodSpendBalanceOf0x00406352bfc601000000000000000000
RotationPeriodBlockNumber0x80bb0000
ChallengePeriodBlockNumber0xc0890100
Error Types
Name
Docs
BadPosition An incorrect position was provided.
NotMember User is not a member.
AlreadyMember User is already a member.
Suspended User is suspended.
NotSuspended User is not suspended.
NoPayout Nothing to payout.
AlreadyFounded Society already founded.
InsufficientPot Not enough in pot to accept candidate.
AlreadyVouching Member is already vouching or banned from vouching again.
NotVouching Member is not vouching.
Head Cannot remove the head of the chain.
Founder Cannot remove the founder.
AlreadyBid User has already made a bid.
AlreadyCandidate User is already a candidate.
NotCandidate User is not a candidate.
MaxMembers Too many members in the society.
NotFounder The caller is not the founder.
NotHead The caller is not the head.