FeeManager.sol
function collectFees() external returns (uint256)
Fetch the total amount of collected fees yet to be distributed to the reserve.
Return Values
Type | Description |
---|---|
uint256 | The total amount of collected fees |
function calculateMemberFee(address member, uint256 amount) public view returns (uint256)
Fetch the calculated member fee to be collected from a given member for a given amount of credits.
Call Params
Name | Type | Description |
---|---|---|
member | address | address of member transfering credits |
amount | uint256 | the amount of credits being transfered |
Return Values
Type | Description |
---|---|
uint256 | The amount of reference currency to collect from a given member for transferring the given amount of credits. |
function distributeFees() external
Distributes total collected fees to network's reserve pool.
Last modified 1mo ago