ValidatorRewardPool
Contents
Globals
Var | Type |
---|---|
balanceOf | mapping(address => uint256) |
Functions
constructor
No description
Declaration:
Modifiers:
Modifier |
---|
Only |
claim
Claim validator reward.
Declaration:
Modifiers:
Modifier |
---|
nonReentrant |
onlyStakeManager |
Args:
Arg | Type | Description |
---|---|---|
| address | Validator address. |
| uint256 | Claim amount. |
reward
Reward validator.
Declaration:
Modifiers:
Modifier |
---|
nonReentrant |
onlyStakeManager |
Args:
Arg | Type | Description |
---|---|---|
| address | Validator address. |
slash
Slash validator and transfer the slashed amount to address(0)
.
Declaration:
Modifiers:
Modifier |
---|
nonReentrant |
onlyStakeManager |
Args:
Arg | Type | Description |
---|---|---|
| address | Validator address. |
| uint8 | Slash factor. |
Last updated