configurator

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppConfig

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

Types

type Config

type Config struct {
	ModuleConfigs      map[string]*appv1alpha1.ModuleConfig
	PreBlockersOrder   []string
	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

func AuthzModule() ModuleOption

func BankModule

func BankModule() ModuleOption

func CircuitModule

func CircuitModule() ModuleOption

func ConsensusModule

func ConsensusModule() ModuleOption

func DistributionModule

func DistributionModule() ModuleOption

func EvidenceModule

func EvidenceModule() ModuleOption

func FeegrantModule

func FeegrantModule() ModuleOption

func GenutilModule

func GenutilModule() ModuleOption

func GovModule

func GovModule() ModuleOption

func GroupModule

func GroupModule() ModuleOption

func MintModule

func MintModule() ModuleOption

func NFTModule

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

func WithCustomBeginBlockersOrder(beginBlockOrder ...string) ModuleOption

func WithCustomEndBlockersOrder

func WithCustomEndBlockersOrder(endBlockersOrder ...string) ModuleOption

func WithCustomInitGenesisOrder

func WithCustomInitGenesisOrder(initGenesisOrder ...string) ModuleOption

func WithCustomPreBlockersOrder

func WithCustomPreBlockersOrder(preBlockOrder ...string) ModuleOption

Jump to

Keyboard shortcuts

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