MasterChefV3

Verified contract

Active on Base with 54,677 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $2,357.13
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
 (#42515)
ERC-721
--
 (#42514)
ERC-721
--
 (#42513)
ERC-721
--
 (#42512)
ERC-721
--
 (#42511)
ERC-721
--
0xb1e0a5b35a53165b12fafe8f92ab2cb0ad36691ea494c8fc0a12ffbeed05a748
0x425a1a58601ef5fb78e4b02ae8200711211c8fb4f4a156dd8bc1af556c3f5eee
0x08714fafdae3a78deafed9cd00cb5f0d59057e7b90e4a0a45bb0a9e7dbb4eb8b
0x6c48cb10da3e7473131b5ac4a9753a491a64b6f27bd448d71e19332fef01d12d
0xcf5c6343c17e6a0e98f887231ee7d93c99c5e7c4c340f79c908249abf3813194
0x009916efca2abaf768fb5704ae5245e6b66bda7b109759520b292b342d643d9a
0xa93502a153e0fbf402c7415138f6d965f9ca25f953f4e724732efd579eccc2cb
0x6f3b371ac9909d9a380c6348b239fb8bae5a291138e994a3d13c99553a528aa2
0xda30491c81ebf438de3f85eb5f1ee1bcd4339e2f14f97ff361d1b963051e399b
0x916e59766f32f8e1b1edef0a27716f2d2772430d1059d6d337685253a9f06256

Functions
Getter at block 21732769
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)
3924102178190414567990915
emergency(view returns (bool)
false
latestPeriodCakePerSecond(view returns (uint256)
4059844228316326530612243716931
latestPeriodEndTime(view returns (uint256)
1730598913
latestPeriodNumber(view returns (uint256)
153
latestPeriodStartTime(view returns (uint256)
1729994114
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(