keeper

package
v2.0.0-...-b0ece9e Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 18 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.Codec,
	storeKey,
	memKey storetypes.StoreKey,
	icaControllerKeeper icacontrollerkeeper.Keeper,
	scopedKeeper capabilitykeeper.ScopedKeeper,
	controllerScopedKeeper capabilitykeeper.ScopedKeeper,
) *Keeper

func (*Keeper) ClaimCapability

func (k *Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error

ClaimCapability claims the channel capability passed via the OnOpenChanInit callback

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) InterchainAccountAddress

InterchainAccountAddress fetches the interchain account address for given `connectionId` and `owner`

func (Keeper) Logger

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

func (Keeper) MinTimeoutDuration

func (k Keeper) MinTimeoutDuration(ctx sdk.Context) (res time.Duration)

MinTimeoutDuration returns the MinTimeoutDuration param

func (Keeper) Params

func (*Keeper) RegisterAccount

RegisterAccount registers an interchain account with the given `connectionId` and `owner` on the host chain

func (Keeper) SetParams

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

SetParams set the params

func (*Keeper) SubmitTx

func (k *Keeper) SubmitTx(goCtx context.Context, msg *types.MsgSubmitTx) (*types.MsgSubmitTxResponse, error)

SubmitTx submits a transaction to the host chain on behalf of interchain account

func (*Keeper) SubmitTxWithArgs

func (k *Keeper) SubmitTxWithArgs(goCtx context.Context, owner, connectionId string, timeoutDuration time.Duration, packetData icatypes.InterchainAccountPacketData) (string, *types.MsgSubmitTxResponse, error)

func (*Keeper) WithICS4Wrapper

func (k *Keeper) WithICS4Wrapper(ics4Wrapper porttypes.ICS4Wrapper)

Jump to

Keyboard shortcuts

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