Contract 7d15e96686377f77f7842664a34c18d710c4359596b555c17f036cbff3694ef9

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 27.0.5#ea54f95d3f2f49e0487b29fd1a9f469638f09aba
rsver 1.94.1

Instances

  • CADLAHDE3I2IG6A2E3TMSVVU65R2MW7MJ2LTCJ5YG5DMLI4JWTQQCFSL

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