IWusdnEvents
Defines all custom events emitted by the WUSDN token contract.
Events
Wrap
The user wrapped USDN to mint WUSDN tokens.
event Wrap(address indexed from, address indexed to, uint256 usdnAmount, uint256 wusdnAmount);
Parameters
Name | Type | Description |
---|---|---|
from | address | The address of the user who wrapped the USDN. |
to | address | The address of the recipient who received the WUSDN tokens. |
usdnAmount | uint256 | The amount of USDN tokens wrapped. |
wusdnAmount | uint256 | The amount of WUSDN tokens minted. |
Unwrap
The user unwrapped WUSDN tokens to redeem USDN.
event Unwrap(address indexed from, address indexed to, uint256 wusdnAmount, uint256 usdnAmount);
Parameters
Name | Type | Description |
---|---|---|
from | address | The address of the user who unwrapped the WUSDN tokens. |
to | address | The address of the recipient who received the USDN tokens. |
wusdnAmount | uint256 | The amount of WUSDN tokens unwrapped. |
usdnAmount | uint256 | The amount of USDN tokens redeemed. |