Contract bcb7a41a868a62079053122377b389aa550922e2dff84b33c8989b771cacbfb5

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.88.0

Instances

  • CB5LVMTAUZH3YSPMEHI2M3NPRQQNCCT4ADVUQDD7PC2K6HUSSC4V2UI3
  • CDFMNLDINYLRTSJYTAOEEIBJWSAIZX3MJPLKD2YSEBFPKEM2ZEORZOZK

Interface

Initialize the contract with the creator as the owner

fn initialize(
    env: soroban_sdk::Env,
    owner: soroban_sdk::Address,
) -> Result<(), ContractError>

Inject liquidity into the contract (only owner can call this)

fn inject_liquidity(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    token: soroban_sdk::Address,
) -> Result

Imports

WebAssembly Text (WAT) ▶