Documentation ¶
Index ¶
- Constants
- type Keeper
- func (k Keeper) HandlePacketAcknowledgementPrepare(ctx sdk.Context, sourcePort string, sourceChannel string, ...) (*sdk.Result, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ReceiveCommitAcknowledgement(ctx sdk.Context, txID crosstypes.TxID, txIndex crosstypes.TxIndex) error
- func (k Keeper) ReceivePacketCommit(ctx sdk.Context, destPort, destChannel string, data types.PacketDataCommit) (*txtypes.ContractCallResult, *types.PacketAcknowledgementCommit, error)
- func (k Keeper) ReceivePacketPrepare(ctx sdk.Context, destPort, destChannel string, data types.PacketDataPrepare) (*txtypes.ContractCallResult, *types.PacketAcknowledgementPrepare, error)
- func (k Keeper) SendCommit(ctx sdk.Context, packetSender packets.PacketSender, txID crosstypes.TxID, ...) error
- func (k Keeper) SendPrepare(ctx sdk.Context, packetSender packets.PacketSender, txID crosstypes.TxID, ...) error
Constants ¶
View Source
const (
TypeName = "tpc"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { basekeeper.Keeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, cm txtypes.ContractManager, xccResolver xcctypes.XCCResolver, baseKeeper basekeeper.Keeper, ) Keeper
func (Keeper) HandlePacketAcknowledgementPrepare ¶
func (k Keeper) HandlePacketAcknowledgementPrepare( ctx sdk.Context, sourcePort string, sourceChannel string, ack types.PacketAcknowledgementPrepare, txID crosstypes.TxID, txIndex crosstypes.TxIndex, ps packets.PacketSender, ) (*sdk.Result, error)
func (Keeper) ReceiveCommitAcknowledgement ¶
func (k Keeper) ReceiveCommitAcknowledgement( ctx sdk.Context, txID crosstypes.TxID, txIndex crosstypes.TxIndex, ) error
func (Keeper) ReceivePacketCommit ¶
func (k Keeper) ReceivePacketCommit( ctx sdk.Context, destPort, destChannel string, data types.PacketDataCommit, ) (*txtypes.ContractCallResult, *types.PacketAcknowledgementCommit, error)
func (Keeper) ReceivePacketPrepare ¶
func (k Keeper) ReceivePacketPrepare( ctx sdk.Context, destPort, destChannel string, data types.PacketDataPrepare, ) (*txtypes.ContractCallResult, *types.PacketAcknowledgementPrepare, error)
func (Keeper) SendCommit ¶
func (k Keeper) SendCommit( ctx sdk.Context, packetSender packets.PacketSender, txID crosstypes.TxID, isCommittable bool, ) error
func (Keeper) SendPrepare ¶
func (k Keeper) SendPrepare( ctx sdk.Context, packetSender packets.PacketSender, txID crosstypes.TxID, transactions []txtypes.ResolvedContractTransaction, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, ) error
Click to show internal directories.
Click to hide internal directories.