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.
Click to show internal directories.
Click to hide internal directories.