collectives-polkadot
subscan
Collectives Polkadot
Runtime Modules / AmbassadorSalary
Spec Version:
Call Functions
Name
Lookup
Parameters
init4a00-
bump4a01-
induct4a02-
register4a03-
payout4a04-
payout_other4a051
check_payment4a06-
Events
Name
Lookup
Attributes
Inducted4a00["AccountId"]
Registered4a01["AccountId","BalanceOf"]
Paid4a02["AccountId","AccountId","BalanceOf","<Paymaster as Pay>::Id"]
CycleStarted4a03["CycleIndexOf"]
Swapped4a04["AccountId","AccountId"]
Storage Functions
Name
Type
Status{"origin":"PlainType","plain_type":"pallet_salary:StatusType","PlainTypeValue":519}
Claimant{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_salary:ClaimantStatus","keys_id":0,"value_id":520}}
Constants
Name
Type
Value
RegistrationPeriodU32e0a50100
PayoutPeriodU32e0a50100
BudgetU12800b4f9e4300000000000000000000000
Error Types
Name
Docs
AlreadyStartedThe salary system has already been started.
NotMemberThe account is not a ranked member.
AlreadyInductedThe account is already inducted.
NotInducted
NoClaimThe member does not have a current valid claim.
ClaimZeroThe member's claim is zero.
TooLateCurrent cycle's registration period is over.
TooEarlyCurrent cycle's payment period is not yet begun.
NotYetCycle is not yet over.
NotStartedThe payout cycles have not yet started.
BankruptThere is no budget left for the payout.
PayErrorThere was some issue with the mechanism of payment.
InconclusiveThe payment has neither failed nor succeeded yet.
NotCurrentThe cycle is after that in which the payment was made.