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
Name | Type | Description |
---|---|---|
coinbase | address | The validator's coinbase address. |
blockNumber | uint256 | The block number to distribute the rewards for. |
Events
Distributed
solidity
event Distributed(address indexed valCoinbase, uint256 indexed blockNumber, address indexed receiver, uint256 amount);