Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) ChannelKeeper() types.ChannelKeeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) InitiateTx(goCtx context.Context, msg *types.MsgInitiateTx) (*types.MsgInitiateTxResponse, error)
- func (a Keeper) IsActive(ctx sdk.Context, txID crosstypes.TxID) (bool, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (a Keeper) OnPostAuth(ctx sdk.Context, txID crosstypes.TxID) error
- func (k Keeper) ResolveTransactions(ctx sdk.Context, ctxs []types.ContractTransaction) ([]txtypes.ResolvedContractTransaction, error)
- func (q Keeper) SelfXCC(c context.Context, req *types.QuerySelfXCCRequest) (*types.QuerySelfXCCResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { packets.PacketSendKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( m codec.Codec, storeKey sdk.StoreKey, channelKeeper types.ChannelKeeper, authenticator authtypes.TxAuthenticator, packetSendKeeper packets.PacketSendKeeper, packetMiddleware packets.PacketMiddleware, xccResolver xcctypes.XCCResolver, txRunner txtypes.TxRunner, ) Keeper
NewKeeper creates a new instance of Cross Keeper
func (Keeper) ChannelKeeper ¶
func (k Keeper) ChannelKeeper() types.ChannelKeeper
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) InitiateTx ¶
func (k Keeper) InitiateTx(goCtx context.Context, msg *types.MsgInitiateTx) (*types.MsgInitiateTxResponse, error)
InitiateTx defines a rpc handler method for MsgInitiateTx.
func (Keeper) OnPostAuth ¶
OnPostAuth implements TxManager interface
func (Keeper) ResolveTransactions ¶
func (k Keeper) ResolveTransactions(ctx sdk.Context, ctxs []types.ContractTransaction) ([]txtypes.ResolvedContractTransaction, error)
func (Keeper) SelfXCC ¶
func (q Keeper) SelfXCC(c context.Context, req *types.QuerySelfXCCRequest) (*types.QuerySelfXCCResponse, error)
SelfXCC returns XCC which indicates self channel
Click to show internal directories.
Click to hide internal directories.