Contract 630bc19134e656667f059971536ad90e43b2499804aeab8aec5c7c5690614e83

← Back to Index 📥 Download WASM

Meta

cliver 25.0.0#a64925e9391c3d3b3ef8e53dc60c23db9e6a82e4
rssdkver 23.5.2#347f71141ddf69ef1873527c94ac98e79215f125
rsver 1.92.0

Instances

  • CDNOZGG2ZT6J2ZBI6AVX3JLNSOSPMLCB6AFR7E4YOLPBRK3J3JYM33WW

Interface

fn mint(
    env: soroban_sdk::Env,
    to: soroban_sdk::Address,
    amount: i128,
    evm_tx_hash: soroban_sdk::BytesN<32>,
)
fn withdraw(
    env: soroban_sdk::Env,
    from: soroban_sdk::Address,
    amount: i128,
    evm_dest: soroban_sdk::BytesN<20>,
)
fn initialize(
    env: soroban_sdk::Env,
    relayer: soroban_sdk::Address,
    token_address: soroban_sdk::Address,
)

Reads the current yield index so your Frontend UI or other functions can use it

fn get_yield_index(env: soroban_sdk::Env) -> i128

Catches the Yield Index pushed by your Node.js Oracle Relayer

fn update_yield_index(env: soroban_sdk::Env, index: i128)

Imports

WebAssembly Text (WAT) ▶