Developers > Yield Tranches > Methods > depositAA
Last updated 1 year ago
Ecosystem
Developers
Community
Analytics
This method transfers token from the user to the contract and mint AA (Senior) tranche tokens for the user.
token
msg.sender should approve this contract first to spend _amount of token
msg.sender
_amount
function depositAA( uint256 _amount ) external returns (uint256)
Amount of token to deposit
_val
AA tranche tokens minted