Skip to content

BankAppModule

ratranqu edited this page Jan 28, 2021 · 1 revision

BankAppModule

public final class BankAppModule: BankAppModuleBasic, AppModule

Inheritance

BankAppModuleBasic, AppModule

Initializers

init(keeper:accountKeeper:)

public init(keeper: BankKeeper, accountKeeper: AccountKeeper)

Properties

route

var route: String

querierRoute

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

Clone this wiki locally