pub unconstrained fn load<T>(contract_address: AztecAddress, slot: Field) -> Option<T> where T: Deserialize
Returns data previously stored via storeCapsule in the per-contract non-volatile database. Returns Option::none() if nothing was stored at the given slot.
storeCapsule
Returns data previously stored via
storeCapsulein the per-contract non-volatile database. Returns Option::none() if nothing was stored at the given slot.