MasterChef
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
2 additional
variables
Balances ($0.00)
No balances found for "MasterChef"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MasterChef"
ABI
ABI objects
Getter at block 20799465
ASTR() view returns (address)
0x0000000000000000000000000000000000000000
ASTRPerBlock() view returns (uint256)
0
ASTRPoolId() view returns (uint256)
0
BONUS_MULTIPLIER() view returns (uint256)
1
astraPoolInitialized() view returns (bool)
false
bonusEndBlock() view returns (uint256)
0
daaAddress() view returns (address)
0x0000000000000000000000000000000000000000
daoAddress() view returns (address)
0x0000000000000000000000000000000000000000
latestAstraPool() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
poolLength() view returns (uint256)
0
startBlock() view returns (uint256)
0
timelock() view returns (address)
0x0000000000000000000000000000000000000000
totalPools() view returns (uint256)
0
totalUsersPool() view returns (uint256)
0
Read-only
checkHighestStaker(uint256 _pid, address user) view returns (bool)
checkStakingScoreForDelegation(uint256 _pid, address user) view returns (bool)
getMultiplier(uint256 _from, uint256 _to) view returns (uint256)
getPremiumPayoutBonus(uint256 _pid, address _user) view returns (uint256)
getRewardMultiplier(uint256 _pid, address _user) view returns (uint256)
getStakerList(uint256 _pid) view returns (struct MasterChefHighestAstaStaker[])
getTodayReward(uint256 _pid) view returns (uint256)
highestStakerInPool(uint256, uint256) view returns (uint256 deposited, address addr)
lmpooladdr(address) view returns (bool)
lpTokensStatus(address) view returns (bool)
poolInfo(uint256) view returns (address lpToken, uint256 lastRewardBlock, uint256 accASTRPerShare, uint256 totalBaseMultiplier, uint256 totalAmount)
stakeInfo(uint256, address, uint256) view returns (uint256 amount, uint256 totalAmount, uint256 timestamp, uint256 vault, bool deposit)
stakingScore(uint256 _pid, address _userAddress) view returns (uint256)
userAddressesInPool(uint256, uint256) view returns (address)
userInfo(uint256, address) view returns (uint256 amount, bool cooldown, uint256 timestamp, uint256 totalUserBaseMul, uint256 totalReward, uint256 cooldowntimestamp, uint256 preBlockReward, uint256 totalClaimedReward, uint256 claimedToday, uint256 claimedTimestamp)
vaultList(uint256) view returns (bool)
vaultMultiplier(uint256 _pid, address _user) view returns (uint256)
viewEligibleAmount(uint256 _pid, address _user) view returns (uint256)
viewRewardInfo(uint256 _pid) view returns (uint256)
votingPower(uint256 _pid, address _user) view returns (uint256)
State-modifying
Events add(address _lpToken)
addVault(uint256 val)
deposit(uint256 _pid, uint256 _amount, uint256 vault)
depositFromDaaAndDAO(uint256 _pid, uint256 _amount, uint256 vault, address _sender, bool isPremium)
distributeExitFeeShare(uint256 _amount)
distributeReward(uint256 _pid, uint8 _type, uint256 _amount)
emerergencyWithdrawal(uint256 _amount)
initialize(address _astr, uint256 _ASTRPerBlock, uint256 _startBlock, uint256 _bonusEndBlock)
renounceOwnership()
setDaaAddress(address _address)
setDaoAddress(address _daoAddress)
setLmPoolAddress(address _lmpooladdr, bool _status)
setTimeLockAddress(address _timeLock)
stakeASTRReward(address _currUserAddr, uint256 _pid, uint256 _amount)
transferOwnership(address newOwner)
updateBlockReward(uint256 _pid, address _sender)
updateMaximumPool(uint256 _totalPools)
updateMaximumUsersPool(uint256 _totalUsersPool)
withdraw(uint256 _pid, bool _withStake)
withdrawASTRReward(uint256 _pid, bool _withStake)
AddPool(address indexed tokenAddress)
Deposit(address indexed user, uint256 indexed pid, uint256 amount)
DepositStateUpdate(address indexed user, uint256 indexed pid, bool state, uint256 depositID)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
WithdrawReward(address indexed user, uint256 indexed pid, uint256 amount, bool stake)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.