configurator

package
v0.47.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 21 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppConfig

func NewAppConfig(opts ...ModuleOption) depinject.Config

Types

type Config added in v0.47.4

type Config struct {
	ModuleConfigs      map[string]*appv1alpha1.ModuleConfig
	BeginBlockersOrder []string
	EndBlockersOrder   []string
	InitGenesisOrder   []string
	// contains filtered or unexported fields
}

Config should never need to be instantiated manually and is solely used for ModuleOption.

type ModuleOption

type ModuleOption func(config *Config)

func AuthModule

func AuthModule() ModuleOption

func AuthzModule added in v0.47.4

func AuthzModule() ModuleOption

func BankModule

func BankModule() ModuleOption

func ConsensusModule

func ConsensusModule() ModuleOption

func DistributionModule

func DistributionModule() ModuleOption

func EvidenceModule added in v0.47.4

func EvidenceModule() ModuleOption

func FeegrantModule

func FeegrantModule() ModuleOption

func GenutilModule

func GenutilModule() ModuleOption

func GovModule

func GovModule() ModuleOption

func GroupModule added in v0.47.4

func GroupModule() ModuleOption

func MintModule

func MintModule() ModuleOption

func NFTModule added in v0.47.4

func NFTModule() ModuleOption

func OmitInitGenesis

func OmitInitGenesis() ModuleOption

func ParamsModule

func ParamsModule() ModuleOption

func SlashingModule

func SlashingModule() ModuleOption

func StakingModule

func StakingModule() ModuleOption

func TxModule

func TxModule() ModuleOption

func VestingModule

func VestingModule() ModuleOption

func WithCustomBeginBlockersOrder added in v0.47.4

func WithCustomBeginBlockersOrder(beginBlockOrder ...string) ModuleOption

func WithCustomEndBlockersOrder added in v0.47.4

func WithCustomEndBlockersOrder(endBlockersOrder ...string) ModuleOption

func WithCustomInitGenesisOrder added in v0.47.4

func WithCustomInitGenesisOrder(initGenesisOrder ...string) ModuleOption

Jump to

Keyboard shortcuts

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