For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::facts

Function record_non_retractable_fact

pub unconstrained fn record_non_retractable_fact(
    contract_address: AztecAddress,
    scope: AztecAddress,
    fact_collection_type_id: Field,
    fact_collection_id: Field,
    fact_type_id: Field,
    payload: EphemeralArray<Field>,
)

Records a non-retractable fact into a collection: it survives reorgs and will persist until the fact collection itself is deleted. Re-recording an identical fact is a no-op.