Contract 25d5718c1ebc2f5d7ab37d6cbc4849f01321fa6c5d24d12916781f33a8ba7956

← Back to Index 📥 Download WASM

Meta

cliver 26.0.0#60f7458e7ecffddf2f2d91dc6d0d2db4fab03ecc
rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.88.0

Instances

  • CAC2GGAJ2RSBANBP7AB72ITOHYZ7ZEXH7X6TBRC5PBQFSP7CC7D44RHC
  • CDLRN5E73P65ABNVOQJ35A5C3LIQCHR44LYVYKZTMPBMWEVD6ATOKMFA

Interface

fn __constructor(
    env: soroban_sdk::Env,
    blend_pool: soroban_sdk::Address,
    asset: soroban_sdk::Address,
)

What the Oracle reads. Forwards to Blend V2 and rescales the rate. Panics if Blend returns a non-positive rate so the Oracle's own checks see a clean error code rather than silently dividing.

fn get_reserve_data(env: soroban_sdk::Env) -> ReserveData
fn blend_pool(env: soroban_sdk::Env) -> soroban_sdk::Address
fn asset(env: soroban_sdk::Env) -> soroban_sdk::Address

Imports

WebAssembly Text (WAT) ▶