SingleStaking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "SingleStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SingleStaking"
ABI
ABI objects
Getter at block 21296759
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_STAKING_PERIOD() view returns (uint256)
125798400
MIN_STAKING_PERIOD() view returns (uint256)
7257600
extendPeriodEnabled() view returns (bool)
false
lastRewardRate() view returns (uint256)
0
lastRewardTime() view returns (uint256)
0
moreStakingEnabled() view returns (bool)
false
relockEnabled() view returns (bool)
false
rewardPerShare() view returns (uint256)
0
rewardToken() view returns (address)
0x0000000000000000000000000000000000000000
stakingToken() view returns (address)
0x0000000000000000000000000000000000000000
totalShares() view returns (uint256)
0
totalStaked() view returns (uint256)
0
Read-only
calculateShares(uint256 amount, uint256 stakingPeriod) pure returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserStake(address user) view returns (uint256 amount, uint256 shares, uint256 stakingPeriod, uint256 startTime, uint256 rewardDebt)
hasRole(bytes32 role, address account) view returns (bool)
isUnlocked(address user) view returns (bool)
pendingRewards(address user) view returns (uint256)
stakes(address) view returns (uint256 amount, uint256 shares, uint256 stakingPeriod, uint256 startTime, uint256 rewardDebt)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addMoreStaking(uint256 amount)
addRewards(uint256 amount)
claim()
enableExtendPeriod(bool enable)
enableMoreStaking(bool enable)
enableRelock(bool enable)
extendStakingPeriod(uint256 newStakingPeriod)
grantRole(bytes32 role, address account)
initialize(address _stakingToken, address _rewardToken)
lock(uint256 amount, uint256 stakingPeriod)
relock(uint256 newStakingPeriod)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
unlock()
Claimed(address indexed user, uint256 rewards)
ExtendsPeriod(address indexed user, uint256 period)
Initialized(uint8 version)
Relocked(address indexed user, uint256 period)
RewardsAdded(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 indexed user, uint256 amount, uint256 lockPeriod)
Withdrawn(address indexed user, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AlreadyLocked(address user)
Disabled()
InvalidStakingPeriod()
NoStaking(address user)
NotLocked(address user)
NotUnlocked(address user)