keeper

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelayedackKeeper

func DelayedackKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

func EibcKeeper added in v3.1.0

func EibcKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

func RollappKeeper

func RollappKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

func SequencerKeeper

func SequencerKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

func StreamerKeeper

func StreamerKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

Types

type ChannelKeeperStub

type ChannelKeeperStub struct{}

func (ChannelKeeperStub) GetChannel

func (ChannelKeeperStub) GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool)

func (ChannelKeeperStub) GetChannelClientState

func (ChannelKeeperStub) GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error)

func (ChannelKeeperStub) LookupModuleByChannel

func (ChannelKeeperStub) LookupModuleByChannel(ctx sdk.Context, portID, channelID string) (string, *capabilitytypes.Capability, error)

type ClientKeeperStub

type ClientKeeperStub struct{}

func (ClientKeeperStub) GetClientState

func (ClientKeeperStub) GetClientState(ctx sdk.Context, clientID string) (exported.ClientState, bool)

func (ClientKeeperStub) GetConnection

func (ClientKeeperStub) GetConnection(ctx sdk.Context, connectionID string) (connectiontypes.ConnectionEnd, bool)

type ConnectionKeeperStub

type ConnectionKeeperStub struct{}

func (ConnectionKeeperStub) GetClientConsensusState added in v3.1.0

func (ConnectionKeeperStub) GetClientConsensusState(ctx sdk.Context, clientID string, height exported.Height) (exported.ConsensusState, bool)

func (ConnectionKeeperStub) GetClientState

func (ConnectionKeeperStub) GetClientState(ctx sdk.Context, clientID string) (exported.ClientState, bool)

func (ConnectionKeeperStub) GetConnection

func (ConnectionKeeperStub) GetConnection(ctx sdk.Context, connectionID string) (connectiontypes.ConnectionEnd, bool)

type ICS4WrapperStub

type ICS4WrapperStub struct{}

func (ICS4WrapperStub) GetAppVersion

func (ICS4WrapperStub) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool)

func (ICS4WrapperStub) SendPacket

func (ICS4WrapperStub) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte) (sequence uint64, err error)

func (ICS4WrapperStub) WriteAcknowledgement

func (ICS4WrapperStub) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement) error

type RollappKeeperStub

type RollappKeeperStub struct{}

func (RollappKeeperStub) GetAllRollapps added in v3.1.0

func (RollappKeeperStub) GetAllRollapps(ctx sdk.Context) (list []rollapptypes.Rollapp)

func (RollappKeeperStub) GetLatestFinalizedStateIndex added in v3.1.0

func (RollappKeeperStub) GetLatestFinalizedStateIndex(ctx sdk.Context, rollappId string) (val rollapptypes.StateInfoIndex, found bool)

func (RollappKeeperStub) GetLatestStateInfoIndex added in v3.1.0

func (RollappKeeperStub) GetLatestStateInfoIndex(ctx sdk.Context, rollappId string) (val rollapptypes.StateInfoIndex, found bool)

func (RollappKeeperStub) GetParams

func (RollappKeeperStub) GetRollapp

func (RollappKeeperStub) GetRollapp(ctx sdk.Context, chainID string) (rollapptypes.Rollapp, bool)

func (RollappKeeperStub) GetStateInfo added in v3.1.0

func (RollappKeeperStub) GetStateInfo(ctx sdk.Context, rollappId string, index uint64) (val rollapptypes.StateInfo, found bool)

func (RollappKeeperStub) MustGetStateInfo added in v3.1.0

func (r RollappKeeperStub) MustGetStateInfo(ctx sdk.Context, rollappId string, index uint64) rollapptypes.StateInfo

MustGetStateInfo implements types.RollappKeeper.

type SequencerKeeperStub added in v3.1.0

type SequencerKeeperStub struct{}

func (SequencerKeeperStub) GetSequencer added in v3.1.0

func (SequencerKeeperStub) GetSequencer(ctx sdk.Context, sequencerAddress string) (val sequencertypes.Sequencer, found bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL