Parameters

The pricefeed module has the following parameters:

KeyTypeExampleDescription
Marketsarray (Market)[{see below}]array of params for each market in the pricefeed

Each Market has the following parameters

KeyTypeExampleDescription
MarketIDstring“bnb:usd”identifier for the market — must be unique across markets
BaseAssetstring“bnb”the base asset for the market pair
QuoteAssetstring“usd”the quote asset for the market pair
Oraclesarray (AccAddress)[“fury1…”, “fury1…“]addresses which can post prices for the market
Activebooltrueflag to disable oracle interactions with the module