-
Notifications
You must be signed in to change notification settings - Fork 1
StakingAppModule
ratranqu edited this page Jan 28, 2021
·
1 revision
public final class StakingAppModule: StakingAppModuleBasic, AppModuleStakingAppModuleBasic, AppModule
public init(keeper: StakingKeeper, accountKeeper: AccountKeeper, supplyKeeper: SupplyKeeper)var route: Stringvar querierRoute: Stringpublic func registerInvariants(in invariantRegistry: InvariantRegistry)public func makeHandler() -> Handler?public func makeQuerier() -> Querier?public func beginBlock(request: Request, beginBlockRequest: RequestBeginBlock)public func endBlock(request: Request, endBlockRequest: RequestEndBlock) -> [ValidatorUpdate]InitGenesis sets the pool and parameters for the provided keeper. For each validator in data, it sets that validator in the keeper along with manually setting the indexes. In addition, it also sets any delegations found in data. Finally, it updates the bonded validators. Returns final validator set after applying all declaration and delegations
public func initGenesis(request: Request, json: JSON) -> [ValidatorUpdate]public func exportGenesis(request: Request) -> JSONGenerated at 2021-04-21T13:08:01+0000 using swift-doc 1.0.0-beta.5.
Types
- BuyName
- BuyNameMessage
- DeleteName
- DeleteNameMessage
- GenesisState
- GetWhois
- KeysOptions
- ListWhois
- NameServiceApp
- NameServiceAppModule
- NameServiceAppModuleBasic
- NameServiceKeeper
- NameServiceKeys
- QueryCommand
- QueryNameserviceCommand
- ResolveName
- SetName
- SetNameMessage
- TransactionCommand
- TransactionNameserviceCommand
- Whois