TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 151 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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
0x310c…7947
0x310c…7947
14 additional
variables
Balances ($1,432.40)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
UNDEAD | ERC-20 | 111.711856K | $0.012822 |
$1,432.4 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19537587 | 7 months ago | | | 0 | 0.00074417534 | |
| 19537586 | 7 months ago | | | 0 | 0.00074026469 | |
| 19537585 | 7 months ago | | | 0 | 0.0013666995 | |
| 19537584 | 7 months ago | | | 0 | 0.0013740287 | |
| 17985013 | a year ago | | | 0 | 0.0064077206 | |
| 17594583 | a year ago | | | 0 | 0.0062754811 | |
| 17594580 | a year ago | | | 0 | 0.0069601694 | |
| 17390924 | a year ago | | | 0 | 0.0060558821 | |
| 17390921 | a year ago | | | 0 | 0.0062949470 | |
| 17326761 | a year ago | | | 0 | 0.0081053558 |
ABI
ABI objects
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(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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
__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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
receive()
This contract contains no error objects.