MasterChefV3

Verified contract

Active on Base with 2,785 txns
Deployed by via 0xab589c99 at 3260049
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
 (#1879)
ERC-721
--
 (#1846)
ERC-721
--
 (#1845)
ERC-721
--
 (#1843)
ERC-721
--
 (#1841)
ERC-721
--
 (#1798)
ERC-721
--
 (#1570)
ERC-721
--
 (#1569)
ERC-721
--
 (#1568)
ERC-721
--
0x10dd80db1e5c3611afad430fa4db363258762d0f298e915627a7afc1e3c61880
0xeaacb2a2f56833acd8cb10324cb9c8632558418711d6ec7789f3549986ebf9e4
0xfafa09ca5d3dbc48f96be102dee69c792f0e96cad27db276dcc62420f8241736
0x7d299863091b301cef92bdd632b31fb1b7baec68cff92a20260be2b0d1767927
0xa4582ce00f2ce3036e673b10ab568a7c3c0fcea0d716c596af91a76b81204135
0x91fbb2d580b946860c933a508048aa67c94aa55b6308ac816abd493ccbecea1c
0x08b1942c0a3082d2592a916443ac5c5e81d0addd50ed5a41d1aa4d95b4b7ab99
0x30b953dc8daf167ea7c26bd0a163507592e6553289a970950c73412c270bdab2
0xb8ca79129b91c0be7757a8c69ce679b9fcea04e5b835d5085e628d6f62d90df2
0x974de7e2bbdd5351d10e90760610a10c15f35019b2ac2246eb382526765825e9

Functions
Getter at block 22753128
BEAGLE(view returns (address)
0x4b9c9b4e39d4e5026359b05a6287ee4d0737f211
BOOST_PRECISION(view returns (uint256)
1000000000000
FARM_BOOSTER(view returns (address)
0x0000000000000000000000000000000000000000
LMPoolDeployer(view returns (address)
0x3eae8394c261a41b7e8d390c824acf75ca8b086c
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
beagleAmountBelongToMC(view returns (uint256)
1331491918598918978884763
emergency(view returns (bool)
true
latestPeriodBeaglePerSecond(view returns (uint256)
1157407407407407407407407407407407
latestPeriodEndTime(view returns (uint256)
1694689473
latestPeriodNumber(view returns (uint256)
2
latestPeriodStartTime(view returns (uint256)
1694603074
nonfungiblePositionManager(view returns (address)
0x728791a9f4da6365d9b7934f81e8d08cb6a96ea4
operatorAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xd42b1a0ba3799defb1edb744e8073dcb7e94bdb4
poolLength(view returns (uint256)
2
receiver(view returns (address)
0xd42b1a0ba3799defb1edb744e8073dcb7e94bdb4
totalAllocPoint(view returns (uint256)
30
Read-only
balanceOf(address ownerview returns (uint256)
getLatestPeriodInfo(address _v3Poolview returns (uint256 beaglePerSeconduint256 endTime)
getLatestPeriodInfoByPid(uint256 _pidview returns (uint256 beaglePerSeconduint256 endTime)
pendingBeagle(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 beaglePerSeconduint256 beagleAmount
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 remainingBeagle
Withdraw(address indexed fromaddress touint256 indexed piduint256 indexed tokenId
Constructor
constructor(address _BEAGLEaddress _nonfungiblePositionManageraddress _WETH
Fallback and receive
receive(
Errors
DuplicatedPool(uint256 pid
InconsistentAmount(
InsufficientAmount(
InvalidNFT(
InvalidPeriodDuration(
InvalidPid(
NoBalance(
NoLMPool(
NoLiquidity(
NotBeagleNFT(
NotEmpty(
NotOwner(
NotOwnerOrOperator(
WrongReceiver(
ZeroAddress(