IUsdnErrors
Defines all custom errors emitted by the USDN token contract.
Errors
UsdnMaxTokensExceeded
The amount of tokens exceeds the maximum allowed limit.
error UsdnMaxTokensExceeded(uint256 value);
Parameters
Name | Type | Description |
---|---|---|
value | uint256 | The invalid token value. |
UsdnInsufficientSharesBalance
The sender's share balance is insufficient.
error UsdnInsufficientSharesBalance(address sender, uint256 balance, uint256 needed);
Parameters
Name | Type | Description |
---|---|---|
sender | address | The sender's address. |
balance | uint256 | The current share balance of the sender. |
needed | uint256 | The required amount of shares for the transfer. |
UsdnInvalidDivisor
The divisor value in storage is invalid (< 1).
error UsdnInvalidDivisor();
UsdnRebaseNotSupported
The current implementation does not allow rebasing.
error UsdnRebaseNotSupported();