tradingFeePPM()

CarbonController.sol
    function tradingFeePPM() external view returns (uint32);

This function returns the network default trading fee, represented in PPM (parts per million). However, every pair might have a custom fee setting for it, so it is advised to follow the process outlined in pairTradingFeePPM() function.

For example a PPM of 2,000 represents a 0.2% trading fee:

2,000 / 1,000,000 = 0.002 = 0.2%

To operate with accurate fee values, please use the pairTradingFeePPM() function.

Last updated