PDTStaking

Verified contract

Active on Ethereum with 4,559 txns
Deployed by via 0x47eef886 at 15637871
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
ERC-20
Value $1,807,201.07
ERC-20
Value $206,557.98
ERC-20
--
0x6514f03ecb72be9e3f277e7853f6846359be34319deb37b253f782ca04fde12f
0xce7bf1d0db284be36c54902d476137c8984a3b343d56ccf69b0f0df5c8ff481f
0x7149adfee05653d3dcf60e0a0da02f231f81fff46af0cfe3a4421733ed200b11
0x0291927504f6b677672d7584f2811fc10348ac05a0aec00781b6694e8ea67b8b
0xc126e64121fcea16959c5675b84a398ed353a6e670395c0e56510fa98dfa0549
0xdaaeefc478526cf4500e6daf25328e1e176f8aadba5dbde7cad898d59db5a7c0
0xc8e3072b5b0067215864d6b4b5dcf4fef48e326e075438ac35a6591529652dc6
0x5229bb1e9f98d3f80937baed27d02e5cf01b7d3743404cf89403d9713a40b28e
0x5013fec8252cf34a1e05e6e955fddfbdd89074537276ef44b800e74e5d6f6086
0x95895e45251e4524ba51e7a4cd87eab5bce687f6226d789517fcf504437699dd

Functions
Getter at block 21205889
contractWeight(view returns (uint256 contractWeight_)
74351991069846643919974149
currentEpoch(view returns (uint256 totalToDistributeuint256 totalClaimeduint256 startTimeuint256 endTimeuint256 weightAtEnd)
(totalToDistribute=0, totalClaimed=0, startTime=1730013011, endTime=1732605011, weightAtEnd=0)
epochId(view returns (uint256)
21
epochLength(view returns (uint256)
2592000
lastInteraction(view returns (uint256)
1731815183
owner(view returns (address)
0x12267aefd8bb461817df348ce16c933e76c1aa0d
pdt(view returns (address)
0x375abb85c329753b1ba849a601438ae77eec9893
pendingRewards(view returns (uint256 pendingRewards_)
0
prime(view returns (address)
0xb23d80f5fefcddaa212212f028021b41ded428cf
timeToDouble(view returns (uint256)
15552000
totalStaked(view returns (uint256)
17210783127608978715371838
unclaimedRewards(view returns (uint256)
23079103533808499094360
Read-only
claimAmountForEpoch(address _useruint256 _epochIdview returns (uint256 claimable_)
claimLeftOff(addressview returns (uint256)
contractWeightAtEpoch(uint256 _epochIdview returns (uint256 contractWeight_)
epoch(uint256view returns (uint256 totalToDistributeuint256 totalClaimeduint256 startTimeuint256 endTimeuint256 weightAtEnd)
epochLeftOff(addressview returns (uint256)
stakeDetails(addressview returns (uint256 amountStakeduint256 lastInteractionuint256 weightAtLastInteraction)
userClaimedEpoch(addressuint256view returns (bool)
userTotalWeight(address _userview returns (uint256 userWeight_)
userWeightAtEpoch(address _useruint256 _epochIdview returns (uint256 userWeight_)
State-modifying
claim(address _to
distribute(
pushBackEpoch0(uint256 _timeToPushBack
stake(address _touint256 _amount
transferOwnership(address _newOwner
unstake(address _to
updateEpochLength(uint256 _epochLength
Events
Claimed(address stakeruint256[] indexed epochsClaimeduint256 indexed claimed
Epoch0PushedBack(uint256 indexed newEndTime
EpochLengthUpdated(uint256 indexed previousEpochLengthuint256 indexed newEpochLength
Staked(address touint256 indexed newStakeAmountuint256 indexed newWeightAmount
Unstaked(address stakeruint256 indexed amountUnstaked
Constructor
constructor(uint256 _timeToDoubleuint256 _epochLengthuint256 _firstEpochStartInaddress _pdtaddress _primeaddress _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AfterEpoch0(
ClaimedUpToEpoch(
InvalidEpoch(
MoreThanBalance(
NotOwner(
NothingStaked(
ZeroAddress(