Allow some configurable origin to blacklist some accounts. Blacklisted accounts are not allowed to perform certain actions.
RuntimeEvent– The overarching event type.BlacklistingOrigin– The origin allowed to blacklist accounts. It should beRoot.WeightInfo– Information on runtime weights.
Adds an account to the blacklist. Emits the AccountBlacklisted event on success.
origin– Origin for the call. It should be Root.account- The account to blacklist.
AccountAlreadyBlacklisted- TheaccountIdwas already blacklisted.
Adds an account to the blacklist. Emits the BlacklistedAccountRemoved event on success.
origin– Origin for the call. It should be Root.account- The account to remove from the blacklist.
AccountIsNotBlacklisted- TheAccountIdwas not previously blacklisted.
Once configured, this pallet should be used as a valid origin so that any account that is not on the blacklist has a valid origin.