MasterChefV3

Verified contract

Active on Ethereum with 18,370 txns
Deployed by via 0xd151339a at 16945103
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,351,819.41
ERC-20
--
 (#13720)
ERC-721
--
 (#13719)
ERC-721
--
 (#13718)
ERC-721
--
 (#13717)
ERC-721
--
 (#13716)
ERC-721
--
 (#13715)
ERC-721
--
 (#13714)
ERC-721
--
 (#13712)
ERC-721
--
0xe7e1342785854f6d53b48bb5ec538f5233661f7f62704b6d55be19958f24a8dd
0x7e565ed8c9414364689ec89c5fcbbeae75e2cabd1767a694818860aa9760b751
0x20ce8759e2f27ee1a039560af62708f5cf13c9cc4d1a33ea4f35301ab0212286
0x2f1c3a58d17c3d7dfbf97d6cd4268e1c13d6dedcfc0f996133bb113a8376ba89
0x6dbea234bc385be86e4443db77222b588d9f18bf5a555872dc6b38b8d9085d70
0x6701174120475931130e69f5c1c2f4b54ef40b694859bd150a4bf58125bfe160
0x6031f631a61a30eb298dd4adcd5f2c0867cf40b0a7302a62d206f6053270950c
0x222316a04754ea7f4f511bf4851255ceaa7fb2e55f08e3b609b5062ac0076a4f
0x430f0976d4d8d6634e160ebf2e13708514658e60b957268e5e96c104962fa731
0x1e2c565f405f5abbe14d715832931310ad9a139517eeaa52e958237bea49f16d

Functions
Getter at block 21244977
BOOST_PRECISION(view returns (uint256)
1000000000000
CAKE(view returns (address)
0x152649ea73beab28c5b49b26eb48f7ead6d4c898
FARM_BOOSTER(view returns (address)
0xe604940c06df1b6a9851f8e8d8d22468cb932e38
LMPoolDeployer(view returns (address)
0xd93f5c7a894bb44bdc9231087c8e559502f737ed
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)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
cakeAmountBelongToMC(view returns (uint256)
693240721237903731141562
emergency(view returns (bool)
false
latestPeriodCakePerSecond(view returns (uint256)
45276482805276975223564814814
latestPeriodEndTime(view returns (uint256)
1732374131
latestPeriodNumber(view returns (uint256)
598
latestPeriodStartTime(view returns (uint256)
1732244532
nonfungiblePositionManager(view returns (address)
0x46a15b0b27311cedf172ab29e4f4766fbe7f4364
operatorAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xecc90d54b10add1ab746abe7e83abe178b72aa9e
poolLength(view returns (uint256)
85
receiver(view returns (address)
0x14ce72a60f7af37435a9df9b2c234ff323b546c6
totalAllocPoint(view returns (uint256)
1271
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(