mint_stake_lp
Deposit tokens into a TLP liquidity pool and optionally stake the minted TLP with auto-compounding of rewards.
Instructions
Deposit tokens into the TLP liquidity pool and optionally stake the resulting TLP. Requires PRIVATE_KEY in .env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stake | Yes | true = automatically stake the minted TLP after deposit. false = receive TLP without staking. | |
| amount | Yes | Amount to deposit (raw integer with token decimals) | |
| poolIndex | Yes | LP pool index. '0' = mTLP pool (accepts SUI, USDC), '1' = iTLP pool (accepts USDC, for TYPUS market). | |
| isAutoCompound | Yes | true = enable auto-compounding of staking rewards. false = rewards accumulate without compounding. | |
| stakePoolIndex | Yes | Stake pool index. '0' = mTLP stake pool, '1' = iTLP stake pool. Must match poolIndex. | |
| collateralToken | Yes | Token to deposit. e.g. 'USDC', 'SUI' |