Skip to content

ModuleManager

ratranqu edited this page Apr 26, 2021 · 2 revisions

ModuleManager

public class ModuleManager 

Initializers

init(_:)

public init(_ modules: AppModule...) 

Methods

setOrderInitGenesis(_:)

public func setOrderInitGenesis(_ moduleNames: String...) 

setOrderEndBlockers(_:)

public func setOrderEndBlockers(_ moduleNames: String...) 

registerRoutes(router:queryRouter:)

public func registerRoutes(router: Router, queryRouter: QueryRouter) 

initGenesis(request:genesisState:)

public func initGenesis(request: Request, genesisState: [String: JSON]) -> ResponseInitChain 

beginBlock(request:beginBlockRequest:)

public func beginBlock(request: Request, beginBlockRequest: RequestBeginBlock) -> ResponseBeginBlock 

endBlock(request:endBlockRequest:)

public func endBlock(request: Request, endBlockRequest: RequestEndBlock) -> ResponseEndBlock 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally