testutil

package
v0.11.0-dev.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Address1     = types.MustAddressFromHex("0x2d800d93b065ce011af83f316cef9f0d005b0aa4")
	Address2     = types.MustAddressFromHex("0x8eb3daaf5cb4138f5f96711c09c0cfd0288a36e9")
	PriceAAABBB1 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(10),
			Age: time.Unix(100, 0),
			Sig: types.Signature{
				V: big.NewInt(1),
				R: big.NewInt(1),
				S: big.NewInt(2),
			},
		},
		Trace: nil,
	}
	PriceAAABBB2 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(20),
			Age: time.Unix(200, 0),
			Sig: types.Signature{
				V: big.NewInt(2),
				R: big.NewInt(3),
				S: big.NewInt(4),
			},
		},
		Trace: nil,
	}
	PriceAAABBB3 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(30),
			Age: time.Unix(300, 0),
			Sig: types.Signature{
				V: big.NewInt(3),
				R: big.NewInt(4),
				S: big.NewInt(5),
			},
		},
		Trace: nil,
	}
	PriceAAABBB4 = &messages.Price{
		Price: &median.Price{
			Wat: "AAABBB",
			Val: big.NewInt(30),
			Age: time.Unix(400, 0),
			Sig: types.Signature{
				V: big.NewInt(4),
				R: big.NewInt(5),
				S: big.NewInt(6),
			},
		},
		Trace: nil,
	}
	PriceXXXYYY1 = &messages.Price{
		Price: &median.Price{
			Wat: "XXXYYY",
			Val: big.NewInt(10),
			Age: time.Unix(100, 0),
			Sig: types.Signature{
				V: big.NewInt(5),
				R: big.NewInt(6),
				S: big.NewInt(7),
			},
		},
		Trace: nil,
	}
	PriceXXXYYY2 = &messages.Price{
		Price: &median.Price{
			Wat: "XXXYYY",
			Val: big.NewInt(20),
			Age: time.Unix(200, 0),
			Sig: types.Signature{
				V: big.NewInt(6),
				R: big.NewInt(7),
				S: big.NewInt(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