aztec-nr - noir_aztec::oracle::capsules

Function store

pub unconstrained fn store<T>(
    contract_address: AztecAddress,
    slot: Field,
    value: T,
    scope: AztecAddress,
)
where T: Serialize

Stores arbitrary information in a per-contract non-volatile database, which can later be retrieved with load. If data was already stored at this slot, it is overwritten.