FeeCollector
Inherits: IFeeCollectorCallback, ERC165
Minimum implementation of the fee collector contract.
Functions
supportsInterface
See {IERC165-supportsInterface}.
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool);
feeCollectorCallback
Called by the USDN protocol on the fee collector contract when the fee threshold is reached.
function feeCollectorCallback(uint256 feeAmount) external virtual;
Parameters
Name | Type | Description |
---|---|---|
feeAmount | uint256 | The amount of the fee that was transferred to the fee collector. |