Contract 7f487a22b00154beec9fd1669d3e71e5779e290978f8898e29c07ee80f5dc0a8

← Back to Index 📥 Download WASM

Meta

rssdkver 20.5.0#9e2c3022b4355b224a7a814e13ba51761eeb14bb
rsver 1.88.0

Instances

  • CCL7IZCJDFBYF45SEWNYZTDL7GHTK25KKFKAPNYNHIXGKT2VGF3MXVAC

Interface

Initialize the contract state

fn initialize(env: soroban_sdk::Env) -> Result<(), SignerError>

Add a new signer and set weights in a single operation

fn add_signer_and_set_weights(
    env: soroban_sdk::Env,
    target_account: soroban_sdk::Address,
    new_signer: soroban_sdk::Address,
    current_signer_weight: u32,
) -> Result

Execute the complete signer modification (this would be called by your transaction)

fn execute_signer_modification(
    env: soroban_sdk::Env,
    operation_id: u32,
) -> Result

Get operation details

fn get_signer_operation(
    env: soroban_sdk::Env,
    operation_id: u32,
) -> Result

Get contract state

fn get_signer_state(env: soroban_sdk::Env) -> Result

Get all completed operations for an account

fn get_completed_operations(
    env: soroban_sdk::Env,
) -> Result, SignerError>

Batch operation: Complete signer addition with all parameters

fn complete_signer_addition(
    env: soroban_sdk::Env,
    target_account: soroban_sdk::Address,
    new_signer: soroban_sdk::Address,
    current_signer_weight: u32,
) -> Result

Imports

WebAssembly Text (WAT) ▶