mocks

package
v0.0.1-alpha.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper

func NewAccountKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *AccountKeeper

NewAccountKeeper creates a new instance of AccountKeeper. 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 (*AccountKeeper) GetAccount

func (_m *AccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) authtypes.AccountI

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

func (*AccountKeeper) GetModuleAccount

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

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

func (*AccountKeeper) GetModuleAddress

func (_m *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress

GetModuleAddress provides a mock function with given fields: moduleName

func (*AccountKeeper) GetParams

func (_m *AccountKeeper) GetParams(ctx types.Context) authtypes.Params

GetParams provides a mock function with given fields: ctx

func (*AccountKeeper) NewAccountWithAddress

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

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

func (*AccountKeeper) SetAccount

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

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

type BankKeeper

type BankKeeper struct {
	mock.Mock
}

BankKeeper is an autogenerated mock type for the BankKeeper type

func NewBankKeeper

func NewBankKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *BankKeeper

NewBankKeeper creates a new instance of BankKeeper. 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 (*BankKeeper) IsSendEnabledCoins

func (_m *BankKeeper) IsSendEnabledCoins(ctx types.Context, coins ...types.Coin) error

IsSendEnabledCoins provides a mock function with given fields: ctx, coins

func (*BankKeeper) SendCoins

func (_m *BankKeeper) SendCoins(ctx types.Context, from types.AccAddress, to types.AccAddress, amt types.Coins) error

SendCoins provides a mock function with given fields: ctx, from, to, amt

func (*BankKeeper) SendCoinsFromAccountToModule

func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt

type FeeGrantKeeper

type FeeGrantKeeper struct {
	mock.Mock
}

FeeGrantKeeper is an autogenerated mock type for the FeeGrantKeeper type

func NewFeeGrantKeeper

func NewFeeGrantKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *FeeGrantKeeper

NewFeeGrantKeeper creates a new instance of FeeGrantKeeper. 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 (*FeeGrantKeeper) UseGrantedFees

func (_m *FeeGrantKeeper) UseGrantedFees(ctx types.Context, granter types.AccAddress, grantee types.AccAddress, fee types.Coins, msgs []types.Msg) error

UseGrantedFees provides a mock function with given fields: ctx, granter, grantee, fee, msgs

type FeeMarketKeeper

type FeeMarketKeeper struct {
	mock.Mock
}

FeeMarketKeeper is an autogenerated mock type for the FeeMarketKeeper type

func NewFeeMarketKeeper

func NewFeeMarketKeeper(t interface {
	mock.TestingT
	Cleanup(func())
},
) *FeeMarketKeeper

NewFeeMarketKeeper creates a new instance of FeeMarketKeeper. 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 (*FeeMarketKeeper) GetMinGasPrices

func (_m *FeeMarketKeeper) GetMinGasPrices(ctx types.Context) (types.Coins, error)

GetMinGasPrices provides a mock function with given fields: ctx

func (*FeeMarketKeeper) GetState

func (_m *FeeMarketKeeper) GetState(ctx types.Context) (feemarkettypes.State, error)

GetState 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