Contract ea7102e174c649fed93477dd4cfffe4c9bcf68adcf7baf8737dbf6f3fcb47a8a

← Back to Index 📥 Download WASM

Meta

rssdkver 21.4.0#d6f5639f643d76e758beecbb0ca391f8cd304c24
rsver 1.79.0

Instances

  • CCDZI7OYKBLKSDZ3IGDSPMQPNOAYSPEONPOPZGLAVCVPZGQNUTPB7WCA

Interface

Deploy the pool contract wasm and after deployment invoke the initialize function of the contract with the given admin address. Returns the contract ID and result of the initialize function.

fn deploy_pool(
    env: soroban_sdk::Env,
    salt: soroban_sdk::BytesN<32>,
    wasm_hash: soroban_sdk::BytesN<32>,
    admin: soroban_sdk::Address,
    pool_config: PoolConfig,
) -> (soroban_sdk::Address, soroban_sdk::Val)

Deploy the s-token contract wasm and after deployment invoke the initialize function of the contract with the given arguments. Returns the contract ID and result of the initialize function.

fn deploy_s_token(
    env: soroban_sdk::Env,
    salt: soroban_sdk::BytesN<32>,
    wasm_hash: soroban_sdk::BytesN<32>,
    name: soroban_sdk::String,
    symbol: soroban_sdk::String,
    pool: soroban_sdk::Address,
    underlying_asset: soroban_sdk::Address,
) -> (soroban_sdk::Address, soroban_sdk::Val)

Deploy the debt token contract wasm and after deployment invoke the initialize function of the contract with the given arguments. Returns the contract ID and result of the initialize function.

fn deploy_debt_token(
    env: soroban_sdk::Env,
    salt: soroban_sdk::BytesN<32>,
    wasm_hash: soroban_sdk::BytesN<32>,
    name: soroban_sdk::String,
    symbol: soroban_sdk::String,
    pool: soroban_sdk::Address,
    underlying_asset: soroban_sdk::Address,
) -> (soroban_sdk::Address, soroban_sdk::Val)

Imports

WebAssembly Text (WAT) ▶