keeper

package
v1.0.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper *Keeper) types.MsgServer

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,

	bankKeeper types.BankKeeper,
	ibcKeeper types.IBCKeeper,
	rollappKeeper types.RollappKeeper,
) *Keeper

func (Keeper) Acknowledgement

Acknowledgement defines a rpc handler method for MsgAcknowledgement.

func (Keeper) ChannelCloseConfirm

ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm.

func (Keeper) ChannelCloseInit

ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.

func (Keeper) ChannelOpenAck

ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. ChannelOpenAck will perform 04-channel checks, route to the application callback, and write an OpenAck channel into state upon successful execution.

func (Keeper) ChannelOpenConfirm

ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. ChannelOpenConfirm will perform 04-channel checks, route to the application callback, and write an OpenConfirm channel into state upon successful execution.

func (Keeper) ChannelOpenInit

ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. ChannelOpenInit will perform 04-channel checks, route to the application callback, and write an OpenInit channel into state upon successful execution.

func (Keeper) ChannelOpenTry

ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. ChannelOpenTry will perform 04-channel checks, route to the application callback, and write an OpenTry channel into state upon successful execution.

func (Keeper) ConnectionOpenAck

ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.

func (Keeper) ConnectionOpenConfirm

ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.

func (Keeper) ConnectionOpenInit

ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.

func (Keeper) ConnectionOpenTry

ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.

func (Keeper) CreateClient

CreateClient defines a rpc handler method for MsgCreateClient.

func (Keeper) CreateClientValidate

func (k Keeper) CreateClientValidate(
	ctx sdk.Context,
	clientState exported.ClientState,
	consensusState exported.ConsensusState,
) error

func (Keeper) GetAllIRCRequest

func (k Keeper) GetAllIRCRequest(ctx sdk.Context) (list []types.IRCRequest)

GetAllIRCRequest returns all ircRequest

func (Keeper) GetIRCRequest

func (k Keeper) GetIRCRequest(
	ctx sdk.Context,
	reqId uint64,

) (val types.IRCRequest, found bool)

GetIRCRequest returns a ircRequest from its index

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) RecvPacket

RecvPacket defines a rpc handler method for MsgRecvPacket.

func (Keeper) RemoveIRCRequest

func (k Keeper) RemoveIRCRequest(
	ctx sdk.Context,
	reqId uint64,

)

RemoveIRCRequest removes a ircRequest from the store

func (Keeper) SetIRCRequest

func (k Keeper) SetIRCRequest(ctx sdk.Context, ircRequest types.IRCRequest)

SetIRCRequest set a specific ircRequest in the store from its index

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams set the params

func (Keeper) SubmitMisbehaviour

SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.

func (Keeper) SubmitMisbehaviourValidate

func (k Keeper) SubmitMisbehaviourValidate(
	ctx sdk.Context,
	misbehaviour exported.Misbehaviour,
) error

func (Keeper) Timeout

Timeout defines a rpc handler method for MsgTimeout.

func (Keeper) TimeoutOnClose

TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.

func (Keeper) UpdateClient

UpdateClient defines a rpc handler method for MsgUpdateClient.

func (Keeper) UpdateClientValidate

func (k Keeper) UpdateClientValidate(
	ctx sdk.Context,
	clientID string,
	header exported.Header,
) error

func (Keeper) UpgradeClient

UpgradeClient defines a rpc handler method for MsgUpgradeClient.

func (Keeper) UpgradeClientValidate

func (k Keeper) UpgradeClientValidate(
	ctx sdk.Context,
	clientID string,
	upgradedClient exported.ClientState,
	upgradedConsState exported.ConsensusState,
	proofUpgradeClient,
	proofUpgradeConsState []byte,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL