Struct ethcore::engines::block_reward::BlockRewardContract[][src]

pub struct BlockRewardContract { /* fields omitted */ }

A client for the block reward contract.

Methods

impl BlockRewardContract
[src]

Create a new block reward contract client targeting the given address.

Calls the block reward contract with the given benefactors list (and associated reward kind) and returns the reward allocation (address - value). The block reward contract must be called by the system address so the caller must ensure that (e.g. using machine.execute_as_system).

Auto Trait Implementations

impl Send for BlockRewardContract

impl Sync for BlockRewardContract