MiningRigV3

Verified contract

Active on Ethereum with 22,481 txns
Deployed by via 0xbc53ac7f at 18928707
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional variables
ERC-20
Value $5.01
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0x7bff3b33d50d3830b8d7fd461b6aced08eb102cee8971a02847f4341448bd58f
0xa2d9b5e17f17da4ee2f8236e993db8ce8df932aa37a3ffd3ca3b13496f9c9d85
0x274805d46c47d3c3ff5b084fda2287aaf4652f67f5b2ed195119ecc0d0818288
0xabbc5779bdb5774a0f150e80c2cd44f69653c1e2e6a9f7ebdefb034cc0eb219b
0x56ebfaf0b05a64b172ff234d073408522da85e0d9c2ae68215cb3bff6d880649
From
0xb4a978561f729fc766f32f0540a6327b3dcba1cdfd5437d6b86aadb1306cae95
0x2c8fb642a9acc6157be4dbca03306589b9c6f12fb6deb8dc0bfb49f9ad764a4b
0x0fd8a8d59a5c9f5b25231a49f99766864d8c577976247ede201fb379b797b444
0xf9da6b922ec248aa67b58e478c166c6860526a8b3cd0beca75316a5892b0a0db
0xc0b7f3281ad5e675f6b5f978d62cefdb849ab815758931b365c15caeaf2621cc

Functions
Getter at block 20910663
activeMinedThreshold(view returns (uint256)
250000000000000000
currentUserBoostID(view returns (uint256)
6
cycleIndex(view returns (uint256)
5
delta(view returns (int24)
1111
distilleryAddress(view returns (address)
0x17cc6042605381c158d2adab487434bde79aa61c
divisionDenominator(view returns (uint256)
1000000000000000000
divisionLP(view returns (uint256)
20
getCurrentTokenBoosterId(view returns (uint256 currentTokenBoosterId)
4
latestLPToken(view returns (uint256)
641133
nonfungiblePositionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
pepeContract(view returns (address)
0x6982508145454ce325ddbe47a25d4ec3d2311933
pondContract(view returns (address)
0x423f4e6138e475d85cf7ea071ac92097ed631eea
poolFee(view returns (uint24)
3000
rateNumerator(view returns (uint256)
0
readLPTokens(view returns (uint256[])
[637911, 637982, 638045, 640911, 640976, 641133]
spawnManager(view returns (address)
0xcc57c9f7ae5419cfb6fe24fbd126b00c979e946c
uniswapFactory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
uniswapRouter(view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
usesLeftForSpawn(view returns (uint256)
4741
usesToOpenSpawn(view returns (uint256)
5000
wethContract(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
canClaimUserBoost(address _addressuint256 _eventbytes32[] merkleProofview returns (bool)
computeBoosterCycleState(uint256 usesuint256 usesPerCycleuint256 multiplierpure returns (uint256 currentCycleuint256 newMultiplier)
executors(addressview returns (bool)
getTokenBooster(uint256 tokenBoosterIdview returns (struct RigTokenBoosterManagerTokenBooster)
isActive(address toCheckview returns (bool)
isExecutor(address _executorview returns (bool)
minedPerCycle(addressuint256view returns (uint256)
readUserBoosterTree(uint256 idview returns (struct MiningClaimsUserAddedBooster)
State-modifying
addExecutor(address _toAdd
addTokenBooster(struct RigTokenBoosterManagerTokenBoosterParams params
addUserBoostTree(bytes32 _merkleRootstring _treeDataURIuint256 _boosterRateuint256 _boosterType
collectLPFees(uint256 _lpTokenId
createInitialLP(uint256 pepeAmountuint256 wethAmount
deposit(address tokenuint256 amount
depositWeth(payable 
endTokenBooster(uint256 tokenBoosterId
mine(uint256 _tokenBoosterIduint256 _amountuint256[] _userBoostIDsbytes32[][] _userBoostMerkleProofspayable returns (uint256 pndcAmountuint256 boosterMultiplier)
removeExecutor(address _toRemove
updateActiveMinedThreshold(uint256 _activeMinedThreshold
updateDelta(int24 _delta
updateDivisionLP(uint256 _divisionLP
updatePoolFee(uint24 _poolFee
updateRateNumerator(uint256 _rateNumerator
updateSpawnManager(address _spawnManager
updateSpawnValue(uint256 _usesToOpenSpawnbool updateUseduint256 updateUsedTo
updateUniswapFactory(address _uniswapFactory
withdraw(address tokenuint256 amount
Events
ClaimBooster(address indexed claimeruint256 boosterId
Mine(address indexed mineruint256 inputAmountuint256 boosterIduint256 outputAmount
Constructor
constructor(address _wethContractaddress _pepeContractaddress _pondContractaddress _uniswapRouteraddress _nonfungiblePositionManageraddress _distilleryAddressaddress _spawnManageraddress _uniswapFactory
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BoosterDepositLimitReached(
BoosterDoesNotExist(uint256 boosterId
BoosterEnded(
BoosterInactive(
BoosterNotWETH(
BoosterOverMaxCycle(
CannotClaimUserBooster(
CannotRemoveSelf(
ExceedsMax(
InitialLPAlreadyCreated(
InvalidUseCount(
InvalidUserBooster(
LPNotInitalized(
MiningInvalidValue(
NotExecutor(address attempted
UpdateUsedToInvalid(