Contract 0a7cbed38e067ccd7dab4ff414a9bfea03ed28da667307f90a4406c5eeb37d23

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.94.1

Instances

  • CBBGB56NH4K23M33KZT2VSH3UL3WMUYIBFKXYWZY3KC5Z7ZO2L7JNA6R

Interface

Entry point. The off-chain executor builds a tx that invokes this once.

  • user: signer and flash-loan from. Repay is pulled from this account.
  • receiver: the FlashArbReceiver contract that will run exec_op.
  • blend_pool: Blend V2 pool address.
  • amount: USDC notional to flash-borrow.
  • params: trade config forwarded to Receiver.
fn execute_arb(
    env: soroban_sdk::Env,
    user: soroban_sdk::Address,
    receiver: soroban_sdk::Address,
    blend_pool: soroban_sdk::Address,
    amount: i128,
    params: ArbParams,
)

Imports

WebAssembly Text (WAT) ▶