Contract 0813658dd1c3634412cfc9b743ac2e757b34ff34e4edcb5c213164b2ded932d0

← Back to Index 📥 Download WASM

Meta

rssdkver 23.0.2#a97daf8b07cdf24e9bd45e344db51a21b9ea77d3
rsver 1.89.0

Instances

  • CC4QNQZ3NNJD4G4KVFW247MAZR7UN24EXSI2I5FSFKEK7V2MGGBPUR3X

Interface

Transfer amount of the native token (XLM) from this contract to to, then revert the whole tx if a simple "random" check is odd.

fn pay_with_random(
    env: soroban_sdk::Env,
    token: soroban_sdk::Address,
    to: soroban_sdk::Address,
    amount: i128,
)

Imports

WebAssembly Text (WAT) ▶