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 ¶
func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for supply module's types
Click to show internal directories.
Click to hide internal directories.