[−][src]Function casperlabs_contract::ext_ffi::is_valid_uref
pub unsafe extern "C" fn is_valid_uref(
uref_ptr: *const u8,
uref_size: usize
) -> i32
This function checks if all the keys contained in the given Value
are
valid in the current context (i.e. the Value
does not contain any forged
casperlabs_types::uref::URef
s). This function causes a Trap
if the bytes in wasm
memory from offset value_ptr
to value_ptr + value_size
cannot be de-serialized as
type Value
.