mocks

package
v0.11.0-dev.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Median

type Median struct {
	mock.Mock
}

func (*Median) Address

func (m *Median) Address() types.Address

func (*Median) Age

func (m *Median) Age(ctx context.Context) (time.Time, error)

func (*Median) Bar

func (m *Median) Bar(ctx context.Context) (int64, error)

func (*Median) Drop

func (m *Median) Drop(ctx context.Context, addresses []types.Address, simulateBeforeRun bool) (*types.Hash, error)

func (*Median) Feeds

func (m *Median) Feeds(ctx context.Context) ([]types.Address, error)

func (*Median) Lift

func (m *Median) Lift(ctx context.Context, addresses []types.Address, simulateBeforeRun bool) (*types.Hash, error)

func (*Median) Poke

func (m *Median) Poke(ctx context.Context, prices []*median.Price, simulateBeforeRun bool) (*types.Hash, error)

func (*Median) SetBar

func (m *Median) SetBar(ctx context.Context, bar *big.Int, simulateBeforeRun bool) (*types.Hash, error)

func (*Median) Val

func (m *Median) Val(ctx context.Context) (*big.Int, error)

func (*Median) Wat

func (m *Median) Wat(ctx context.Context) (string, error)

Jump to

Keyboard shortcuts

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