fn get_pool(env: soroban_sdk::Env) -> soroban_sdk::Address
Writer only. Binds wallet_hash to staker permanently.
fn register(
env: soroban_sdk::Env,
wallet_hash: soroban_sdk::BytesN<32>,
staker: soroban_sdk::Address,
) -> Result<(), RegistryError>
Permissionless: keep a registration and its staker's list from being archived. Archived entries are restorable, never deleted, but this keeps reads cheap.
fn extend_ttl(
env: soroban_sdk::Env,
wallet_hash: soroban_sdk::BytesN<32>,
) -> Result<(), RegistryError>
fn get_writer(env: soroban_sdk::Env) -> soroban_sdk::Address
Registered AND its staker has a live stake (pool.is_eligible).
fn is_covered(env: soroban_sdk::Env, wallet_hash: soroban_sdk::BytesN<32>) -> bool
Pool only: called by the pool's governance when a writer change
executes (GovChange::RegistryWriter).
fn set_writer(env: soroban_sdk::Env, new_writer: soroban_sdk::Address)
fn get_wallets(
env: soroban_sdk::Env,
staker: soroban_sdk::Address,
) -> soroban_sdk::Vec>
pool is fixed for the life of this registry.
fn __constructor(
env: soroban_sdk::Env,
writer: soroban_sdk::Address,
pool: soroban_sdk::Address,
)
fn get_registration(
env: soroban_sdk::Env,
wallet_hash: soroban_sdk::BytesN<32>,
) -> Option