Function penalize_agent

Source
pub fn penalize_agent<T: Config>(
    origin: OriginFor<T>,
    agent_key: <T as Config>::AccountId,
    percentage: u8,
) -> DispatchResult
Expand description

Sets a penalty ratio for the given agent.