Function casper_contract::contract_api::storage::read_or_revert[][src]

pub fn read_or_revert<T: CLTyped + FromBytes>(uref: URef) -> T
Expand description

Reads value under uref in the global state, reverts if value not found or is not T.