TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 151 txns
Deployed by via 0x8c2972d5 at 14677929
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
14 additional variables
ERC-20
Value $1,432.4
0x7e68555449cef4bab0fb1578e9e36bef55a99aa2170e3a3db7e2147757a597bd
0x363ee635cee037fc962545bdc68a0a43b5e76f5e30419618dc8d31a7cc76f84a
0xcd5f54a83623016c14266ac35c614ebc598fe0cc6b577f6fca0d0d13793aa26a
0xf9b7329c0a4c19ae54dfe12f9547e700a220089162472494b9dd9a924c42755e
0xe1de8282e4c78846519ac404c0ada50beecdb787b06abf883876497bc134cc76
0xde9840f3b5928ce0ee46cd5b2b462bef955f9cc8f017ceb7c0691736ad1d1f2e
0x96003a94de07a4357c356a1764f981422e1a6eb7687d4fb175ece060bdade9eb
0xf0339e35244b2fc67765561ee3085de83bff3f408c6ed20b81543d38aaa3c8b0
0x4701215789e616d0e4590cb9aacb867ea235669c19d4a12092762c58e0cc623e
0xa0adf38970ed590f24d381129f2887a55b073ea7a1ded60c06549a90519aa1d0

Functions
Getter at block 21177177
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EDITOR_ROLE(view returns (bytes32)
0x21d1167972f621f75904fb065136bc8b53c7ba1c60ccd3a7758fbee465851e9c
SECONDS_YEAR(view returns (uint256)
31536000
claimedRewardPerPool(view returns (uint256)
61958583715217128890208
currentStakedPerPool(view returns (uint256)
23670439560627608637802
endTime(view returns (uint256)
1714833600
fixedAPY(view returns (uint256)
3000
freezeEndTime(view returns (uint256)
0
freezeStartTime(view returns (uint256)
0
getEthBalance(view returns (uint256)
0
getLogRecordLength(view returns (uint256)
141
getPoolRewardNeededRemaining(view returns (uint256)
84481122772787102029767
getRemainingReward(view returns (uint256)
88041416284782871109792
getUserListLength(view returns (uint256)
62
isFrozen(view returns (bool)
false
limitRewardEnable(view returns (bool)
false
lockDuration(view returns (uint256)
15811200
maxRewardPerPool(view returns (uint256)
150000000000000000000000
maxStakedPerPool(view returns (uint256)
0
nftPkgId(view returns (uint256)
4
nftStakedRequired(view returns (uint256)
1500000000000000000000
nftToken(view returns (address)
0x883127c3e25354542603c1fb6ff2d27d545a0fa0
nftTokenId(view returns (uint256)
288
owner(view returns (address)
0x184be51481444322f1e1e4a8b8510d095cff3047
poolRewardNeeded(view returns (uint256)
3560293511995769080025
rewardToken(view returns (address)
0x310c8f00b9de3c31ab95ea68feb6c877538f7947
stakedToken(view returns (address)
0x310c8f00b9de3c31ab95ea68feb6c877538f7947
startTime(view returns (uint256)
1651675200
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
__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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
receive(
Errors

This contract contains no error objects.