fn init(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>
fn admin(env: soroban_sdk::Env) -> Option
fn get_adapter(
env: soroban_sdk::Env,
protocol: soroban_sdk::Symbol,
) -> Option
fn is_registered(env: soroban_sdk::Env, adapter: soroban_sdk::Address) -> bool
Deploys an adapter from an approved wasm hash and registers it.
admin is checked against the stored admin before its authorization is
required: requiring auth on a caller-supplied address alone would let
anyone pass an address they control and satisfy the check themselves.
fn register_adapter(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
protocol: soroban_sdk::Symbol,
wasm_hash: soroban_sdk::BytesN<32>,
) -> Result