Documentation ¶
Index ¶
- type CapabilityKeeper
- type ICAControllerKeeper
- type Keeper
- func (k *Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) InterchainAccount(goCtx context.Context, req *types.QueryInterchainAccountRequest) (*types.QueryInterchainAccountResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) RegisterAccount(ctx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
- func (k Keeper) SubmitTx(goCtx context.Context, msg *types.MsgSubmitTx) (*types.MsgSubmitTxResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityKeeper ¶
type ICAControllerKeeper ¶
type ICAControllerKeeper interface { RegisterInterchainAccount(ctx sdk.Context, connectionID, owner, version string) error GetActiveChannelID(ctx sdk.Context, connectionID, portID string) (string, bool) SendTx(ctx sdk.Context, chanCap *types.Capability, connectionID, portID string, icaPacketData icatypes.InterchainAccountPacketData, timeoutTimestamp uint64) (uint64, error) GetInterchainAccountAddress(ctx sdk.Context, connectionID string, portID string) (string, bool) }
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, iaKeeper ICAControllerKeeper, scopedKeeper CapabilityKeeper) 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) InterchainAccount ¶
func (k Keeper) InterchainAccount(goCtx context.Context, req *types.QueryInterchainAccountRequest) (*types.QueryInterchainAccountResponse, error)
InterchainAccount implements the Query/InterchainAccount gRPC method
func (Keeper) RegisterAccount ¶
func (k Keeper) RegisterAccount(ctx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
RegisterAccount implements the Msg/RegisterAccount interface
func (Keeper) SubmitTx ¶
func (k Keeper) SubmitTx(goCtx context.Context, msg *types.MsgSubmitTx) (*types.MsgSubmitTxResponse, error)
SubmitTx implements the Msg/SubmitTx interface
Source Files ¶
Click to show internal directories.
Click to hide internal directories.