FeePool

Contents

Globals

Functions

constructor

No description

Declaration:

  function constructor(
  ) public Only

Modifiers:

validatorsLength

Get validators length.

Declaration:

  function validatorsLength(
  ) external returns (uint256)

Modifiers: No modifiers

earn

Increase miner's share.

Declaration:

  function earn(
    address validator,
    uint256 earned
  ) external nonReentrant onlyRouter

Modifiers:

Args:

accumulate

Add reward to fee pool.

Declaration:

  function accumulate(
    bool isTxFee
  ) external nonReentrant onlyRouter

Modifiers:

Args:

onAssignBlockReward

Assign block reward callback, it only can be called by router.

Declaration:

  function onAssignBlockReward(
  ) external nonReentrant onlyRouter

Modifiers:

Last updated