[][src]Function casperlabs_contract_ffi::contract_api::call_contract

pub fn call_contract<T: FromBytes>(
    c_ptr: ContractPointer,
    args: &Vec<Vec<u8>>,
    extra_urefs: &Vec<Key>
) -> T

Call the given contract, passing the given (serialized) arguments to the host in order to have them available to the called contract during its execution. The value returned from the contract call (see ret above) is returned from this function.