> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gains.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# GainsNetworkToken

*GNS token contract, simple ERC20 token with access control and minting/burning*

## MINTER\_ROLE

```solidity theme={null}
bytes32 MINTER_ROLE
```

## BURNER\_ROLE

```solidity theme={null}
bytes32 BURNER_ROLE
```

## initialized

```solidity theme={null}
bool initialized
```

## constructor

```solidity theme={null}
constructor(address admin) public
```

## setupRoles

```solidity theme={null}
function setupRoles(address diamond, address vault, address compensationHandler) external
```

## mint

```solidity theme={null}
function mint(address to, uint256 amount) external
```

## burn

```solidity theme={null}
function burn(address from, uint256 amount) external
```
