pub fn invoke_contract_delegate<E, Args, R>( params: &CallParams<E, DelegateCall<E>, Args, R> ) -> Result<MessageResult<R>>where E: Environment, Args: Encode, R: Decode,
Invokes a contract message via delegate call and returns its result.
This is a low level way to evaluate another smart contract via delegate call. Prefer to use the ink! guided and type safe approach to using this.
- If the specified code hash does not exist.
- If arguments passed to the called code message are invalid.
- If the called code execution has trapped.