aztec-nr - noir_aztec::oracle::capsules

Function load

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.