Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) DeployerWhitelist(ctx sdk.Context) (res []types.DeployerParams)
- func (k Keeper) DisputePeriodInBlocks(ctx sdk.Context) (res uint64)
- func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, height uint64) (*types.StateInfo, error)
- func (k Keeper) GetAllBlockHeightToFinalizationQueue(ctx sdk.Context) (list []types.BlockHeightToFinalizationQueue)
- func (k Keeper) GetAllLatestFinalizedStateIndex(ctx sdk.Context) (list []types.StateInfoIndex)
- func (k Keeper) GetAllLatestStateInfoIndex(ctx sdk.Context) (list []types.StateInfoIndex)
- func (k Keeper) GetAllRollapp(ctx sdk.Context) (list []types.Rollapp)
- func (k Keeper) GetAllStateInfo(ctx sdk.Context) (list []types.StateInfo)
- func (k Keeper) GetBlockHeightToFinalizationQueue(ctx sdk.Context, finalizationHeight uint64) (val types.BlockHeightToFinalizationQueue, found bool)
- func (k *Keeper) GetHooks() types.RollappHooks
- func (k Keeper) GetLatestFinalizedStateIndex(ctx sdk.Context, rollappId string) (val types.StateInfoIndex, found bool)
- func (k Keeper) GetLatestStateInfoIndex(ctx sdk.Context, rollappId string) (val types.StateInfoIndex, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetRollapp(ctx sdk.Context, rollappId string) (val types.Rollapp, found bool)
- func (k Keeper) GetStateInfo(ctx sdk.Context, rollappId string, index uint64) (val types.StateInfo, found bool)
- func (k Keeper) LatestStateIndex(c context.Context, req *types.QueryGetLatestStateIndexRequest) (*types.QueryGetLatestStateIndexResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveBlockHeightToFinalizationQueue(ctx sdk.Context, finalizationHeight uint64)
- func (k Keeper) RemoveLatestFinalizedStateIndex(ctx sdk.Context, rollappId string)
- func (k Keeper) RemoveLatestStateInfoIndex(ctx sdk.Context, rollappId string)
- func (k Keeper) RemoveRollapp(ctx sdk.Context, rollappId string)
- func (k Keeper) RemoveStateInfo(ctx sdk.Context, rollappId string, index uint64)
- func (k Keeper) Rollapp(c context.Context, req *types.QueryGetRollappRequest) (*types.QueryGetRollappResponse, error)
- func (k Keeper) RollappAll(c context.Context, req *types.QueryAllRollappRequest) (*types.QueryAllRollappResponse, error)
- func (k Keeper) SetBlockHeightToFinalizationQueue(ctx sdk.Context, ...)
- func (k *Keeper) SetHooks(sh types.RollappHooks) *Keeper
- func (k Keeper) SetLatestFinalizedStateIndex(ctx sdk.Context, latestFinalizedStateIndex types.StateInfoIndex)
- func (k Keeper) SetLatestStateInfoIndex(ctx sdk.Context, latestStateInfoIndex types.StateInfoIndex)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetRollapp(ctx sdk.Context, rollapp types.Rollapp)
- func (k Keeper) SetStateInfo(ctx sdk.Context, stateInfo types.StateInfo)
- func (k Keeper) StateInfo(c context.Context, req *types.QueryGetStateInfoRequest) (*types.QueryGetStateInfoResponse, error)
- func (k Keeper) StateInfoAll(c context.Context, req *types.QueryAllStateInfoRequest) (*types.QueryAllStateInfoResponse, 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, memKey storetypes.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) DeployerWhitelist ¶
func (k Keeper) DeployerWhitelist(ctx sdk.Context) (res []types.DeployerParams)
DeployerWhitelist returns the DeployerWhitelist param
func (Keeper) DisputePeriodInBlocks ¶
DisputePeriodInBlocks returns the DisputePeriodInBlocks param
func (Keeper) FindStateInfoByHeight ¶
func (Keeper) GetAllBlockHeightToFinalizationQueue ¶
func (k Keeper) GetAllBlockHeightToFinalizationQueue(ctx sdk.Context) (list []types.BlockHeightToFinalizationQueue)
GetAllBlockHeightToFinalizationQueue returns all blockHeightToFinalizationQueue
func (Keeper) GetAllLatestFinalizedStateIndex ¶
func (k Keeper) GetAllLatestFinalizedStateIndex(ctx sdk.Context) (list []types.StateInfoIndex)
GetAllLatestFinalizedStateIndex returns all latestFinalizedStateIndex
func (Keeper) GetAllLatestStateInfoIndex ¶
func (k Keeper) GetAllLatestStateInfoIndex(ctx sdk.Context) (list []types.StateInfoIndex)
GetAllLatestStateInfoIndex returns all latestStateInfoIndex
func (Keeper) GetAllRollapp ¶
GetAllRollapp returns all rollapp
func (Keeper) GetAllStateInfo ¶
GetAllStateInfo returns all stateInfo
func (Keeper) GetBlockHeightToFinalizationQueue ¶
func (k Keeper) GetBlockHeightToFinalizationQueue( ctx sdk.Context, finalizationHeight uint64, ) (val types.BlockHeightToFinalizationQueue, found bool)
GetBlockHeightToFinalizationQueue returns a blockHeightToFinalizationQueue from its index
func (*Keeper) GetHooks ¶
func (k *Keeper) GetHooks() types.RollappHooks
func (Keeper) GetLatestFinalizedStateIndex ¶
func (k Keeper) GetLatestFinalizedStateIndex( ctx sdk.Context, rollappId string, ) (val types.StateInfoIndex, found bool)
GetLatestFinalizedStateIndex returns a latestFinalizedStateIndex from its index
func (Keeper) GetLatestStateInfoIndex ¶
func (k Keeper) GetLatestStateInfoIndex( ctx sdk.Context, rollappId string, ) (val types.StateInfoIndex, found bool)
GetLatestStateInfoIndex returns a latestStateInfoIndex from its index
func (Keeper) GetRollapp ¶
GetRollapp returns a rollapp from its index
func (Keeper) GetStateInfo ¶
func (k Keeper) GetStateInfo( ctx sdk.Context, rollappId string, index uint64, ) (val types.StateInfo, found bool)
GetStateInfo returns a stateInfo from its index
func (Keeper) LatestStateIndex ¶
func (k Keeper) LatestStateIndex(c context.Context, req *types.QueryGetLatestStateIndexRequest) (*types.QueryGetLatestStateIndexResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveBlockHeightToFinalizationQueue ¶
RemoveBlockHeightToFinalizationQueue removes a blockHeightToFinalizationQueue from the store
func (Keeper) RemoveLatestFinalizedStateIndex ¶
RemoveLatestFinalizedStateIndex removes a latestFinalizedStateIndex from the store
func (Keeper) RemoveLatestStateInfoIndex ¶
RemoveLatestStateInfoIndex removes a latestStateInfoIndex from the store
func (Keeper) RemoveRollapp ¶
RemoveRollapp removes a rollapp from the store
func (Keeper) RemoveStateInfo ¶
RemoveStateInfo removes a stateInfo from the store
func (Keeper) Rollapp ¶
func (k Keeper) Rollapp(c context.Context, req *types.QueryGetRollappRequest) (*types.QueryGetRollappResponse, error)
func (Keeper) RollappAll ¶
func (k Keeper) RollappAll(c context.Context, req *types.QueryAllRollappRequest) (*types.QueryAllRollappResponse, error)
func (Keeper) SetBlockHeightToFinalizationQueue ¶
func (k Keeper) SetBlockHeightToFinalizationQueue(ctx sdk.Context, blockHeightToFinalizationQueue types.BlockHeightToFinalizationQueue)
SetBlockHeightToFinalizationQueue set a specific blockHeightToFinalizationQueue in the store from its index
func (*Keeper) SetHooks ¶
func (k *Keeper) SetHooks(sh types.RollappHooks) *Keeper
Set the rollapp hooks
func (Keeper) SetLatestFinalizedStateIndex ¶
func (k Keeper) SetLatestFinalizedStateIndex(ctx sdk.Context, latestFinalizedStateIndex types.StateInfoIndex)
SetLatestFinalizedStateIndex set a specific latestFinalizedStateIndex in the store from its index
func (Keeper) SetLatestStateInfoIndex ¶
func (k Keeper) SetLatestStateInfoIndex(ctx sdk.Context, latestStateInfoIndex types.StateInfoIndex)
SetLatestStateInfoIndex set a specific latestStateInfoIndex in the store from its index
func (Keeper) SetRollapp ¶
SetRollapp set a specific rollapp in the store from its index
func (Keeper) SetStateInfo ¶
SetStateInfo set a specific stateInfo in the store from its index
func (Keeper) StateInfo ¶
func (k Keeper) StateInfo(c context.Context, req *types.QueryGetStateInfoRequest) (*types.QueryGetStateInfoResponse, error)
func (Keeper) StateInfoAll ¶
func (k Keeper) StateInfoAll(c context.Context, req *types.QueryAllStateInfoRequest) (*types.QueryAllStateInfoResponse, error)
Source Files ¶
- block_height_to_finalization_queue.go
- grpc_query.go
- grpc_query_latest_state_index.go
- grpc_query_params.go
- grpc_query_rollapp.go
- grpc_query_state_info.go
- keeper.go
- latest_finalized_state_index.go
- latest_state_info_index.go
- msg_server.go
- msg_server_create_rollapp.go
- msg_server_update_state.go
- params.go
- rollapp.go
- state_info.go