> For the complete documentation index, see [llms.txt](https://docs.divergence-protocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.divergence-protocol.com/technical-reference/core/stoken.md).

# SToken

## mint

Mints an amount of SToken for an account

```javascript
    function mint(address account, uint256 amount) external override onlyOwner
```

**Params:**

| **Name** | **Type** | **Description**             |
| -------- | -------- | --------------------------- |
| account  | address  | The account address         |
| amount   | uint256  | The amount of SToken minted |

## burn

Burns an amount of SToken for an account

```javascript
function burn(address account, uint256 amount) external override onlyOwner
```

**Params:**

| **Name** | **Type** | **Description**             |
| -------- | -------- | --------------------------- |
| account  | address  | The account address         |
| amount   | uint256  | The amount of SToken burned |

## decimals

Returns the number of decimals used for the SToken token

```javascript
function decimals() public view virtual override returns (uint8)
```

**Returns:**

| **Name**   | **Type** | **Description**                            |
| ---------- | -------- | ------------------------------------------ |
| \_decimals | uint8    | The number of decimals used for the SToken |
