Function call_contract

Source
pub fn call_contract(call: &ContractCall) -> Result<Vec<u8>, String>
Expand description

Calls another contract

ยงPanics

  • If deserialization of call failed
  • If call.read_only is false but call_contract is called from read-only context
  • If there is not enough Gas to satisfy gas_limit