Admin-gated: whitelist address. Idempotent.
fn add(env: soroban_sdk::Env, address: soroban_sdk::Address)
fn admin(env: soroban_sdk::Env) -> soroban_sdk::Address
Admin-gated: remove address from whitelist. Idempotent.
fn remove(env: soroban_sdk::Env, address: soroban_sdk::Address)
Replace this contract's executable while preserving registry state.
fn upgrade(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
new_wasm_hash: soroban_sdk::BytesN<32>,
)
Admin-gated: rotate admin to new_admin.
fn set_admin(env: soroban_sdk::Env, new_admin: soroban_sdk::Address)
fn get_beta_cap(env: soroban_sdk::Env) -> u32
fn set_beta_cap(env: soroban_sdk::Env, admin: soroban_sdk::Address, max_wallets: u32)
Returns true iff address is on the whitelist.
fn is_authorized(env: soroban_sdk::Env, address: soroban_sdk::Address) -> bool
Atomically initializes the registry as part of contract deployment.
admin is the only key allowed to mutate membership or rotate itself.
fn __constructor(env: soroban_sdk::Env, admin: soroban_sdk::Address)
fn beta_wallet_count(env: soroban_sdk::Env) -> u32