IAbstractFeeModule¶
Author: Originally developed by DEFYCA Labs S.a.r.l., maintained by Nestor Exchange OÜ
Overview¶
The IAbstractFeeModule interface defines a fee management system for token transfers within the Nestor Protocol, enabling configuration and calculation of transaction fees.
Core Functions¶
getFeeInfo¶
getFeeInBps¶
getFeeRecipient¶
calculateFeeAmount¶
function calculateFeeAmount(uint256 tokensAmount_, uint256 feeInBps_) external pure returns (uint256 feeAmount_);
Data Structure¶
FeeInfo¶
Events¶
NestorFeeSet¶
Errors¶
| Error | Trigger |
|---|---|
AbstractFeeModuleInvalidFeeRecipient |
Zero address recipient provided |
AbstractFeeModuleInvalidFee |
Fee basis points outside acceptable range |