Contract aeaa1c72f607071fd1f383638fa0c850df1c15bd051b3e1061ac57bc0e46b045

← Back to Index 📥 Download WASM

Meta

cliver 28.1.0#c0f4d0da891bbf214c08b8c5035ae6db80e9a3bd
rssdk_spec_shaking 2
rssdkver 29.0.0#73ea6c0e61ff2cb63696bcbbb613a3fb71222918
rsver 1.99.0

Instances

  • CDZCHMNSAAIST5K2DNP4DP6H3DE4UJISUOMDFQTKD7IK6CD477AB7LJK

Interface

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,
)

Imports

WebAssembly Text (WAT) ▶