package tezos-protocol-018-Proxford

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

get_reward_coeff ctxt cycle reads the reward coeff for the given cycle from the storage.

Fails if the given cycle is not between current_cycle and current_cycle + preserved_cycles.

If adaptive issuance has not been activated, then this function returns Q.one. Used only for RPCs. To get the actual rewards, use Delegate_rewards.

get_reward_bonus ctxt cycle reads the reward bonus for the given cycle from the storage. If cycle is None, returns 0.

Returns 0 if the given cycle is not between current_cycle and current_cycle + preserved_cycles.

If adaptive issuance has not been activated, then this function returns 0. Used only for RPCs. To get the actual rewards, use Delegate_rewards.

OCaml

Innovation. Community. Security.