Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CCBatchMaxBytes(ctx sdk.Context) uint64
- func (k Keeper) CCRef(goCtx context.Context, req *types.QueryCCRefRequest) (*types.QueryCCRefResponse, error)
- func (k Keeper) CCRefs(goCtx context.Context, req *types.QueryCCRefsRequest) (*types.QueryCCRefsResponse, error)
- func (k Keeper) CCState(goCtx context.Context, req *types.QueryCCStateRequest) (*types.QueryCCStateResponse, error)
- func (k Keeper) DecompressCCBatch(ctx sdktypes.Context, origin types.CompressedCCBatch) (*types.CCBatch, error)
- func (k Keeper) EnqueueL2GasPrepaid(ctx sdktypes.Context, tx []byte) uint64
- func (k Keeper) ExportGenesis(ctx sdktypes.Context) *types.GenesisState
- func (k Keeper) FraudProofWindow(ctx sdk.Context) uint64
- func (k Keeper) GetAllCCRefs(ctx sdktypes.Context) map[string][]types.CCRef
- func (k Keeper) GetAllCCStates(ctx sdktypes.Context) map[string]types.CCState
- func (k Keeper) GetAllCCs(ctx sdktypes.Context) []types.CC
- func (k Keeper) GetAllL2BatchMaps(ctx sdktypes.Context) map[string][]types.L2BatchMap
- func (k Keeper) GetAllQueueTxStates(ctx sdktypes.Context) map[string]types.QueueTxState
- func (k Keeper) GetAllQueueTxs(ctx sdktypes.Context) map[string][]types.L1ToL2Queue
- func (k Keeper) GetCCRef(ctx sdktypes.Context, rollupName string, idx uint64) (*types.CCRef, error)
- func (k Keeper) GetCCState(ctx sdktypes.Context, rollupName string) (*types.CCState, error)
- func (k Keeper) GetL2HeightBatchMap(ctx sdktypes.Context, rollupName string, l2height uint64) (uint64, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetQueueTx(ctx sdktypes.Context, rollupName string, idx uint64) (*types.L1ToL2Queue, error)
- func (k Keeper) GetQueueTxState(ctx sdktypes.Context, rollupName string) (*types.QueueTxState, error)
- func (k Keeper) InitGenesis(ctx sdktypes.Context, genState types.GenesisState)
- func (k Keeper) Logger(ctx sdktypes.Context) log.Logger
- func (k Keeper) MappedBatch(goCtx context.Context, req *types.QueryMappedBatchRequest) (*types.QueryMappedBatchResponse, error)
- func (k Keeper) MaxQueueTxSize(ctx sdk.Context) uint64
- func (k Keeper) MinQueueTxGas(ctx sdk.Context) uint64
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) QueueTx(goCtx context.Context, req *types.QueryQueueTxRequest) (*types.QueryQueueTxResponse, error)
- func (k Keeper) QueueTxExpirationWindow(ctx sdk.Context) uint64
- func (k Keeper) QueueTxState(goCtx context.Context, req *types.QueryQueueTxStateRequest) (*types.QueryQueueTxStateResponse, error)
- func (k Keeper) QueueTxs(goCtx context.Context, req *types.QueryQueueTxsRequest) (*types.QueryQueueTxsResponse, error)
- func (k Keeper) SCCBatchMaxBytes(ctx sdk.Context) uint64
- func (k Keeper) SaveCCBatch(ctx sdktypes.Context, rollupName string, batch *types.CCBatch) error
- func (k Keeper) SaveQueueTx(ctx sdktypes.Context, rollupName string, tx []byte, ...) error
- func (k Keeper) SequencerPublishWindow(ctx sdk.Context) uint64
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error
- func (k Keeper) UpdateQueueTxsStatus(ctx sdktypes.Context) 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, storeKey storetypes.StoreKey, authority string, ak types.AccountKeeper, rk types.RollupKeeper, ) Keeper
func (Keeper) CCRef ¶
func (k Keeper) CCRef(goCtx context.Context, req *types.QueryCCRefRequest) (*types.QueryCCRefResponse, error)
func (Keeper) CCRefs ¶
func (k Keeper) CCRefs(goCtx context.Context, req *types.QueryCCRefsRequest) (*types.QueryCCRefsResponse, error)
func (Keeper) CCState ¶
func (k Keeper) CCState(goCtx context.Context, req *types.QueryCCStateRequest) (*types.QueryCCStateResponse, error)
func (Keeper) DecompressCCBatch ¶
func (Keeper) EnqueueL2GasPrepaid ¶
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdktypes.Context) *types.GenesisState
ExportGenesis returns the module's exported genesis
func (Keeper) GetAllCCRefs ¶
func (Keeper) GetAllCCStates ¶
func (Keeper) GetAllL2BatchMaps ¶
func (Keeper) GetAllQueueTxStates ¶
func (Keeper) GetAllQueueTxs ¶
func (Keeper) GetCCState ¶
func (Keeper) GetL2HeightBatchMap ¶
func (Keeper) GetQueueTx ¶
func (Keeper) GetQueueTxState ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdktypes.Context, genState types.GenesisState)
InitGenesis initializes the module's state from a provided genesis state.
func (Keeper) MappedBatch ¶
func (k Keeper) MappedBatch(goCtx context.Context, req *types.QueryMappedBatchRequest) (*types.QueryMappedBatchResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params queries params of da module
func (Keeper) QueueTx ¶
func (k Keeper) QueueTx(goCtx context.Context, req *types.QueryQueueTxRequest) (*types.QueryQueueTxResponse, error)
func (Keeper) QueueTxExpirationWindow ¶
func (Keeper) QueueTxState ¶
func (k Keeper) QueueTxState(goCtx context.Context, req *types.QueryQueueTxStateRequest) (*types.QueryQueueTxStateResponse, error)
func (Keeper) QueueTxs ¶
func (k Keeper) QueueTxs(goCtx context.Context, req *types.QueryQueueTxsRequest) (*types.QueryQueueTxsResponse, error)
func (Keeper) SaveCCBatch ¶
func (Keeper) SaveQueueTx ¶
func (Keeper) SequencerPublishWindow ¶
Click to show internal directories.
Click to hide internal directories.