Earn

Earn

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

dripToken

1
address dripToken
Copied!

dripPeriod

1
uint256 dripPeriod
Copied!

totalEarned

Accounting total stable coin earned after fee. This amount is not reported to the pool.
1
uint256 totalEarned
Copied!

DripPeriodUpdated

1
event DripPeriodUpdated(uint256 oldDripPeriod, uint256 newDripPeriod)
Copied!

updateDripPeriod

1
function updateDripPeriod(uint256 _dripPeriod) external
Copied!
Update update period of distribution of earning done in one rebalance
_dripPeriod in seconds

approveGrowToken

1
function approveGrowToken() external
Copied!
Approves EarnDrip' Grow token to spend dripToken