Skip to content

IDistributor

Interface of the Distributor contract.

Functions

distributeFor

Distribute the rewards to the cutting board receivers.

This is only callable by the prover contract.

solidity
function distributeFor(address coinbase, uint256 blockNumber) external;

Parameters

NameTypeDescription
coinbaseaddressThe validator's coinbase address.
blockNumberuint256The block number to distribute the rewards for.

Events

Distributed

solidity
event Distributed(address indexed valCoinbase, uint256 indexed blockNumber, address indexed receiver, uint256 amount);