Swap this instance's code in place. The authorization for this
invocation is checked by __check_auth, which routes update
invocations to the UPGRADE key — the TRANSFER key gains nothing
here. Address, storage, and balances are untouched by the swap.
fn update(env: soroban_sdk::Env, new_wasm_hash: soroban_sdk::BytesN<32>)
Code version marker (compile-time constant of the running code).
fn version(env: soroban_sdk::Env) -> u32
fn __check_auth(
env: soroban_sdk::Env,
signature_payload: soroban_sdk::BytesN<32>,
signature: soroban_sdk::Bytes,
auth_contexts: soroban_sdk::Vec,
) -> Result<(), PqError>
fn __constructor(
env: soroban_sdk::Env,
tx_root: soroban_sdk::BytesN<32>,
tx_seed: soroban_sdk::BytesN<32>,
up_root: soroban_sdk::BytesN<32>,
up_seed: soroban_sdk::BytesN<32>,
)