setup

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 65 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthModule

func AuthModule() configurator.ModuleOption

func BridgeModule

func BridgeModule() configurator.ModuleOption

func DefaultStartUpConfig

func DefaultStartUpConfig() simtestutil.StartupConfig

func DisputeModule

func DisputeModule() configurator.ModuleOption

func GlobalFeeModule

func GlobalFeeModule() configurator.ModuleOption

func MintModule

func MintModule() configurator.ModuleOption

func OracleModule

func OracleModule() configurator.ModuleOption

func RegistryModule

func RegistryModule() configurator.ModuleOption

func ReporterModule

func ReporterModule() configurator.ModuleOption

Types

type GlobalfeeInputs

type GlobalfeeInputs struct {
	depinject.In

	StoreService *storetypes.KVStoreKey
	Cdc          codec.Codec
	Config       *globalfeemodulev1.Module
}

type GlobalfeeOutputs

type GlobalfeeOutputs struct {
	depinject.Out

	GlobalFeekeeper globalfeekeeper.Keeper
	Module          appmodule.AppModule
}

func FeeProvideModule

func FeeProvideModule(in GlobalfeeInputs) GlobalfeeOutputs

type SharedSetup

type SharedSetup struct {
	Oraclekeeper    oraclekeeper.Keeper
	Disputekeeper   disputekeeper.Keeper
	Registrykeeper  registrykeeper.Keeper
	Mintkeeper      mintkeeper.Keeper
	Reporterkeeper  reporterkeeper.Keeper
	Bridgekeeper    bridgekeeper.Keeper
	GlobalFeekeeper globalfeekeeper.Keeper

	Accountkeeper authkeeper.AccountKeeper
	Bankkeeper    bankkeeper.BaseKeeper

	Stakingkeeper *stakingkeeper.Keeper
	Govkeeper     *govkeeper.Keeper
	Ctx           sdk.Context

	Denom string
	App   *runtime.App
	// contains filtered or unexported fields
}

func (*SharedSetup) ConvertToAccAddress

func (s *SharedSetup) ConvertToAccAddress(priv []ed25519.PrivKey) []sdk.AccAddress

func (*SharedSetup) CreateValidators

func (s *SharedSetup) CreateValidators(numValidators int) ([]sdk.AccAddress, []sdk.ValAddress, []stakingtypes.Validator)

func (*SharedSetup) MintTokens

func (s *SharedSetup) MintTokens(addr sdk.AccAddress, amount math.Int)

func (*SharedSetup) SetupTest

func (s *SharedSetup) SetupTest(t *testing.T)

Jump to

Keyboard shortcuts

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