> For the complete documentation index, see [llms.txt](https://docs.vesper.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vesper.finance/vesper-developers/vesper-contracts-api-reference/strategy-contracts/earn.md).

# Earn

## Earn

An abstract contract that inherits from Strategy. All Vesper Earn pools are implementations of the Earn contract.&#x20;

### dripToken

```solidity
address dripToken
```

### dripPeriod

```solidity
uint256 dripPeriod
```

### totalEarned

Accounting total stable coin earned after fee. This amount is not reported to the pool.

```solidity
uint256 totalEarned
```

### DripPeriodUpdated

```solidity
event DripPeriodUpdated(uint256 oldDripPeriod, uint256 newDripPeriod)
```

### updateDripPeriod

```solidity
function updateDripPeriod(uint256 _dripPeriod) external
```

Update update period of distribution of earning done in one rebalance

\_*dripPeriod in seconds*

### approveGrowToken

```solidity
function approveGrowToken() external
```

*Approves EarnDrip' Grow token to spend dripToken*
