# LinearTimelockedDelegator

## IVotingToken

### Functions

#### delegate

```solidity
function delegate(
    address delegatee
) external
```

**Parameters**

| Name        | Type    | Description |
| ----------- | ------- | ----------- |
| `delegatee` | address |             |

## LinearTimelockedDelegator

allows the timelocked tokens to be delegated by the beneficiary while locked

### Functions

#### constructor

```solidity
function constructor(
    address _beneficiary,
    uint256 _duration,
    address _token,
    uint256 _cliff,
    address _clawbackAdmin,
    uint256 _startTime
) public
```

LinearTimelockedDelegator constructor

**Parameters**

| Name             | Type    | Description                                                        |
| ---------------- | ------- | ------------------------------------------------------------------ |
| `_beneficiary`   | address | admin, and timelock beneficiary                                    |
| `_duration`      | uint256 | duration of the token timelock window                              |
| `_token`         | address | the token address                                                  |
| `_cliff`         | uint256 | the seconds before first claim is allowed                          |
| `_clawbackAdmin` | address | the address which can trigger a clawback                           |
| `_startTime`     | uint256 | the unix epoch for starting timelock. Use 0 to start at deployment |

#### acceptBeneficiary

```solidity
function acceptBeneficiary() public
```

accept beneficiary role over timelocked ZEN

\_setBeneficiary internal call checks msg.sender == pendingBeneficiary

#### delegate

```solidity
function delegate(
    address to
) public
```

delegate all held ZEN to the `to` address

**Parameters**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| `to` | address |             |


---

# 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.essencefinance.io/development/smart-contracts/timelocks/lineartimelockeddelegator.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.
