keeper

package
v0.48.0-ramus1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 11 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, bankKeeper types.BankKeeper, accountKeeper types.AccountKeeper, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace) Keeper

func (Keeper) Deposit

func (Keeper) GetDeposit

func (k Keeper) GetDeposit(ctx sdk.Context, rollupName, sequencerAddress string) (val types.Deposit, found bool)

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetRegisteredRollups

func (k Keeper) GetRegisteredRollups(ctx sdk.Context) (list []string)

func (Keeper) GetRollup

func (k Keeper) GetRollup(ctx sdk.Context, rollupName string) (val types.Rollup, found bool)

func (Keeper) GetRollupAccount

func (k Keeper) GetRollupAccount(ctx sdk.Context) authtypes.ModuleAccountI

func (Keeper) GetSequencer

func (k Keeper) GetSequencer(ctx sdk.Context, sequencerAddress string) (val types.Sequencer, found bool)

func (Keeper) GetSequencersByRollupName

func (k Keeper) GetSequencersByRollupName(ctx sdk.Context, rollupName string) (val types.SequencersByRollup, found bool)

func (Keeper) Rollup

func (Keeper) SetDeposit

func (k Keeper) SetDeposit(ctx sdk.Context, depoist types.Deposit)

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetRollup

func (k Keeper) SetRollup(ctx sdk.Context, rollup types.Rollup)

func (Keeper) SetSequencer

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

func (Keeper) SetSequencersByRollup

func (k Keeper) SetSequencersByRollup(ctx sdk.Context, sequencersByRollup types.SequencersByRollup)

func (Keeper) Slash

func (k Keeper) Slash(ctx sdk.Context, rollupName string, sequencerAddress string, value sdk.Coin) error

Jump to

Keyboard shortcuts

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