depositBB
Developers > Yield Tranches > Methods > depositBBnonpayable
This method transfer
token
from the user to the contract and mint BB (Junior) tranche tokens for the user.msg.sender
should approve this contract first to spend _amount
of token
function depositBB(
uint256 _amount
) external returns (uint256)
Parameter | Description |
---|---|
_amount | Amount of token to deposit |
Value | Description |
---|---|
_val | BB tranche tokens minted |
Last modified 1mo ago