Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllRollup(ctx context.Context, req *types.QueryAllRollupRequest) (*types.QueryAllRollupResponse, error)
- func (k Keeper) Deposit(ctx context.Context, req *types.QueryDepositRequest) (*types.QueryDepositResponse, error)
- func (k Keeper) GetDeposit(ctx sdk.Context, rollupName, sequencerAddress string) (val types.Deposit, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetRegisteredRollups(ctx sdk.Context) (list []string)
- func (k Keeper) GetRollup(ctx sdk.Context, rollupName string) (val types.Rollup, found bool)
- func (k Keeper) GetRollupAccount(ctx sdk.Context) authtypes.ModuleAccountI
- func (k Keeper) GetSequencer(ctx sdk.Context, sequencerAddress string) (val types.Sequencer, found bool)
- func (k Keeper) GetSequencersByRollupName(ctx sdk.Context, rollupName string) (val types.SequencersByRollup, found bool)
- func (k Keeper) Rollup(ctx context.Context, req *types.QueryRollupRequest) (*types.QueryRollupResponse, error)
- func (k Keeper) Sequencer(ctx context.Context, req *types.QuerySequencerRequest) (*types.QuerySequencerResponse, error)
- func (k Keeper) SequencersByRollup(ctx context.Context, req *types.QuerySequencersByRollupRequest) (*types.QuerySequencersByRollupResponse, error)
- func (k Keeper) SetDeposit(ctx sdk.Context, depoist types.Deposit)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetRollup(ctx sdk.Context, rollup types.Rollup)
- func (k Keeper) SetSequencer(ctx sdk.Context, sequencer types.Sequencer)
- func (k Keeper) SetSequencersByRollup(ctx sdk.Context, sequencersByRollup types.SequencersByRollup)
- func (k Keeper) Slash(ctx sdk.Context, rollupName string, sequencerAddress string, value sdk.Coin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
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) AllRollup ¶
func (k Keeper) AllRollup(ctx context.Context, req *types.QueryAllRollupRequest) (*types.QueryAllRollupResponse, error)
func (Keeper) Deposit ¶
func (k Keeper) Deposit(ctx context.Context, req *types.QueryDepositRequest) (*types.QueryDepositResponse, error)
func (Keeper) GetDeposit ¶
func (Keeper) GetRegisteredRollups ¶
func (Keeper) GetRollupAccount ¶
func (k Keeper) GetRollupAccount(ctx sdk.Context) authtypes.ModuleAccountI
func (Keeper) GetSequencer ¶
func (Keeper) GetSequencersByRollupName ¶
func (Keeper) Rollup ¶
func (k Keeper) Rollup(ctx context.Context, req *types.QueryRollupRequest) (*types.QueryRollupResponse, error)
func (Keeper) Sequencer ¶
func (k Keeper) Sequencer(ctx context.Context, req *types.QuerySequencerRequest) (*types.QuerySequencerResponse, error)
func (Keeper) SequencersByRollup ¶
func (k Keeper) SequencersByRollup(ctx context.Context, req *types.QuerySequencersByRollupRequest) (*types.QuerySequencersByRollupResponse, error)
func (Keeper) SetSequencer ¶
func (Keeper) SetSequencersByRollup ¶
func (k Keeper) SetSequencersByRollup(ctx sdk.Context, sequencersByRollup types.SequencersByRollup)
Click to show internal directories.
Click to hide internal directories.