bank

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppModule

type AppModule struct {
	bankmodule.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

func (AppModule) RegisterStoreDecoder added in v0.4.0

func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)

RegisterStoreDecoder registers a decoder for supply module's types

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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