Function piecrust_uplink::call_raw

source ยท
pub fn call_raw(
    contract: ContractId,
    fn_name: &str,
    fn_arg: &[u8]
) -> Result<RawResult, ContractError>
Available on crate feature abi only.
Expand description

Calls the function with name fn_name of the given contract using fn_arg as argument.

To specify the gas allowed to be spent by the called contract, use call_raw_with_limit.