Function cosmwasm_storage::currval [−][src]
pub fn currval(seq: &Singleton<'_, u64>) -> StdResult<u64>
Expand description
currval returns the last value returned by nextval. If the sequence has never been used, then it will return 0.