mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: AGPL-3.0 Imports: 7 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() common.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 []common.Address, simulateBeforeRun bool) (*ethereum.Hash, error)

func (*Median) Feeds

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

func (*Median) Lift

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

func (*Median) Poke

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

func (*Median) SetBar

func (m *Median) SetBar(ctx context.Context, bar *big.Int, simulateBeforeRun bool) (*ethereum.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