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,
treasury: soroban_sdk::Address,
flash_loan_fee: u32,
initial_health: u32,
ir_params: IRParams,
) -> (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)