7 txs
18 calls
constructor
No constructor.
functions
balanceOf
viewfunction balanceOf() view returns (uint256 balance)
balanceOfPool
viewfunction balanceOfPool() view returns (uint256 balanceInvested)
balanceOfWant
viewfunction balanceOfWant() view returns (uint256 balanceHeld)
beefyFeeConfig
viewfunction beefyFeeConfig() view returns (address)
beefyFeeRecipient
viewfunction beefyFeeRecipient() view returns (address)
callReward
viewfunction callReward() view returns (uint256 callFee)
depositFee
viewfunction depositFee() view returns (uint256)
duration
viewfunction duration() view returns (uint256)
factory
viewfunction factory() view returns (address)
getAllFees
viewfunction getAllFees() view returns (tuple)
getStratFeeId
viewfunction getStratFeeId() view returns (uint256)
harvestOnDeposit
viewfunction harvestOnDeposit() view returns (bool)
keeper
viewfunction keeper() view returns (address)
lastHarvest
viewfunction lastHarvest() view returns (uint256)
lastPositionAdjustment
viewfunction lastPositionAdjustment() view returns (uint256)
lockedProfit
viewfunction lockedProfit() view returns (uint256 left, uint256 unusedVariable)
native
viewfunction native() view returns (address)
owner
viewfunction owner() view returns (address)
paused
viewfunction paused() view returns (bool)
rewardPool
viewfunction rewardPool() view returns (address)
rewards
viewfunction rewards(uint256) view returns (address)
rewardsAvailable
viewfunction rewardsAvailable() view returns (uint256 unclaimedReward)
slippage
viewfunction slippage() view returns (uint256)
strategist
viewfunction strategist() view returns (address)
token0
viewfunction token0() view returns (address)
token1
viewfunction token1() view returns (address)
totalLocked
viewfunction totalLocked() view returns (uint256)
totalLocked0
viewfunction totalLocked0() view returns (uint256)
totalLocked1
viewfunction totalLocked1() view returns (uint256)
unirouter
viewfunction unirouter() view returns (address)
vault
viewfunction vault() view returns (address)
want
viewfunction want() view returns (address)
withdrawFee
viewfunction withdrawFee() view returns (uint256)
beforeDeposit
nonpayablefunction beforeDeposit()
deposit
nonpayablefunction deposit()
harvest
nonpayablefunction harvest()
harvest
nonpayablefunction harvest(address _callFeeRecipient)
initialize
nonpayablefunction initialize(address _want, address _rewardPool, tuple _commonAddresses)
panic
nonpayablefunction panic()
pause
nonpayablefunction pause()
removeReward
nonpayablefunction removeReward(address _reward)
renounceOwnership
nonpayablefunction renounceOwnership()
retireStrat
nonpayablefunction retireStrat()
setDuration
nonpayablefunction setDuration(uint256 _duration)
setHarvestOnDeposit
nonpayablefunction setHarvestOnDeposit(bool _harvestOnDeposit)
setReward
nonpayablefunction setReward(address _reward)
setSlippage
nonpayablefunction setSlippage(uint256 _slippage)
setStrategist
nonpayablefunction setStrategist(address _strategist)
setStratFeeId
nonpayablefunction setStratFeeId(uint256 _feeId)
setUnirouter
nonpayablefunction setUnirouter(address _unirouter)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
unpause
nonpayablefunction unpause()
withdraw
nonpayablefunction withdraw(uint256 _amount)
events
ChargedFees
event ChargedFees(uint256 callFees, uint256 beefyFees, uint256 strategistFees)
Deposit
event Deposit(uint256 tvl)
Initialized
event Initialized(uint8 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused
event Paused(address account)
RemoveReward
event RemoveReward(address reward)
SetDuration
event SetDuration(uint256 duration)
SetReward
event SetReward(address reward)
SetSlippage
event SetSlippage(uint256 slippage)
SetStrategist
event SetStrategist(address strategist)
SetStratFeeId
event SetStratFeeId(uint256 feeId)
SetUnirouter
event SetUnirouter(address unirouter)
StratHarvest
event StratHarvest(address indexed harvester, uint256 wantHarvested, uint256 tvl)
Unpaused
event Unpaused(address account)
Withdraw
event Withdraw(uint256 tvl)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
FailedInnerCall
error FailedInnerCall()
NotCalm
error NotCalm()
NotManager
error NotManager()
NotStrategist
error NotStrategist()
OverLimit
error OverLimit()
RewardAlreadySet
error RewardAlreadySet(address reward)
RewardNotAllowed
error RewardNotAllowed(address reward)
RewardNotFound
error RewardNotFound(address reward)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
SlippageOutOfBounds
error SlippageOutOfBounds(uint256 slippage)
StrategyPaused
error StrategyPaused()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d7368ecddba8d4cfca13923fc8d66f2678bf17ab4e15af43d82803e903d91602b57fd5bf3