StarsMasterChef

Verified contract

Active on Ethereum with 3,120 txns
Deployed by via 0x23cb6c12 at 12284817
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 2 additional slots
-
variable spans 2 additional slots
ERC-20
Value $208.17
ERC-20
--
0x5ec5bf69a3828b863fdc7a64ec51eaefad83ea1afd57f1a38ef836820645e06c
0x7d4280793a80fc44efbcc656aacf836b92119749e7a768559e42240d144919d4
0x7d09c1531eb062c35781ddee93be74df7fd75a37a5b869fb633249c3a1ec0e3e
0x85a3df650594bc93cd1c88d53c0bde98d1b0f8e68f4fa1506410b0b240540e21
0x408a1c5b810012e25e51d5ea92f61cf07fc53dc50b2694c43799022fbb6681bf
0x8e14f469b6e72906cc0a09cae242b91f223f4e2f3a2d5ecfc84462d63261419c
0xfef71655c0a3148c05d7a6a067649736330f0e1e52379def5507b51cabc560ca
0x220d59bb47a872d37f416ea6d1d1710c0d7a283a4cd9ae14cb8ffd41a2d5588c
0xdf68305e62bc6c8ae8acc7770df946f2e9a5abe0c76aba90640a81f983f55e84
0x12d1461fa9dd952f5b95d0cf1f39727ca91828f20fa63330e7c3022784e0081d

Functions
Getter at block 21300155
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ROLE_ADMIN(view returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
initialized(view returns (bool)
true
poolLength(view returns (uint256)
2
stars(view returns (address)
0xc55c2175e90a46602fd42e931f62b3acc1a013ca
starsPerBlock(view returns (uint256 amount)
0
startBlock(view returns (uint256)
12292400
totalAllocPoint(view returns (uint256)
200
Read-only
accStarsPerShareAtCurrRate(uint256 blocksuint256 poolSupplyview returns (uint256)
epochs(uint256view returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
pendingStars(uint256 _pidaddress _userview returns (uint256)
poolInfo(uint256view returns (address lpTokenuint256 allocPointuint256 lastRewardBlockuint256 accStarsPerShareuint256 poolSupply)
rewardAmounts(uint256view returns (uint256)
totalStarsPerEpoch(uint256view returns (uint256)
userInfo(uint256addressview returns (uint256 amountuint256 rewardDebt)
State-modifying
add(uint256 _allocPointaddress _lpTokenbool _withUpdate
collectRewards(uint256 _pid
deposit(uint256 _piduint256 _amount
emergencyWithdraw(uint256 _pid
grantRole(bytes32 roleaddress account
init(uint256 _startBlock
massUpdatePools(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
set(uint256 _piduint256 _allocPointbool _withUpdate
updatePool(uint256 _pid
withdraw(uint256 _piduint256 _amount
Events
Deposit(address indexed useruint256 indexed piduint256 amount
EmergencyWithdraw(address indexed useruint256 indexed piduint256 amount
RewardsCollected(address indexed useruint256 indexed pid
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Withdraw(address indexed useruint256 indexed piduint256 amount
Constructor
constructor(address starsAddressaddress _adminuint256[3] _rewardAmountsuint256[3] _epochs
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.