Documentation ¶
Overview ¶
Package mock_types is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress
- type MockAccountKeeperMockRecorder
- type MockAuctionKeeper
- func (m *MockAuctionKeeper) BeginAuction(ctx types.Context, startingTokensForSale types.Coin, ...) error
- func (m *MockAuctionKeeper) EXPECT() *MockAuctionKeeperMockRecorder
- func (m *MockAuctionKeeper) GetActiveAuctions(ctx types.Context) []*types3.Auction
- func (m *MockAuctionKeeper) GetTokenPrice(ctx types.Context, denom string) (types3.TokenPrice, bool)
- func (m *MockAuctionKeeper) GetTokenPrices(ctx types.Context) []*types3.TokenPrice
- type MockAuctionKeeperMockRecorder
- func (mr *MockAuctionKeeperMockRecorder) BeginAuction(ctx, startingTokensForSale, initialPriceDecreaseRate, ... interface{}) *gomock.Call
- func (mr *MockAuctionKeeperMockRecorder) GetActiveAuctions(ctx interface{}) *gomock.Call
- func (mr *MockAuctionKeeperMockRecorder) GetTokenPrice(ctx, denom interface{}) *gomock.Call
- func (mr *MockAuctionKeeperMockRecorder) GetTokenPrices(ctx interface{}) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins
- func (m *MockBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin
- func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types1.Metadata, bool)
- func (m *MockBankKeeper) LockedCoins(ctx types.Context, addr types.AccAddress) types.Coins
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error
- func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
- type MockCorkKeeper
- type MockCorkKeeperMockRecorder
- type MockMintKeeper
- type MockMintKeeperMockRecorder
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 ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
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 ¶
func (m *MockAuctionKeeper) EXPECT() *MockAuctionKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuctionKeeper) GetActiveAuctions ¶
func (m *MockAuctionKeeper) GetActiveAuctions(ctx types.Context) []*types3.Auction
GetActiveAuctions mocks base method.
func (*MockAuctionKeeper) GetTokenPrice ¶
func (m *MockAuctionKeeper) GetTokenPrice(ctx types.Context, denom string) (types3.TokenPrice, bool)
GetTokenPrice mocks base method.
func (*MockAuctionKeeper) GetTokenPrices ¶
func (m *MockAuctionKeeper) GetTokenPrices(ctx types.Context) []*types3.TokenPrice
GetTokenPrices 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.
func (*MockAuctionKeeperMockRecorder) GetTokenPrice ¶
func (mr *MockAuctionKeeperMockRecorder) GetTokenPrice(ctx, denom interface{}) *gomock.Call
GetTokenPrice indicates an expected call of GetTokenPrice.
func (*MockAuctionKeeperMockRecorder) GetTokenPrices ¶
func (mr *MockAuctionKeeperMockRecorder) GetTokenPrices(ctx interface{}) *gomock.Call
GetTokenPrices indicates an expected call of GetTokenPrices.
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 ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
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) GetDenomMetaData ¶
GetDenomMetaData 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) GetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
GetDenomMetaData indicates an expected call of GetDenomMetaData.
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 ¶
func (m *MockCorkKeeper) EXPECT() *MockCorkKeeperMockRecorder
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 ¶
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 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 ¶
func (m *MockMintKeeper) EXPECT() *MockMintKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMintKeeper) GetParams ¶
func (m *MockMintKeeper) GetParams(ctx types.Context) types2.Params
GetParams mocks base method.
func (*MockMintKeeper) StakingTokenSupply ¶
func (m *MockMintKeeper) StakingTokenSupply(ctx types.Context) math.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.