Kusama
subscan
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
Events
Name
Lookup
Attributes
Founded1a00["AccountId"]
Bid1a01["AccountId","BalanceOf"]
Vouch1a02["AccountId","BalanceOf","AccountId"]
AutoUnbid1a03["AccountId"]
Unbid1a04["AccountId"]
Unvouch1a05["AccountId"]
Inducted1a06["AccountId","Vec<AccountId>"]
SuspendedMemberJudgement1a07["AccountId","bool"]
CandidateSuspended1a08["AccountId"]
MemberSuspended1a09["AccountId"]
Challenged1a0a["AccountId"]
Vote1a0b["AccountId","AccountId","bool"]
DefenderVote1a0c["AccountId","bool"]
NewMaxMembers1a0d["u32"]
Unfounded1a0e["AccountId"]
Deposit1a0f["BalanceOf"]
Storage Functions
Name
Type
Founder{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Rules{"origin":"PlainType","plain_type":"H256","PlainTypeValue":11}
Candidates{"origin":"PlainType","plain_type":"Vec<pallet_society:Bid>","PlainTypeValue":662}
SuspendedCandidates{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Tuple:U128pallet_society:BidKind","keys_id":0,"value_id":665}}
Pot{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Head{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Members{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":101}
SuspendedMembers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":37}}
Bids{"origin":"PlainType","plain_type":"Vec<pallet_society:Bid>","PlainTypeValue":662}
Vouching{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:VouchingStatus","keys_id":0,"value_id":666}}
Payouts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U32U128>","keys_id":0,"value_id":631}}
Strikes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}}
Votes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","AccountId"],"value":"pallet_society:Vote","keys_id":667,"value_id":668}}
Defender{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
DefenderVotes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:Vote","keys_id":0,"value_id":668}}
MaxMembers{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Constants
Name
Type
Value
PalletId[U8; 8]70792f736f636965
CandidateDepositU1285205379c4d0000000000000000000000
WrongSideDeductionU128aa9aa4850f0000000000000000000000
MaxStrikesU320a000000
PeriodSpendU128040abf82280f00000000000000000000
RotationPeriodU32c0890100
MaxLockDurationU32004eed00
ChallengePeriodU32c0890100
MaxCandidateIntakeU3201000000
Error Types
Name
Docs
BadPositionAn incorrect position was provided.
NotMemberUser is not a member.
AlreadyMemberUser is already a member.
SuspendedUser is suspended.
NotSuspendedUser is not suspended.
NoPayoutNothing to payout.
AlreadyFoundedSociety already founded.
InsufficientPotNot enough in pot to accept candidate.
AlreadyVouchingMember is already vouching or banned from vouching again.
NotVouchingMember is not vouching.
HeadCannot remove the head of the chain.
FounderCannot remove the founder.
AlreadyBidUser has already made a bid.
AlreadyCandidateUser is already a candidate.
NotCandidateUser is not a candidate.
MaxMembersToo many members in the society.
NotFounderThe caller is not the founder.
NotHeadThe caller is not the head.