SwapStakingContract
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "SwapStakingContract"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16239853 | 2 years ago | | | 0 | 0.0043364461 |
ABI
ABI objects
Getter at block 21177895
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
currentTotalStake() view returns (uint256)
0
maxStakingAmount() view returns (uint256)
50000000000000000000000000
paused() view returns (bool)
false
rewardsAddress() view returns (address)
0x412ea369798e1c46bb66e8fa14f1f8fd352aa504
rewardsDistributed() view returns (uint256)
0
rewardsWithdrawn() view returns (uint256)
0
token() view returns (address)
0x5a753021ce28cbc5a7c51f732ba83873d673d8cc
totalRewardsDistributed() view returns (uint256)
0
unstakingPeriod() view returns (uint256)
0
version() pure returns (string)
v2
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getStakeDetails(address account) view returns (uint256 initialDeposit, uint256 startDate, uint256 endDate, uint256 rewards)
hasRole(bytes32 role, address account) view returns (bool)
State-modifying
Events deposit(uint256 amount)
distributeRewards()
executeWithdrawal()
grantRole(bytes32 role, address account)
initialize(address _token, address _rewardsAddress, uint256 _maxStakingAmount, uint256 _unstakingPeriod)
initiateWithdrawal(uint256 withdrawAmount)
pause()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setRewardAddress(address _rewardsAddress)
setTokenAddress(address _token)
unpause()
withdrawRewards()
Paused(address account)
RewardsDistributed(uint256 amount)
RewardsWithdrawn(address indexed account, uint256 reward)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StakeDeposited(address indexed account, uint256 amount)
Unpaused(address account)
WithdrawExecuted(address indexed account, uint256 amount, uint256 reward)
WithdrawInitiated(address indexed account, uint256 amount, uint256 initiateDate)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.