fn version(env: soroban_sdk::Env) -> u32
fn metadata(env: soroban_sdk::Env) -> Result
Redeems PT for guaranteed principal physical underlying assets.
Requires Epoch State: Settled. (Post-maturity, post-settlement).
fn redeem_pt(
env: soroban_sdk::Env,
user: soroban_sdk::Address,
pt_amount: i128,
) -> Result
Initializes the Tokenizer with its critical dependencies.
fn initialize(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
vault: soroban_sdk::Address,
pt_token: soroban_sdk::Address,
yt_token: soroban_sdk::Address,
sy_wrapper: soroban_sdk::Address,
maturity_ledger: u32,
) -> Result<(), NovaireTokenizerError>
Mints PT and YT tokens identically in exchange for Vault Shares.
Requires Epoch State: Open
fn mint_pt_yt(
env: soroban_sdk::Env,
user: soroban_sdk::Address,
sy_shares: i128,
) -> Result<(i128, i128), NovaireTokenizerError>
Claims accrued yield for a user by withdrawing the physical underlying asset.
Requires Epoch State: Open, Matured, or Settled.
fn claim_yield(
env: soroban_sdk::Env,
user: soroban_sdk::Address,
) -> Result
Settles the epoch, permanently locking the settlement exchange rate.
Requires Epoch State: Matured
fn settle_epoch(env: soroban_sdk::Env) -> Result<(), NovaireTokenizerError>
Checks the exact state of the epoch.
fn get_epoch_state(env: soroban_sdk::Env) -> Result