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