fn asset(env: soroban_sdk::Env) -> soroban_sdk::Address
fn pause(env: soroban_sdk::Env, caller: soroban_sdk::Address)
fn share(env: soroban_sdk::Env) -> soroban_sdk::Address
fn digest(
env: soroban_sdk::Env,
request_id: u128,
sender: soroban_sdk::Address,
amount: i128,
deadline: u64,
) -> soroban_sdk::BytesN<32>
Returns true if the contract is paused, and false otherwise.
e - Access to Soroban environment.fn paused(env: soroban_sdk::Env) -> bool
fn unpause(env: soroban_sdk::Env, caller: soroban_sdk::Address)
fn upgrade(
env: soroban_sdk::Env,
new_wasm_hash: soroban_sdk::BytesN<32>,
caller: soroban_sdk::Address,
)
fn verifier(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn custodian(env: soroban_sdk::Env) -> soroban_sdk::Address
Returns Some(Address) if ownership is set, or None if ownership has
been renounced.
e - Access to the Soroban environment.fn get_owner(env: soroban_sdk::Env) -> Option
fn get_request(env: soroban_sdk::Env, request_id: u128) -> Request
fn min_deposit(env: soroban_sdk::Env) -> i128
fn set_verifier(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
new_verifier: soroban_sdk::BytesN<32>,
)
fn __constructor(
env: soroban_sdk::Env,
access_manager: soroban_sdk::Address,
deposit_manager_config: DepositManagerConfig,
rate_limit_config: RateLimitConfig,
)
fn claim_request(
env: soroban_sdk::Env,
request_id: u128,
verifier_signature: soroban_sdk::BytesN<64>,
deadline: u64,
) -> i128
fn set_custodian(env: soroban_sdk::Env, new_custodian: soroban_sdk::Address)
fn verify_request(
env: soroban_sdk::Env,
request_id: u128,
signature: soroban_sdk::BytesN<64>,
deadline: u64,
) -> soroban_sdk::BytesN<32>
fn deposit_request(env: soroban_sdk::Env, request_id: u128) -> Request
fn next_request_id(env: soroban_sdk::Env) -> u128
fn request_deposit(
env: soroban_sdk::Env,
sender: soroban_sdk::Address,
amount: i128,
) -> u128
fn set_min_deposit(env: soroban_sdk::Env, new_min_deposit: i128)
Accepts a pending ownership transfer.
e - Access to the Soroban environment.crate::role_transfer::RoleTransferError::NoPendingTransfer] - If
there is no pending transfer to accept.["ownership_transfer_completed"][new_owner: Address]fn accept_ownership(env: soroban_sdk::Env)
fn domain_separator(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn decrease_tx_limit(env: soroban_sdk::Env, new_tx_limit: i128)
fn increase_tx_limit(env: soroban_sdk::Env, new_tx_limit: i128)
fn rate_limit_config(env: soroban_sdk::Env) -> RateLimitConfig
Renounces ownership of the contract.
Permanently removes the owner, disabling all functions gated by
#[only_owner].
e - Access to the Soroban environment.OwnableError::TransferInProgress] - If there is a pending ownership
transfer.OwnableError::OwnerNotSet] - If the owner is not set.fn renounce_ownership(env: soroban_sdk::Env)
Initiates a 2-step ownership transfer to a new address.
Requires authorization from the current owner. The new owner must later
call accept_ownership() to complete the transfer.
e - Access to the Soroban environment.new_owner - The proposed new owner.live_until_ledger - Ledger number until which the new owner can
accept. A value of 0 cancels any pending transfer.OwnableError::OwnerNotSet] - If the owner is not set.crate::role_transfer::RoleTransferError::NoPendingTransfer] - If
trying to cancel a transfer that doesn't exist.crate::role_transfer::RoleTransferError::InvalidLiveUntilLedger] -
If the specified ledger is in the past.crate::role_transfer::RoleTransferError::InvalidPendingAccount] -
If the specified pending account is not the same as the provided new
address.fn transfer_ownership(
env: soroban_sdk::Env,
new_owner: soroban_sdk::Address,
live_until_ledger: u32,
)
fn decrease_window_limit(env: soroban_sdk::Env, new_window_limit: i128)
fn increase_window_limit(env: soroban_sdk::Env, new_window_limit: i128)