keeper

package
v0.2.0-gridiron Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey sdk.StoreKey,
	ps paramtypes.Subspace,

	bankKeeper types.BankKeeper, rollappKeeper types.RollappKeeper,

	isSimulation bool,
) *Keeper

func (Keeper) GetAllScheduler

func (k Keeper) GetAllScheduler(ctx sdk.Context) (list []types.Scheduler)

GetAllScheduler returns all scheduler

func (Keeper) GetAllSequencer

func (k Keeper) GetAllSequencer(ctx sdk.Context) (list []types.Sequencer)

GetAllSequencer returns all sequencer

func (Keeper) GetAllSequencersByRollapp

func (k Keeper) GetAllSequencersByRollapp(ctx sdk.Context) (list []types.SequencersByRollapp)

GetAllSequencersByRollapp returns all sequencersByRollapp

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) GetScheduler

func (k Keeper) GetScheduler(
	ctx sdk.Context,
	sequencerAddress string,

) (val types.Scheduler, found bool)

GetScheduler returns a scheduler from its index

func (Keeper) GetSequencer

func (k Keeper) GetSequencer(
	ctx sdk.Context,
	sequencerAddress string,

) (val types.Sequencer, found bool)

GetSequencer returns a sequencer from its index

func (Keeper) GetSequencersByRollapp

func (k Keeper) GetSequencersByRollapp(
	ctx sdk.Context,
	rollappId string,

) (val types.SequencersByRollapp, found bool)

GetSequencersByRollapp returns a sequencersByRollapp from its index

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) RemoveScheduler

func (k Keeper) RemoveScheduler(
	ctx sdk.Context,
	sequencerAddress string,

)

RemoveScheduler removes a scheduler from the store

func (Keeper) RemoveSequencer

func (k Keeper) RemoveSequencer(
	ctx sdk.Context,
	sequencerAddress string,

)

RemoveSequencer removes a sequencer from the store

func (Keeper) RemoveSequencersByRollapp

func (k Keeper) RemoveSequencersByRollapp(
	ctx sdk.Context,
	rollappId string,

)

RemoveSequencersByRollapp removes a sequencersByRollapp from the store

func (Keeper) RollappHooks

func (k Keeper) RollappHooks() rollapptypes.RollappHooks

Return the wrapper struct.

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams set the params

func (Keeper) SetScheduler

func (k Keeper) SetScheduler(ctx sdk.Context, scheduler types.Scheduler)

SetScheduler set a specific scheduler in the store from its index

func (Keeper) SetSequencer

func (k Keeper) SetSequencer(ctx sdk.Context, sequencer types.Sequencer)

SetSequencer set a specific sequencer in the store from its index

func (Keeper) SetSequencersByRollapp

func (k Keeper) SetSequencersByRollapp(ctx sdk.Context, sequencersByRollapp types.SequencersByRollapp)

SetSequencersByRollapp set a specific sequencersByRollapp in the store from its index

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL