Documentation
¶
Index ¶
- type Keeper
- func (k Keeper) AuthKeeper() authkeeper.Keeper
- func (k Keeper) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
- func (k Keeper) BindPort(ctx sdk.Context, portID string) error
- func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) ExtSignTx(ctx context.Context, msg *authtypes.MsgExtSignTx) (*authtypes.MsgExtSignTxResponse, error)
- func (k Keeper) GetPort(ctx sdk.Context) string
- func (k Keeper) IBCSignTx(ctx context.Context, msg *authtypes.MsgIBCSignTx) (*authtypes.MsgIBCSignTxResponse, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
- func (k Keeper) InitiateTx(ctx context.Context, msg *initiatortypes.MsgInitiateTx) (*initiatortypes.MsgInitiateTxResponse, error)
- func (k Keeper) InitiatorKeeper() initiatorkeeper.Keeper
- func (k Keeper) IsBound(ctx sdk.Context, portID string) bool
- func (p Keeper) ReceivePacket(ctx sdk.Context, packet channeltypes.Packet) (*sdk.Result, *packets.PacketAcknowledgementData, error)
- func (p Keeper) ReceivePacketAcknowledgement(ctx sdk.Context, packet channeltypes.Packet, ...) (*sdk.Result, error)
- func (q Keeper) SelfXCC(c context.Context, req *initiatortypes.QuerySelfXCCRequest) (*initiatortypes.QuerySelfXCCResponse, error)
- func (k Keeper) SignTx(ctx context.Context, msg *authtypes.MsgSignTx) (*authtypes.MsgSignTxResponse, error)
- func (q Keeper) TxAuthState(c context.Context, req *authtypes.QueryTxAuthStateRequest) (*authtypes.QueryTxAuthStateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, initiatorStoreKey, authStoreKey sdk.StoreKey, channelKeeper types.ChannelKeeper, portKeeper types.PortKeeper, scopedKeeper capabilitykeeper.ScopedKeeper, packetMiddleware packets.PacketMiddleware, xccResolver xcctypes.XCCResolver, txRunner txtypes.TxRunner, router router.Router, ) Keeper
func (Keeper) AuthKeeper ¶
func (k Keeper) AuthKeeper() authkeeper.Keeper
func (Keeper) AuthenticateCapability ¶
func (k Keeper) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
AuthenticateCapability wraps the scopedKeeper's AuthenticateCapability function
func (Keeper) BindPort ¶
BindPort defines a wrapper function for the ort Keeper's function in order to expose it to module's InitGenesis function
func (Keeper) ClaimCapability ¶
func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
ClaimCapability allows the transfer module that can claim a capability that IBC module passes to it
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis exports bridge module's portID and denom trace info into its genesis state.
func (Keeper) ExtSignTx ¶ added in v0.2.0
func (k Keeper) ExtSignTx(ctx context.Context, msg *authtypes.MsgExtSignTx) (*authtypes.MsgExtSignTxResponse, error)
func (Keeper) IBCSignTx ¶
func (k Keeper) IBCSignTx(ctx context.Context, msg *authtypes.MsgIBCSignTx) (*authtypes.MsgIBCSignTxResponse, error)
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
InitGenesis initializes the bridge module state and binds to PortID.
func (Keeper) InitiateTx ¶
func (k Keeper) InitiateTx(ctx context.Context, msg *initiatortypes.MsgInitiateTx) (*initiatortypes.MsgInitiateTxResponse, error)
func (Keeper) InitiatorKeeper ¶
func (k Keeper) InitiatorKeeper() initiatorkeeper.Keeper
func (Keeper) ReceivePacket ¶
func (p Keeper) ReceivePacket(ctx sdk.Context, packet channeltypes.Packet) (*sdk.Result, *packets.PacketAcknowledgementData, error)
func (Keeper) ReceivePacketAcknowledgement ¶ added in v0.0.9
func (p Keeper) ReceivePacketAcknowledgement(ctx sdk.Context, packet channeltypes.Packet, ack packets.IncomingPacketAcknowledgement) (*sdk.Result, error)
func (Keeper) SelfXCC ¶
func (q Keeper) SelfXCC(c context.Context, req *initiatortypes.QuerySelfXCCRequest) (*initiatortypes.QuerySelfXCCResponse, error)
func (Keeper) TxAuthState ¶
func (q Keeper) TxAuthState(c context.Context, req *authtypes.QueryTxAuthStateRequest) (*authtypes.QueryTxAuthStateResponse, error)
Click to show internal directories.
Click to hide internal directories.