Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- func NewLvgNoopMsgSrv() ltypes.MsgServer
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types0.Metadata, bool)
- func (m *MockBankKeeper) IterateAllDenomMetaData(ctx types.Context, cb func(types0.Metadata) bool)
- func (m *MockBankKeeper) SetDenomMetaData(ctx types.Context, denomMetaData types0.Metadata)
- type MockBankKeeperMockRecorder
- type MockLeverage
- func (m *MockLeverage) DeriveExchangeRate(ctx types.Context, denom string) types.Dec
- func (m *MockLeverage) EXPECT() *MockLeverageMockRecorder
- func (m *MockLeverage) GetAllRegisteredTokens(ctx types.Context) []types1.Token
- func (m *MockLeverage) GetTokenSettings(ctx types.Context, baseDenom string) (types1.Token, error)
- func (m *MockLeverage) ToToken(ctx types.Context, uToken types.Coin) (types.Coin, error)
- type MockLeverageMockRecorder
- func (mr *MockLeverageMockRecorder) DeriveExchangeRate(ctx, denom interface{}) *gomock.Call
- func (mr *MockLeverageMockRecorder) GetAllRegisteredTokens(ctx interface{}) *gomock.Call
- func (mr *MockLeverageMockRecorder) GetTokenSettings(ctx, baseDenom interface{}) *gomock.Call
- func (mr *MockLeverageMockRecorder) ToToken(ctx, uToken interface{}) *gomock.Call
- type MockOracle
- type MockOracleMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLvgNoopMsgSrv ¶ added in v6.4.0
Types ¶
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 ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetDenomMetaData ¶
GetDenomMetaData mocks base method.
func (*MockBankKeeper) IterateAllDenomMetaData ¶
IterateAllDenomMetaData mocks base method.
func (*MockBankKeeper) SetDenomMetaData ¶
func (m *MockBankKeeper) SetDenomMetaData(ctx types.Context, denomMetaData types0.Metadata)
SetDenomMetaData mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) GetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
GetDenomMetaData indicates an expected call of GetDenomMetaData.
func (*MockBankKeeperMockRecorder) IterateAllDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) IterateAllDenomMetaData(ctx, cb interface{}) *gomock.Call
IterateAllDenomMetaData indicates an expected call of IterateAllDenomMetaData.
func (*MockBankKeeperMockRecorder) SetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
SetDenomMetaData indicates an expected call of SetDenomMetaData.
type MockLeverage ¶
type MockLeverage struct {
// contains filtered or unexported fields
}
MockLeverage is a mock of Leverage interface.
func NewMockLeverage ¶
func NewMockLeverage(ctrl *gomock.Controller) *MockLeverage
NewMockLeverage creates a new mock instance.
func (*MockLeverage) DeriveExchangeRate ¶
DeriveExchangeRate mocks base method.
func (*MockLeverage) EXPECT ¶
func (m *MockLeverage) EXPECT() *MockLeverageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLeverage) GetAllRegisteredTokens ¶ added in v6.3.0
func (m *MockLeverage) GetAllRegisteredTokens(ctx types.Context) []types1.Token
GetAllRegisteredTokens mocks base method.
func (*MockLeverage) GetTokenSettings ¶
GetTokenSettings mocks base method.
type MockLeverageMockRecorder ¶
type MockLeverageMockRecorder struct {
// contains filtered or unexported fields
}
MockLeverageMockRecorder is the mock recorder for MockLeverage.
func (*MockLeverageMockRecorder) DeriveExchangeRate ¶
func (mr *MockLeverageMockRecorder) DeriveExchangeRate(ctx, denom interface{}) *gomock.Call
DeriveExchangeRate indicates an expected call of DeriveExchangeRate.
func (*MockLeverageMockRecorder) GetAllRegisteredTokens ¶ added in v6.3.0
func (mr *MockLeverageMockRecorder) GetAllRegisteredTokens(ctx interface{}) *gomock.Call
GetAllRegisteredTokens indicates an expected call of GetAllRegisteredTokens.
func (*MockLeverageMockRecorder) GetTokenSettings ¶
func (mr *MockLeverageMockRecorder) GetTokenSettings(ctx, baseDenom interface{}) *gomock.Call
GetTokenSettings indicates an expected call of GetTokenSettings.
func (*MockLeverageMockRecorder) ToToken ¶
func (mr *MockLeverageMockRecorder) ToToken(ctx, uToken interface{}) *gomock.Call
ToToken indicates an expected call of ToToken.
type MockOracle ¶
type MockOracle struct {
// contains filtered or unexported fields
}
MockOracle is a mock of Oracle interface.
func NewMockOracle ¶
func NewMockOracle(ctrl *gomock.Controller) *MockOracle
NewMockOracle creates a new mock instance.
func (*MockOracle) EXPECT ¶
func (m *MockOracle) EXPECT() *MockOracleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOracleMockRecorder ¶
type MockOracleMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleMockRecorder is the mock recorder for MockOracle.
func (*MockOracleMockRecorder) Price ¶
func (mr *MockOracleMockRecorder) Price(ctx, denom interface{}) *gomock.Call
Price indicates an expected call of Price.