common

package
v0.0.0-...-52431d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateCommunityPool

func UpdateCommunityPool(height int64, client distrtypes.QueryClient, db *database.BigDipperDb) error

UpdateCommunityPool fetch total amount of coins in the system from RPC and store it into database

func UpdateDelegatorsRewardsAmounts

func UpdateDelegatorsRewardsAmounts(height int64, client distrtypes.QueryClient, db *database.BigDipperDb)

UpdateDelegatorsRewardsAmounts updates the delegators commission amounts

func UpdateValidatorsCommissionAmounts

func UpdateValidatorsCommissionAmounts(height int64, client distrtypes.QueryClient, db *database.BigDipperDb)

UpdateValidatorsCommissionAmounts updates the validators commissions amounts

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL