Documentation ¶
Index ¶
- func UpdateCommunityPool(height int64, client distrtypes.QueryClient, db *database.BigDipperDb) error
- func UpdateDelegatorsRewardsAmounts(height int64, client distrtypes.QueryClient, db *database.BigDipperDb)
- func UpdateValidatorsCommissionAmounts(height int64, client distrtypes.QueryClient, db *database.BigDipperDb)
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.
Click to show internal directories.
Click to hide internal directories.