Earn

Earn

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

dripToken

address dripToken

dripPeriod

uint256 dripPeriod

totalEarned

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

uint256 totalEarned

DripPeriodUpdated

event DripPeriodUpdated(uint256 oldDripPeriod, uint256 newDripPeriod)

updateDripPeriod

function updateDripPeriod(uint256 _dripPeriod) external

Update update period of distribution of earning done in one rebalance

_dripPeriod in seconds

approveGrowToken

function approveGrowToken() external

Approves EarnDrip' Grow token to spend dripToken

Last updated