near_sdk::env
pub fn state_read<T: BorshDeserialize>() -> Option<T>
Load the state of the given object.