Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k *Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) InterchainAccountAddress(goCtx context.Context, req *types.QueryInterchainAccountAddressRequest) (*types.QueryInterchainAccountAddressResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MinTimeoutDuration(ctx sdk.Context) (res time.Duration)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k *Keeper) RegisterAccount(goCtx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error
- func (k *Keeper) SubmitTx(goCtx context.Context, msg *types.MsgSubmitTx) (*types.MsgSubmitTxResponse, error)
- func (k *Keeper) SubmitTxWithArgs(goCtx context.Context, owner, connectionId string, ...) (string, *types.MsgSubmitTxResponse, error)
- func (k *Keeper) WithICS4Wrapper(ics4Wrapper porttypes.ICS4Wrapper)
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.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) InterchainAccountAddress ¶
func (k Keeper) InterchainAccountAddress(goCtx context.Context, req *types.QueryInterchainAccountAddressRequest) (*types.QueryInterchainAccountAddressResponse, error)
InterchainAccountAddress fetches the interchain account address for given `connectionId` and `owner`
func (Keeper) MinTimeoutDuration ¶
MinTimeoutDuration returns the MinTimeoutDuration param
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (*Keeper) RegisterAccount ¶
func (k *Keeper) RegisterAccount(goCtx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
RegisterAccount registers an interchain account with the given `connectionId` and `owner` on the host chain
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 (*Keeper) WithICS4Wrapper ¶
func (k *Keeper) WithICS4Wrapper(ics4Wrapper porttypes.ICS4Wrapper)
Click to show internal directories.
Click to hide internal directories.