Sends amount of from's USDC to recipient on the CCTP domain
destination_domain. Anyone may complete the transfer on the other
side. amount and max_fee are in Stellar units of 0.0000001 USDC.
fn exit(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
amount: i128,
destination_domain: u32,
recipient: soroban_sdk::BytesN<32>,
max_fee: i128,
min_finality_threshold: u32,
)
Deploys the account of owner and returns its address. Anyone may
call this, and calling it again changes nothing.
fn deploy(
env: soroban_sdk::Env,
owner: soroban_sdk::BytesN<20>,
) -> soroban_sdk::Address
The Stellar account of an Ethereum address, whether or not it has been deployed yet.
fn address_of(
env: soroban_sdk::Env,
owner: soroban_sdk::BytesN<20>,
) -> soroban_sdk::Address
account_wasm is the code every account runs, usdc the USDC token
contract and token_messenger Circle's TokenMessengerMinter.
fn __constructor(
env: soroban_sdk::Env,
account_wasm: soroban_sdk::BytesN<32>,
usdc: soroban_sdk::Address,
token_messenger: soroban_sdk::Address,
)