> For the complete documentation index, see [llms.txt](https://polytrade.gitbook.io/polytrade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polytrade.gitbook.io/polytrade/token.md).

# Token

## mint

```
function mint(address to, uint amount) external;
```

#### mints ERC20 token

| Parameters Name | Type    | Description                           |
| --------------- | ------- | ------------------------------------- |
| to              | address | receiver address of the ERC20 address |
| amount          | uint    | amount of ERC20 token minted          |

## burnFrom

```
function burnFrom(address account, uint amount) external;
```

Tokens from `account`, deducting from the caller's allowance.

| Parameter Name | Type    | Description                                                                     |
| -------------- | ------- | ------------------------------------------------------------------------------- |
| account        | address | Destroys `amount` tokens from `account`, deducting from the caller's allowance. |
| amount         | uint    | the caller must have allowance for `accounts`'s tokens of at least  `amount`.   |
