v3

package
v0.0.0-...-fadec25 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema() abi.Arguments

Schema returns this data version schema

Types

type Data

type Data struct {
	FeedID                feed.ID `abi:"feedId"`
	ObservationsTimestamp uint32
	BenchmarkPrice        *big.Int
	Bid                   *big.Int
	Ask                   *big.Int
	ValidFromTimestamp    uint32
	ExpiresAt             uint32
	LinkFee               *big.Int
	NativeFee             *big.Int
}

Data is the container for this schema attributes

func Decode

func Decode(data []byte) (*Data, error)

Decode decodes the serialized data bytes

func (Data) Schema

func (Data) Schema() abi.Arguments

Schema returns this data version schema

Jump to

Keyboard shortcuts

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