-
Notifications
You must be signed in to change notification settings - Fork 1
StakingAppModule
ratranqu edited this page Apr 26, 2021
·
2 revisions
public final class StakingAppModule: StakingAppModuleBasic, AppModule
StakingAppModuleBasic
, AppModule
public init(
keeper: StakingKeeper,
accountKeeper: AccountKeeper,
supplyKeeper: SupplyKeeper
)
public var route: String
public var querierRoute: String
public 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) -> JSON
Generated at 2021-05-19T17:16:25+0000 using swift-doc 1.0.0-beta.6.
Types
- Account
- AccountAddress
- AccountKeeper
- AddKeyCommand
- AnyEncodable
- Attribute
- AttributeKey
- AttributeValue
- Auth
- AuthAppModule
- AuthAppModuleBasic
- AuthGenesisState
- AuthKeys
- AuthParameters
- BIP39
- BIP44Params
- BankAppModule
- BankAppModuleBasic
- BankGenesisState
- BankKeys
- BaseAccount
- BaseApp
- BaseApp.QueryRouter
- BaseApp.Router
- BaseAppKeys
- BaseKeeper
- BaseSendKeeper
- BaseViewKeeper
- BasicGasMeter
- Bcrypt
- Bcrypt.Algorithm
- BcryptError
- Bech32Prefix
- BlockCommand
- BondStatus
- Capability
- CapabilityError
- CapabilityKeeper
- ClientOptions
- ClientOptions.OutputFormat
- Codec
- Coin
- CollectGenesisTransactionsCommand
- CommitID
- Configuration
- Configuration.Bech32AddressPrefixKeys
- ConsensusAddress
- CosmosClient
- CosmosError
- DebugCommand
- DecimalCoin
- Error
- EventManager
- EventType
- FeeStructure
- FileWriter
- Flags
- Flags.NodeURL
- Flags.NodeURL.URLScheme
- Flags.QueryFlags
- Flags.QueryFlags.OutputFormat
- Flags.TransactionFlags
- Flags.TransactionFlags.AddressOrName
- Flags.TransactionFlags.BroadcastMode
- Flags.TransactionFlags.GasLimitPerTransaction
- Flags.TransactionFlags.SignMode
- FutureOperation
- GenUtilAppModule
- GenUtilAppModuleBasic
- GenUtilGenesisState
- GenUtilKeys
- GenerateGenesisTransactionCommand
- GenesisDocument
- GenesisValidator
- GetAccount
- GetBroadcast
- GetDecode
- GetEncode
- GetMultiSign
- GetQueryParameters
- GetSign
- GetValidateSignatures
- IAVLIterator
- IAVLIteratorError
- InMemoryDatabase
- InMemoryStoreKey
- InfiniteGasMeter
- InitCommand
- Input
- JSON
- KeyTable
- KeyType
- KeyValueStoreKey
- KeybaseOptions
- KeyringBackend
- KeysCommand
- KeysOptions
- Language
- LastValidatorPower
- MigrateGenesisCommand
- ModuleAccount
- ModuleManager
- NodeStorageDBWrapper
- OperationMessage
- Output
- OutputStream
- ParameterChange
- ParameterSetPair
- ParamsAppModuleBasic
- ParamsKeeper
- ParamsKeys
- Prefix
- PrefixDatabase
- PrefixStore
- QueryTransaction
- QueryTransactionsByEvents
- RandomNumber
- Request
- Rest
- Result
- ScopedCapabilityKeeper
- SendTransaction
- ServerContext
- ServerOptions
- SigningAlgorithm
- SimulationManager
- StakingAppModule
- StakingAppModuleBasic
- StakingGenesisState
- StakingKeeper
- StakingKeys
- StandardErrorOutputStream
- StandardFee
- StandardSignature
- StandardSignatureDoc
- StandardTransaction
- StartCommand
- StoreKey
- StoreType
- StoreUpgrades
- Subspace
- SupplyAppModule
- SupplyAppModuleBasic
- SupplyGenesisState
- SupplyKeeper
- SupplyKeys
- SupplyPermissions
- TestHasher
- TestWire
- TransactionBuilder
- TransactionResponse
- TransientStoreKey
- ValidateGenesisCommand
- ValidatorAddress
- Version
- WeightedProposalContent
Protocols
- AccountProtocol
- Address
- AnteDecorator
- App
- AppModule
- AppModuleBasic
- AppModuleGenesis
- BankKeeper
- Batch
- CacheMultiStore
- CacheWrap
- CacheWrapper
- CommitKeyValueStore
- CommitMultiStore
- CommitStore
- Commiter
- Content
- Database
- GasMeter
- GenesisAccount
- InvariantRegistry
- Iterator
- KeyInfo
- KeyValueStore
- Keybase
- MTree
- Message
- ModuleAccount
- MultiStore
- MultiStorePersistentCache
- ParameterSet
- QueryRouter
- Router
- SendKeeper
- SetDeleter
- StakingHooks
- Store
- Transaction
- Tree
- ViewKeeper
- Writer
Global Typealiases
- AnteHandler
- AppParameters
- BasicManager
- BeginBlocker
- Coins
- ContentSimulatorFunction
- DeliverTxFunction
- EndBlocker
- Event
- Events
- ExportApp
- Gas
- GenesisAccounts
- Handler
- ImmutableTree
- InitChainer
- Invariant
- KeyValueStoreKeys
- KeybaseOption
- MakeApp
- MultiStakingHooks
- MutableTree
- Node
- Operation
- ParameterSetPairs
- PeerFilter
- Querier
- SignatureVerificationGasConsumer
- SimulatorValueFunction
- StoreDecoderRegistry
- StoreLoader
- TraceContext
- TransactionDecoder
- TransactionEncoder
- TransientStoreKeys
- ValueValidatorFunction