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

# external\_token\_list.gno

{% embed url="<https://github.com/gnoswap-labs/gnoswap/blob/main/contract/r/gnoswap/staker/v1/external_token_list.gno>" %}

## AddToken

```go
func AddToken(
	cur realm,
	tokenPath string
)
```

AddToken adds a token to the reward token whitelist.

#### Parameters

| Name        | Type   | Description               |
| ----------- | ------ | ------------------------- |
| `cur`       | realm  | Pass `cross` as argument. |
| `tokenPath` | string | path of the token to add  |

## RemoveToken

```go
func RemoveToken(
	cur realm,
	tokenPath string
)
```

RemoveToken removes a token from the reward token whitelist.

#### Parameters

| Name        | Type   | Description                 |
| ----------- | ------ | --------------------------- |
| `cur`       | realm  | Pass `cross` as argument.   |
| `tokenPath` | string | path of the token to remove |
