async fn handle_contract(drk: &DrkPtr, parts: &[&str], output: &mut Vec<String>)
Auxiliary function to define the contract command handling.