Skip to content

BankAppModule

ratranqu edited this page Apr 26, 2021 · 2 revisions

BankAppModule

public final class BankAppModule: BankAppModuleBasic, AppModule 

Inheritance

BankAppModuleBasic, AppModule

Initializers

init(keeper:accountKeeper:)

public init(
        keeper: BankKeeper,
        accountKeeper: AccountKeeper
    ) 

Properties

route

public var route: String 

querierRoute

public var querierRoute: String 

Methods

registerInvariants(in:)

public func registerInvariants(in invariantRegistry: InvariantRegistry) 

makeHandler()

public func makeHandler() -> Handler? 

makeQuerier()

public func makeQuerier() -> Querier? 

beginBlock(request:beginBlockRequest:)

BeginBlock performs a no-op.

public func beginBlock(request: Request, beginBlockRequest: RequestBeginBlock) 

endBlock(request:endBlockRequest:)

EndBlock returns the end blocker for the bank module. It returns no validator updates.

public func endBlock(request: Request, endBlockRequest: RequestEndBlock) -> [ValidatorUpdate] 

initGenesis(request:json:)

InitGenesis performs genesis initialization for the bank module. It returns no validator updates.

public func initGenesis(request: Request, json: JSON) -> [ValidatorUpdate] 

exportGenesis(request:)

ExportGenesis returns the exported genesis state as raw bytes for the bank module.

public func exportGenesis(request: Request) -> JSON 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally