bank

package
v2.0.0-...-6aeee29 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppModule

type AppModule struct {
	customalliancemod.AppModule
	// contains filtered or unexported fields
}

AppModule wraps around the bank module and the bank keeper to return the right total supply ignoring bonded tokens that the alliance module minted to rebalance the voting power It modifies the TotalSupply and SupplyOf GRPC queries

func NewAppModule

func NewAppModule(cdc codec.Codec, keeper custombankkeeper.Keeper, accountKeeper types.AccountKeeper, ss exported.Subspace) AppModule

NewAppModule creates a new AppModule object

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

RegisterServices registers module services. NOTE: Overriding this method as not doing so will cause a panic when trying to force this custom keeper into a bankkeeper.BaseKeeper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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