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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.divergence-protocol.com/technical-reference/core/stoken.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
