pub async fn contracts( endpoint: &str, prefix: Option<&str>, json: bool, verbose: bool, ) -> Result<()>