Skip to content

IDistributor

0x2C1F148Ee973a4cdA4aBEce2241DF3D3337b7319 | ABI JSON

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);