Skip to main content

createDepositInstruction

Builds a raw instruction that deposits SY into the selected tranche and mints Senior or Junior LP shares.

Usage

Accounts

Args

Remaining accounts

Append the market’s getSyState and depositSy CPI remaining accounts after the generated keys.

Returns

TransactionInstruction - a transaction instruction ready to be added to a transaction.