Function eei::ethereum_call[][src]

pub unsafe extern "C" fn ethereum_call(
    gas_limit: i64,
    address_ptr: *const Address,
    ether_amount_ptr: *const Amount,
    data_ptr: *const u8,
    data_length: i32
) -> CallResult
Expand description

Send a message including data and/or ether to and address

Arguments:

  • gas_limit: The gas limit of the message.
  • address_ptr: The memory location to load the address from.
  • ether_amount_ptr: The memory location to load the ethereum amount from.
  • data_ptr: The memory location to load the data from.
  • data_length: The length in bytes of data to send.