Deploys a memo contract with deterministic address Auto-flushes USDC to relayer during deployment
fn deploy_memo(
env: soroban_sdk::Env,
wasm_hash: soroban_sdk::BytesN<32>,
memo: soroban_sdk::String,
) -> soroban_sdk::Address
Returns the relayer address
fn get_relayer(env: soroban_sdk::Env) -> soroban_sdk::Address
Constructor: Automatically called during deployment Initializes the factory with relayer and USDC token address
fn __constructor(
env: soroban_sdk::Env,
relayer_address: soroban_sdk::Address,
usdc_token_address: soroban_sdk::Address,
)
Returns the USDC token address
fn get_usdc_token(env: soroban_sdk::Env) -> soroban_sdk::Address
Calculates the deterministic address for a memo string
fn calculate_memo_address(
env: soroban_sdk::Env,
memo: soroban_sdk::String,
) -> soroban_sdk::Address