Versions in this module Expand all Collapse all v0 v0.0.7 Oct 13, 2020 v0.0.6 Sep 20, 2020 Changes in this version + func MakeStoreTransactionID(txID types.TxID, txIndex uint8) []byte + func MakeTxID(ctx sdk.Context, msg types.MsgInitiate) types.TxID + type Keeper struct + func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, channelKeeper types.ChannelKeeper, ...) Keeper + func (k Keeper) AbortTransaction(ctx sdk.Context, contractHandler types.ContractHandler, txID types.TxID, ...) error + func (k Keeper) ChannelKeeper() types.ChannelKeeper + func (k Keeper) ChannelResolver() types.ChannelResolver + func (k Keeper) CommitImmediatelyTransaction(ctx sdk.Context, contractHandler types.ContractHandler, txID types.TxID, ...) error + func (k Keeper) CommitTransaction(ctx sdk.Context, contractHandler types.ContractHandler, txID types.TxID, ...) (types.ContractHandlerResult, error) + func (k Keeper) EnsureCoordinatorStatus(ctx sdk.Context, txID types.TxID, status uint8) (*types.CoordinatorInfo, error) + func (k Keeper) EnsureTxStatus(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex, status uint8) (*types.TxInfo, error) + func (k Keeper) GetContractResult(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex) (types.ContractHandlerResult, bool) + func (k Keeper) GetCoordinator(ctx sdk.Context, txID types.TxID) (*types.CoordinatorInfo, bool) + func (k Keeper) GetTx(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex) (*types.TxInfo, bool) + func (k Keeper) IterateUnacknowledgedPackets(ctx sdk.Context, cb func(key []byte) bool) + func (k Keeper) PacketExecuted(ctx sdk.Context, packet channelexported.PacketI, acknowledgement []byte) error + func (k Keeper) PortKeeper() types.PortKeeper + func (k Keeper) PrepareTransaction(ctx sdk.Context, contractHandler types.ContractHandler, txID types.TxID, ...) error + func (k Keeper) RemoveContractResult(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex) + func (k Keeper) RemoveUnacknowledgedPacket(ctx sdk.Context, sourcePort, sourceChannel string, seq uint64) + func (k Keeper) ScopedKeeper() capability.ScopedKeeper + func (k Keeper) SendPacket(ctx sdk.Context, packetSender types.PacketSender, ...) error + func (k Keeper) SetContractResult(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex, ...) + func (k Keeper) SetCoordinator(ctx sdk.Context, txID types.TxID, ci types.CoordinatorInfo) + func (k Keeper) SetTx(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex, tx types.TxInfo) + func (k Keeper) SetUnacknowledgedPacket(ctx sdk.Context, sourcePort, sourceChannel string, seq uint64) + func (k Keeper) UpdateCoordinatorStatus(ctx sdk.Context, txID types.TxID, status uint8) error + func (k Keeper) UpdateTxStatus(ctx sdk.Context, txID types.TxID, txIndex types.TxIndex, status uint8) error