Options
All
  • Public
  • Public/Protected
  • All
Menu

Interacts with a Harbinger Oracle.

Hierarchy

  • HarbingerClient

Index

Constructors

constructor

  • new HarbingerClient(nodeUrl: string, oracleAddress: string, ovenProxyAddress: string): HarbingerClient
  • Construct a new Oracle Client.

    Parameters

    • nodeUrl: string

      The URL of the node to connect to.

    • oracleAddress: string

      The address of the Youves Oracle contract to read price from.

    • ovenProxyAddress: string

      The address of the oven proxy that is calling for the oracle data.

    Returns HarbingerClient

Properties

Readonly oracleAddress

oracleAddress: string

Readonly ovenProxyAddress

ovenProxyAddress: string

Private Readonly tezos

tezos: TezosToolkit

A TezosToolkit

Methods

getPriceData

Generated using TypeDoc