mock_types

package
v0.0.0-...-af3b207 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

type MockAccountKeeper struct {
	// contains filtered or unexported fields
}

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI

GetAccount mocks base method.

type MockAccountKeeperMockRecorder

type MockAccountKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

type MockBankKeeper

type MockBankKeeper struct {
	// contains filtered or unexported fields
}

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBankKeeper) SpendableCoins

func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins

SpendableCoins mocks base method.

type MockBankKeeperMockRecorder

type MockBankKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) SpendableCoins

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins.

type MockChannelKeeper

type MockChannelKeeper struct {
	// contains filtered or unexported fields
}

MockChannelKeeper is a mock of ChannelKeeper interface.

func NewMockChannelKeeper

func NewMockChannelKeeper(ctrl *gomock.Controller) *MockChannelKeeper

NewMockChannelKeeper creates a new mock instance.

func (*MockChannelKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChannelKeeper) GetChannel

func (m *MockChannelKeeper) GetChannel(ctx types.Context, srcPort, srcChan string) (types3.Channel, bool)

GetChannel mocks base method.

func (*MockChannelKeeper) GetConnection

func (m *MockChannelKeeper) GetConnection(ctx types.Context, connectionID string) (exported.ConnectionI, error)

GetConnection mocks base method.

func (*MockChannelKeeper) GetNextSequenceSend

func (m *MockChannelKeeper) GetNextSequenceSend(ctx types.Context, portID, channelID string) (uint64, bool)

GetNextSequenceSend mocks base method.

type MockChannelKeeperMockRecorder

type MockChannelKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockChannelKeeperMockRecorder is the mock recorder for MockChannelKeeper.

func (*MockChannelKeeperMockRecorder) GetChannel

func (mr *MockChannelKeeperMockRecorder) GetChannel(ctx, srcPort, srcChan interface{}) *gomock.Call

GetChannel indicates an expected call of GetChannel.

func (*MockChannelKeeperMockRecorder) GetConnection

func (mr *MockChannelKeeperMockRecorder) GetConnection(ctx, connectionID interface{}) *gomock.Call

GetConnection indicates an expected call of GetConnection.

func (*MockChannelKeeperMockRecorder) GetNextSequenceSend

func (mr *MockChannelKeeperMockRecorder) GetNextSequenceSend(ctx, portID, channelID interface{}) *gomock.Call

GetNextSequenceSend indicates an expected call of GetNextSequenceSend.

type MockContractManagerKeeper

type MockContractManagerKeeper struct {
	// contains filtered or unexported fields
}

MockContractManagerKeeper is a mock of ContractManagerKeeper interface.

func NewMockContractManagerKeeper

func NewMockContractManagerKeeper(ctrl *gomock.Controller) *MockContractManagerKeeper

NewMockContractManagerKeeper creates a new mock instance.

func (*MockContractManagerKeeper) AddContractFailure

func (m *MockContractManagerKeeper) AddContractFailure(ctx types.Context, channelID, address string, ackID uint64, ackType string)

AddContractFailure mocks base method.

func (*MockContractManagerKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContractManagerKeeper) HasContractInfo

func (m *MockContractManagerKeeper) HasContractInfo(ctx types.Context, contractAddress types.AccAddress) bool

HasContractInfo mocks base method.

func (*MockContractManagerKeeper) SudoError

func (m *MockContractManagerKeeper) SudoError(ctx types.Context, senderAddress types.AccAddress, request types3.Packet, details string) ([]byte, error)

SudoError mocks base method.

func (*MockContractManagerKeeper) SudoOnChanOpenAck

func (m *MockContractManagerKeeper) SudoOnChanOpenAck(ctx types.Context, contractAddress types.AccAddress, details types4.OpenAckDetails) ([]byte, error)

SudoOnChanOpenAck mocks base method.

func (*MockContractManagerKeeper) SudoResponse

func (m *MockContractManagerKeeper) SudoResponse(ctx types.Context, senderAddress types.AccAddress, request types3.Packet, msg []byte) ([]byte, error)

SudoResponse mocks base method.

func (*MockContractManagerKeeper) SudoTimeout

func (m *MockContractManagerKeeper) SudoTimeout(ctx types.Context, senderAddress types.AccAddress, request types3.Packet) ([]byte, error)

SudoTimeout mocks base method.

type MockContractManagerKeeperMockRecorder

type MockContractManagerKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockContractManagerKeeperMockRecorder is the mock recorder for MockContractManagerKeeper.

func (*MockContractManagerKeeperMockRecorder) AddContractFailure

func (mr *MockContractManagerKeeperMockRecorder) AddContractFailure(ctx, channelID, address, ackID, ackType interface{}) *gomock.Call

AddContractFailure indicates an expected call of AddContractFailure.

func (*MockContractManagerKeeperMockRecorder) HasContractInfo

func (mr *MockContractManagerKeeperMockRecorder) HasContractInfo(ctx, contractAddress interface{}) *gomock.Call

HasContractInfo indicates an expected call of HasContractInfo.

func (*MockContractManagerKeeperMockRecorder) SudoError

func (mr *MockContractManagerKeeperMockRecorder) SudoError(ctx, senderAddress, request, details interface{}) *gomock.Call

SudoError indicates an expected call of SudoError.

func (*MockContractManagerKeeperMockRecorder) SudoOnChanOpenAck

func (mr *MockContractManagerKeeperMockRecorder) SudoOnChanOpenAck(ctx, contractAddress, details interface{}) *gomock.Call

SudoOnChanOpenAck indicates an expected call of SudoOnChanOpenAck.

func (*MockContractManagerKeeperMockRecorder) SudoResponse

func (mr *MockContractManagerKeeperMockRecorder) SudoResponse(ctx, senderAddress, request, msg interface{}) *gomock.Call

SudoResponse indicates an expected call of SudoResponse.

func (*MockContractManagerKeeperMockRecorder) SudoTimeout

func (mr *MockContractManagerKeeperMockRecorder) SudoTimeout(ctx, senderAddress, request interface{}) *gomock.Call

SudoTimeout indicates an expected call of SudoTimeout.

type MockFeeRefunderKeeper

type MockFeeRefunderKeeper struct {
	// contains filtered or unexported fields
}

MockFeeRefunderKeeper is a mock of FeeRefunderKeeper interface.

func NewMockFeeRefunderKeeper

func NewMockFeeRefunderKeeper(ctrl *gomock.Controller) *MockFeeRefunderKeeper

NewMockFeeRefunderKeeper creates a new mock instance.

func (*MockFeeRefunderKeeper) DistributeAcknowledgementFee

func (m *MockFeeRefunderKeeper) DistributeAcknowledgementFee(ctx types.Context, receiver types.AccAddress, packetID types5.PacketID)

DistributeAcknowledgementFee mocks base method.

func (*MockFeeRefunderKeeper) DistributeTimeoutFee

func (m *MockFeeRefunderKeeper) DistributeTimeoutFee(ctx types.Context, receiver types.AccAddress, packetID types5.PacketID)

DistributeTimeoutFee mocks base method.

func (*MockFeeRefunderKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFeeRefunderKeeper) LockFees

func (m *MockFeeRefunderKeeper) LockFees(ctx types.Context, payer types.AccAddress, packetID types5.PacketID, fee types5.Fee) error

LockFees mocks base method.

type MockFeeRefunderKeeperMockRecorder

type MockFeeRefunderKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockFeeRefunderKeeperMockRecorder is the mock recorder for MockFeeRefunderKeeper.

func (*MockFeeRefunderKeeperMockRecorder) DistributeAcknowledgementFee

func (mr *MockFeeRefunderKeeperMockRecorder) DistributeAcknowledgementFee(ctx, receiver, packetID interface{}) *gomock.Call

DistributeAcknowledgementFee indicates an expected call of DistributeAcknowledgementFee.

func (*MockFeeRefunderKeeperMockRecorder) DistributeTimeoutFee

func (mr *MockFeeRefunderKeeperMockRecorder) DistributeTimeoutFee(ctx, receiver, packetID interface{}) *gomock.Call

DistributeTimeoutFee indicates an expected call of DistributeTimeoutFee.

func (*MockFeeRefunderKeeperMockRecorder) LockFees

func (mr *MockFeeRefunderKeeperMockRecorder) LockFees(ctx, payer, packetID, fee interface{}) *gomock.Call

LockFees indicates an expected call of LockFees.

type MockICAControllerKeeper

type MockICAControllerKeeper struct {
	// contains filtered or unexported fields
}

MockICAControllerKeeper is a mock of ICAControllerKeeper interface.

func NewMockICAControllerKeeper

func NewMockICAControllerKeeper(ctrl *gomock.Controller) *MockICAControllerKeeper

NewMockICAControllerKeeper creates a new mock instance.

func (*MockICAControllerKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockICAControllerKeeper) GetActiveChannelID

func (m *MockICAControllerKeeper) GetActiveChannelID(ctx types.Context, connectionID, portID string) (string, bool)

GetActiveChannelID mocks base method.

func (*MockICAControllerKeeper) GetInterchainAccountAddress

func (m *MockICAControllerKeeper) GetInterchainAccountAddress(ctx types.Context, connectionID, portID string) (string, bool)

GetInterchainAccountAddress mocks base method.

func (*MockICAControllerKeeper) RegisterInterchainAccount

func (m *MockICAControllerKeeper) RegisterInterchainAccount(ctx types.Context, connectionID, owner, version string) error

RegisterInterchainAccount mocks base method.

func (*MockICAControllerKeeper) SendTx

func (m *MockICAControllerKeeper) SendTx(ctx types.Context, chanCap *types1.Capability, connectionID, portID string, icaPacketData types2.InterchainAccountPacketData, timeoutTimestamp uint64) (uint64, error)

SendTx mocks base method.

type MockICAControllerKeeperMockRecorder

type MockICAControllerKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockICAControllerKeeperMockRecorder is the mock recorder for MockICAControllerKeeper.

func (*MockICAControllerKeeperMockRecorder) GetActiveChannelID

func (mr *MockICAControllerKeeperMockRecorder) GetActiveChannelID(ctx, connectionID, portID interface{}) *gomock.Call

GetActiveChannelID indicates an expected call of GetActiveChannelID.

func (*MockICAControllerKeeperMockRecorder) GetInterchainAccountAddress

func (mr *MockICAControllerKeeperMockRecorder) GetInterchainAccountAddress(ctx, connectionID, portID interface{}) *gomock.Call

GetInterchainAccountAddress indicates an expected call of GetInterchainAccountAddress.

func (*MockICAControllerKeeperMockRecorder) RegisterInterchainAccount

func (mr *MockICAControllerKeeperMockRecorder) RegisterInterchainAccount(ctx, connectionID, owner, version interface{}) *gomock.Call

RegisterInterchainAccount indicates an expected call of RegisterInterchainAccount.

func (*MockICAControllerKeeperMockRecorder) SendTx

func (mr *MockICAControllerKeeperMockRecorder) SendTx(ctx, chanCap, connectionID, portID, icaPacketData, timeoutTimestamp interface{}) *gomock.Call

SendTx indicates an expected call of SendTx.

type MockScopedKeeper

type MockScopedKeeper struct {
	// contains filtered or unexported fields
}

MockScopedKeeper is a mock of ScopedKeeper interface.

func NewMockScopedKeeper

func NewMockScopedKeeper(ctrl *gomock.Controller) *MockScopedKeeper

NewMockScopedKeeper creates a new mock instance.

func (*MockScopedKeeper) ClaimCapability

func (m *MockScopedKeeper) ClaimCapability(ctx types.Context, cap *types1.Capability, name string) error

ClaimCapability mocks base method.

func (*MockScopedKeeper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockScopedKeeper) GetCapability

func (m *MockScopedKeeper) GetCapability(ctx types.Context, name string) (*types1.Capability, bool)

GetCapability mocks base method.

type MockScopedKeeperMockRecorder

type MockScopedKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockScopedKeeperMockRecorder is the mock recorder for MockScopedKeeper.

func (*MockScopedKeeperMockRecorder) ClaimCapability

func (mr *MockScopedKeeperMockRecorder) ClaimCapability(ctx, cap, name interface{}) *gomock.Call

ClaimCapability indicates an expected call of ClaimCapability.

func (*MockScopedKeeperMockRecorder) GetCapability

func (mr *MockScopedKeeperMockRecorder) GetCapability(ctx, name interface{}) *gomock.Call

GetCapability indicates an expected call of GetCapability.

Jump to

Keyboard shortcuts

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