availableTokens()
function availableTokens(address token) external view returns (uint256);This function is used to identify the amount of fees accumulated in the specified token. The returned amount is the sum of tokens from both the carbonController and carbonVortex.
Function Arguments
Name
Type
Description
token
Token
The address of the token.
Returns
This returns the amount of fees accumulated by the protocol for the specified token.
Example
accumulatedFees(
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE // token
)
// Return
// 415000000000000000000 feesLast updated