Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of sequencer MsgServer interface.
func NewQueryServer ¶
func NewQueryServer(keeper Keeper) types.QueryServer
NewQueryServer creates a new instance of the sequencer query server.
Types ¶
type Keeper ¶
type Keeper struct {
Schema collections.Schema
Sequencer collections.Item[types.Sequencer]
Migration collections.Item[types.EvolveMigration]
MigrationStep collections.Item[uint64]
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService corestore.KVStoreService, addressCodec address.Codec, stakingKeeper types.StakingKeeper, authority string, ) Keeper
NewKeeper creates a new sequencer Keeper instance.
func (Keeper) EndBlock ¶
EndBlock is called at the end of every block and returns sequencer updates.
func (Keeper) IsMigrating ¶
IsMigrating checks if the migration to Evolve is in progress. It checks if the EvolveMigration item exists in the store. And if it does, it verifies we are past the block height that started the migration.
Click to show internal directories.
Click to hide internal directories.