# ERC20BurnableFacet

[Git Source](https://github.com/Forgenie/diamond-foundry/blob/e69a7af04e0636b77b9dd15df62c58172ec045da/src/facets/erc20-burnable/ERC20BurnableFacet.sol)

**Inherits:** IERC20Burnable, ERC20Base, AccessControlBase, Facet

## Functions

### ERC20Burnable\_init

```solidity
function ERC20Burnable_init() external;
```

### burn

Burns an amount of the token of the sender.

```solidity
function burn(uint256 amount) external;
```

**Parameters**

| Name     | Type      | Description                    |
| -------- | --------- | ------------------------------ |
| `amount` | `uint256` | The amount that will be burnt. |

### burnFrom

Burns an amount of the token of a given account.

```solidity
function burnFrom(address account, uint256 amount) external protected;
```

**Parameters**

| Name      | Type      | Description                             |
| --------- | --------- | --------------------------------------- |
| `account` | `address` | The account whose tokens will be burnt. |
| `amount`  | `uint256` | The amount that will be burnt.          |
