UndeadStaking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
10 additional
variables
Balances ($0.00)
No balances found for "UndeadStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "UndeadStaking"
ABI
ABI objects
Getter at block 21168691
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EDITOR_ROLE() view returns (bytes32)
0x21d1167972f621f75904fb065136bc8b53c7ba1c60ccd3a7758fbee465851e9c
SECONDS_YEAR() view returns (uint256)
31536000
claimedRewardPerPool() view returns (uint256)
0
currentStakedPerPool() view returns (uint256)
0
endTime() view returns (uint256)
0
fixedAPY() view returns (uint256)
0
freezeEndTime() view returns (uint256)
0
freezeStartTime() view returns (uint256)
0
getEthBalance() view returns (uint256)
0
getLogRecordLength() view returns (uint256)
0
getPoolRewardNeededRemaining() view returns (uint256)
0
getRemainingReward() view returns (uint256)
0
getUserListLength() view returns (uint256)
0
isFrozen() view returns (bool)
false
limitRewardEnable() view returns (bool)
false
lockDuration() view returns (uint256)
0
maxRewardPerPool() view returns (uint256)
0
maxStakedPerPool() view returns (uint256)
0
nftPkgId() view returns (uint256)
0
nftStakedRequired() view returns (uint256)
0
nftToken() view returns (address)
0x0000000000000000000000000000000000000000
nftTokenId() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
poolRewardNeeded() view returns (uint256)
0
rewardToken() view returns (address)
0x0000000000000000000000000000000000000000
stakedToken() view returns (address)
0x0000000000000000000000000000000000000000
startTime() view returns (uint256)
0
Read-only
depositInfos(address, uint256) view returns (uint256 id, uint256 amount, uint256 reward, uint256 lockedFrom, uint256 lockedTo, uint256 fixedAPY, uint256 lastRewardTime, uint256 depositTime)
estMaxReward(uint256 _amount, uint256 _fixedAPY, uint256 _lockTime) pure returns (uint256)
estMaxStakedByReward(uint256 _rewardAmount, uint256 _fixedAPY, uint256 _lockTime) pure returns (uint256)
getLogRecordsPaging(uint256 _offset, uint256 _limit) view returns (struct UndeadStakingLogRecord[] users, uint256 nextOffset, uint256 total)
getPendingReward(address _user, uint256 _depositId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTokenBalance(address _pTokenAddress) view returns (uint256)
getUsersPaging(uint256 _offset, uint256 _limit) view returns (struct UndeadStakingUserInfo[] users, uint256 nextOffset, uint256 total)
hasRole(bytes32 role, address account) view returns (bool)
nftMintedCounter(address) view returns (uint256)
nftStakedProgress(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userInfo(address) view returns (address addr, uint256 amount, uint256 claimed, uint256 depositId, bool registered)
userList(uint256) view returns (address)
State-modifying
Events __UndeadStaking_init(address _stakedToken, address _rewardToken, uint256 _startTime, uint256 _endTime, uint256 _fixedAPY, uint256 _lockedDuration, address _nftToken, uint256 _nftPkgId, uint256 _nftTokenId, uint256 _nftStakedRequired)
addRewardTokens(uint256 _amount)
deposit(uint256 _amount)
emergencyRewardWithdraw(uint256 _amount)
emergencyWithdrawEthBalance(address _pTo, uint256 _pAmount)
emergencyWithdrawTokenBalance(address _pTokenAddress, address _pTo, uint256 _pAmount)
grantRole(bytes32 role, address account)
renounceOwnership()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDepositLock(address _user, uint256 _depositId, uint256 _lockTo)
setLockDuration(uint256 _duration)
stopFreeze()
stopReward()
transferOwnership(address newOwner)
updateFreezeTimes(uint256 _freezeStartTime, uint256 _freezeEndTime)
updateLimitRewardEnable(bool _limitRewardEnable)
updateMaxStakedPerPool(uint256 _maxStakedPerPool)
updateNFTConfig(address _nftToken, uint256 _nftPkgId, uint256 _nftTokenId, uint256 _nftStakedRequired)
updateStartAndEndTimes(uint256 _startTime, uint256 _endTime)
updateToken(address _stakedToken, address _rewardToken)
withdraw(uint256 _depositId)
EDeposit(address indexed user, uint256 depositId, uint256 amount)
EMintNFT(address toAddr, uint256 from, uint256 to, uint256 pkgId)
ENewFreezeTimes(uint256 freezeStartTime, uint256 freezeEndTime)
ENewStartAndEndTimes(uint256 startTime, uint256 endTime)
EWithdraw(address indexed user, uint256 depositId, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Received(address _sender, uint256 _amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
This contract contains no constructor objects.
receive()
This contract contains no error objects.