[−][src]Function casperlabs_contract::ext_ffi::get_caller
pub unsafe extern "C" fn get_caller(output_size: *mut usize) -> i32
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