Function eei::ethereum_create[][src]

pub unsafe extern "C" fn ethereum_create(
    address_ptr: *mut Address,
    amount_ptr: *mut Amount,
    code_ptr: *const u8,
    code_length: i32
) -> CallResult
Expand description

Create a new contract

Arguments:

  • address_ptr: the memory location at which the address of the created contract to be stored.
  • amount_ptr: the amount of ether to give the contract
  • code_ptr: The memory location to load the code from.
  • code_length: The length in bytes of code to send.