@gearbox-protocol/sdk 1.27.6 → 1.27.8

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.
@@ -46,6 +46,7 @@ struct GenericLPPriceFeedData {
46
46
  }
47
47
 
48
48
  struct RedStonePriceFeedData {
49
+ Tokens token;
49
50
  string tokenSymbol;
50
51
  bytes32 dataFeedId;
51
52
  address[10] signers;
@@ -392,6 +393,27 @@ contract PriceFeedDataLive {
392
393
  compoundV2PriceFeeds.push(GenericLPPriceFeedData({lpToken: Tokens.cUSDC, underlying: Tokens.USDC}));
393
394
  compoundV2PriceFeeds.push(GenericLPPriceFeedData({lpToken: Tokens.cUSDT, underlying: Tokens.USDT}));
394
395
  compoundV2PriceFeeds.push(GenericLPPriceFeedData({lpToken: Tokens.cWETH, underlying: Tokens.WETH}));
396
+
397
+ redStonePriceFeeds.push(
398
+ RedStonePriceFeedData({
399
+ token: Tokens.SHIB,
400
+ tokenSymbol: "SHIB",
401
+ dataFeedId: "redstone-main-demo",
402
+ signers: [
403
+ 0x0C39486f770B26F5527BBBf942726537986Cd7eb,
404
+ address(0),
405
+ address(0),
406
+ address(0),
407
+ address(0),
408
+ address(0),
409
+ address(0),
410
+ address(0),
411
+ address(0),
412
+ address(0)
413
+ ],
414
+ signersThreshold: 1
415
+ })
416
+ );
395
417
  }
396
418
 
397
419
  function chainlinkPriceFeeds(uint256 index) external view returns (ChainlinkPriceFeedData memory) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.27.6",
3
+ "version": "1.27.8",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",