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

function depositBB(
    uint256 _amount
) external returns (uint256)

Parameters

ParameterDescription

_amount

Amount of token to deposit

Return values

ValueDescription

_val

BB tranche tokens minted

Last updated