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

# Taxshare Token

### Token Description:&#x20;

The `TaxShareToken` is a type of tax token that shares a percentage of taxes with users. Whenever taxes are taken from a transaction, a portion of the tokens are split between all holders proportionally. Balances in this contract automatically increase every time taxes are taken, providing a form of interest to holders.

### Token Interface for Maintenance:

* `transferTreasury(address _newTreasury)` - Allows the owner or treasury to change the treasury address.
* `changeDex(address _dexAddress)` - Allows the owner or treasury to change the address of the dex where taxes should be sold.
* `setTaxes(address _dex, uint256 _buyTax, uint256 _sellTax)` - Allows the owner to set buy and sell taxes on the dex.
* `changeSharePercent(uint256 _newSharePercent)` - Allows the owner or treasury to change the percentage of taxes to be shared with users.

### &#x20;
