MasterChefV3

Verified contract

Active on Ethereum with 18,165 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,350,299.01
ERC-20
--
 (#13629)
ERC-721
--
 (#13628)
ERC-721
--
 (#13627)
ERC-721
--
 (#13626)
ERC-721
--
 (#13625)
ERC-721
--
 (#13623)
ERC-721
--
 (#13622)
ERC-721
--
 (#13621)
ERC-721
--
0xa534bee484ddee19d2a75932125265a6724be6dbb9ca41c3ba53590a8f730978
0xce38de0669d1bbd4ae69670584ec321f2010a5ecea04cb64311b0ac77f53e1d7
0xd46b26476cd48290ce978fee67f4d217e31eb913b84878399987fbb74910111a
0x24701a7969ebb47a26ce877b5a3826547fdc434b3ffa2952a8d5edc69cf56ef4
0x11430625d6b6853ee03c3a58b56e7d1811d7ab5a0123f41d6eaf4435ebcfeb78
0x1ccdf3f8529810c5a3c02c9bedb01e8e680511fa8f5ee2a79c716f9e67c0d35b
0x50b7db8a4014a01525e99b1c0d708538a45fbb82d992228629bcd7adc9b83860
0xd76b3fb3bdbfd1733b6d519e0f72178f44cebae94f917628cb0600fd377e87ab
0x865bb7131836d596ec339bed2ba34cadbd3ca5a92123c25347b0938bddacc606
0x5f0de3f289196a69cebed156fb834aa545370361d11dfc1d9f3fdde425ef1d67

Functions
Getter at block 21159968
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)
685430969346816572946497
emergency(view returns (bool)
false
latestPeriodCakePerSecond(view returns (uint256)
45708137461733731329753086419
latestPeriodEndTime(view returns (uint256)
1731336971
latestPeriodNumber(view returns (uint256)
586
latestPeriodStartTime(view returns (uint256)
1731207372
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)
1384
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(