mocks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PriceKeeper

type PriceKeeper struct {
	mock.Mock
}

PriceKeeper is an autogenerated mock type for the PriceKeeper type

func (*PriceKeeper) CoinToMiniDollar

func (_m *PriceKeeper) CoinToMiniDollar(ctx types.Context, coin linotypes.Coin) (linotypes.MiniDollar, types.Error)

CoinToMiniDollar provides a mock function with given fields: ctx, coin

func (*PriceKeeper) CurrPrice added in v0.4.0

func (_m *PriceKeeper) CurrPrice(ctx types.Context) (linotypes.MiniDollar, types.Error)

CurrPrice provides a mock function with given fields: ctx

func (*PriceKeeper) FeedPrice added in v0.4.0

func (_m *PriceKeeper) FeedPrice(ctx types.Context, validator linotypes.AccountKey, _a2 linotypes.MiniDollar) types.Error

FeedPrice provides a mock function with given fields: ctx, validator, _a2

func (*PriceKeeper) HistoryPrice added in v0.4.0

func (_m *PriceKeeper) HistoryPrice(ctx types.Context) []model.FeedHistory

HistoryPrice provides a mock function with given fields: ctx

func (*PriceKeeper) InitGenesis added in v0.4.0

func (_m *PriceKeeper) InitGenesis(ctx types.Context, initPrice linotypes.MiniDollar) types.Error

InitGenesis provides a mock function with given fields: ctx, initPrice

func (*PriceKeeper) MiniDollarToCoin

func (_m *PriceKeeper) MiniDollarToCoin(ctx types.Context, dollar linotypes.MiniDollar) (linotypes.Coin, linotypes.MiniDollar, types.Error)

MiniDollarToCoin provides a mock function with given fields: ctx, dollar

func (*PriceKeeper) UpdatePrice added in v0.4.0

func (_m *PriceKeeper) UpdatePrice(ctx types.Context) types.Error

UpdatePrice provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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