Documentation ¶
Index ¶
- func GetForecastsFromCsv(topicId uint64, blockHeight int64, inferers []string, forecasters []string, ...) (emissionstypes.Forecasts, error)
- func GetInferencesFromCsv(topicId uint64, blockHeight int64, inferers []string, ...) (emissionstypes.Inferences, error)
- func GetNetworkLossFromCsv(topicId uint64, inferers []string, forecasters []string, ...) (emissionstypes.ValueBundle, error)
- func GetReputersDataFromCsv(topicId uint64, inferers []string, forecasters []string, reputers []string, ...) (emissionstypes.ReputerValueBundles, error)
- func GetSimulatedValuesGetterForEpoch(epoch string, headers string) func(header string) alloraMath.Dec
- func GetSimulatedValuesGetterForEpochs() map[int]func(header string) alloraMath.Dec
- func GetTokenomicsSimulatorValuesGetterForEpochs() map[int]func(header string) alloraMath.Dec
- func GetTotalForecasterRewardForTopicInEpoch(epochGet func(header string) alloraMath.Dec) (alloraMath.Dec, error)
- func GetTotalInfererRewardForTopicInEpoch(epochGet func(header string) alloraMath.Dec) (alloraMath.Dec, error)
- func GetTotalReputerRewardForTopicInEpoch(epochGet func(header string) alloraMath.Dec) (alloraMath.Dec, error)
- func GetTotalRewardForTopicInEpoch(epochGet func(header string) alloraMath.Dec) (alloraMath.Dec, error)
- func InEpsilon(t *testing.T, value alloraMath.Dec, target alloraMath.Dec, ...)
- func InEpsilon2(t *testing.T, value alloraMath.Dec, target string)
- func InEpsilon3(t *testing.T, value alloraMath.Dec, target string)
- func InEpsilon5(t *testing.T, value alloraMath.Dec, target string)
- func InEpsilon5Dec(t *testing.T, value alloraMath.Dec, target alloraMath.Dec)
- func SetRegretsFromPreviousEpoch(ctx sdk.Context, k keeper.Keeper, topicId uint64, blockHeight int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetForecastsFromCsv ¶ added in v0.3.0
func GetForecastsFromCsv( topicId uint64, blockHeight int64, inferers []string, forecasters []string, epochGet func(header string) alloraMath.Dec, ) (emissionstypes.Forecasts, error)
func GetInferencesFromCsv ¶ added in v0.3.0
func GetInferencesFromCsv( topicId uint64, blockHeight int64, inferers []string, epochGet func(header string) alloraMath.Dec, ) (emissionstypes.Inferences, error)
func GetNetworkLossFromCsv ¶ added in v0.3.0
func GetNetworkLossFromCsv( topicId uint64, inferers []string, forecasters []string, epochGet func(header string) alloraMath.Dec, ) (emissionstypes.ValueBundle, error)
func GetReputersDataFromCsv ¶ added in v0.3.0
func GetReputersDataFromCsv( topicId uint64, inferers []string, forecasters []string, reputers []string, epochGet func(header string) alloraMath.Dec, ) (emissionstypes.ReputerValueBundles, error)
func GetSimulatedValuesGetterForEpoch ¶ added in v0.3.0
func GetSimulatedValuesGetterForEpoch( epoch string, headers string, ) func(header string) alloraMath.Dec
func GetSimulatedValuesGetterForEpochs ¶ added in v0.3.0
func GetSimulatedValuesGetterForEpochs() map[int]func(header string) alloraMath.Dec
func GetTokenomicsSimulatorValuesGetterForEpochs ¶ added in v0.3.0
func GetTokenomicsSimulatorValuesGetterForEpochs() map[int]func(header string) alloraMath.Dec
func GetTotalForecasterRewardForTopicInEpoch ¶ added in v0.3.0
func GetTotalForecasterRewardForTopicInEpoch( epochGet func(header string) alloraMath.Dec, ) (alloraMath.Dec, error)
func GetTotalInfererRewardForTopicInEpoch ¶ added in v0.3.0
func GetTotalInfererRewardForTopicInEpoch( epochGet func(header string) alloraMath.Dec, ) (alloraMath.Dec, error)
func GetTotalReputerRewardForTopicInEpoch ¶ added in v0.3.0
func GetTotalReputerRewardForTopicInEpoch( epochGet func(header string) alloraMath.Dec, ) (alloraMath.Dec, error)
func GetTotalRewardForTopicInEpoch ¶ added in v0.3.0
func GetTotalRewardForTopicInEpoch( epochGet func(header string) alloraMath.Dec, ) (alloraMath.Dec, error)
func InEpsilon ¶
func InEpsilon(t *testing.T, value alloraMath.Dec, target alloraMath.Dec, epsilon alloraMath.Dec)
func InEpsilon2 ¶
func InEpsilon2(t *testing.T, value alloraMath.Dec, target string)
func InEpsilon3 ¶
func InEpsilon3(t *testing.T, value alloraMath.Dec, target string)
func InEpsilon5 ¶
func InEpsilon5(t *testing.T, value alloraMath.Dec, target string)
func InEpsilon5Dec ¶ added in v0.3.0
func InEpsilon5Dec(t *testing.T, value alloraMath.Dec, target alloraMath.Dec)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.