StakingContractV1

Verified contract

Active on Ethereum with 1,777 txns
Deployed by via 0x8736ed02 at 14441349
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 7 additional slots
ERC-20
Value $779,174.5
0x4c7c3f9e3217b170ac3ed0742efda842cb51f4bbe804160dfb96a55425973752
0x433fb1f9f11cb81a460e9f905acc01639a99d5c338797c1bd42401ed38d4f169
0x3219bf870f55930042d9254e438c8977f559f3e886bc9ea3922db1630649dbc1
0x1689f2bb67b1d93be8f1ecdcf438defb180b435d2599b2dae535966f6ddc8187
0x15d2c8d59851efd391f5f08d629a73c6b9a776c74ee6066e67420014d76ad3d7
0x9598020a27e1dadcb1f2292f24d46b55b80714e5b2222bbfa3813e5f84693276
0xda1cfd7d9642c28d00d284c7a739feeeb855e068bd02b164e05b129c3e63bd6b
0xc8b6dec920095beccf89d58bdf6584834102a2072d29f6bd06edbe2efabdafe6
0xa266b86366802ec2cff27aaa1e21f5d306fff5d6ca1d8822bcaef0c36fad0ee9
0xf5363e5975846fb68e3771ceb8cca181ba9743eb1fe9e86610ff0224f40abf34

Functions
Getter at block 21263720
BALANCE_UPDATER_ROLE(view returns (bytes32)
0x319a6c97bbc775b79a48583aa64d94a9ff20e69fb7d2fce8f81b40110d07a777
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
STAKE_OPS_ADMIN_ROLE(view returns (bytes32)
0xfe65bb5037f1b7be63451ff7f3ebaf4e64f4590b40ecaa29dcba1ae5fea51581
getRatio(view returns (uint256 currentRatio)
10000
paused(view returns (bool)
false
powrToken(view returns (address)
0x595832f8fc6bf59c85c527fec3740a1b7a361269
stkOpsData(view returns (uint256 stakeCountuint256 totalStakeduint256 minPowrDeposituint256 maxPowrPerValidatoruint256 powrRatioaddress powrEthPooluint256 unlockGasCostaddress rewardWallet)
(stakeCount=0, totalStaked=0, minPowrDeposit=1000000000000000, maxPowrPerValidator=5000000000000, powrRatio=10000, powrEthPool=0x3c442bab170f19dd40d0b1a405c9d93b088b9332, unlockGasCost=130000, rewardWallet=0x7ae39790f6dc6ddb27e2cab06ccd7b0bad6fe4a0)
unit(view returns (uint256)
1000000
Read-only
convertEthToPOWR(uint256 _ethAmountview returns (uint256 powrAmount)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStatus(address _stakerEthAddressview returns (uint256 currentStatus)
hasRole(bytes32 roleaddress accountview returns (bool)
stakeAddressToEthAddress(stringview returns (address)
stkData(addressview returns (uint256 stakeuint256 stakeRewardsstring registeredStakerstring registeredStakerValidatorPubKeyuint8 stakeStatusuint256 ethFeeuint256 unstakeTimestamp)
supportsInterface(bytes4 interfaceIdview returns (bool)
validatorTotalStake(stringview returns (uint256)
State-modifying
changeMinDeposit(uint256 _newAmount
changeRewardWallet(address _newRewardWallet
changeUnlockGasCost(uint256 _newGasCost
deposit(uint256 _amountstring _stakerPubKeystring _validatorPubKey
forceUnlockStake(string _stakerPubKeyuint256 _rewardAmount
grantRole(bytes32 roleaddress account
pause(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setRatio(uint256 _newRatio
unPause(
unlockStake(string _stakerPubKeyuint256 _rewardAmount
withdraw(
Events
ForceUnlockStake(address indexed stakeruint256 amountstring validatorPubKey
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StakeDeposited(address indexed stakeruint256 amountstring stakerPubKeystring validatorPubKey
StakeWithdrawn(address indexed stakeruint256 stakeuint256 rewards
UnlockStake(address indexed stakeruint256 amountstring validatorPubKey
Unpaused(address account
Constructor
constructor(address _powrTokenuint256 _minPowrDeposituint256 _maxPowrPerValidatoraddress _stakeOpsAdminaddress _balanceUpdateraddress _pauseraddress _powrEthPoolAddressuint256 _unlockGasCostaddress _rewardWallet
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.