mocks

package
v0.0.0-...-cc3bc86 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FungibleAccountKeeper

type FungibleAccountKeeper struct {
	mock.Mock
}

FungibleAccountKeeper is an autogenerated mock type for the FungibleAccountKeeper type

func NewFungibleAccountKeeper

func NewFungibleAccountKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *FungibleAccountKeeper

NewFungibleAccountKeeper creates a new instance of FungibleAccountKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FungibleAccountKeeper) GetAccount

GetAccount provides a mock function with given fields: ctx, addr

func (*FungibleAccountKeeper) GetModuleAccount

func (_m *FungibleAccountKeeper) GetModuleAccount(ctx types.Context, name string) authtypes.ModuleAccountI

GetModuleAccount provides a mock function with given fields: ctx, name

func (*FungibleAccountKeeper) GetSequence

func (_m *FungibleAccountKeeper) GetSequence(ctx types.Context, addr types.AccAddress) (uint64, error)

GetSequence provides a mock function with given fields: ctx, addr

func (*FungibleAccountKeeper) HasAccount

func (_m *FungibleAccountKeeper) HasAccount(ctx types.Context, addr types.AccAddress) bool

HasAccount provides a mock function with given fields: ctx, addr

func (*FungibleAccountKeeper) NewAccountWithAddress

func (_m *FungibleAccountKeeper) NewAccountWithAddress(ctx types.Context, addr types.AccAddress) authtypes.AccountI

NewAccountWithAddress provides a mock function with given fields: ctx, addr

func (*FungibleAccountKeeper) SetAccount

func (_m *FungibleAccountKeeper) SetAccount(ctx types.Context, acc authtypes.AccountI)

SetAccount provides a mock function with given fields: ctx, acc

type FungibleAuthorityKeeper

type FungibleAuthorityKeeper struct {
	mock.Mock
}

FungibleAuthorityKeeper is an autogenerated mock type for the FungibleAuthorityKeeper type

func NewFungibleAuthorityKeeper

func NewFungibleAuthorityKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *FungibleAuthorityKeeper

NewFungibleAuthorityKeeper creates a new instance of FungibleAuthorityKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FungibleAuthorityKeeper) CheckAuthorization

func (_m *FungibleAuthorityKeeper) CheckAuthorization(ctx types.Context, msg types.Msg) error

CheckAuthorization provides a mock function with given fields: ctx, msg

func (*FungibleAuthorityKeeper) GetAdditionalChainList

func (_m *FungibleAuthorityKeeper) GetAdditionalChainList(ctx types.Context) []chains.Chain

GetAdditionalChainList provides a mock function with given fields: ctx

type FungibleBankKeeper

type FungibleBankKeeper struct {
	mock.Mock
}

FungibleBankKeeper is an autogenerated mock type for the FungibleBankKeeper type

func NewFungibleBankKeeper

func NewFungibleBankKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *FungibleBankKeeper

NewFungibleBankKeeper creates a new instance of FungibleBankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FungibleBankKeeper) GetSupply

func (_m *FungibleBankKeeper) GetSupply(ctx types.Context, denom string) types.Coin

GetSupply provides a mock function with given fields: ctx, denom

func (*FungibleBankKeeper) MintCoins

func (_m *FungibleBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error

MintCoins provides a mock function with given fields: ctx, moduleName, amt

func (*FungibleBankKeeper) SendCoinsFromModuleToAccount

func (_m *FungibleBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error

SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt

type FungibleEVMKeeper

type FungibleEVMKeeper struct {
	mock.Mock
}

FungibleEVMKeeper is an autogenerated mock type for the FungibleEVMKeeper type

func NewFungibleEVMKeeper

func NewFungibleEVMKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *FungibleEVMKeeper

NewFungibleEVMKeeper creates a new instance of FungibleEVMKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FungibleEVMKeeper) ApplyMessage

func (_m *FungibleEVMKeeper) ApplyMessage(ctx types.Context, msg *core.Message, tracer vm.EVMLogger, commit bool) (*evmtypes.MsgEthereumTxResponse, error)

ApplyMessage provides a mock function with given fields: ctx, msg, tracer, commit

func (*FungibleEVMKeeper) ChainID

func (_m *FungibleEVMKeeper) ChainID() *big.Int

ChainID provides a mock function with given fields:

func (*FungibleEVMKeeper) EstimateGas

EstimateGas provides a mock function with given fields: c, req

func (*FungibleEVMKeeper) GetAccount

func (_m *FungibleEVMKeeper) GetAccount(ctx types.Context, addr common.Address) *statedb.Account

GetAccount provides a mock function with given fields: ctx, addr

func (*FungibleEVMKeeper) GetBlockBloomTransient

func (_m *FungibleEVMKeeper) GetBlockBloomTransient(ctx types.Context) *big.Int

GetBlockBloomTransient provides a mock function with given fields: ctx

func (*FungibleEVMKeeper) GetCode

func (_m *FungibleEVMKeeper) GetCode(ctx types.Context, codeHash common.Hash) []byte

GetCode provides a mock function with given fields: ctx, codeHash

func (*FungibleEVMKeeper) GetLogSizeTransient

func (_m *FungibleEVMKeeper) GetLogSizeTransient(ctx types.Context) uint64

GetLogSizeTransient provides a mock function with given fields: ctx

func (*FungibleEVMKeeper) SetAccount

func (_m *FungibleEVMKeeper) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error

SetAccount provides a mock function with given fields: ctx, addr, account

func (*FungibleEVMKeeper) SetBlockBloomTransient

func (_m *FungibleEVMKeeper) SetBlockBloomTransient(ctx types.Context, bloom *big.Int)

SetBlockBloomTransient provides a mock function with given fields: ctx, bloom

func (*FungibleEVMKeeper) SetLogSizeTransient

func (_m *FungibleEVMKeeper) SetLogSizeTransient(ctx types.Context, logSize uint64)

SetLogSizeTransient provides a mock function with given fields: ctx, logSize

func (*FungibleEVMKeeper) WithChainID

func (_m *FungibleEVMKeeper) WithChainID(ctx types.Context)

WithChainID provides a mock function with given fields: ctx

type FungibleObserverKeeper

type FungibleObserverKeeper struct {
	mock.Mock
}

FungibleObserverKeeper is an autogenerated mock type for the FungibleObserverKeeper type

func NewFungibleObserverKeeper

func NewFungibleObserverKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *FungibleObserverKeeper

NewFungibleObserverKeeper creates a new instance of FungibleObserverKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FungibleObserverKeeper) GetSupportedChains

func (_m *FungibleObserverKeeper) GetSupportedChains(ctx types.Context) []chains.Chain

GetSupportedChains provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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