---
description: contracts/TOKEN.sol:TOKEN
---

# TOKEN

<figure><img src="https://623574502-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3xzGYE2iQZi10eNv4IG%2Fuploads%2Fe9IntSEXgGaZXISjs2jP%2Fimage.png?alt=media&#x26;token=82a0580d-7c0e-4ada-b7e0-b68b059a1ba0" alt=""><figcaption><p>Settings box in TOKEN.sol</p></figcaption></figure>

### 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**
