Harvester
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Harvester"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Harvester"
ABI
ABI objects
Getter at block 21187860
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(address) view returns (bytes32)
curvePoolIndices(address) view returns (uint128 rewardTokenIndex, uint128 baseTokenIndex)
rewardTokenConfigs(address) view returns (uint16 allowedSlippageBps, uint16 harvestRewardBps, address swapPlatformAddr, bool doSwapRewardToken, uint8 swapPlatform, uint256 liquidationLimit)
supportedStrategies(address) view returns (bool)
uniswapV2Path(address, uint256) view returns (address)
uniswapV3Path(address) view returns (bytes)
State-modifying
Events claimGovernance()
harvestAndSwap(address _strategyAddr)
harvestAndSwap(address _strategyAddr, address _rewardTo)
setRewardProceedsAddress(address _rewardProceedsAddress)
setRewardTokenConfig(address _tokenAddress, struct BaseHarvesterRewardTokenConfig tokenConfig, bytes swapData)
setSupportedStrategy(address _strategyAddress, bool _isSupported)
transferGovernance(address _newGovernor)
transferToken(address _asset, uint256 _amount)
GovernorshipTransferred(address indexed previousGovernor, address indexed newGovernor)
PendingGovernorshipTransfer(address indexed previousGovernor, address indexed newGovernor)
RewardProceedsAddressChanged(address newProceedsAddress)
RewardProceedsTransferred(address indexed token, address farmer, uint256 protcolYield, uint256 farmerFee)
RewardTokenConfigUpdated(address tokenAddress, uint16 allowedSlippageBps, uint16 harvestRewardBps, uint8 swapPlatform, address swapPlatformAddr, bytes swapData, uint256 liquidationLimit, bool doSwapRewardToken)
RewardTokenSwapped(address indexed rewardToken, address indexed swappedInto, uint8 swapPlatform, uint256 amountIn, uint256 amountOut)
SupportedStrategyUpdate(address strategyAddress, bool isSupported)
constructor(address _vault, address _usdtAddress)
This contract contains no fallback and receive objects.
BalanceMismatchAfterSwap(uint256 actualBalance, uint256 minExpected)
EmptyAddress()
EmptyBalancerPoolId()
InvalidCurvePoolAssetIndex(address token)
InvalidHarvestRewardBps()
InvalidSlippageBps()
InvalidSwapPlatform(uint8 swapPlatform)
InvalidTokenInSwapPath(address token)
InvalidUniswapV2PathLength()
SlippageError(uint256 actualBalance, uint256 minExpected)
UnsupportedStrategy(address strategyAddress)