UndeadStaking

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc724962a at 14711506
Slot
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

No balances found for "UndeadStaking"

No transactions found for "UndeadStaking"


Functions
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(addressuint256view returns (uint256 iduint256 amountuint256 rewarduint256 lockedFromuint256 lockedTouint256 fixedAPYuint256 lastRewardTimeuint256 depositTime)
estMaxReward(uint256 _amountuint256 _fixedAPYuint256 _lockTimepure returns (uint256)
estMaxStakedByReward(uint256 _rewardAmountuint256 _fixedAPYuint256 _lockTimepure returns (uint256)
getLogRecordsPaging(uint256 _offsetuint256 _limitview returns (struct UndeadStakingLogRecord[] usersuint256 nextOffsetuint256 total)
getPendingReward(address _useruint256 _depositIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTokenBalance(address _pTokenAddressview returns (uint256)
getUsersPaging(uint256 _offsetuint256 _limitview returns (struct UndeadStakingUserInfo[] usersuint256 nextOffsetuint256 total)
hasRole(bytes32 roleaddress accountview returns (bool)
nftMintedCounter(addressview returns (uint256)
nftStakedProgress(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userInfo(addressview returns (address addruint256 amountuint256 claimeduint256 depositIdbool registered)
userList(uint256view returns (address)
State-modifying
__UndeadStaking_init(address _stakedTokenaddress _rewardTokenuint256 _startTimeuint256 _endTimeuint256 _fixedAPYuint256 _lockedDurationaddress _nftTokenuint256 _nftPkgIduint256 _nftTokenIduint256 _nftStakedRequired
addRewardTokens(uint256 _amount
deposit(uint256 _amount
emergencyRewardWithdraw(uint256 _amount
emergencyWithdrawEthBalance(address _pTouint256 _pAmount
emergencyWithdrawTokenBalance(address _pTokenAddressaddress _pTouint256 _pAmount
grantRole(bytes32 roleaddress account
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDepositLock(address _useruint256 _depositIduint256 _lockTo
setLockDuration(uint256 _duration
stopFreeze(
stopReward(
transferOwnership(address newOwner
updateFreezeTimes(uint256 _freezeStartTimeuint256 _freezeEndTime
updateLimitRewardEnable(bool _limitRewardEnable
updateMaxStakedPerPool(uint256 _maxStakedPerPool
updateNFTConfig(address _nftTokenuint256 _nftPkgIduint256 _nftTokenIduint256 _nftStakedRequired
updateStartAndEndTimes(uint256 _startTimeuint256 _endTime
updateToken(address _stakedTokenaddress _rewardToken
withdraw(uint256 _depositId
Events
EDeposit(address indexed useruint256 depositIduint256 amount
EMintNFT(address toAddruint256 fromuint256 touint256 pkgId
ENewFreezeTimes(uint256 freezeStartTimeuint256 freezeEndTime
ENewStartAndEndTimes(uint256 startTimeuint256 endTime
EWithdraw(address indexed useruint256 depositIduint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Received(address _senderuint256 _amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.