chainlink

package
v0.0.0-...-07d62d3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Context = "CHAINLINK"

Context to use for logging

Variables

This section is empty.

Functions

func GetPrice

func GetPrice(client *ethclient.Client, priceFeedAddress ethCommon.Address) (*big.Rat, error)

GetPrice using a Chainlink feed, caching the results in an internal server to make it thread safe

Types

This section is empty.

Jump to

Keyboard shortcuts

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