HarvesterProxy
Verified contract
Proxy
Active on
Ethereum with 82 txns
Unified storage
Map
Table
Raw
Constants and immutables
6
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 "HarvesterProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17975072 | a year ago | | | 0 | 0.0031075872 | |
| 17975044 | a year ago | | | 0 | 0.011436303 | |
| 17747175 | a year ago | | | 0 | 0.0094354812 | |
| 17475363 | a year ago | | | 0 | 0.010774489 | |
| 17475190 | a year ago | | | 0 | 0.0080126520 | |
| 17439526 | a year ago | | | 0 | 0.011502124 | |
| 17351916 | a year ago | | | 0 | 0.016758711 | |
| 17306205 | a year ago | | | 0 | 0.0013808193 | |
| 17047489 | 2 years ago | | | 0 | 0.015165516 | |
| 16664801 | 2 years ago | | | 0 | 0.0061613513 |
ABI
ABI objects
Getter at block 21184894
admin() view returns (address)
0x35918cde7233f2dd33fa41ae3cb6ae0e42e0e69f
governor() view returns (address)
0x35918cde7233f2dd33fa41ae3cb6ae0e42e0e69f
implementation() view returns (address)
0x07a450739cdd8ac0a59c9d752ce915a86010658b
isGovernor() view returns (bool)
false
baseTokenAddress() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
baseTokenDecimals() view returns (uint256)
6
governor() view returns (address)
0x35918cde7233f2dd33fa41ae3cb6ae0e42e0e69f
isGovernor() view returns (bool)
false
rewardProceedsAddress() view returns (address)
0x80c898ae5e56f888365e235ceb8cea3eb726cb58
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()
initialize(address _logic, address _initGovernor, bytes _data) payable
transferGovernance(address _newGovernor)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
Upgraded(address indexed implementation)
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)
This contract contains no constructor objects.
fallback()
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)