Contract 051040286b4fdd9cb93d9e7f9c334620be05ab5a12937f534944ab8ac8a3910e

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.81.0

Instances

  • CAL42BXF3HTCYOF6SOICJ5VDCUEGYWNTTL3IZHNOLBTQFTWS7EBDANMZ

Interface

Execute the vulnerable initializer, exact upgrade, and newly installed payload through one outer contract invocation.

fn execute(
    env: soroban_sdk::Env,
    target: soroban_sdk::Address,
    attacker_wasm_hash: soroban_sdk::BytesN<32>,
    old_lp: soroban_sdk::Address,
    pool: soroban_sdk::Address,
    token_a: soroban_sdk::Address,
    token_b: soroban_sdk::Address,
    recipient: soroban_sdk::Address,
    stages: soroban_sdk::Vec,
) -> (i128, i128)

Imports

WebAssembly Text (WAT) ▶