tradingFeePMM()

This function is in the BancorNetworkInfo.sol contract.

Function tradingFeePMM()

BancorNetworkInfo.sol
function tradingFeePPM(Token pool) external view returns (uint32);

This function is used to check the fee taken for trading a specified token.

Function Arguments

NameTypeDescription

pool

Token

The contract address of the token to check. For example, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F

Return Variables

This function returns the number value of the fee taken for trading a given token.

Variable TypeReturns

uint32

The fee taken for trading the specified token. For example, a value of 2000 is equal to 0.2%.

Last updated