Function update

Source
pub fn update<T: Config>(
    agent_key: <T as Config>::AccountId,
    url: Vec<u8>,
    metadata: Option<Vec<u8>>,
    staking_fee: Option<Percent>,
    weight_control_fee: Option<Percent>,
) -> DispatchResult
Expand description

Updates the metadata of an existing agent.