[][src]Function mantle::ext::call

pub fn call(
    gas: U256,
    address: &Address,
    value: U256,
    input: &[u8]
) -> Result<Vec<u8>, ExtCallError>

Message-call into an account

Arguments:

  • gas- a gas limit for a call. A call execution will halt if call exceed this amount
  • address - an address of service to send a call
  • value - a value in Wei to send with a call
  • input - a data to send with a call
  • result - a mutable reference to be filled with a result data