Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- 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 MockLeverageKeeper
- func (m *MockLeverageKeeper) DeriveExchangeRate(ctx types.Context, denom string) types.Dec
- func (m *MockLeverageKeeper) EXPECT() *MockLeverageKeeperMockRecorder
- func (m *MockLeverageKeeper) ExchangeUToken(ctx types.Context, uToken types.Coin) (types.Coin, error)
- func (m *MockLeverageKeeper) GetTokenSettings(ctx types.Context, baseDenom string) (types1.Token, error)
- type MockLeverageKeeperMockRecorder
- type MockOracle
- type MockOracleMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 MockLeverageKeeper ¶
type MockLeverageKeeper struct {
// contains filtered or unexported fields
}
MockLeverageKeeper is a mock of LeverageKeeper interface.
func NewMockLeverageKeeper ¶
func NewMockLeverageKeeper(ctrl *gomock.Controller) *MockLeverageKeeper
NewMockLeverageKeeper creates a new mock instance.
func (*MockLeverageKeeper) DeriveExchangeRate ¶ added in v4.3.0
DeriveExchangeRate mocks base method.
func (*MockLeverageKeeper) EXPECT ¶
func (m *MockLeverageKeeper) EXPECT() *MockLeverageKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLeverageKeeper) ExchangeUToken ¶
func (m *MockLeverageKeeper) ExchangeUToken(ctx types.Context, uToken types.Coin) (types.Coin, error)
ExchangeUToken mocks base method.
func (*MockLeverageKeeper) GetTokenSettings ¶
func (m *MockLeverageKeeper) GetTokenSettings(ctx types.Context, baseDenom string) (types1.Token, error)
GetTokenSettings mocks base method.
type MockLeverageKeeperMockRecorder ¶
type MockLeverageKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockLeverageKeeperMockRecorder is the mock recorder for MockLeverageKeeper.
func (*MockLeverageKeeperMockRecorder) DeriveExchangeRate ¶ added in v4.3.0
func (mr *MockLeverageKeeperMockRecorder) DeriveExchangeRate(ctx, denom interface{}) *gomock.Call
DeriveExchangeRate indicates an expected call of DeriveExchangeRate.
func (*MockLeverageKeeperMockRecorder) ExchangeUToken ¶
func (mr *MockLeverageKeeperMockRecorder) ExchangeUToken(ctx, uToken interface{}) *gomock.Call
ExchangeUToken indicates an expected call of ExchangeUToken.
func (*MockLeverageKeeperMockRecorder) GetTokenSettings ¶
func (mr *MockLeverageKeeperMockRecorder) GetTokenSettings(ctx, baseDenom interface{}) *gomock.Call
GetTokenSettings indicates an expected call of GetTokenSettings.
type MockOracle ¶ added in v4.3.0
type MockOracle struct {
// contains filtered or unexported fields
}
MockOracle is a mock of Oracle interface.
func NewMockOracle ¶ added in v4.3.0
func NewMockOracle(ctrl *gomock.Controller) *MockOracle
NewMockOracle creates a new mock instance.
func (*MockOracle) EXPECT ¶ added in v4.3.0
func (m *MockOracle) EXPECT() *MockOracleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOracleMockRecorder ¶ added in v4.3.0
type MockOracleMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleMockRecorder is the mock recorder for MockOracle.
func (*MockOracleMockRecorder) Price ¶ added in v4.3.0
func (mr *MockOracleMockRecorder) Price(ctx, denom interface{}) *gomock.Call
Price indicates an expected call of Price.