Closed nsjames closed 3 months ago
eosio.bpay is a contract that collects network fees allocated to block producers and allows them to claim them as rewards.
eosio.bpay
claimrewards
/** * Claim rewards for a block producer. * * @param owner - block producer owner account */ [[eosio::action]] void claimrewards( const name owner);
rewards
struct [[eosio::table("rewards")]] rewards_row { name owner; asset quantity; uint64_t primary_key() const { return owner.value; } };
Change Description
eosio.bpay
is a contract that collects network fees allocated to block producers and allows them to claim them as rewards.Deployment Changes
eosio.bpay
contractAPI Changes
claimrewards
rewards
Documentation Additions