HMStaking
Verified contract
Active on
Ethereum with 285 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
xGG | ERC-20 | 150K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21172973 | 14 days ago | | | 0 | 0.0010377664 | |
| 21172971 | 14 days ago | | | 0 | 0.0010242683 | |
| 21172090 | 14 days ago | | | 0 | 0.0085673780 | |
| 21171368 | 15 days ago | | | 0 | 0.00089496107 | |
| 21169717 | 15 days ago | | | 0 | 0.0053555164 | |
| 21169712 | 15 days ago | | | 0 | 0.0054150749 | |
| 21169705 | 15 days ago | | | 0 | 0.0072153030 | |
| 21169592 | 15 days ago | | | 0 | 0.0083295306 | |
| 21168531 | 15 days ago | | | 0 | 0.0054289448 | |
| 21168513 | 15 days ago | | | 0 | 0.0055269622 |
ABI
ABI objects
Getter at block 21275677
DIVIDER() view returns (uint256)
1000000
PRECISION() view returns (uint256)
1000000000000000000
ggToken() view returns (address)
0x0c7ecdb459111cd806e54adc9da1f4a03b43b64a
maxTiers() view returns (uint256)
4
owner() view returns (address)
0x972ee5dbf13ca5ba9c5df5579afc3f94c5206539
rewardsPerSecondPerToken() view returns (uint256)
4756468798
stakersLength() view returns (uint256)
183
stakingToken() view returns (address)
0xe85576181a01b1aea6886f07720073f59102b0fd
ticToken() view returns (address)
0x90b72fa2bed25184bb218e7ba572dc0b6121125f
ticketsPerSecondPerToken() view returns (uint256)
1157407407
tiersLength() view returns (uint256)
4
timeOfChangingStakingToken() view returns (uint256)
1731427200
totalAvailableToClaimRewards() view returns (uint256)
3029889836793127779000
totalBonuses() view returns (uint256)
194476122536005586000000000
totalStaked() view returns (uint256)
152255008245430746400000000
xggToken() view returns (address)
0xe85576181a01b1aea6886f07720073f59102b0fd
Read-only
getGeneratedReward(address account, uint256 tierId) view returns (uint256)
getGeneratedTicket(address account, uint256 tierId) view returns (uint256)
pendingRewards(address account, uint256 tierId) view returns (uint256)
stakers(uint256 index) view returns (address)
stakersContains(address user) view returns (bool)
tierById(uint256 id) view returns (struct HMStakingTier)
userInfo(address user, uint256 tier) view returns (struct HMStakingUserInfo)
userNumberOfTiers(address) view returns (uint256)
State-modifying
Events changeStakingToken() returns (bool)
claimRewards() returns (uint256, uint256)
emergencyUnstake(uint256 tierId) returns (bool)
foreignTokensRecover(address token, uint256 amount, address to) returns (bool)
renounceOwnership()
setRewardsPerSecondPerToken(uint256 _rewardsPerSecondPerToken) returns (bool)
setTicketsPerSecondPerToken(uint256 _ticketsPerSecondPerToken) returns (bool)
setTimeOfChangingStakingToken(uint256 _timeOfChangingStakingToken) returns (bool)
stake(uint256 tierId, uint256 amount) returns (bool)
transferOwnership(address newOwner)
unstake(uint256 tierId) returns (bool)
BonusPaid(address indexed user, uint256 indexed tierId, uint256 amount)
ClaimedRewardsAndTickets(address indexed user, uint256 rewardAmount, uint256 ticketAmount)
EmergencyUnstaked(address indexed user, uint256 indexed tierId, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardsPerSecondPerTokenSetted(uint256 value)
Staked(address indexed user, uint256 indexed tierId, uint256 amount)
StakingTokenChanged(address indexed token)
TicketsPerSecondPerTokenSetted(uint256 value)
TimeOfChangingStakingTokenSetted(uint256 timeOfChangingStakingToken)
Unstaked(address indexed user, uint256 indexed tierId, uint256 amount)
constructor(address ggToken_, address xggToken_, address ticToken_, uint256 timeOfChangingStakingToken_, uint256 rewardsPerSecondPerToken_, uint256 ticketsPerSecondPerToken_, struct HMStakingTier[] tiers_)
This contract contains no fallback and receive objects.
ClaimingRewardsNotStarted()
CurrentTimeGtTimeOfChangingStakingToken(uint256 currentTime, uint256 timeOfChangingStakingToken)
CurrentTimeLtTimeOfChangingStakingToken(uint256 currentTime, uint256 timeOfChangingStakingToken)
InvalidAddress(address account)
NoRewardsAndTickets()
StakingAmountIsZero()
StakingExpired()
StakingPeriodNotExpired(uint256 currentDate, uint256 endStakeDate)
StakingTierNotExist(address user, uint256 tierId)
StakingTokenAlreadyChanged()
TierParameterInvalid()
TiersLengthGtMaxTiers()