# Dividend Token

### Token Description:&#x20;

The `DividendToken` is a type of token that can be used to distribute Ether to users proportionally to their held tokens. It also includes the ability for the owner to take taxes if desired. The contract allows teams to deposit Ether, which is then "dripped" to users over a specified period.

### 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.
* `revokeRewardsEligibility(address _user, bool _revoked)` - Allows the owner or treasury to revoke addresses, such as dex, from receiving rewards.
* `withdraw(uint256 _amount, address payable _to)` - Allows the owner or treasury to withdraw rewards that are stuck in the token contract (rewards of revoked users).
* `transferRewarder(address _newRewarder)` - Allows the owner or rewarder to update the rewarder's address.
* `addDividend(uint256 _dripTimeInSeconds)` - Allows the rewarder/team to drip Ether to users over time.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://goattrading.gitbook.io/goat/technical/tokens/dividend-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
