ValidatorRewardPool

Contents

Globals

Var
Type
balanceOf
mapping(address => uint256)

Functions

constructor

No description
Declaration:
function constructor(
) public Only
Modifiers:
Modifier
Only

claim

Claim validator reward.
Declaration:
function claim(
address validator,
uint256 amount
) external nonReentrant onlyStakeManager
Modifiers:
Modifier
nonReentrant
onlyStakeManager
Args:
Arg
Type
Description
validator
address
Validator address.
amount
uint256
Claim amount.

reward

Reward validator.
Declaration:
function reward(
address validator
) external nonReentrant onlyStakeManager
Modifiers:
Modifier
nonReentrant
onlyStakeManager
Args:
Arg
Type
Description
validator
address
Validator address.

slash

Slash validator and transfer the slashed amount to address(0).
Declaration:
function slash(
address validator,
uint8 factor
) external nonReentrant onlyStakeManager returns (uint256 amount)
Modifiers:
Modifier
nonReentrant
onlyStakeManager
Args:
Arg
Type
Description
validator
address
Validator address.
factor
uint8
Slash factor.
Last modified 9mo ago
Copy link
On this page
Contents
Globals
Functions
constructor
claim
reward
slash