@gearbox-protocol/sdk 16.6.0 → 16.6.2

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.
Files changed (118) hide show
  1. package/dist/cjs/dev/midasUtils.js +8 -5
  2. package/dist/cjs/onchain/OnchainSDK.js +3 -3
  3. package/dist/cjs/onchain/index.js +49 -38
  4. package/dist/cjs/onchain/market/index.js +49 -38
  5. package/dist/cjs/onchain/market/oracle/PriceOracleBaseContract.js +3 -3
  6. package/dist/cjs/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
  7. package/dist/cjs/onchain/market/pricefeeds/PriceFeedRegistry.js +127 -0
  8. package/dist/cjs/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
  9. package/dist/cjs/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
  10. package/dist/cjs/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
  11. package/dist/cjs/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
  12. package/dist/cjs/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
  13. package/dist/cjs/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
  14. package/dist/cjs/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
  15. package/dist/cjs/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
  16. package/dist/cjs/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
  17. package/dist/cjs/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
  18. package/dist/cjs/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
  19. package/dist/cjs/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
  20. package/dist/cjs/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
  21. package/dist/cjs/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
  22. package/dist/cjs/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
  23. package/dist/cjs/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
  24. package/dist/cjs/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
  25. package/dist/cjs/onchain/market/pricefeeds/feeds/index.js +35 -0
  26. package/dist/cjs/onchain/market/pricefeeds/index.js +51 -39
  27. package/dist/cjs/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +189 -0
  28. package/dist/cjs/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
  29. package/dist/cjs/onchain/market/pricefeeds/updates/index.js +8 -0
  30. package/dist/cjs/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
  31. package/dist/cjs/onchain/market/pricefeeds/updates/updatableDependencies.js +14 -0
  32. package/dist/cjs/permissionless/utils/price-update/get-price-update-tx.js +2 -2
  33. package/dist/cjs/permissionless/utils/price-update/get-updatable-feeds.js +2 -2
  34. package/dist/esm/dev/midasUtils.js +8 -5
  35. package/dist/esm/onchain/OnchainSDK.js +3 -3
  36. package/dist/esm/onchain/index.js +25 -20
  37. package/dist/esm/onchain/market/index.js +25 -20
  38. package/dist/esm/onchain/market/oracle/PriceOracleBaseContract.js +1 -1
  39. package/dist/esm/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
  40. package/dist/esm/onchain/market/pricefeeds/PriceFeedRegistry.js +126 -0
  41. package/dist/esm/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
  42. package/dist/esm/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
  43. package/dist/esm/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
  44. package/dist/esm/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
  45. package/dist/esm/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
  46. package/dist/esm/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
  47. package/dist/esm/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
  48. package/dist/esm/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
  49. package/dist/esm/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
  50. package/dist/esm/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
  51. package/dist/esm/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
  52. package/dist/esm/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
  53. package/dist/esm/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
  54. package/dist/esm/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
  55. package/dist/esm/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
  56. package/dist/esm/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
  57. package/dist/esm/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
  58. package/dist/esm/onchain/market/pricefeeds/feeds/index.js +18 -0
  59. package/dist/esm/onchain/market/pricefeeds/index.js +27 -21
  60. package/dist/esm/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +188 -0
  61. package/dist/esm/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
  62. package/dist/esm/onchain/market/pricefeeds/updates/index.js +5 -1
  63. package/dist/esm/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
  64. package/dist/esm/onchain/market/pricefeeds/updates/updatableDependencies.js +13 -0
  65. package/dist/esm/permissionless/utils/price-update/get-price-update-tx.js +1 -1
  66. package/dist/esm/permissionless/utils/price-update/get-updatable-feeds.js +1 -1
  67. package/dist/types/dev/midasUtils.d.ts +6 -2
  68. package/dist/types/onchain/OnchainSDK.d.ts +2 -2
  69. package/dist/types/onchain/index.d.ts +27 -22
  70. package/dist/types/onchain/market/index.d.ts +27 -22
  71. package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.ts +2 -1
  72. package/dist/types/onchain/market/oracle/types.d.ts +2 -1
  73. package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.ts +1 -2
  74. package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.ts +60 -0
  75. package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts +12 -0
  76. package/dist/types/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.d.ts → feeds/BalancerWeightedPriceFeed.d.ts} +7 -7
  77. package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts +15 -0
  78. package/dist/types/onchain/market/pricefeeds/{CompositePriceFeed.d.ts → feeds/CompositePriceFeed.d.ts} +6 -6
  79. package/dist/types/onchain/market/pricefeeds/{ConstantPriceFeed.d.ts → feeds/ConstantPriceFeed.d.ts} +6 -6
  80. package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts +12 -0
  81. package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts +12 -0
  82. package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts +12 -0
  83. package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts +12 -0
  84. package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts +11 -0
  85. package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts +12 -0
  86. package/dist/types/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.d.ts → feeds/PendleTWAPPTPriceFeed.d.ts} +3 -3
  87. package/dist/types/onchain/market/pricefeeds/{PythPriceFeed.d.ts → feeds/PythPriceFeed.d.ts} +3 -3
  88. package/dist/types/onchain/market/pricefeeds/{RedstonePriceFeed.d.ts → feeds/RedstonePriceFeed.d.ts} +9 -9
  89. package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts +12 -0
  90. package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts +12 -0
  91. package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts +11 -0
  92. package/dist/types/onchain/market/pricefeeds/feeds/index.d.ts +18 -0
  93. package/dist/types/onchain/market/pricefeeds/index.d.ts +28 -22
  94. package/dist/types/onchain/market/pricefeeds/types.d.ts +1 -31
  95. package/dist/types/onchain/market/pricefeeds/updates/RedstoneUpdater.d.ts +1 -1
  96. package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.ts +106 -0
  97. package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.ts +6 -0
  98. package/dist/types/onchain/market/pricefeeds/updates/index.d.ts +7 -3
  99. package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.ts +6 -0
  100. package/dist/types/onchain/market/pricefeeds/updates/types.d.ts +56 -2
  101. package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.ts +10 -0
  102. package/package.json +1 -1
  103. package/dist/cjs/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -301
  104. package/dist/esm/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -300
  105. package/dist/types/onchain/market/pricefeeds/BalancerStablePriceFeed.d.ts +0 -12
  106. package/dist/types/onchain/market/pricefeeds/BoundedPriceFeed.d.ts +0 -15
  107. package/dist/types/onchain/market/pricefeeds/CurveCryptoPriceFeed.d.ts +0 -12
  108. package/dist/types/onchain/market/pricefeeds/CurveStablePriceFeed.d.ts +0 -12
  109. package/dist/types/onchain/market/pricefeeds/CurveUSDPriceFeed.d.ts +0 -12
  110. package/dist/types/onchain/market/pricefeeds/Erc4626PriceFeed.d.ts +0 -12
  111. package/dist/types/onchain/market/pricefeeds/ExternalPriceFeed.d.ts +0 -11
  112. package/dist/types/onchain/market/pricefeeds/MellowLRTPriceFeed.d.ts +0 -12
  113. package/dist/types/onchain/market/pricefeeds/PriceFeedsRegister.d.ts +0 -180
  114. package/dist/types/onchain/market/pricefeeds/WstETHPriceFeed.d.ts +0 -12
  115. package/dist/types/onchain/market/pricefeeds/YearnPriceFeed.d.ts +0 -12
  116. package/dist/types/onchain/market/pricefeeds/ZeroPriceFeed.d.ts +0 -11
  117. package/dist/types/onchain/market/pricefeeds/getRawPriceUpdates.d.ts +0 -5
  118. package/dist/types/onchain/market/pricefeeds/isUpdatablePriceFeed.d.ts +0 -5
