fn admin(env: soroban_sdk::Env) -> soroban_sdk::Address
Rotate the admin. Auth: current admin.
fn set_admin(env: soroban_sdk::Env, new: soroban_sdk::Address)
fn strategy_of(
env: soroban_sdk::Env,
owner: soroban_sdk::Address,
) -> Option
fn __constructor(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
strategy_wasm: soroban_sdk::BytesN<32>,
registry: soroban_sdk::Address,
)
fn strategy_wasm(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn strategy_count(env: soroban_sdk::Env) -> u32
Deploy the caller's Strategy at its deterministic address. Auth: owner.
One per owner (AlreadyDeployed otherwise).
fn deploy_strategy(
env: soroban_sdk::Env,
owner: soroban_sdk::Address,
) -> Result
Deterministic Strategy address for owner (computable before deploy).
fn predict_address(
env: soroban_sdk::Env,
owner: soroban_sdk::Address,
) -> soroban_sdk::Address
Deploy the owner's Strategy and run the first invest in one signed tx
(the default first-investment path). Auth: owner (covers the whole tree).
fn deploy_and_invest(
env: soroban_sdk::Env,
owner: soroban_sdk::Address,
asset: soroban_sdk::Address,
total: i128,
allocations: soroban_sdk::Vec,
) -> Result
Set the template Wasm hash used by FUTURE deploys. Auth: admin.
fn set_strategy_wasm(env: soroban_sdk::Env, new_wasm: soroban_sdk::BytesN<32>)
fn strategy_by_index(env: soroban_sdk::Env, index: u32) -> Option