fn grant_made( state: &AppState, pane: &str, agent: &str, origins: Vec<String>, powers: Vec<Power>, standing: Option<String>, minutes: u64, how: How, idle: Duration, ) -> Grant