@@ -0,0 +1,127 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_onchain_utils_AddressMap = require("../../utils/AddressMap.js");
3
+ const require_onchain_utils_bytes32ToString = require("../../utils/bytes32ToString.js");
4
+ require("../../utils/index.js");
5
+ const require_onchain_base_SDKConstruct = require("../../base/SDKConstruct.js");
6
+ require("../../base/index.js");
7
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
8
+ const require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed = require("./feeds/BalancerStablePriceFeed.js");
9
+ const require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed = require("./feeds/BalancerWeightedPriceFeed.js");
10
+ const require_onchain_market_pricefeeds_feeds_BoundedPriceFeed = require("./feeds/BoundedPriceFeed.js");
11
+ const require_onchain_market_pricefeeds_feeds_CompositePriceFeed = require("./feeds/CompositePriceFeed.js");
12
+ const require_onchain_market_pricefeeds_feeds_ConstantPriceFeed = require("./feeds/ConstantPriceFeed.js");
13
+ const require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed = require("./feeds/CurveCryptoPriceFeed.js");
14
+ const require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed = require("./feeds/CurveStablePriceFeed.js");
15
+ const require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed = require("./feeds/CurveUSDPriceFeed.js");
16
+ const require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed = require("./feeds/Erc4626PriceFeed.js");
17
+ const require_onchain_market_pricefeeds_feeds_ExternalPriceFeed = require("./feeds/ExternalPriceFeed.js");
18
+ const require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed = require("./feeds/MellowLRTPriceFeed.js");
19
+ const require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed = require("./feeds/PendleTWAPPTPriceFeed.js");
20
+ const require_onchain_market_pricefeeds_feeds_PythPriceFeed = require("./feeds/PythPriceFeed.js");
21
+ const require_onchain_market_pricefeeds_feeds_RedstonePriceFeed = require("./feeds/RedstonePriceFeed.js");
22
+ const require_onchain_market_pricefeeds_feeds_WstETHPriceFeed = require("./feeds/WstETHPriceFeed.js");
23
+ const require_onchain_market_pricefeeds_feeds_YearnPriceFeed = require("./feeds/YearnPriceFeed.js");
24
+ const require_onchain_market_pricefeeds_feeds_ZeroPriceFeed = require("./feeds/ZeroPriceFeed.js");
25
+ //#region src/onchain/market/pricefeeds/PriceFeedRegistry.ts
26
+ /**
27
+ * Chain-level cache of price feed contract instances.
28
+ *
29
+ * All {@link IPriceOracleContract}s across different markets share a single
30
+ * `PriceFeedRegistry`, avoiding duplicate contract wrappers for the same
31
+ * on-chain feed.
32
+ **/
33
+ var PriceFeedRegistry = class extends require_onchain_base_SDKConstruct.SDKConstruct {
34
+ #feeds = new require_onchain_utils_AddressMap.AddressMap(void 0, "priceFeeds");
35
+ /**
36
+ * Returns all price feeds known to sdk
37
+ */
38
+ get feeds() {
39
+ return this.#feeds.values();
40
+ }
41
+ /**
42
+ * Checks whether a price feed is already registered at the given address.
43
+ * @param address - On-chain address to look up.
44
+ **/
45
+ has(address) {
46
+ return this.#feeds.has(address);
47
+ }
48
+ /**
49
+ * Returns the cached price feed contract at the given address, if any.
50
+ * @param address - On-chain address to look up.
51
+ **/
52
+ get(address) {
53
+ return this.#feeds.get(address);
54
+ }
55
+ /**
56
+ * Returns the cached price feed contract at the given address.
57
+ * @param address - On-chain address to look up.
58
+ * @throws If no feed is registered at that address.
59
+ **/
60
+ mustGet(address) {
61
+ return this.#feeds.mustGet(address);
62
+ }
63
+ /**
64
+ * Inserts or updates a price feed from a full tree node.
65
+ *
66
+ * If a fully loaded feed already exists at the same address, only the
67
+ * answer is refreshed. Otherwise a new contract wrapper is created and
68
+ * cached.
69
+ *
70
+ * @param data - Full price feed tree node from the compressor.
71
+ * @returns The cached (or newly created) feed instance.
72
+ * @throws If the created feed is only partially initialized.
73
+ **/
74
+ upsert(data) {
75
+ const existing = this.#feeds.get(data.baseParams.addr);
76
+ if (existing?.loaded) {
77
+ existing.updateAnswer(data.answer);
78
+ return existing;
79
+ }
80
+ const feed = this.create(data);
81
+ if (!feed.loaded) throw new require_onchain_market_pricefeeds_AbstractPriceFeed.PartialPriceFeedInitError({
82
+ ...data,
83
+ abi: [],
84
+ name: ""
85
+ });
86
+ this.#feeds.upsert(data.baseParams.addr, feed);
87
+ return feed;
88
+ }
89
+ /**
90
+ * Instantiates the appropriate price feed contract wrapper based on
91
+ * the `contractType` discriminator in the node's base params.
92
+ *
93
+ * @param data - Partial or full price feed tree node.
94
+ * @returns A new (uncached) feed contract instance.
95
+ * @throws If the contract type is unsupported and strict mode is enabled.
96
+ **/
97
+ create(data) {
98
+ const contractType = require_onchain_utils_bytes32ToString.bytes32ToString(data.baseParams.contractType);
99
+ switch (contractType) {
100
+ case "PRICE_FEED::BALANCER_STABLE": return new require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed.BalancerStablePriceFeedContract(this.sdk, data);
101
+ case "PRICE_FEED::BALANCER_WEIGHTED": return new require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed.BalancerWeightedPriceFeedContract(this.sdk, data);
102
+ case "PRICE_FEED::BOUNDED": return new require_onchain_market_pricefeeds_feeds_BoundedPriceFeed.BoundedPriceFeedContract(this.sdk, data);
103
+ case "PRICE_FEED::COMPOSITE": return new require_onchain_market_pricefeeds_feeds_CompositePriceFeed.CompositePriceFeedContract(this.sdk, data);
104
+ case "PRICE_FEED::CONSTANT": return new require_onchain_market_pricefeeds_feeds_ConstantPriceFeed.ConstantPriceFeedContract(this.sdk, data);
105
+ case "PRICE_FEED::CURVE_CRYPTO": return new require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed.CurveCryptoPriceFeedContract(this.sdk, data);
106
+ case "PRICE_FEED::CURVE_STABLE": return new require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed.CurveStablePriceFeedContract(this.sdk, data);
107
+ case "PRICE_FEED::CURVE_USD": return new require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed.CurveUSDPriceFeedContract(this.sdk, data);
108
+ case "PRICE_FEED::ERC4626": return new require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed.Erc4626PriceFeedContract(this.sdk, data);
109
+ case "PRICE_FEED::EXTERNAL": return new require_onchain_market_pricefeeds_feeds_ExternalPriceFeed.ExternalPriceFeedContract(this.sdk, data);
110
+ case "PRICE_FEED::MELLOW_LRT": return new require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed.MellowLRTPriceFeedContract(this.sdk, data);
111
+ case "PRICE_FEED::PENDLE_PT_TWAP": return new require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed.PendleTWAPPTPriceFeed(this.sdk, data);
112
+ case "PRICE_FEED::PYTH": return new require_onchain_market_pricefeeds_feeds_PythPriceFeed.PythPriceFeed(this.sdk, data);
113
+ case "PRICE_FEED::REDSTONE": return new require_onchain_market_pricefeeds_feeds_RedstonePriceFeed.RedstonePriceFeedContract(this.sdk, data);
114
+ case "PRICE_FEED::WSTETH": return new require_onchain_market_pricefeeds_feeds_WstETHPriceFeed.WstETHPriceFeedContract(this.sdk, data);
115
+ case "PRICE_FEED::YEARN": return new require_onchain_market_pricefeeds_feeds_YearnPriceFeed.YearnPriceFeedContract(this.sdk, data);
116
+ case "PRICE_FEED::ZERO": return new require_onchain_market_pricefeeds_feeds_ZeroPriceFeed.ZeroPriceFeedContract(this.sdk, data);
117
+ default: {
118
+ const err = /* @__PURE__ */ new Error(`Price feed type ${contractType} not supported for price feed at ${data.baseParams.addr}`);
119
+ if (this.sdk.strictContractTypes) throw err;
120
+ this.logger?.error(err);
121
+ return new require_onchain_market_pricefeeds_feeds_ExternalPriceFeed.ExternalPriceFeedContract(this.sdk, data);
122
+ }
123
+ }
124
+ }
125
+ };
126
+ //#endregion
127
+ exports.PriceFeedRegistry = PriceFeedRegistry;
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/BalancerStablePriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.ts
6
6
  var BalancerStablePriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
