MasterChef

Verified contract

Active on Base with 20 txns
Deployed by via 0x5edf393e at 2755733
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $326,215.75
ERC-20
Value $38.05
ERC-20
Value $0.11
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xeb7b4757aed52d24f84c25bb43f0443e3d01577766baeb4722d72aa6c3ea6a58
0x338140185ccfe6fe942312aaaff7dd534deb8296fa063e632ce90ae6db0e8fec
0xed429695fa319023505b1cdf929add830db0bd6d1de3f6f9c4abadc6a0f891c6
0x2274a62a24e963d632cd367e173db51e59c856d518a88cdb6b4226ea15f7b542
0xe6057f15fe68d6faecd891afd93a625327b3efb99919ba1e0f5f31edc670737a
0x8137ffc061eac66189ad55d0dfc7762faece5642dd8447bf20412c2316035d85
0xac859dc20b6a341d23be1782688caefa7cfe4d0d2a134b3285310b2b20531d55
0xdf34088c109a9d4c1d37f972014fd6dd305a1b5336631b82f65536caa4c56af1
0xd05dba11d3e4f4edca97be6ebf28931531a711feb62922b9be254a3dbddb7426
0x42f99cf0c34aec00f3c21286902e5f324a7adf8e9230e6f5a003f1738ee53945

Functions
Getter at block 22743032
WETH(view returns (address)
0x78a087d713be963bf307b18f2ff8122ef9a63ae9
activePoolsLength(view returns (uint256)
38
dummyToken(view returns (address)
0x29399d824a99789f587a491c59210326e8ef4545
emergencyUnlock(view returns (bool)
false
emissionRates(view returns (uint256 mainRateuint256 wethRate)
(mainRate=99000000000000000, wethRate=130000000000000000)
mainChef(view returns (address)
0x2b0a43dccbd7d42c18f6a83f86d1a19fa58d541a
mainChefPoolId(view returns (uint256)
16
owner(view returns (address)
0xaf1823bacd8edda3b815180a61f8741fa4abc6dd
poolsLength(view returns (uint256)
39
protocolToken(view returns (address)
0xd5046b976188eb40f6de40fb527f89c05b323385
startTime(view returns (uint256)
1692300909
totalAllocPoints(view returns (uint256)
3241
totalAllocPointsWETH(view returns (uint256)
2220
treasury(view returns (address)
0xaf1823bacd8edda3b815180a61f8741fa4abc6dd
wethPerSecond(view returns (uint256)
130000000000000000
wethToken(view returns (address)
0x78a087d713be963bf307b18f2ff8122ef9a63ae9
yieldBooster(view returns (address)
0x0f5433c9f1c2e86588304ed09bc79abecc89e0de
Read-only
getActivePoolAddressByIndex(uint256 indexview returns (address)
getPoolAddressByIndex(uint256 indexview returns (address)
getPoolInfo(address _poolAddressview returns (address poolAddressuint256 allocPointsuint256 allocPointsWETHuint256 lastRewardTimeuint256 reserveuint256 reserveWETHuint256 poolEmissionRateuint256 poolEmissionRateWETH)
isUnlockOperator(address accountview returns (bool)
State-modifying
add(address nftPooluint256 allocPointsuint256 allocPointsWETHbool withUpdate
addUnlockOperator(address account
claimRewards(returns (uint256 rewardAmountuint256 amountWETH)
emergencyWithdrawFromPool(
harvest(
massUpdatePools(
removeUnlockOperator(address account
renounceOwnership(
set(address poolAddressuint256 allocPointsuint256 allocPointsWETHbool withUpdate
setEmergencyUnlock(bool emergencyUnlock_
setWethReward(address _weth
setWethRewardRate(uint256 wethRate
setYieldBooster(address yieldBooster_
start(address _dummyTokenaddress _oldChefuint256 _poolId
transferOwnership(address newOwner
updatePool(address nftPool
updateTreasury(address _treasury
withdrawFromPool(
withdrawToken(address token
Events
ClaimRewards(address indexed poolAddressuint256 amountuint256 amountWETH
Harvest(uint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolAdded(address indexed poolAddressuint256 allocPoint
PoolSet(address indexed poolAddressuint256 allocPointuint256 allocPointsWETH
PoolUpdated(address indexed poolAddressuint256 reserveuint256 reserveWETHuint256 lastRewardTime
SetEmergencyUnlock(bool emergencyUnlock
SetYieldBooster(address previousYieldBoosteraddress newYieldBooster
TokenWithdraw(address tokenuint256 amount
TreasuryUpdated(address treasury
WethRateUpdated(uint256 rate
WethUpdated(address weth
Constructor
constructor(address _mainTokenaddress _treasuryaddress _wethuint256 _wethPerSeconduint256 _startTimeaddress _boost
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidStartTime(
PoolAlreadyExists(
PoolNotExists(
ZeroAddress(