pub fn penalize_agent<T: Config>( origin: OriginFor<T>, agent_key: <T as Config>::AccountId, percentage: u8, ) -> DispatchResult
Sets a penalty ratio for the given agent.