mock_types

package
v7.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 7 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.

func (*MockAccountKeeper) GetModuleAccount

func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI

GetModuleAccount mocks base method.

func (*MockAccountKeeper) GetModuleAddress

func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress

GetModuleAddress 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.

func (*MockAccountKeeperMockRecorder) GetModuleAccount

func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call

GetModuleAccount indicates an expected call of GetModuleAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAddress

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call

GetModuleAddress indicates an expected call of GetModuleAddress.

type MockAuctionKeeper

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

MockAuctionKeeper is a mock of AuctionKeeper interface.

func NewMockAuctionKeeper

func NewMockAuctionKeeper(ctrl *gomock.Controller) *MockAuctionKeeper

NewMockAuctionKeeper creates a new mock instance.

func (*MockAuctionKeeper) BeginAuction

func (m *MockAuctionKeeper) BeginAuction(ctx types.Context, startingTokensForSale types.Coin, initialPriceDecreaseRate types.Dec, priceDecreaseBlockInterval uint64, fundingModuleAccount, proceedsModuleAccount string) error

BeginAuction mocks base method.

func (*MockAuctionKeeper) EXPECT

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

func (*MockAuctionKeeper) GetActiveAuctions

func (m *MockAuctionKeeper) GetActiveAuctions(ctx types.Context) []*types2.Auction

GetActiveAuctions mocks base method.

type MockAuctionKeeperMockRecorder

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

MockAuctionKeeperMockRecorder is the mock recorder for MockAuctionKeeper.

func (*MockAuctionKeeperMockRecorder) BeginAuction

func (mr *MockAuctionKeeperMockRecorder) BeginAuction(ctx, startingTokensForSale, initialPriceDecreaseRate, priceDecreaseBlockInterval, fundingModuleAccount, proceedsModuleAccount interface{}) *gomock.Call

BeginAuction indicates an expected call of BeginAuction.

func (*MockAuctionKeeperMockRecorder) GetActiveAuctions

func (mr *MockAuctionKeeperMockRecorder) GetActiveAuctions(ctx interface{}) *gomock.Call

GetActiveAuctions indicates an expected call of GetActiveAuctions.

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) BlockedAddr

func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool

BlockedAddr mocks base method.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) GetAllBalances

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

GetAllBalances mocks base method.

func (*MockBankKeeper) GetBalance

func (m *MockBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin

GetBalance mocks base method.

func (*MockBankKeeper) LockedCoins

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

LockedCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

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

SendCoinsFromAccountToModule mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToModule

func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error

SendCoinsFromModuleToModule mocks base method.

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) BlockedAddr

func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call

BlockedAddr indicates an expected call of BlockedAddr.

func (*MockBankKeeperMockRecorder) GetAllBalances

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

GetAllBalances indicates an expected call of GetAllBalances.

func (*MockBankKeeperMockRecorder) GetBalance

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

GetBalance indicates an expected call of GetBalance.

func (*MockBankKeeperMockRecorder) LockedCoins

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

LockedCoins indicates an expected call of LockedCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.

func (*MockBankKeeperMockRecorder) SpendableCoins

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

SpendableCoins indicates an expected call of SpendableCoins.

type MockCorkKeeper

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

MockCorkKeeper is a mock of CorkKeeper interface.

func NewMockCorkKeeper

func NewMockCorkKeeper(ctrl *gomock.Controller) *MockCorkKeeper

NewMockCorkKeeper creates a new mock instance.

func (*MockCorkKeeper) EXPECT

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

func (*MockCorkKeeper) GetCellarIDs

func (m *MockCorkKeeper) GetCellarIDs(ctx types.Context) []common.Address

GetCellarIDs mocks base method.

func (*MockCorkKeeper) HasCellarID

func (m *MockCorkKeeper) HasCellarID(ctx types.Context, address common.Address) bool

HasCellarID mocks base method.

type MockCorkKeeperMockRecorder

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

MockCorkKeeperMockRecorder is the mock recorder for MockCorkKeeper.

func (*MockCorkKeeperMockRecorder) GetCellarIDs

func (mr *MockCorkKeeperMockRecorder) GetCellarIDs(ctx interface{}) *gomock.Call

GetCellarIDs indicates an expected call of GetCellarIDs.

func (*MockCorkKeeperMockRecorder) HasCellarID

func (mr *MockCorkKeeperMockRecorder) HasCellarID(ctx, address interface{}) *gomock.Call

HasCellarID indicates an expected call of HasCellarID.

type MockGravityKeeper

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

MockGravityKeeper is a mock of GravityKeeper interface.

func NewMockGravityKeeper

func NewMockGravityKeeper(ctrl *gomock.Controller) *MockGravityKeeper

NewMockGravityKeeper creates a new mock instance.

func (*MockGravityKeeper) ERC20ToDenomLookup

func (m *MockGravityKeeper) ERC20ToDenomLookup(ctx types.Context, tokenContract common.Address) (bool, string)

ERC20ToDenomLookup mocks base method.

func (*MockGravityKeeper) EXPECT

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

type MockGravityKeeperMockRecorder

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

MockGravityKeeperMockRecorder is the mock recorder for MockGravityKeeper.

func (*MockGravityKeeperMockRecorder) ERC20ToDenomLookup

func (mr *MockGravityKeeperMockRecorder) ERC20ToDenomLookup(ctx, tokenContract interface{}) *gomock.Call

ERC20ToDenomLookup indicates an expected call of ERC20ToDenomLookup.

type MockMintKeeper

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

MockMintKeeper is a mock of MintKeeper interface.

func NewMockMintKeeper

func NewMockMintKeeper(ctrl *gomock.Controller) *MockMintKeeper

NewMockMintKeeper creates a new mock instance.

func (*MockMintKeeper) BondedRatio

func (m *MockMintKeeper) BondedRatio(ctx types.Context) types.Dec

BondedRatio mocks base method.

func (*MockMintKeeper) EXPECT

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

func (*MockMintKeeper) GetParams

func (m *MockMintKeeper) GetParams(ctx types.Context) types1.Params

GetParams mocks base method.

func (*MockMintKeeper) StakingTokenSupply

func (m *MockMintKeeper) StakingTokenSupply(ctx types.Context) types.Int

StakingTokenSupply mocks base method.

type MockMintKeeperMockRecorder

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

MockMintKeeperMockRecorder is the mock recorder for MockMintKeeper.

func (*MockMintKeeperMockRecorder) BondedRatio

func (mr *MockMintKeeperMockRecorder) BondedRatio(ctx interface{}) *gomock.Call

BondedRatio indicates an expected call of BondedRatio.

func (*MockMintKeeperMockRecorder) GetParams

func (mr *MockMintKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call

GetParams indicates an expected call of GetParams.

func (*MockMintKeeperMockRecorder) StakingTokenSupply

func (mr *MockMintKeeperMockRecorder) StakingTokenSupply(ctx interface{}) *gomock.Call

StakingTokenSupply indicates an expected call of StakingTokenSupply.

Jump to

Keyboard shortcuts

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