NilStaking
Verified contract
Active on
Ethereum with 1,080 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
NIL | ERC-20 | 1.070139M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18044557 | a year ago | | | 0 | 0.0018369781 | |
| 18005867 | a year ago | | | 0 | 0.0015011956 | |
| 17012432 | 2 years ago | | | 0 | 0.0047910088 | |
| 17012416 | 2 years ago | | | 0 | 0.0023475843 | |
| 16888023 | 2 years ago | | | 0 | 0.0013914511 | |
| 16888017 | 2 years ago | | | 0 | 0.00086624554 | |
| 16876784 | 2 years ago | | | 0 | 0.0029582164 | |
| 16774176 | 2 years ago | | | 0 | 0.0025335484 | |
| 16774164 | 2 years ago | | | 0 | 0.0028704143 | |
| 16774127 | 2 years ago | | | 0 | 0.0035779594 |
ABI
ABI objects
Getter at block 21389134
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE() view returns (bytes32)
0x8b5b16d04624687fcf0d0228f19993c9157c1ed07b41d8d430fd9100eb099fe8
emergencyShutdown() view returns (bool)
false
lastRewardsRateUpdate() view returns (uint256)
1635418756
lastVotesUpdate() view returns (uint256)
1693605839
minStakingPeriod() view returns (uint256)
432000
nil() view returns (address)
0x47252a63c723889814aebcac0683e615624cec64
rewardPerToken() view returns (uint256)
3127231576634074000
rewardPerTokenStored() view returns (uint256)
0
rewardRatePerSecond() view returns (uint256)
31709791984
totalBalance() view returns (uint256)
1070138701434624119249134
totalVotes() view returns (uint256)
955335860003239912709738
totalVotesStored() view returns (uint256)
454534579964697634376044
vNil() view returns (address)
0x0aa81a3e027bf4ec1549780b756c6f0ac800350d
voteSpender() view returns (address)
0x0000000000000000000000000000000000000000
votesPerToken() view returns (uint256)
1141439525455657750
votesPerTokenStored() view returns (uint256)
673461608791986142
votesRatePerSecond() view returns (uint256)
11574074074
Read-only
balancePerAccount(address) view returns (uint256)
calculateCurrentRewards(address account) view returns (uint256, uint256)
calculateCurrentVotes(address account) view returns (uint256, uint256)
claimableOf(address account) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
rewardsByAccount(address) view returns (uint256)
stakingTimeByAccount(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userRewardPerTokenPaid(address) view returns (uint256)
userVotesPerTokenPaid(address) view returns (uint256)
votesByAccount(address) view returns (uint256)
State-modifying
Events claim(address account)
grantRole(bytes32 role, address account)
mintAndStake(address account, uint256 amount)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setEmergencyShutdown(bool emergencyShutdown_)
setMinStakingPeriod(uint256 minStakingPeriod_)
setVoteSpender(address voteSpender_)
spendVotes(address account, uint256 amount)
stake(uint256 amount)
unstake(uint256 amount)
updateRewards(uint256 newRate)
updateVotes(uint256 newRate)
MinStakingPeriodSet(uint256 minStakingPeriod)
Rewarded(address account, uint256 rewards)
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)
Staked(address account, uint256 amount, uint256 balance, uint256 rewards, uint256 votes)
Unstaked(address account, uint256 amount, uint256 balance, uint256 rewards, uint256 votes)
VotesSpenderSet(address spender)
VotesSpent(address account, uint256 votesSpent, uint256 totalVotesStored)
constructor(address nil_, address dao, address vNil_, uint256 rewardRatePerSecond, uint256 votesRatePerSecond)
This contract contains no fallback and receive objects.
This contract contains no error objects.