Contract de28281e459f78afcd5002d756063e981b720eadbc14d72fd6736fa43c87efd1

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 26.0.0#e1bf74ba6c3ddb591593f5eb5dfb85458ff714c1
rsver 1.94.0

Instances

  • CBGWEFNHN3PMVV6FYIMIAKNROK23ZBQ5YIAWK47AOOHVKNOEGH3H45YQ
  • CDMFDDJ3YMUPALA3F53TGZMGCRXDDUR64BZNBGRUXNTIIOLSLMFHQXF2

Interface

fn admin(env: soroban_sdk::Env) -> soroban_sdk::Address

Verify multiple ed25519 signatures and check cumulative weight meets threshold.

Panics

Panics if any signature is cryptographically invalid (non-zero but does not match its public key and the message). Soroban's ed25519_verify host function traps on verification failure. Callers should use try_verify to catch this as a host error. All-zero signatures are caught before the host call and return Err(VerifyError::InvalidSignature).

fn verify(
    env: soroban_sdk::Env,
    envelope: soroban_sdk::Bytes,
    signatures: soroban_sdk::Vec>,
    signer_pubkeys: soroban_sdk::Vec>,
    reference_block: u32,
) -> Result<(), VerifyError>
fn upgrade(
    env: soroban_sdk::Env,
    new_wasm_hash: soroban_sdk::BytesN<32>,
    new_version: soroban_sdk::String,
)
fn version(env: soroban_sdk::Env) -> soroban_sdk::String

Verify a single ed25519 signature and return the signer's weight.

Panics

Panics if the signature is cryptographically invalid (non-zero but does not match the public key and message). Soroban's ed25519_verify host function traps on verification failure rather than returning an error. Callers should use try_check_one to catch this as a host error. All-zero signatures are caught before the host call and return Err(VerifyError::InvalidSignature).

fn check_one(
    env: soroban_sdk::Env,
    envelope: soroban_sdk::Bytes,
    signature: soroban_sdk::BytesN<64>,
    signer_pubkey: soroban_sdk::BytesN<32>,
    reference_block: Option,
) -> Result
fn accept_admin(env: soroban_sdk::Env)
fn __constructor(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    security_contract: soroban_sdk::Address,
)
fn pending_admin(env: soroban_sdk::Env) -> Option
fn propose_admin(env: soroban_sdk::Env, new_admin: soroban_sdk::Address)
fn signer_weight(env: soroban_sdk::Env, signer_pubkey: soroban_sdk::BytesN<32>) -> u64
fn required_weight(env: soroban_sdk::Env) -> u64
fn security_contract(env: soroban_sdk::Env) -> soroban_sdk::Address

Imports

WebAssembly Text (WAT) ▶