fn upgrade(env: soroban_sdk::Env, new_wasm_hash: soroban_sdk::BytesN<32>)
fn __constructor(
env: soroban_sdk::Env,
signers: soroban_sdk::Vec,
plugins: soroban_sdk::Vec,
)
fn add_signer(env: soroban_sdk::Env, signer: Signer) -> Result<(), soroban_sdk::Error>
fn update_signer(
env: soroban_sdk::Env,
signer: Signer,
) -> Result<(), soroban_sdk::Error>
fn revoke_signer(
env: soroban_sdk::Env,
signer_key: SignerKey,
) -> Result<(), soroban_sdk::Error>
fn install_plugin(
env: soroban_sdk::Env,
plugin: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>
fn uninstall_plugin(
env: soroban_sdk::Env,
plugin: soroban_sdk::Address,
) -> Result<(), soroban_sdk::Error>
fn is_deployed(env: soroban_sdk::Env) -> bool
Custom authorization function invoked by the Soroban runtime.
This function implements the account's authorization logic with optimizations for Stellar costs:
Verifies that all provided signatures are cryptographically valid
Checks that at least one authorized signer has approved each operation
Ensures signers have the required permissions for the requested operations
env - The contract environmentsignature_payload - Hash of the data that was signedauth_payloads - Map of signer keys to their signature proofsauth_contexts - List of operations being authorizedOk(()) if authorization succeedsErr(Error) if authorization fails for any reasonfn __check_auth(
env: soroban_sdk::Env,
signature_payload: soroban_sdk::BytesN<32>,
auth_payloads: SignatureProofs,
auth_contexts: soroban_sdk::Vec,
) -> Result<(), soroban_sdk::Error>