fn asset(env: soroban_sdk::Env) -> Result
fn balance(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
) -> Result
Pull amount of USTRY from from (the vault) and credit its strategy balance.
Returns the vault's remaining strategy balance.
fn deposit(
env: soroban_sdk::Env,
amount: i128,
from: soroban_sdk::Address,
) -> Result
USTRY yield is issuer NAV. Nothing to claim or swap.
fn harvest(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
_data: Option,
) -> Result<(), StrategyError>
Send amount of USTRY from the strategy to to. Returns remaining from balance.
fn withdraw(
env: soroban_sdk::Env,
amount: i128,
from: soroban_sdk::Address,
to: soroban_sdk::Address,
) -> Result
DeFindex constructor: asset is the USTRY SAC. init_args is unused.
fn __constructor(
env: soroban_sdk::Env,
asset: soroban_sdk::Address,
_init_args: soroban_sdk::Vec,
)