Skip to content
ratranqu edited this page Apr 26, 2021 · 2 revisions

App

public protocol App 

Requirements

name

The assigned name of the app.

var name: String 

codec

var codec: Codec 

beginBlocker(request:​beginBlockRequest:​)

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

endBlocker(request:​endBlockRequest:​)

func endBlocker(request: Request, endBlockRequest: RequestEndBlock) -> ResponseEndBlock

initChainer(request:​initChainRequest:​)

func initChainer(request: Request, initChainRequest: RequestInitChain) -> ResponseInitChain

load(height:​)

func load(height: Int64) throws

exportAppStateAndValidators(forZeroHeight:​jailWhiteList:​)

func exportAppStateAndValidators(
        forZeroHeight: Bool,
        jailWhiteList: [String]
    ) throws -> (JSON, [GenesisValidator])

moduleAccountAddresses

static var moduleAccountAddresses: [String: Bool] 

simulationManager

var simulationManager: SimulationManager? 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally