ibc

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeeperTestSuite

type KeeperTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewKeeperTestSuite

func NewKeeperTestSuite(create network.CreateEvmApp, options ...network.ConfigOption) *KeeperTestSuite

func (*KeeperTestSuite) ConvertERC20

func (s *KeeperTestSuite) ConvertERC20(sender keyring.Key, contractAddr common.Address, amt math.Int) error

func (*KeeperTestSuite) DeployContract

func (s *KeeperTestSuite) DeployContract(name, symbol string, decimals uint8) (common.Address, error)

func (*KeeperTestSuite) MintERC20Token

func (s *KeeperTestSuite) MintERC20Token(contractAddr, to common.Address, amount *big.Int) (abcitypes.ExecTxResult, error)

func (*KeeperTestSuite) SetupTest

func (s *KeeperTestSuite) SetupTest()

type MockChannelKeeper

type MockChannelKeeper struct {
	mock.Mock
}

func (*MockChannelKeeper) GetAllChannelsWithPortPrefix

func (b *MockChannelKeeper) GetAllChannelsWithPortPrefix(ctx sdk.Context, portPrefix string) []channeltypes.IdentifiedChannel

func (*MockChannelKeeper) GetChannel

func (b *MockChannelKeeper) GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)

func (*MockChannelKeeper) GetNextSequenceSend

func (b *MockChannelKeeper) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)

func (*MockChannelKeeper) HasChannel

func (b *MockChannelKeeper) HasChannel(ctx sdk.Context, srcPort, srcChan string) bool

type MockICS4Wrapper

type MockICS4Wrapper struct {
	mock.Mock
}

func (*MockICS4Wrapper) GetAppVersion

func (b *MockICS4Wrapper) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)

func (*MockICS4Wrapper) SendPacket

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

func (*MockICS4Wrapper) WriteAcknowledgement

func (b *MockICS4Wrapper) WriteAcknowledgement(_ sdk.Context, _ exported.PacketI, _ exported.Acknowledgement) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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