MasterChefV3

Verified contract

Active on Base with 57,938 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $2,587.64
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
 (#44760)
ERC-721
--
 (#44759)
ERC-721
--
 (#44758)
ERC-721
--
 (#44757)
ERC-721
--
 (#44756)
ERC-721
--
0x2fc025e7af80a87f7c61ae9000b6a73b01d90c86d9c5cfda710ae07b05a5de82
0x365b19e4294578647e3020fe33b003d5205dc097a049f0f69ad45bd31fbd7b83
0xbf7404b98f64d039db13385998485e545f8254d3caea3594b3b15e1ec53aee9c
0xd3f535328554edef9db8106b5b92f7952018fc8eac31e4a96b8734bfb7c3b324
0xba7d2734bcbfb846699fe1720e02fe768f3001310f80fc6555dd815878421eee
0xf4c8636399cac6a4c286f86291cba7c1b6d40bd8b2d50efbe84678ba35001f7d
0xeeeedf89fe4e8817948d35841a49328e586949cbfcc9d3649dec86821090892a
0xf8c252f71f3eeae652a7ab3bc126d9091b019352937df16c3cab498deefe0849
0x4f3d93c158a96c0c6b081f7e151ae0d91075fdec9910e86f09ff9b1e5ecda937
0xc01bb5c8ff137bff1f6ca0eee7b079e26a4061b49519c0f4e929bb1aa21619bc

Functions
Getter at block 22739545
BOOST_PRECISION(view returns (uint256)
1000000000000
CAKE(view returns (address)
0xc2bc7a73613b9bd5f373fe10b55c59a69f4d617b
FARM_BOOSTER(view returns (address)
0x0000000000000000000000000000000000000000
LMPoolDeployer(view returns (address)
0xd592e2c815e0cf4b62169e09934faab28299708e
MAX_BOOST_PRECISION(view returns (uint256)
2000000000000
MAX_DURATION(view returns (uint256)
2592000
MIN_DURATION(view returns (uint256)
86400
PERIOD_DURATION(view returns (uint256)
86400
PRECISION(view returns (uint256)
1000000000000
WETH(view returns (address)
0x4200000000000000000000000000000000000006
cakeAmountBelongToMC(view returns (uint256)
3551420529850718819051576
emergency(view returns (bool)
false
latestPeriodCakePerSecond(view returns (uint256)
4059642857142857142857142857142
latestPeriodEndTime(view returns (uint256)
1732437501
latestPeriodNumber(view returns (uint256)
156
latestPeriodStartTime(view returns (uint256)
1731832702
nonfungiblePositionManager(view returns (address)
0xcfb05ab06d338fd85bbf4486e69809d96a906b77
operatorAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xe1581c10ee235f0debb655ea365100bcbd84bad2
poolLength(view returns (uint256)
20
receiver(view returns (address)
0xc42c649cdb9d4aa2a142b4909923c3d2d32141c1
totalAllocPoint(view returns (uint256)
450
Read-only
balanceOf(address ownerview returns (uint256)
getLatestPeriodInfo(address _v3Poolview returns (uint256 cakePerSeconduint256 endTime)
getLatestPeriodInfoByPid(uint256 _pidview returns (uint256 cakePerSeconduint256 endTime)
pendingCake(uint256 _tokenIdview returns (uint256 reward)
poolInfo(uint256view returns (uint256 allocPointaddress v3Pooladdress token0address token1uint24 feeuint256 totalLiquidityuint256 totalBoostLiquidity)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
userPositionInfos(uint256view returns (uint128 liquidityuint128 boostLiquidityint24 tickLowerint24 tickUpperuint256 rewardGrowthInsideuint256 rewardaddress useruint256 piduint256 boostMultiplier)
v3PoolAddressPid(addressview returns (uint256)
State-modifying
add(uint256 _allocPointaddress _v3Poolbool _withUpdate
burn(uint256 _tokenId
collect(struct INonfungiblePositionManagerStructCollectParams paramsreturns (uint256 amount0uint256 amount1)
collectTo(struct INonfungiblePositionManagerStructCollectParams paramsaddress toreturns (uint256 amount0uint256 amount1)
decreaseLiquidity(struct INonfungiblePositionManagerStructDecreaseLiquidityParams paramsreturns (uint256 amount0uint256 amount1)
harvest(uint256 _tokenIdaddress _toreturns (uint256 reward)
increaseLiquidity(struct INonfungiblePositionManagerStructIncreaseLiquidityParams paramspayable returns (uint128 liquidityuint256 amount0uint256 amount1)
multicall(bytes[] datapayable returns (bytes[] results)
onERC721Received(addressaddress _fromuint256 _tokenIdbytesreturns (bytes4)
renounceOwnership(
set(uint256 _piduint256 _allocPointbool _withUpdate
setEmergency(bool _emergency
setLMPoolDeployer(address _LMPoolDeployer
setOperator(address _operatorAddress
setPeriodDuration(uint256 _periodDuration
setReceiver(address _receiver
sweepToken(address tokenuint256 amountMinimumaddress recipient
transferOwnership(address newOwner
unwrapWETH9(uint256 amountMinimumaddress recipient
updateBoostMultiplier(uint256 _tokenIduint256 _newMultiplier
updateFarmBoostContract(address _newFarmBoostContract
updateLiquidity(uint256 _tokenId
updatePools(uint256[] pids
upkeep(uint256 _amountuint256 _durationbool _withUpdate
withdraw(uint256 _tokenIdaddress _toreturns (uint256 reward)
Events
AddPool(uint256 indexed piduint256 allocPointaddress indexed v3Pooladdress indexed lmPool
Deposit(address indexed fromuint256 indexed piduint256 indexed tokenIduint256 liquidityint24 tickLowerint24 tickUpper
Harvest(address indexed senderaddress touint256 indexed piduint256 indexed tokenIduint256 reward
NewLMPoolDeployerAddress(address deployer
NewOperatorAddress(address operator
NewPeriodDuration(uint256 periodDuration
NewReceiver(address receiver
NewUpkeepPeriod(uint256 indexed periodNumberuint256 startTimeuint256 endTimeuint256 cakePerSeconduint256 cakeAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetEmergency(bool emergency
SetPool(uint256 indexed piduint256 allocPoint
UpdateFarmBoostContract(address indexed farmBoostContract
UpdateLiquidity(address indexed fromuint256 indexed piduint256 indexed tokenIdint128 liquidityint24 tickLowerint24 tickUpper
UpdateUpkeepPeriod(uint256 indexed periodNumberuint256 oldEndTimeuint256 newEndTimeuint256 remainingCake
Withdraw(address indexed fromaddress touint256 indexed piduint256 indexed tokenId
Constructor
constructor(address _CAKEaddress _nonfungiblePositionManageraddress _WETH
Fallback and receive
receive(
Errors
DuplicatedPool(uint256 pid
InconsistentAmount(
InsufficientAmount(
InvalidNFT(
InvalidPeriodDuration(
InvalidPid(
NoBalance(
NoLMPool(
NoLiquidity(
NotDackieNFT(
NotEmpty(
NotOwner(
NotOwnerOrOperator(
WrongReceiver(
ZeroAddress(