TOKEN

contracts/TOKEN.sol:TOKEN

TOKEN Name (NAME) - string

The name of the TOKEN. For example, 'CaptainToken' or 'CrunchToken'.

TOKEN Symbol (SYMBOL) - string

The symbol of the TOKEN. For example, 'CAPN' or 'CRCH'.

Protocol Fee (PROTOCOL_FEE) - uint256

The fee that gets applied to buys, sells, and borrows. Units are in bps (basis points). Can be calculated by multiplying the desired fee percentage by 100.

PROTOCOL__FEE = (Percent Fee) * 100

Examples:

  • 0.3% Fee: (0.3) * 100 = 30

  • 0.5% Fee: (0.5) * 100 = 50

  • 2.0% Fee: (2.0) * 100 = 200

Provider Fee (PROVIDER_FEE) - uint256

The percent of buy/sell fees that goes to the UI provider. Units are in bps (basis points). Can be calculated by mutliplying the desired fee percentage by 100

PROVIDER_FEE = (provider percent) * 100

Examples:

  • 40% for provider: (40) * 100 = 4000

  • 20% for provider: (20) * 100 = 2000

  • 5% for provider: (5) * 100 = 500

Last updated