> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v2.0/v2.0-core/algebracommunityvault.md).

# 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\[] |             |
