Documentation
¶
Index ¶
- func GetBlockRewardDistribution(suite *f.BaseSuite, addresses testdata.AddressesForDistribution) (utl.RewardDiffBalancesInWaves, utl.RewardTerm, proto.Height)
- func GetRewardDistributionAndChecks(suite *f.BaseSuite, addresses testdata.AddressesForDistribution, ...)
- func GetRewardDistributionAndChecksWithoutTerm(suite *f.BaseSuite, addresses testdata.AddressesForDistribution, ...)
- func GetRewardInfoAndChecks(suite *f.BaseSuite, ...)
- func GetRewardInfoAtHeightAndChecks(suite *f.BaseSuite, ...)
- type GetBoostTestData
- type GetTestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockRewardDistribution ¶
func GetBlockRewardDistribution(suite *f.BaseSuite, addresses testdata.AddressesForDistribution) ( utl.RewardDiffBalancesInWaves, utl.RewardTerm, proto.Height)
func GetRewardDistributionAndChecks ¶
func GetRewardDistributionAndChecks(suite *f.BaseSuite, addresses testdata.AddressesForDistribution, testdata GetTestData)
func GetRewardDistributionAndChecksWithoutTerm ¶
func GetRewardDistributionAndChecksWithoutTerm(suite *f.BaseSuite, addresses testdata.AddressesForDistribution, testdata GetBoostTestData)
func GetRewardInfoAndChecks ¶
func GetRewardInfoAndChecks(suite *f.BaseSuite, td testdata.RewardDistributionApiTestData[testdata.RewardInfoApiExpectedValues])
func GetRewardInfoAtHeightAndChecks ¶
func GetRewardInfoAtHeightAndChecks(suite *f.BaseSuite, td testdata.RewardDistributionApiTestData[testdata.RewardInfoApiExpectedValues], height uint64)
Types ¶
type GetBoostTestData ¶
type GetBoostTestData func( suite *f.BaseSuite, addresses testdata.AddressesForDistribution, height uint64, ) testdata.RewardDistributionTestData[testdata.BoostRewardDistributionExpectedValues]
type GetTestData ¶
type GetTestData func( suite *f.BaseSuite, addresses testdata.AddressesForDistribution, height uint64, ) testdata.RewardDistributionTestData[testdata.RewardDistributionExpectedValues]
Click to show internal directories.
Click to hide internal directories.