Contract f3a20cae983d2ff3e0201138a425cb7ab82aafab556fdcdcdb823460d5d11a18

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.97.1

Instances

  • CCTAGWUEWTMCEFDUUS67CSEIBL3XX6TX5VESGG7QGIDTAND33FY3VP6Y

Interface

Return a deterministic placeholder address; we never call this in the real flow because the pool is deployed via the real pool_factory.

fn deploy(
    env: soroban_sdk::Env,
    _admin: soroban_sdk::Address,
    _name: soroban_sdk::String,
    _salt: soroban_sdk::BytesN<32>,
    _oracle: soroban_sdk::Address,
    _backstop_take_rate: u32,
    _max_positions: u32,
    _min_collateral: i128,
) -> soroban_sdk::Address

Always returns true. The backstop's require_is_from_pool_factory check is satisfied for any address.

fn is_pool(env: soroban_sdk::Env, _pool: soroban_sdk::Address) -> bool

No-op set_pool; the stub already accepts everything.

fn set_pool(env: soroban_sdk::Env, _pool: soroban_sdk::Address)

No-op constructor. The stub takes an admin but stores nothing.

fn __constructor(env: soroban_sdk::Env, _admin: soroban_sdk::Address)

Imports

WebAssembly Text (WAT) ▶