Function casper_contract::ext_ffi::casper_get_caller[][src]

pub unsafe extern "C" fn casper_get_caller(
    output_size: *mut usize
) -> i32
Expand description

This function returns the public key of the account for this deploy. The result is always 36-bytes in length (4 bytes prefix on a 32-byte public key); it is up to the caller to ensure the right amount of memory is allocated at dest_ptr, data corruption in the wasm memory could occur otherwise.

Arguments

  • dest_ptr - pointer to position in wasm memory where to write the result