5
  let viem = require("viem");
6
- //#region src/onchain/market/pricefeeds/BalancerWeightedPriceFeed.ts
6
+ //#region src/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.ts
7
7
  var BalancerWeightedPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
8
8
  vault;
9
9
  poolId;
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
5
  let viem = require("viem");
6
- //#region src/onchain/market/pricefeeds/BoundedPriceFeed.ts
6
+ //#region src/onchain/market/pricefeeds/feeds/BoundedPriceFeed.ts
7
7
  var BoundedPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
8
8
  upperBound;
9
9
  constructor(options, args) {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/CompositePriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/CompositePriceFeed.ts
6
6
  var CompositePriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
4
  let viem = require("viem");
5
- //#region src/onchain/market/pricefeeds/ConstantPriceFeed.ts
5
+ //#region src/onchain/market/pricefeeds/feeds/ConstantPriceFeed.ts
6
6
  var ConstantPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
7
7
  price;
8
8
  constructor(options, args) {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/CurveCryptoPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.ts
6
6
  var CurveCryptoPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/CurveStablePriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.ts
6
6
  var CurveStablePriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/CurveUSDPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.ts
6
6
  var CurveUSDPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/Erc4626PriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.ts
6
6
  var Erc4626PriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/ExternalPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/ExternalPriceFeed.ts
6
6
  var ExternalPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/MellowLRTPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.ts
6
6
  var MellowLRTPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
5
  let viem = require("viem");
6
- //#region src/onchain/market/pricefeeds/PendleTWAPPTPriceFeed.ts
6
+ //#region src/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.ts
7
7
  const abi = require_onchain_abi_oracles.pendleTWAPPTPriceFeedAbi;
8
8
  var PendleTWAPPTPriceFeed = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
9
9
  market;
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
4
  let viem = require("viem");
5
- //#region src/onchain/market/pricefeeds/PythPriceFeed.ts
5
+ //#region src/onchain/market/pricefeeds/feeds/PythPriceFeed.ts
6
6
  const abi = require_onchain_abi_oracles.pythPriceFeedAbi;
7
7
  var PythPriceFeed = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
8
8
  token;
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_constants_addresses = require("../../constants/addresses.js");
3
- require("../../constants/index.js");
4
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
5
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
6
- require("../../abi/index.js");
2
+ const require_onchain_constants_addresses = require("../../../constants/addresses.js");
3
+ require("../../../constants/index.js");
4
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
5
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
6
+ require("../../../abi/index.js");
7
7
  let viem = require("viem");
8
- //#region src/onchain/market/pricefeeds/RedstonePriceFeed.ts
8
+ //#region src/onchain/market/pricefeeds/feeds/RedstonePriceFeed.ts
9
9
  var RedstonePriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
10
10
  token;
11
11
  dataServiceId;
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/WstETHPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/WstETHPriceFeed.ts
6
6
  var WstETHPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/YearnPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("../AbstractLPPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/YearnPriceFeed.ts
6
6
  var YearnPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
3
- const require_onchain_abi_oracles = require("../../abi/oracles.js");
4
- require("../../abi/index.js");
5
- //#region src/onchain/market/pricefeeds/ZeroPriceFeed.ts
2
+ const require_onchain_market_pricefeeds_AbstractPriceFeed = require("../AbstractPriceFeed.js");
3
+ const require_onchain_abi_oracles = require("../../../abi/oracles.js");
4
+ require("../../../abi/index.js");
5
+ //#region src/onchain/market/pricefeeds/feeds/ZeroPriceFeed.ts
6
6
  var ZeroPriceFeedContract = class extends require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract {
7
7
  constructor(options, args) {
8
8
  super(options, {
@@ -0,0 +1,35 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed = require("./BalancerStablePriceFeed.js");
3
+ const require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed = require("./BalancerWeightedPriceFeed.js");
4
+ const require_onchain_market_pricefeeds_feeds_BoundedPriceFeed = require("./BoundedPriceFeed.js");
5
+ const require_onchain_market_pricefeeds_feeds_CompositePriceFeed = require("./CompositePriceFeed.js");
6
+ const require_onchain_market_pricefeeds_feeds_ConstantPriceFeed = require("./ConstantPriceFeed.js");
7
+ const require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed = require("./CurveCryptoPriceFeed.js");
8
+ const require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed = require("./CurveStablePriceFeed.js");
9
+ const require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed = require("./CurveUSDPriceFeed.js");
10
+ const require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed = require("./Erc4626PriceFeed.js");
11
+ const require_onchain_market_pricefeeds_feeds_ExternalPriceFeed = require("./ExternalPriceFeed.js");
12
+ const require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed = require("./MellowLRTPriceFeed.js");
13
+ const require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed = require("./PendleTWAPPTPriceFeed.js");
14
+ const require_onchain_market_pricefeeds_feeds_PythPriceFeed = require("./PythPriceFeed.js");
15
+ const require_onchain_market_pricefeeds_feeds_RedstonePriceFeed = require("./RedstonePriceFeed.js");
16
+ const require_onchain_market_pricefeeds_feeds_WstETHPriceFeed = require("./WstETHPriceFeed.js");
17
+ const require_onchain_market_pricefeeds_feeds_YearnPriceFeed = require("./YearnPriceFeed.js");
18
+ const require_onchain_market_pricefeeds_feeds_ZeroPriceFeed = require("./ZeroPriceFeed.js");
19
+ exports.BalancerStablePriceFeedContract = require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed.BalancerStablePriceFeedContract;
20
+ exports.BalancerWeightedPriceFeedContract = require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed.BalancerWeightedPriceFeedContract;
21
+ exports.BoundedPriceFeedContract = require_onchain_market_pricefeeds_feeds_BoundedPriceFeed.BoundedPriceFeedContract;
22
+ exports.CompositePriceFeedContract = require_onchain_market_pricefeeds_feeds_CompositePriceFeed.CompositePriceFeedContract;
23
+ exports.ConstantPriceFeedContract = require_onchain_market_pricefeeds_feeds_ConstantPriceFeed.ConstantPriceFeedContract;
24
+ exports.CurveCryptoPriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed.CurveCryptoPriceFeedContract;
25
+ exports.CurveStablePriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed.CurveStablePriceFeedContract;
26
+ exports.CurveUSDPriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed.CurveUSDPriceFeedContract;
27
+ exports.Erc4626PriceFeedContract = require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed.Erc4626PriceFeedContract;
28
+ exports.ExternalPriceFeedContract = require_onchain_market_pricefeeds_feeds_ExternalPriceFeed.ExternalPriceFeedContract;
29
+ exports.MellowLRTPriceFeedContract = require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed.MellowLRTPriceFeedContract;
30
+ exports.PendleTWAPPTPriceFeed = require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed.PendleTWAPPTPriceFeed;
31
+ exports.PythPriceFeed = require_onchain_market_pricefeeds_feeds_PythPriceFeed.PythPriceFeed;
32
+ exports.RedstonePriceFeedContract = require_onchain_market_pricefeeds_feeds_RedstonePriceFeed.RedstonePriceFeedContract;
33
+ exports.WstETHPriceFeedContract = require_onchain_market_pricefeeds_feeds_WstETHPriceFeed.WstETHPriceFeedContract;
34
+ exports.YearnPriceFeedContract = require_onchain_market_pricefeeds_feeds_YearnPriceFeed.YearnPriceFeedContract;
35
+ exports.ZeroPriceFeedContract = require_onchain_market_pricefeeds_feeds_ZeroPriceFeed.ZeroPriceFeedContract;
@@ -1,51 +1,63 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_onchain_market_pricefeeds_isUpdatablePriceFeed = require("./isUpdatablePriceFeed.js");
3
2
  const require_onchain_market_pricefeeds_PriceFeedRef = require("./PriceFeedRef.js");
4
3
  const require_onchain_market_pricefeeds_AbstractPriceFeed = require("./AbstractPriceFeed.js");
5
4
  const require_onchain_market_pricefeeds_AbstractLPPriceFeed = require("./AbstractLPPriceFeed.js");
6
- const require_onchain_market_pricefeeds_BalancerStablePriceFeed = require("./BalancerStablePriceFeed.js");
7
- const require_onchain_market_pricefeeds_BalancerWeightedPriceFeed = require("./BalancerWeightedPriceFeed.js");
8
- const require_onchain_market_pricefeeds_BoundedPriceFeed = require("./BoundedPriceFeed.js");
9
- const require_onchain_market_pricefeeds_CompositePriceFeed = require("./CompositePriceFeed.js");
10
- const require_onchain_market_pricefeeds_CurveCryptoPriceFeed = require("./CurveCryptoPriceFeed.js");
11
- const require_onchain_market_pricefeeds_CurveStablePriceFeed = require("./CurveStablePriceFeed.js");
12
- const require_onchain_market_pricefeeds_CurveUSDPriceFeed = require("./CurveUSDPriceFeed.js");
13
- const require_onchain_market_pricefeeds_Erc4626PriceFeed = require("./Erc4626PriceFeed.js");
14
- const require_onchain_market_pricefeeds_ExternalPriceFeed = require("./ExternalPriceFeed.js");
15
- const require_onchain_market_pricefeeds_getRawPriceUpdates = require("./getRawPriceUpdates.js");
16
- const require_onchain_market_pricefeeds_MellowLRTPriceFeed = require("./MellowLRTPriceFeed.js");
17
- const require_onchain_market_pricefeeds_PendleTWAPPTPriceFeed = require("./PendleTWAPPTPriceFeed.js");
18
- const require_onchain_market_pricefeeds_PythPriceFeed = require("./PythPriceFeed.js");
19
- const require_onchain_market_pricefeeds_RedstonePriceFeed = require("./RedstonePriceFeed.js");
5
+ const require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed = require("./feeds/BalancerStablePriceFeed.js");
6
+ const require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed = require("./feeds/BalancerWeightedPriceFeed.js");
7
+ const require_onchain_market_pricefeeds_feeds_BoundedPriceFeed = require("./feeds/BoundedPriceFeed.js");
8
+ const require_onchain_market_pricefeeds_feeds_CompositePriceFeed = require("./feeds/CompositePriceFeed.js");
9
+ const require_onchain_market_pricefeeds_feeds_ConstantPriceFeed = require("./feeds/ConstantPriceFeed.js");
10
+ const require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed = require("./feeds/CurveCryptoPriceFeed.js");
11
+ const require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed = require("./feeds/CurveStablePriceFeed.js");
12
+ const require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed = require("./feeds/CurveUSDPriceFeed.js");
13
+ const require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed = require("./feeds/Erc4626PriceFeed.js");
14
+ const require_onchain_market_pricefeeds_feeds_ExternalPriceFeed = require("./feeds/ExternalPriceFeed.js");
15
+ const require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed = require("./feeds/MellowLRTPriceFeed.js");
16
+ const require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed = require("./feeds/PendleTWAPPTPriceFeed.js");
17
+ const require_onchain_market_pricefeeds_feeds_PythPriceFeed = require("./feeds/PythPriceFeed.js");
18
+ const require_onchain_market_pricefeeds_feeds_RedstonePriceFeed = require("./feeds/RedstonePriceFeed.js");
19
+ const require_onchain_market_pricefeeds_feeds_WstETHPriceFeed = require("./feeds/WstETHPriceFeed.js");
20
+ const require_onchain_market_pricefeeds_feeds_YearnPriceFeed = require("./feeds/YearnPriceFeed.js");
21
+ const require_onchain_market_pricefeeds_feeds_ZeroPriceFeed = require("./feeds/ZeroPriceFeed.js");
22
+ require("./feeds/index.js");
23
+ const require_onchain_market_pricefeeds_PriceFeedRegistry = require("./PriceFeedRegistry.js");
24
+ require("./types.js");
20
25
  const require_onchain_market_pricefeeds_updates_fetchRedstonePayloads = require("./updates/fetchRedstonePayloads.js");
26
+ const require_onchain_market_pricefeeds_updates_getRawPriceUpdates = require("./updates/getRawPriceUpdates.js");
27
+ const require_onchain_market_pricefeeds_updates_isUpdatablePriceFeed = require("./updates/isUpdatablePriceFeed.js");
28
+ const require_onchain_market_pricefeeds_updates_PriceUpdatesCache = require("./updates/PriceUpdatesCache.js");
29
+ const require_onchain_market_pricefeeds_updates_RedstoneUpdater = require("./updates/RedstoneUpdater.js");
30
+ const require_onchain_market_pricefeeds_updates_updatableDependencies = require("./updates/updatableDependencies.js");
31
+ const require_onchain_market_pricefeeds_updates_UpdatablePriceFeedRegistry = require("./updates/UpdatablePriceFeedRegistry.js");
21
32
  require("./updates/index.js");
22
- const require_onchain_market_pricefeeds_WstETHPriceFeed = require("./WstETHPriceFeed.js");
23
- const require_onchain_market_pricefeeds_YearnPriceFeed = require("./YearnPriceFeed.js");
24
- const require_onchain_market_pricefeeds_ZeroPriceFeed = require("./ZeroPriceFeed.js");
25
- const require_onchain_market_pricefeeds_PriceFeedsRegister = require("./PriceFeedsRegister.js");
26
- require("./types.js");
27
33
  exports.AbstractLPPriceFeedContract = require_onchain_market_pricefeeds_AbstractLPPriceFeed.AbstractLPPriceFeedContract;
28
34
  exports.AbstractPriceFeedContract = require_onchain_market_pricefeeds_AbstractPriceFeed.AbstractPriceFeedContract;
29
- exports.BalancerStablePriceFeedContract = require_onchain_market_pricefeeds_BalancerStablePriceFeed.BalancerStablePriceFeedContract;
30
- exports.BalancerWeightedPriceFeedContract = require_onchain_market_pricefeeds_BalancerWeightedPriceFeed.BalancerWeightedPriceFeedContract;
31
- exports.BoundedPriceFeedContract = require_onchain_market_pricefeeds_BoundedPriceFeed.BoundedPriceFeedContract;
32
- exports.CompositePriceFeedContract = require_onchain_market_pricefeeds_CompositePriceFeed.CompositePriceFeedContract;
33
- exports.CurveCryptoPriceFeedContract = require_onchain_market_pricefeeds_CurveCryptoPriceFeed.CurveCryptoPriceFeedContract;
34
- exports.CurveStablePriceFeedContract = require_onchain_market_pricefeeds_CurveStablePriceFeed.CurveStablePriceFeedContract;
35
- exports.CurveUSDPriceFeedContract = require_onchain_market_pricefeeds_CurveUSDPriceFeed.CurveUSDPriceFeedContract;
36
- exports.Erc4626PriceFeedContract = require_onchain_market_pricefeeds_Erc4626PriceFeed.Erc4626PriceFeedContract;
37
- exports.ExternalPriceFeedContract = require_onchain_market_pricefeeds_ExternalPriceFeed.ExternalPriceFeedContract;
38
- exports.MellowLRTPriceFeedContract = require_onchain_market_pricefeeds_MellowLRTPriceFeed.MellowLRTPriceFeedContract;
35
+ exports.BalancerStablePriceFeedContract = require_onchain_market_pricefeeds_feeds_BalancerStablePriceFeed.BalancerStablePriceFeedContract;
36
+ exports.BalancerWeightedPriceFeedContract = require_onchain_market_pricefeeds_feeds_BalancerWeightedPriceFeed.BalancerWeightedPriceFeedContract;
37
+ exports.BoundedPriceFeedContract = require_onchain_market_pricefeeds_feeds_BoundedPriceFeed.BoundedPriceFeedContract;
38
+ exports.CompositePriceFeedContract = require_onchain_market_pricefeeds_feeds_CompositePriceFeed.CompositePriceFeedContract;
39
+ exports.ConstantPriceFeedContract = require_onchain_market_pricefeeds_feeds_ConstantPriceFeed.ConstantPriceFeedContract;
40
+ exports.CurveCryptoPriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveCryptoPriceFeed.CurveCryptoPriceFeedContract;
41
+ exports.CurveStablePriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveStablePriceFeed.CurveStablePriceFeedContract;
42
+ exports.CurveUSDPriceFeedContract = require_onchain_market_pricefeeds_feeds_CurveUSDPriceFeed.CurveUSDPriceFeedContract;
43
+ exports.Erc4626PriceFeedContract = require_onchain_market_pricefeeds_feeds_Erc4626PriceFeed.Erc4626PriceFeedContract;
44
+ exports.ExternalPriceFeedContract = require_onchain_market_pricefeeds_feeds_ExternalPriceFeed.ExternalPriceFeedContract;
45
+ exports.MellowLRTPriceFeedContract = require_onchain_market_pricefeeds_feeds_MellowLRTPriceFeed.MellowLRTPriceFeedContract;
39
46
  exports.PartialPriceFeedInitError = require_onchain_market_pricefeeds_AbstractPriceFeed.PartialPriceFeedInitError;
40
- exports.PendleTWAPPTPriceFeed = require_onchain_market_pricefeeds_PendleTWAPPTPriceFeed.PendleTWAPPTPriceFeed;
47
+ exports.PendleTWAPPTPriceFeed = require_onchain_market_pricefeeds_feeds_PendleTWAPPTPriceFeed.PendleTWAPPTPriceFeed;
41
48
  exports.PriceFeedRef = require_onchain_market_pricefeeds_PriceFeedRef.PriceFeedRef;
42
- exports.PriceFeedRegister = require_onchain_market_pricefeeds_PriceFeedsRegister.PriceFeedRegister;
43
- exports.PythPriceFeed = require_onchain_market_pricefeeds_PythPriceFeed.PythPriceFeed;
44
- exports.RedstonePriceFeedContract = require_onchain_market_pricefeeds_RedstonePriceFeed.RedstonePriceFeedContract;
45
- exports.WstETHPriceFeedContract = require_onchain_market_pricefeeds_WstETHPriceFeed.WstETHPriceFeedContract;
46
- exports.YearnPriceFeedContract = require_onchain_market_pricefeeds_YearnPriceFeed.YearnPriceFeedContract;
47
- exports.ZeroPriceFeedContract = require_onchain_market_pricefeeds_ZeroPriceFeed.ZeroPriceFeedContract;
49
+ exports.PriceFeedRegistry = require_onchain_market_pricefeeds_PriceFeedRegistry.PriceFeedRegistry;
50
+ exports.PriceUpdatesCache = require_onchain_market_pricefeeds_updates_PriceUpdatesCache.PriceUpdatesCache;
51
+ exports.PythPriceFeed = require_onchain_market_pricefeeds_feeds_PythPriceFeed.PythPriceFeed;
52
+ exports.RedstoneOptions = require_onchain_market_pricefeeds_updates_RedstoneUpdater.RedstoneOptions;
53
+ exports.RedstonePriceFeedContract = require_onchain_market_pricefeeds_feeds_RedstonePriceFeed.RedstonePriceFeedContract;
54
+ exports.RedstoneUpdater = require_onchain_market_pricefeeds_updates_RedstoneUpdater.RedstoneUpdater;
55
+ exports.UpdatablePriceFeedRegistry = require_onchain_market_pricefeeds_updates_UpdatablePriceFeedRegistry.UpdatablePriceFeedRegistry;
56
+ exports.WstETHPriceFeedContract = require_onchain_market_pricefeeds_feeds_WstETHPriceFeed.WstETHPriceFeedContract;
57
+ exports.YearnPriceFeedContract = require_onchain_market_pricefeeds_feeds_YearnPriceFeed.YearnPriceFeedContract;
58
+ exports.ZeroPriceFeedContract = require_onchain_market_pricefeeds_feeds_ZeroPriceFeed.ZeroPriceFeedContract;
48
59
  exports.fetchRedstonePayloads = require_onchain_market_pricefeeds_updates_fetchRedstonePayloads.fetchRedstonePayloads;
49
- exports.getRawPriceUpdates = require_onchain_market_pricefeeds_getRawPriceUpdates.getRawPriceUpdates;
60
+ exports.getRawPriceUpdates = require_onchain_market_pricefeeds_updates_getRawPriceUpdates.getRawPriceUpdates;
50
61
  exports.isLPPriceFeed = require_onchain_market_pricefeeds_AbstractLPPriceFeed.isLPPriceFeed;
51
- exports.isUpdatablePriceFeed = require_onchain_market_pricefeeds_isUpdatablePriceFeed.isUpdatablePriceFeed;
62
+ exports.isUpdatablePriceFeed = require_onchain_market_pricefeeds_updates_isUpdatablePriceFeed.isUpdatablePriceFeed;
63
+ exports.updatableDependencies = require_onchain_market_pricefeeds_updates_updatableDependencies.updatableDependencies;