# AlgebraCommunityVault

Algebra community fee vault

Community fee from pools is sent here, if it is enabled

## Modifiers

### onlyWithdrawer

`modifier onlyWithdrawer()` internal

## Events

### TokensWithdrawal

`event TokensWithdrawal(address token, address to, uint256 amount)`

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| token  | address |             |
| to     | address |             |
| amount | uint256 |             |

## Variables

### bytes32 COMMUNITY\_FEE\_WITHDRAWER\_ROLE constant

*Developer note: The role can be granted in AlgebraFactory*

## Functions

### constructor

`constructor() public` public

### withdraw

`function withdraw(address token, address to, uint256 amount) external` external

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| token  | address |             |
| to     | address |             |
| amount | uint256 |             |

### withdrawTokens

`function withdrawTokens(struct AlgebraCommunityVault.WithdrawTokensParams[] params) external` external

| Name   | Type                                                 | Description |
| ------ | ---------------------------------------------------- | ----------- |
| params | struct AlgebraCommunityVault.WithdrawTokensParams\[] |             |


---

# 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://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v2.0-directional-fees/v2.0-directional-fees-core/algebracommunityvault.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.
