model.parts.pos_incentives

model.parts.pos_incentives#

# Proof of Stake Incentives

Calculation of PoS incentives such as attestation and block proposal rewards and penalties.

Functions

policy_attestation_penalties(params, ...)

## Attestation Penalties Policy Function Validators are penalized for not attesting to the source, target, and head.

policy_attestation_rewards(params, substep, ...)

## Attestation Rewards Policy Function Derived from ethereum/eth2.0-specs

policy_block_proposal_reward(params, ...)

## Block Proposal Reward Policy Function Derived from ethereum/eth2.0-specs

policy_slashing(params, substep, ...)

## Slashing Policy Function Derived from ethereum/eth2.0-specs

policy_sync_committee_penalties(params, ...)

## Sync Committee Penalty Policy Function Derived from ethereum/eth2.0-specs

policy_sync_committee_reward(params, ...)

## Sync Committee Reward Policy Function Derived from ethereum/eth2.0-specs

update_base_reward(params, substep, ...)

## Base Reward State Update Function Calculate and update base reward per validator

update_validating_penalties(params, substep, ...)

## Validating Penalties State Update Function Calculate and update total validating penalties

update_validating_rewards(params, substep, ...)

## Validating Rewards State Update Function Calculate and update total validating rewards