Documentation ¶
Index ¶
- Constants
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddSmartContractExecutionToConsensus(ctx sdk.Context, msg *types.Message) error
- func (k Keeper) GetEVMChains(ctx sdk.Context) []*types.Chain
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetValsetByID(goCtx context.Context, req *types.QueryGetValsetByIDRequest) (*types.QueryGetValsetByIDResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) OnSnapshotBuilt(ctx sdk.Context, snapshot *valsettypes.Snapshot)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RegisterConsensusQueues(adder consensus.RegistryAdder)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
View Source
const ( ConsensusArbitraryContractCall = consensustypes.ConsensusQueueType("evm-arbitrary-smart-contract-call") ConsensusTurnstoneMessage = consensustypes.ConsensusQueueType("evm-turnstone-message") )
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 { ConsensusKeeper types.ConsensusKeeper Valset types.ValsetKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) AddSmartContractExecutionToConsensus ¶
func (Keeper) GetValsetByID ¶
func (k Keeper) GetValsetByID(goCtx context.Context, req *types.QueryGetValsetByIDRequest) (*types.QueryGetValsetByIDResponse, error)
func (Keeper) OnSnapshotBuilt ¶
func (k Keeper) OnSnapshotBuilt(ctx sdk.Context, snapshot *valsettypes.Snapshot)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RegisterConsensusQueues ¶
func (k Keeper) RegisterConsensusQueues(adder consensus.RegistryAdder)
Click to show internal directories.
Click to hide internal directories.