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