Staked n

Verified contract

Active on Ethereum with 2,343 txns
Deployed by via 0xa45b17ce at 13505319
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
5 additional variables
 (#8888)
ERC-721
--
 (#8887)
ERC-721
--
 (#8886)
ERC-721
--
 (#8885)
ERC-721
--
 (#8884)
ERC-721
--
 (#8882)
ERC-721
--
 (#8878)
ERC-721
--
 (#8876)
ERC-721
--
 (#8874)
ERC-721
--
 (#8870)
ERC-721
--
0xa25426901c5529e6a48eb03da72930d15e5a21f3fbc8ff982a1859142bbd0fb2
0xee9907781f7d93e986964b4203f53e99dcef8f2efeecbde682d4e3de93c67509
0x3c7ef7a27161454df7e844644e12870842dd69388cc1f40d1854c5c229c09a99
0x7aab76673246959420d68972db470962b3aa7bb4fd35ecfd2e9e4d434f2a0361
0xe8931729ebeec8a5c6b63a93d6b20b6b085501d610cf3893de81dd879e47d8f9
0x1c76ad9a5bb95eaaa9b0e575132046a85ab1d14f65cb97fea6a5bd2eb591f4cc
0x07112623a94bd124a4b0b2570683961af5b7b749606ae0afd839f05ca45ff3cc
0xed887a68211d1a2249809de2fa804b6631cec6d126b247305b676921925896f6
0x0743d45d5570149bea88bec576f0177dffb33723d501595b21313e1f70d74966
0xd17144224ab6b6ae52f9aaa01d4e7b13b1f1eaf693b3980214262fb94da42b4b

Functions
Getter at block 21296453
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE(view returns (bytes32)
0x8b5b16d04624687fcf0d0228f19993c9157c1ed07b41d8d430fd9100eb099fe8
INVERSE_N_SHARE_OF_NIL(view returns (uint256)
4
N_SUPPLY(view returns (uint256)
8888
N_UNIT(view returns (uint256)
1000000000000000000
VOTE_DENOMINATOR(view returns (uint256)
1
emergencyShutdown(view returns (bool)
false
lastRewardsRateUpdate(view returns (uint256)
1635418740
lastVotesUpdate(view returns (uint256)
1727504759
minStakingPeriod(view returns (uint256)
432000
n(view returns (address)
0x05a46f1e545526fb803ff974c790acea34d1f2d6
name(view returns (string)
Staked n
nil(view returns (address)
0x47252a63c723889814aebcac0683e615624cec64
rewardPerToken(view returns (uint256)
306085469463500149055
rewardPerTokenStored(view returns (uint256)
0
rewardRatePerSecond(view returns (uint256)
3139269406393
symbol(view returns (string)
STN
totalBalance(view returns (uint256)
4060000000000000000000
totalSupply(view returns (uint256)
4060
totalVotes(view returns (uint256)
4858565167002283719997746
totalVotesStored(view returns (uint256)
4604057864224507571066706
voteSpender(view returns (address)
0x0000000000000000000000000000000000000000
votesPerToken(view returns (uint256)
1128496932870363147990
votesPerTokenStored(view returns (uint256)
1065810405092585771406
votesRatePerSecond(view returns (uint256)
11574074074074
Read-only
balanceOf(address accountview returns (uint256)
balancePerAccount(addressview returns (uint256)
calculateCurrentRewards(address accountview returns (uint256uint256)
calculateCurrentVotes(address accountview returns (uint256uint256)
claimableOf(address accountview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getEight(uint256 tokenIdview returns (uint256)
getFifth(uint256 tokenIdview returns (uint256)
getFirst(uint256 tokenIdview returns (uint256)
getFourth(uint256 tokenIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSecond(uint256 tokenIdview returns (uint256)
getSeventh(uint256 tokenIdview returns (uint256)
getSixth(uint256 tokenIdview returns (uint256)
getThird(uint256 tokenIdview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
nOwned(address ownerview returns (uint256[] nids)
ownerOf(uint256 nidview returns (address)
rewardsByAccount(addressview returns (uint256)
stakingTimeByAccount(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
userRewardPerTokenPaid(addressview returns (uint256)
userVotesPerTokenPaid(addressview returns (uint256)
votesByAccount(addressview returns (uint256)
State-modifying
approve(address touint256 tokenId
claim(address account
grantRole(bytes32 roleaddress account
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setEmergencyShutdown(bool emergencyShutdown_
setMinStakingPeriod(uint256 minStakingPeriod_
setVoteSpender(address voteSpender_
spendVotes(address accountuint256 amount
stake(uint256[] nIds
transferFrom(address fromaddress touint256 tokenId
unstake(uint256[] nIds
updateRewards(uint256 newRate
updateVotes(uint256 newRate
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
MinStakingPeriodSet(uint256 minStakingPeriod
Rewarded(address accountuint256 rewards
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(address accountuint256 amountuint256 balanceuint256 rewardsuint256 votes
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unstaked(address accountuint256 amountuint256 balanceuint256 rewardsuint256 votes
VotesSpenderSet(address spender
VotesSpent(address accountuint256 votesSpentuint256 totalVotesStored
Constructor
constructor(address nil_address n_address daouint256 rewardRatePerSeconduint256 votesRatePerSecond
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.