fn mode(env: soroban_sdk::Env) -> DepositMode
fn owner(env: soroban_sdk::Env) -> OwnerKey
fn adapter(env: soroban_sdk::Env) -> soroban_sdk::Address
fn balance(env: soroban_sdk::Env) -> i128
Adapter only: stake (or back, per mode) everything the account holds,
or hold it if the pool refuses. Never fails because of the pool, so a
mint is never reverted. payout_account is already checked by the
adapter to be the Solana owner's own USDC token account; the first one
is kept for good, later ones are ignored.
fn on_mint(env: soroban_sdk::Env, payout_account: Option>)
Owner: back the pool with amount of held USDC. Fails if the pool
refuses.
fn back_held(env: soroban_sdk::Env, amount: i128) -> Result<(), AccountError>
Owner: emergency exit from the pool and send everything home.
fn exit_home(env: soroban_sdk::Env) -> Result
Owner: send everything the account holds home.
fn send_home(env: soroban_sdk::Env) -> Result
Owner: pull what has vested on a claim and send everything home.
fn claim_home(
env: soroban_sdk::Env,
claim_id: soroban_sdk::BytesN<32>,
) -> Result
Permissionless TTL extension.
fn extend_ttl(env: soroban_sdk::Env)
Owner: stake amount of held USDC. Fails if the pool refuses.
fn stake_held(env: soroban_sdk::Env, amount: i128) -> Result<(), AccountError>
fn home_domain(env: soroban_sdk::Env) -> u32
fn __check_auth(
env: soroban_sdk::Env,
signature_payload: soroban_sdk::BytesN<32>,
signature: OwnerSignature,
auth_contexts: soroban_sdk::Vec,
) -> Result<(), AccountError>
Deployed by the CCTP adapter on the owner's first deposit.
fn __constructor(
env: soroban_sdk::Env,
adapter: soroban_sdk::Address,
pool: soroban_sdk::Address,
usdc: soroban_sdk::Address,
messenger: soroban_sdk::Address,
owner: OwnerKey,
home_domain: u32,
mode: DepositMode,
)
Owner: withdraw the stake and send everything home.
fn withdraw_home(env: soroban_sdk::Env) -> Result
Solana owners: the saved USDC token account payouts go to.
fn payout_account(env: soroban_sdk::Env) -> Option>
r3 (2026-09-29): owner: take the stake's yield, keep the stake, and send everything home.
fn claim_yield_home(env: soroban_sdk::Env) -> Result
Owner: cancel a pending backer withdrawal.
fn cancel_back_withdrawal(env: soroban_sdk::Env)
r3 (2026-09-29): owner: take backer yield, keep the backing, and send everything home.
fn claim_backer_yield_home(env: soroban_sdk::Env) -> Result
Owner: start the pool's backer notice period for amount. Returns
the earliest completion timestamp.
fn request_back_withdrawal(env: soroban_sdk::Env, amount: i128) -> u64
Owner: complete a backer withdrawal after the notice period and send everything home.
fn complete_back_withdrawal_home(env: soroban_sdk::Env) -> Result