Function currency_consumed

Source
fn currency_consumed(cmd: &UserCommand) -> Result<Amount, CommandError>