Function casper_contract::ext_ffi::casper_is_valid_uref[][src]

pub unsafe extern "C" fn casper_is_valid_uref(
    uref_ptr: *const u8,
    uref_size: usize
) -> i32
Expand description

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 URefs). 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.