Harvester

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x497f066b at 18669694
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Harvester"

No transactions found for "Harvester"


Functions
Getter at block 21184894
baseTokenAddress(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
baseTokenDecimals(view returns (uint256)
6
governor(view returns (address)
0x58890a9cb27586e83cb51d2d26bbe18a1a647245
isGovernor(view returns (bool)
false
rewardProceedsAddress(view returns (address)
0x0000000000000000000000000000000000000000
vaultAddress(view returns (address)
0xe75d77b1865ae93c7eaa3040b038d7aa7bc02f70
Read-only
balancerPoolId(addressview returns (bytes32)
curvePoolIndices(addressview returns (uint128 rewardTokenIndexuint128 baseTokenIndex)
rewardTokenConfigs(addressview returns (uint16 allowedSlippageBpsuint16 harvestRewardBpsaddress swapPlatformAddrbool doSwapRewardTokenuint8 swapPlatformuint256 liquidationLimit)
supportedStrategies(addressview returns (bool)
uniswapV2Path(addressuint256view returns (address)
uniswapV3Path(addressview returns (bytes)
State-modifying
claimGovernance(
harvestAndSwap(address _strategyAddr
harvestAndSwap(address _strategyAddraddress _rewardTo
setRewardProceedsAddress(address _rewardProceedsAddress
setRewardTokenConfig(address _tokenAddressstruct BaseHarvesterRewardTokenConfig tokenConfigbytes swapData
setSupportedStrategy(address _strategyAddressbool _isSupported
transferGovernance(address _newGovernor
transferToken(address _assetuint256 _amount
Events
GovernorshipTransferred(address indexed previousGovernoraddress indexed newGovernor
PendingGovernorshipTransfer(address indexed previousGovernoraddress indexed newGovernor
RewardProceedsAddressChanged(address newProceedsAddress
RewardProceedsTransferred(address indexed tokenaddress farmeruint256 protcolYielduint256 farmerFee
RewardTokenConfigUpdated(address tokenAddressuint16 allowedSlippageBpsuint16 harvestRewardBpsuint8 swapPlatformaddress swapPlatformAddrbytes swapDatauint256 liquidationLimitbool doSwapRewardToken
RewardTokenSwapped(address indexed rewardTokenaddress indexed swappedIntouint8 swapPlatformuint256 amountInuint256 amountOut
SupportedStrategyUpdate(address strategyAddressbool isSupported
Constructor
constructor(address _vaultaddress _usdtAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BalanceMismatchAfterSwap(uint256 actualBalanceuint256 minExpected
EmptyAddress(
EmptyBalancerPoolId(
InvalidCurvePoolAssetIndex(address token
InvalidHarvestRewardBps(
InvalidSlippageBps(
InvalidSwapPlatform(uint8 swapPlatform
InvalidTokenInSwapPath(address token
InvalidUniswapV2PathLength(
SlippageError(uint256 actualBalanceuint256 minExpected
UnsupportedStrategy(address strategyAddress