prices

package
v0.0.0-...-915a8db Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prices

type Prices struct {
	// contains filtered or unexported fields
}

func New

func New(
	vegaWalletMnemonic, ethPrivKey, vegaNodeAddr string,
) (*Prices, error)

func (*Prices) Send

func (p *Prices) Send(
	timestamp uint64,
	newPrices []openoracle.OraclePrice,
) error

Send Prices will use the configured ethereum from the configuration to bundle the new prices, and sign the open oracles bundle. then the bundle is sent ot the vega network

Jump to

Keyboard shortcuts

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