Read a record. Public and read-only; returns None if absent.
fn get(
env: soroban_sdk::Env,
record_id: soroban_sdk::BytesN<32>,
) -> Option
Revoke a previously registered record. Idempotency is intentionally not
allowed: a second revoke fails with AlreadyRevoked.
fn revoke(
env: soroban_sdk::Env,
record_id: soroban_sdk::BytesN<32>,
reason_hash: soroban_sdk::BytesN<32>,
timestamp: u64,
) -> Result<(), soroban_sdk::Error>
Register an integrity proof. Append-only: a record_id already present
is rejected with RecordAlreadyRegistered.
fn register(
env: soroban_sdk::Env,
record_id: soroban_sdk::BytesN<32>,
payload_hash: soroban_sdk::BytesN<32>,
tenant_id: soroban_sdk::BytesN<16>,
timestamp: u64,
) -> Result<(), soroban_sdk::Error>
One-time setup binding the custodial admin account. Subsequent calls
fail with AlreadyInitialized.
fn initialize(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>