Raw Tranching Instructions
These pages document the low-level instruction builders exported from@exponent-labs/exponent-sdk/client/tranching.
Use the high-level TranchingMarket SDK methods unless you need direct control over every account, remaining account, and token account.
Instructions
Initialize Tranching Market
Create a tranching market, return model storage account, SY escrow, and Senior/Junior LP mints.
Deposit
Deposit SY into Senior or Junior and mint tranche LP shares.
Withdraw
Burn tranche LP shares and withdraw SY.
Wrapper Deposit
Mint SY from base assets and deposit into a tranche atomically.
Wrapper Withdraw
Withdraw SY from a tranche and redeem it back to base assets atomically.
Modify Market
Update risk config, fee config, return model, roles, capacities, metadata, or SY CPI accounts.
Mint Protocol Fee Shares
Mint pending protocol fee LP shares to the configured recipient.
Set Market Paused
Pause or unpause user-facing market operations.