Returns the record for the given id. Panics if not found.
fn get(env: soroban_sdk::Env, id: soroban_sdk::String) -> Record
Returns the current owner address.
fn owner(env: soroban_sdk::Env) -> soroban_sdk::Address
Registers an immutable auction event. Requires owner auth.
Rejects duplicate id values.
fn register(
env: soroban_sdk::Env,
tipo: soroban_sdk::String,
id: soroban_sdk::String,
hash: soroban_sdk::String,
timestamp: u64,
) -> Record
One-time setup — stores the owner address that gates all writes.
fn initialize(env: soroban_sdk::Env, owner: soroban_sdk::Address)