NTokenMoonBirds
Implementation of the interest bearing token for the ParaSpace protocol
constructor
Constructor.
Parameters
getXTokenType
return token type`of xToken
burn
Burns nTokens from user
and sends the equivalent amount of underlying to receiverOfUnderlying
In some instances, the mint event could be emitted from a burn transaction if the amount to burn is less than the interest that the user accrued
Parameters
Return Values
onERC721Received
toggleNesting
an additional function that is custom to MoonBirds reserve. This function allows NToken holders to toggle on/off the nesting the status for the underlying tokens
nestingPeriod
an additional function that is custom to MoonBirds reserve. This function allows NToken holders to get nesting the state for the underlying tokens
nestingOpen
an additional function that is custom to MoonBirds reserve. This function check if nesting is open for the underlying tokens