ReSource
Search…
⌃K

FeeManager.sol

View Functions

collectedFees

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

calculateMemberFee

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.

Mutative Functions

distributeFees

function distributeFees() external
Distributes total collected fees to network's reserve pool.