helpers

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAppServiceConfigs

func ValidateAppServiceConfigs(services []*sharedtypes.ApplicationServiceConfig) error

ValidateAppServiceConfigs returns an error if any of the application service configs are invalid

func ValidateServiceRevShare added in v0.0.6

func ValidateServiceRevShare(revShareList []*sharedtypes.ServiceRevenueShare) error

ValidateServiceRevShare validates the supplier's service revenue share, ensuring that the sum of the revenue share percentages is 100. NB: This function is unit tested via the supplier staking config tests.

func ValidateSupplierServiceConfigs

func ValidateSupplierServiceConfigs(services []*sharedtypes.SupplierServiceConfig) error

ValidateSupplierServiceConfigs returns an error if any of the supplier service configs are invalid

Types

This section is empty.

Jump to

Keyboard shortcuts

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