Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper *Keeper) tiablob.MsgServer
- func NewQueryServerImpl(k *Keeper) tiablob.QueryServer
- type Keeper
- func (k *Keeper) ExportGenesis(ctx context.Context) *tiablob.GenesisState
- func (k *Keeper) GetAllValidators(ctx context.Context) (tiablob.Validators, error)
- func (k *Keeper) GetClientID(ctx context.Context) (string, error)
- func (k *Keeper) GetProvenHeight(ctx context.Context) (uint64, error)
- func (k *Keeper) GetValidatorCelestiaAddress(ctx context.Context, validatorAddress string) (string, error)
- func (k *Keeper) InitGenesis(ctx context.Context, data *tiablob.GenesisState) error
- func (k *Keeper) SetClientID(ctx context.Context, clientID string) error
- func (k *Keeper) SetProvenHeight(ctx context.Context, height uint64) error
- func (k *Keeper) SetRelayer(r *tiablobrelayer.Relayer)
- func (k *Keeper) SetValidatorCelestiaAddress(ctx context.Context, validator tiablob.Validator) error
- type ProofOfBlobProposalHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the module MsgServer interface.
func NewQueryServerImpl ¶
func NewQueryServerImpl(k *Keeper) tiablob.QueryServer
NewQueryServerImpl returns an implementation of the module QueryServer.
Types ¶
type Keeper ¶
type Keeper struct { Validators collections.Map[string, string] ClientID collections.Item[string] ProvenHeight collections.Item[uint64] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, sk *stakingkeeper.Keeper, ) *Keeper
func (*Keeper) ExportGenesis ¶
func (k *Keeper) ExportGenesis(ctx context.Context) *tiablob.GenesisState
ExportGenesis exports the module's state to a genesis state.
func (*Keeper) GetAllValidators ¶
func (*Keeper) GetProvenHeight ¶
func (*Keeper) GetValidatorCelestiaAddress ¶
func (*Keeper) InitGenesis ¶
InitGenesis initializes the module's state from a genesis state.
func (*Keeper) SetClientID ¶
func (*Keeper) SetProvenHeight ¶
func (*Keeper) SetRelayer ¶
func (k *Keeper) SetRelayer(r *tiablobrelayer.Relayer)
type ProofOfBlobProposalHandler ¶
type ProofOfBlobProposalHandler struct {
// contains filtered or unexported fields
}
func NewProofOfBlobProposalHandler ¶
func NewProofOfBlobProposalHandler(k *Keeper, r *tiablobrelayer.Relayer, mp mempool.Mempool, txVerifier baseapp.ProposalTxVerifier) *ProofOfBlobProposalHandler
func (*ProofOfBlobProposalHandler) PrepareProposal ¶
func (h *ProofOfBlobProposalHandler) PrepareProposal(ctx sdk.Context, req *abci.RequestPrepareProposal) (*abci.ResponsePrepareProposal, error)
func (*ProofOfBlobProposalHandler) ProcessProposal ¶
func (h *ProofOfBlobProposalHandler) ProcessProposal(ctx sdk.Context, req *abci.RequestProcessProposal) (*abci.ResponseProcessProposal, error)
Click to show internal directories.
Click to hide internal directories.