# TermFinanceVaultWrappedVotesToken.sol#TermFinanceVaultWrappedVotesToken

[Git Source](https://github.com/term-finance/yearn-v3-term-vault/blob/fdab68ac51eb0929f23686f72922fed45a3d7d1d/src/util/TermFinanceVaultWrappedVotesToken.sol)

**Inherits:** ERC20Votes, Ownable

## State Variables

### underlyingToken

```solidity
ERC20 public immutable underlyingToken;
```

### deposits

```solidity
mapping(address => uint256) public deposits;
```

## Functions

### constructor

```solidity
constructor(ERC20 _underlyingToken, string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name);
```

### decimals

```solidity
function decimals() public view override returns (uint8);
```

### wrap

```solidity
function wrap(uint256 amount) external;
```

### unwrap

```solidity
function unwrap(uint256 amount) external;
```

## Events

### Wrapped

```solidity
event Wrapped(address indexed user, uint256 amount);
```

### Unwrapped

```solidity
event Unwrapped(address indexed user, uint256 amount);
```


---

# 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://developers.term.finance/periphery-contracts/curated-vaults/solidity-api-latest/termfinancevaultwrappedvotestoken.sol-termfinancevaultwrappedvotestoken.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.
