@gearbox-protocol/periphery-v3 1.7.0-next.44 → 1.7.0-next.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -269,6 +269,9 @@ contract PriceFeedCompressor is IPriceFeedCompressor {
269
269
  try IPriceFeed(priceFeed).skipPriceCheck() returns (bool skipCheck) {
270
270
  data.skipCheck = skipCheck;
271
271
  } catch {}
272
+ try IPriceFeed(priceFeed).description() returns (string memory description) {
273
+ data.description = description;
274
+ } catch {}
272
275
 
273
276
  try IUpdatablePriceFeed(priceFeed).updatable() returns (bool updatable) {
274
277
  data.updatable = updatable;
@@ -33,6 +33,7 @@ struct PriceFeedMapEntry {
33
33
 
34
34
  // TODO: revise fields
35
35
  /// @notice Represents a node in the price feed "tree"
36
+ /// @param description Price feed description
36
37
  /// @param priceFeed Price feed address
37
38
  /// @param decimals Price feed's decimals (might not be equal to 8 for lower-level)
38
39
  /// @param priceFeedType Price feed type (same as `PriceFeedType` but annotated as `uint8` to support future types),
@@ -47,6 +48,7 @@ struct PriceFeedMapEntry {
47
48
  /// @param answer Price feed answer packed in a struct
48
49
  struct PriceFeedTreeNode {
49
50
  BaseParams baseParams;
51
+ string description;
50
52
  uint8 decimals;
51
53
  bool skipCheck;
52
54
  bool updatable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/periphery-v3",
3
- "version": "1.7.0-next.44",
3
+ "version": "1.7.0-next.46",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:Gearbox-protocol/periphery-v3.git",
6
6
  "author": "Mikael <26343374+0xmikko@users.noreply.github.com>",