mocks

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

func (*MockBankKeeper) GetDenomMetaData

func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types0.Metadata, bool)

GetDenomMetaData mocks base method.

func (*MockBankKeeper) IterateAllDenomMetaData

func (m *MockBankKeeper) IterateAllDenomMetaData(ctx types.Context, cb func(types0.Metadata) bool)

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

func (m *MockLeverage) DeriveExchangeRate(ctx types.Context, denom string) types.Dec

DeriveExchangeRate mocks base method.

func (*MockLeverage) EXPECT

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

func (*MockLeverage) GetTokenSettings

func (m *MockLeverage) GetTokenSettings(ctx types.Context, baseDenom string) (types1.Token, error)

GetTokenSettings mocks base method.

func (*MockLeverage) ToToken

func (m *MockLeverage) ToToken(ctx types.Context, uToken types.Coin) (types.Coin, error)

ToToken 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) 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.

func (*MockOracle) Price

func (m *MockOracle) Price(ctx types.Context, denom string) (types.Dec, error)

Price mocks base method.

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.

Jump to

Keyboard shortcuts

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