testutil

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Address1     = ethereum.HexToAddress("0x2d800d93b065ce011af83f316cef9f0d005b0aa4")
	Address2     = ethereum.HexToAddress("0x8eb3daaf5cb4138f5f96711c09c0cfd0288a36e9")
	PriceAAABBB1 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(10),
			Age: time.Unix(100, 0),
			V:   1,
			R:   [32]byte{1},
			S:   [32]byte{2},
		},
		Trace: nil,
	}
	PriceAAABBB2 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(20),
			Age: time.Unix(200, 0),
			V:   2,
			R:   [32]byte{3},
			S:   [32]byte{4},
		},
		Trace: nil,
	}
	PriceAAABBB3 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(30),
			Age: time.Unix(300, 0),
			V:   3,
			R:   [32]byte{4},
			S:   [32]byte{5},
		},
		Trace: nil,
	}
	PriceAAABBB4 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(30),
			Age: time.Unix(400, 0),
			V:   4,
			R:   [32]byte{5},
			S:   [32]byte{6},
		},
		Trace: nil,
	}
	PriceXXXYYY1 = &messages.Price{
		Price: &median.Price{
			Wat: "XXXYYY",
			Val: big.NewInt(10),
			Age: time.Unix(100, 0),
			V:   5,
			R:   [32]byte{6},
			S:   [32]byte{7},
		},
		Trace: nil,
	}
	PriceXXXYYY2 = &messages.Price{
		Price: &median.Price{
			Wat: "XXXYYY",
			Val: big.NewInt(20),
			Age: time.Unix(200, 0),
			V:   6,
			R:   [32]byte{7},
			S:   [32]byte{8},
		},
		Trace: nil,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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