Contract 9a4ada31cdbc10d08dda3bba573f0140187d5bbf041b059f5802c9864ab4a7bc

← Back to Index 📥 Download WASM

Meta

rssdkver 27.0.6#60926a20d1f9f0a669d5fe551636f42a1302f0c0
rsver 1.97.1

Instances

  • CBIHRZU5VT6ZZCTE7SE5JQRXFEZ63YTBOZAB4SXYSY4BLYSM3PXPKLDW
  • CDITI5XIV3WW6XT6PHV6OOQVCMORZPZDQXCXOGZBPJKJQJ3UO7OGHFCX

Interface

Whether public_key is an enrolled signer.

fn is_signer(env: soroban_sdk::Env, public_key: soroban_sdk::BytesN<65>) -> bool

Enroll an additional passkey signer. Authorized by the account itself, so an existing device's __check_auth gates the change (multi-device recovery: enroll the new device while one enrolled device still signs).

fn add_signer(env: soroban_sdk::Env, public_key: soroban_sdk::BytesN<65>)
fn __check_auth(
    env: soroban_sdk::Env,
    signature_payload: soroban_sdk::BytesN<32>,
    signature: Secp256r1Signature,
    auth_contexts: soroban_sdk::Vec,
) -> Result<(), soroban_sdk::Error>

Number of enrolled signers.

fn signer_count(env: soroban_sdk::Env) -> u32

Enroll the founding secp256r1 signer (SEC-1 uncompressed, 65 bytes).

fn __constructor(env: soroban_sdk::Env, public_key: soroban_sdk::BytesN<65>)

Remove an enrolled passkey signer. Authorized by the account itself. The last signer can never be removed (no lockout by misconfiguration).

fn remove_signer(env: soroban_sdk::Env, public_key: soroban_sdk::BytesN<65>)

Imports

WebAssembly Text (WAT) ▶