MasterChefV3

Verified contract

Active on Base with 122,855 txns
Deployed by via 0x9d6b4276 at 2948222
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $24,779,769,094,692,196,000,000
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0x6e14d69a5e4b84214e6b4b56be5e838802090aef1b80d7eab07b704bf6a76995
0xca5054beada0f6f18499f20d83b7a50bba89ddde1dfbc1398e236a5b1afb7bc6
0xd248031902542023dc4f9961510619964c6106de835b6555f9dbdf4ab985072d
0xd5820c0efd289f16956cf63100276a3b23db940c62ac4ba833b0834abf77498f
0x72c5c2a5e048e25780421a66588ce13f3690e4345afe3e44bc5a8abb6aec88eb
0x871a4fd0dcf3e2a43bdf160df7b210088695b5a9bd9eecb8ee9d1cef6645baa9
0x723854311d61dc9cb74104ae36677d93cf04fe307507d3040a44b694aa58c550
0x20e13259755bb06edd0f265b04bbecdb0bc8a266795ed4a6693936cb4036d5ed
0xc50a6debea53ca12f6914845480e6eed857681e60d4547239d0751f020c05673
0xf417fcb2664596191f1fd70edd02f9031cdeb1a93323a69d35a460b781bc164a

Functions
Getter at block 22743254
BOOST_PRECISION(view returns (uint256)
1000000000000
CAKE(view returns (address)
0x3055913c90fcc1a6ce9a358911721eeb942013a1
FARM_BOOSTER(view returns (address)
0x28355570f7f4241a75691fa269d6d0cfd884789d
LMPoolDeployer(view returns (address)
0xa0dd04e265b1828b050df27f007d49e9d1a0f4eb
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)
12707573894713947339596
emergency(view returns (bool)
false
latestPeriodCakePerSecond(view returns (uint256)
22526869872703234173603395061
latestPeriodEndTime(view returns (uint256)
1732402837
latestPeriodNumber(view returns (uint256)
443
latestPeriodStartTime(view returns (uint256)
1732273238
nonfungiblePositionManager(view returns (address)
0x46a15b0b27311cedf172ab29e4f4766fbe7f4364
operatorAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xf2bb8d4f27028b8b8340b4e2c64baa101c9af46b
poolLength(view returns (uint256)
64
receiver(view returns (address)
0xfca69d6639293799a650db7d273bc688baf71fa7
totalAllocPoint(view returns (uint256)
680
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(
NotEmpty(
NotOwner(
NotOwnerOrOperator(
NotPancakeNFT(
WrongReceiver(
ZeroAddress(