@xyo-network/gas-price-plugin 2.75.0 → 2.75.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 (252) hide show
  1. package/dist/browser/Diviner.d.cts +16 -0
  2. package/dist/browser/Diviner.d.cts.map +1 -0
  3. package/dist/browser/Diviner.js +5 -225
  4. package/dist/browser/Diviner.js.map +1 -1
  5. package/dist/browser/Plugin.d.cts +50 -0
  6. package/dist/browser/Plugin.d.cts.map +1 -0
  7. package/dist/browser/Plugin.js +4 -239
  8. package/dist/browser/Plugin.js.map +1 -1
  9. package/dist/browser/Schema.d.cts +5 -0
  10. package/dist/browser/Schema.d.cts.map +1 -0
  11. package/dist/browser/Schema.js +2 -3
  12. package/dist/browser/Schema.js.map +1 -1
  13. package/dist/browser/index.d.cts +6 -0
  14. package/dist/browser/index.d.cts.map +1 -0
  15. package/dist/browser/index.js +3 -253
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/browser/lib/average.d.cts +8 -0
  18. package/dist/browser/lib/average.d.cts.map +1 -0
  19. package/dist/browser/lib/average.js +3 -4
  20. package/dist/browser/lib/average.js.map +1 -1
  21. package/dist/browser/lib/divineGas.d.cts +4 -0
  22. package/dist/browser/lib/divineGas.d.cts.map +1 -0
  23. package/dist/browser/lib/divineGas.js +16 -202
  24. package/dist/browser/lib/divineGas.js.map +1 -1
  25. package/dist/browser/lib/identities/index.d.cts +6 -0
  26. package/dist/browser/lib/identities/index.d.cts.map +1 -0
  27. package/dist/browser/lib/identities/index.js +5 -36
  28. package/dist/browser/lib/identities/index.js.map +1 -1
  29. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts +6 -0
  30. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +1 -0
  31. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js +1 -2
  32. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js.map +1 -1
  33. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +6 -0
  34. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +1 -0
  35. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js +1 -2
  36. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js.map +1 -1
  37. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts +6 -0
  38. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts.map +1 -0
  39. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js +1 -2
  40. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js.map +1 -1
  41. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts +6 -0
  42. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +1 -0
  43. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js +1 -2
  44. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js.map +1 -1
  45. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts +6 -0
  46. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +1 -0
  47. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js +1 -2
  48. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js.map +1 -1
  49. package/dist/browser/lib/index.d.cts +2 -0
  50. package/dist/browser/lib/index.d.cts.map +1 -0
  51. package/dist/browser/lib/index.js +1 -218
  52. package/dist/browser/lib/index.js.map +1 -1
  53. package/dist/browser/lib/transforms/index.d.cts +6 -0
  54. package/dist/browser/lib/transforms/index.d.cts.map +1 -0
  55. package/dist/browser/lib/transforms/index.js +5 -148
  56. package/dist/browser/lib/transforms/index.js.map +1 -1
  57. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts +4 -0
  58. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts.map +1 -0
  59. package/dist/browser/lib/transforms/transformGasFromBlocknative.js +4 -5
  60. package/dist/browser/lib/transforms/transformGasFromBlocknative.js.map +1 -1
  61. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts +4 -0
  62. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts.map +1 -0
  63. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js +2 -3
  64. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js.map +1 -1
  65. package/dist/browser/lib/transforms/transformGasFromEthers.d.cts +4 -0
  66. package/dist/browser/lib/transforms/transformGasFromEthers.d.cts.map +1 -0
  67. package/dist/browser/lib/transforms/transformGasFromEthers.js +4 -5
  68. package/dist/browser/lib/transforms/transformGasFromEthers.js.map +1 -1
  69. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts +4 -0
  70. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts.map +1 -0
  71. package/dist/browser/lib/transforms/transformGasFromEtherscan.js +3 -4
  72. package/dist/browser/lib/transforms/transformGasFromEtherscan.js.map +1 -1
  73. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts +4 -0
  74. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts.map +1 -0
  75. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js +4 -5
  76. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js.map +1 -1
  77. package/dist/browser/test/index.d.cts +6 -0
  78. package/dist/browser/test/index.d.cts.map +1 -0
  79. package/dist/browser/test/index.js +5 -165
  80. package/dist/browser/test/index.js.map +1 -1
  81. package/dist/browser/test/sampleBlocknativeGas.d.cts +3 -0
  82. package/dist/browser/test/sampleBlocknativeGas.d.cts.map +1 -0
  83. package/dist/browser/test/sampleBlocknativeGas.js +1 -2
  84. package/dist/browser/test/sampleBlocknativeGas.js.map +1 -1
  85. package/dist/browser/test/sampleEtherchainGasV2.d.cts +3 -0
  86. package/dist/browser/test/sampleEtherchainGasV2.d.cts.map +1 -0
  87. package/dist/browser/test/sampleEtherchainGasV2.js +1 -2
  88. package/dist/browser/test/sampleEtherchainGasV2.js.map +1 -1
  89. package/dist/browser/test/sampleEthersGas.d.cts +3 -0
  90. package/dist/browser/test/sampleEthersGas.d.cts.map +1 -0
  91. package/dist/browser/test/sampleEthersGas.js +1 -2
  92. package/dist/browser/test/sampleEthersGas.js.map +1 -1
  93. package/dist/browser/test/sampleEtherscanGas.d.cts +3 -0
  94. package/dist/browser/test/sampleEtherscanGas.d.cts.map +1 -0
  95. package/dist/browser/test/sampleEtherscanGas.js +1 -2
  96. package/dist/browser/test/sampleEtherscanGas.js.map +1 -1
  97. package/dist/browser/test/sampleEthgasstationGas.d.cts +3 -0
  98. package/dist/browser/test/sampleEthgasstationGas.d.cts.map +1 -0
  99. package/dist/browser/test/sampleEthgasstationGas.js +1 -2
  100. package/dist/browser/test/sampleEthgasstationGas.js.map +1 -1
  101. package/dist/docs.json +21982 -0
  102. package/dist/node/Diviner.d.cts +16 -0
  103. package/dist/node/Diviner.d.cts.map +1 -0
  104. package/dist/node/Diviner.js +231 -7
  105. package/dist/node/Diviner.js.map +1 -1
  106. package/dist/node/Diviner.mjs +228 -5
  107. package/dist/node/Diviner.mjs.map +1 -1
  108. package/dist/node/Plugin.d.cts +50 -0
  109. package/dist/node/Plugin.d.cts.map +1 -0
  110. package/dist/node/Plugin.js +244 -5
  111. package/dist/node/Plugin.js.map +1 -1
  112. package/dist/node/Plugin.mjs +242 -4
  113. package/dist/node/Plugin.mjs.map +1 -1
  114. package/dist/node/Schema.d.cts +5 -0
  115. package/dist/node/Schema.d.cts.map +1 -0
  116. package/dist/node/Schema.js +4 -2
  117. package/dist/node/Schema.js.map +1 -1
  118. package/dist/node/Schema.mjs +3 -2
  119. package/dist/node/Schema.mjs.map +1 -1
  120. package/dist/node/index.d.cts +6 -0
  121. package/dist/node/index.d.cts.map +1 -0
  122. package/dist/node/index.js +265 -9
  123. package/dist/node/index.js.map +1 -1
  124. package/dist/node/index.mjs +256 -3
  125. package/dist/node/index.mjs.map +1 -1
  126. package/dist/node/lib/average.d.cts +8 -0
  127. package/dist/node/lib/average.d.cts.map +1 -0
  128. package/dist/node/lib/average.js +6 -4
  129. package/dist/node/lib/average.js.map +1 -1
  130. package/dist/node/lib/average.mjs +5 -4
  131. package/dist/node/lib/average.mjs.map +1 -1
  132. package/dist/node/lib/divineGas.d.cts +4 -0
  133. package/dist/node/lib/divineGas.d.cts.map +1 -0
  134. package/dist/node/lib/divineGas.js +212 -10
  135. package/dist/node/lib/divineGas.js.map +1 -1
  136. package/dist/node/lib/divineGas.mjs +205 -16
  137. package/dist/node/lib/divineGas.mjs.map +1 -1
  138. package/dist/node/lib/identities/index.d.cts +6 -0
  139. package/dist/node/lib/identities/index.d.cts.map +1 -0
  140. package/dist/node/lib/identities/index.js +48 -11
  141. package/dist/node/lib/identities/index.js.map +1 -1
  142. package/dist/node/lib/identities/index.mjs +36 -5
  143. package/dist/node/lib/identities/index.mjs.map +1 -1
  144. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts +6 -0
  145. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +1 -0
  146. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js +4 -2
  147. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js.map +1 -1
  148. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs +3 -2
  149. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs.map +1 -1
  150. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +6 -0
  151. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +1 -0
  152. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js +4 -2
  153. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js.map +1 -1
  154. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs +3 -2
  155. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs.map +1 -1
  156. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts +6 -0
  157. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts.map +1 -0
  158. package/dist/node/lib/identities/isEthereumGasEthersPayload.js +4 -2
  159. package/dist/node/lib/identities/isEthereumGasEthersPayload.js.map +1 -1
  160. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs +3 -2
  161. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs.map +1 -1
  162. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts +6 -0
  163. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +1 -0
  164. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js +4 -2
  165. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js.map +1 -1
  166. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs +3 -2
  167. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs.map +1 -1
  168. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts +6 -0
  169. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +1 -0
  170. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js +4 -2
  171. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js.map +1 -1
  172. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs +3 -2
  173. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs.map +1 -1
  174. package/dist/node/lib/index.d.cts +2 -0
  175. package/dist/node/lib/index.d.cts.map +1 -0
  176. package/dist/node/lib/index.js +229 -3
  177. package/dist/node/lib/index.js.map +1 -1
  178. package/dist/node/lib/index.mjs +221 -1
  179. package/dist/node/lib/index.mjs.map +1 -1
  180. package/dist/node/lib/transforms/index.d.cts +6 -0
  181. package/dist/node/lib/transforms/index.d.cts.map +1 -0
  182. package/dist/node/lib/transforms/index.js +163 -11
  183. package/dist/node/lib/transforms/index.js.map +1 -1
  184. package/dist/node/lib/transforms/index.mjs +151 -5
  185. package/dist/node/lib/transforms/index.mjs.map +1 -1
  186. package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts +4 -0
  187. package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts.map +1 -0
  188. package/dist/node/lib/transforms/transformGasFromBlocknative.js +22 -17
  189. package/dist/node/lib/transforms/transformGasFromBlocknative.js.map +1 -1
  190. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs +21 -17
  191. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs.map +1 -1
  192. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts +4 -0
  193. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts.map +1 -0
  194. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js +4 -2
  195. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js.map +1 -1
  196. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs +3 -2
  197. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs.map +1 -1
  198. package/dist/node/lib/transforms/transformGasFromEthers.d.cts +4 -0
  199. package/dist/node/lib/transforms/transformGasFromEthers.d.cts.map +1 -0
  200. package/dist/node/lib/transforms/transformGasFromEthers.js +6 -4
  201. package/dist/node/lib/transforms/transformGasFromEthers.js.map +1 -1
  202. package/dist/node/lib/transforms/transformGasFromEthers.mjs +5 -4
  203. package/dist/node/lib/transforms/transformGasFromEthers.mjs.map +1 -1
  204. package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts +4 -0
  205. package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts.map +1 -0
  206. package/dist/node/lib/transforms/transformGasFromEtherscan.js +5 -3
  207. package/dist/node/lib/transforms/transformGasFromEtherscan.js.map +1 -1
  208. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs +4 -3
  209. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs.map +1 -1
  210. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts +4 -0
  211. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts.map +1 -0
  212. package/dist/node/lib/transforms/transformGasFromEthgasstation.js +6 -4
  213. package/dist/node/lib/transforms/transformGasFromEthgasstation.js.map +1 -1
  214. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs +5 -4
  215. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs.map +1 -1
  216. package/dist/node/test/index.d.cts +6 -0
  217. package/dist/node/test/index.d.cts.map +1 -0
  218. package/dist/node/test/index.js +177 -11
  219. package/dist/node/test/index.js.map +1 -1
  220. package/dist/node/test/index.mjs +165 -5
  221. package/dist/node/test/index.mjs.map +1 -1
  222. package/dist/node/test/sampleBlocknativeGas.d.cts +3 -0
  223. package/dist/node/test/sampleBlocknativeGas.d.cts.map +1 -0
  224. package/dist/node/test/sampleBlocknativeGas.js +3 -1
  225. package/dist/node/test/sampleBlocknativeGas.js.map +1 -1
  226. package/dist/node/test/sampleBlocknativeGas.mjs +2 -1
  227. package/dist/node/test/sampleBlocknativeGas.mjs.map +1 -1
  228. package/dist/node/test/sampleEtherchainGasV2.d.cts +3 -0
  229. package/dist/node/test/sampleEtherchainGasV2.d.cts.map +1 -0
  230. package/dist/node/test/sampleEtherchainGasV2.js +3 -1
  231. package/dist/node/test/sampleEtherchainGasV2.js.map +1 -1
  232. package/dist/node/test/sampleEtherchainGasV2.mjs +2 -1
  233. package/dist/node/test/sampleEtherchainGasV2.mjs.map +1 -1
  234. package/dist/node/test/sampleEthersGas.d.cts +3 -0
  235. package/dist/node/test/sampleEthersGas.d.cts.map +1 -0
  236. package/dist/node/test/sampleEthersGas.js +3 -1
  237. package/dist/node/test/sampleEthersGas.js.map +1 -1
  238. package/dist/node/test/sampleEthersGas.mjs +2 -1
  239. package/dist/node/test/sampleEthersGas.mjs.map +1 -1
  240. package/dist/node/test/sampleEtherscanGas.d.cts +3 -0
  241. package/dist/node/test/sampleEtherscanGas.d.cts.map +1 -0
  242. package/dist/node/test/sampleEtherscanGas.js +3 -1
  243. package/dist/node/test/sampleEtherscanGas.js.map +1 -1
  244. package/dist/node/test/sampleEtherscanGas.mjs +2 -1
  245. package/dist/node/test/sampleEtherscanGas.mjs.map +1 -1
  246. package/dist/node/test/sampleEthgasstationGas.d.cts +3 -0
  247. package/dist/node/test/sampleEthgasstationGas.d.cts.map +1 -0
  248. package/dist/node/test/sampleEthgasstationGas.js +3 -1
  249. package/dist/node/test/sampleEthgasstationGas.js.map +1 -1
  250. package/dist/node/test/sampleEthgasstationGas.mjs +2 -1
  251. package/dist/node/test/sampleEthgasstationGas.mjs.map +1 -1
  252. package/package.json +19 -19
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -11,21 +15,183 @@ var __copyProps = (to, from, except, desc) => {
11
15
  }
12
16
  return to;
13
17
  };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/test/index.ts
16
21
  var test_exports = {};
22
+ __export(test_exports, {
23
+ sampleBlocknativeGas: () => sampleBlocknativeGas,
24
+ sampleEtherchainGasV2: () => sampleEtherchainGasV2,
25
+ sampleEthersGas: () => sampleEthersGas,
26
+ sampleEtherscanGas: () => sampleEtherscanGas,
27
+ sampleEthgasstationGas: () => sampleEthgasstationGas
28
+ });
17
29
  module.exports = __toCommonJS(test_exports);
18
- __reExport(test_exports, require("./sampleBlocknativeGas"), module.exports);
19
- __reExport(test_exports, require("./sampleEtherchainGasV2"), module.exports);
20
- __reExport(test_exports, require("./sampleEtherscanGas"), module.exports);
21
- __reExport(test_exports, require("./sampleEthersGas"), module.exports);
22
- __reExport(test_exports, require("./sampleEthgasstationGas"), module.exports);
30
+
31
+ // src/test/sampleBlocknativeGas.ts
32
+ var import_blocknative_ethereum_gas_payload_plugin = require("@xyo-network/blocknative-ethereum-gas-payload-plugin");
33
+ var sampleBlocknativeGas = {
34
+ blockPrices: [
35
+ {
36
+ baseFeePerGas: 13.691764456,
37
+ blockNumber: 16028191,
38
+ estimatedPrices: [
39
+ {
40
+ confidence: 99,
41
+ maxFeePerGas: 22.04,
42
+ maxPriorityFeePerGas: 1.09,
43
+ price: 14
44
+ },
45
+ {
46
+ confidence: 95,
47
+ maxFeePerGas: 21.58,
48
+ maxPriorityFeePerGas: 0.63,
49
+ price: 14
50
+ },
51
+ {
52
+ confidence: 90,
53
+ maxFeePerGas: 21.25,
54
+ maxPriorityFeePerGas: 0.3,
55
+ price: 13
56
+ },
57
+ {
58
+ confidence: 80,
59
+ maxFeePerGas: 21.16,
60
+ maxPriorityFeePerGas: 0.21,
61
+ price: 13
62
+ },
63
+ {
64
+ confidence: 70,
65
+ maxFeePerGas: 21.12,
66
+ maxPriorityFeePerGas: 0.17,
67
+ price: 13
68
+ }
69
+ ],
70
+ estimatedTransactionCount: 69
71
+ }
72
+ ],
73
+ currentBlockNumber: 16028190,
74
+ estimatedBaseFees: [
75
+ {
76
+ "pending+1": [
77
+ {
78
+ baseFee: 15.41,
79
+ confidence: 99
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "pending+2": [
85
+ {
86
+ baseFee: 17.32,
87
+ confidence: 99
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "pending+3": [
93
+ {
94
+ baseFee: 19.17,
95
+ confidence: 99
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "pending+4": [
101
+ {
102
+ baseFee: 20.12,
103
+ confidence: 99
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "pending+5": [
109
+ {
110
+ baseFee: 20.95,
111
+ confidence: 99
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ maxPrice: 36,
117
+ msSinceLastBlock: 3643,
118
+ network: "main",
119
+ schema: import_blocknative_ethereum_gas_payload_plugin.EthereumGasBlocknativeSchema,
120
+ system: "ethereum",
121
+ timestamp: 1668697958837,
122
+ unit: "gwei"
123
+ };
124
+
125
+ // src/test/sampleEtherchainGasV2.ts
126
+ var import_etherchain_gas_ethereum_blockchain_payload_plugins = require("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins");
127
+ var sampleEtherchainGasV2 = {
128
+ code: 200,
129
+ data: {
130
+ fast: 19803047330,
131
+ priceUSD: 1195.77,
132
+ rapid: 29714286170,
133
+ slow: 112e8,
134
+ standard: 12e9,
135
+ timestamp: 1668621234096
136
+ },
137
+ schema: import_etherchain_gas_ethereum_blockchain_payload_plugins.EthereumGasEtherchainV2Schema,
138
+ timestamp: 1668621240790
139
+ };
140
+
141
+ // src/test/sampleEtherscanGas.ts
142
+ var import_etherscan_ethereum_gas_payload_plugin = require("@xyo-network/etherscan-ethereum-gas-payload-plugin");
143
+ var sampleEtherscanGas = {
144
+ message: "OK",
145
+ result: {
146
+ FastGasPrice: "30",
147
+ LastBlock: "15990556",
148
+ ProposeGasPrice: "29",
149
+ SafeGasPrice: "28",
150
+ gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
151
+ suggestBaseFee: "27.616709247"
152
+ },
153
+ schema: import_etherscan_ethereum_gas_payload_plugin.EthereumGasEtherscanSchema,
154
+ status: "1",
155
+ timestamp: 1668697958837
156
+ };
157
+
158
+ // src/test/sampleEthersGas.ts
159
+ var import_ethers_ethereum_gas_payload_plugin = require("@xyo-network/ethers-ethereum-gas-payload-plugin");
160
+ var sampleEthersGas = {
161
+ gasPrice: 13547863640,
162
+ lastBaseFeePerGas: 13447862081,
163
+ maxFeePerGas: 28395724162,
164
+ maxPriorityFeePerGas: 15e8,
165
+ schema: import_ethers_ethereum_gas_payload_plugin.EthereumGasEthersSchema,
166
+ timestamp: 1668697958837
167
+ };
168
+
169
+ // src/test/sampleEthgasstationGas.ts
170
+ var import_ethgasstation_ethereum_gas_payload_plugin = require("@xyo-network/ethgasstation-ethereum-gas-payload-plugin");
171
+ var sampleEthgasstationGas = {
172
+ baseFee: 10,
173
+ blockNumber: 16028883,
174
+ blockTime: 11.88,
175
+ gasPrice: {
176
+ fast: 12,
177
+ instant: 13,
178
+ standard: 12
179
+ },
180
+ nextBaseFee: 10,
181
+ priorityFee: {
182
+ fast: 2,
183
+ instant: 2,
184
+ standard: 2
185
+ },
186
+ schema: import_ethgasstation_ethereum_gas_payload_plugin.EthereumGasEthgasstationSchema,
187
+ timestamp: 1668697958837
188
+ };
23
189
  // Annotate the CommonJS export names for ESM import in node:
24
190
  0 && (module.exports = {
25
- ...require("./sampleBlocknativeGas"),
26
- ...require("./sampleEtherchainGasV2"),
27
- ...require("./sampleEtherscanGas"),
28
- ...require("./sampleEthersGas"),
29
- ...require("./sampleEthgasstationGas")
191
+ sampleBlocknativeGas,
192
+ sampleEtherchainGasV2,
193
+ sampleEthersGas,
194
+ sampleEtherscanGas,
195
+ sampleEthgasstationGas
30
196
  });
31
197
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/index.ts"],"sourcesContent":["export * from './sampleBlocknativeGas'\nexport * from './sampleEtherchainGasV2'\nexport * from './sampleEtherscanGas'\nexport * from './sampleEthersGas'\nexport * from './sampleEthgasstationGas'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mCAAd;AACA,yBAAc,oCADd;AAEA,yBAAc,iCAFd;AAGA,yBAAc,8BAHd;AAIA,yBAAc,qCAJd;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/index.ts","../../../src/test/sampleBlocknativeGas.ts","../../../src/test/sampleEtherchainGasV2.ts","../../../src/test/sampleEtherscanGas.ts","../../../src/test/sampleEthersGas.ts","../../../src/test/sampleEthgasstationGas.ts"],"sourcesContent":["export * from './sampleBlocknativeGas'\nexport * from './sampleEtherchainGasV2'\nexport * from './sampleEtherscanGas'\nexport * from './sampleEthersGas'\nexport * from './sampleEthgasstationGas'\n","import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n","import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n","import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n","import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\n\nexport const sampleEthgasstationGas: EthereumGasEthgasstationPayload = {\n baseFee: 10,\n blockNumber: 16028883,\n blockTime: 11.88,\n gasPrice: {\n fast: 12,\n instant: 13,\n standard: 12,\n },\n nextBaseFee: 10,\n priorityFee: {\n fast: 2,\n instant: 2,\n standard: 2,\n },\n schema: EthereumGasEthgasstationSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,qDAA8F;AAEvF,IAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,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Q;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;;;AC5FA,gEAA8E;AAEvE,IAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;;;ACdA,mDAAwE;AAEjE,IAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;;;ACfA,gDAAkE;AAE3D,IAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;;;ACTA,uDAAgF;AAEzE,IAAM,yBAA0D;AAAA,EACrE,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,6 +1,166 @@
1
- export * from "./sampleBlocknativeGas";
2
- export * from "./sampleEtherchainGasV2";
3
- export * from "./sampleEtherscanGas";
4
- export * from "./sampleEthersGas";
5
- export * from "./sampleEthgasstationGas";
1
+ // src/test/sampleBlocknativeGas.ts
2
+ import { EthereumGasBlocknativeSchema } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
3
+ var sampleBlocknativeGas = {
4
+ blockPrices: [
5
+ {
6
+ baseFeePerGas: 13.691764456,
7
+ blockNumber: 16028191,
8
+ estimatedPrices: [
9
+ {
10
+ confidence: 99,
11
+ maxFeePerGas: 22.04,
12
+ maxPriorityFeePerGas: 1.09,
13
+ price: 14
14
+ },
15
+ {
16
+ confidence: 95,
17
+ maxFeePerGas: 21.58,
18
+ maxPriorityFeePerGas: 0.63,
19
+ price: 14
20
+ },
21
+ {
22
+ confidence: 90,
23
+ maxFeePerGas: 21.25,
24
+ maxPriorityFeePerGas: 0.3,
25
+ price: 13
26
+ },
27
+ {
28
+ confidence: 80,
29
+ maxFeePerGas: 21.16,
30
+ maxPriorityFeePerGas: 0.21,
31
+ price: 13
32
+ },
33
+ {
34
+ confidence: 70,
35
+ maxFeePerGas: 21.12,
36
+ maxPriorityFeePerGas: 0.17,
37
+ price: 13
38
+ }
39
+ ],
40
+ estimatedTransactionCount: 69
41
+ }
42
+ ],
43
+ currentBlockNumber: 16028190,
44
+ estimatedBaseFees: [
45
+ {
46
+ "pending+1": [
47
+ {
48
+ baseFee: 15.41,
49
+ confidence: 99
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "pending+2": [
55
+ {
56
+ baseFee: 17.32,
57
+ confidence: 99
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "pending+3": [
63
+ {
64
+ baseFee: 19.17,
65
+ confidence: 99
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "pending+4": [
71
+ {
72
+ baseFee: 20.12,
73
+ confidence: 99
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "pending+5": [
79
+ {
80
+ baseFee: 20.95,
81
+ confidence: 99
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ maxPrice: 36,
87
+ msSinceLastBlock: 3643,
88
+ network: "main",
89
+ schema: EthereumGasBlocknativeSchema,
90
+ system: "ethereum",
91
+ timestamp: 1668697958837,
92
+ unit: "gwei"
93
+ };
94
+
95
+ // src/test/sampleEtherchainGasV2.ts
96
+ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins";
97
+ var sampleEtherchainGasV2 = {
98
+ code: 200,
99
+ data: {
100
+ fast: 19803047330,
101
+ priceUSD: 1195.77,
102
+ rapid: 29714286170,
103
+ slow: 112e8,
104
+ standard: 12e9,
105
+ timestamp: 1668621234096
106
+ },
107
+ schema: EthereumGasEtherchainV2Schema,
108
+ timestamp: 1668621240790
109
+ };
110
+
111
+ // src/test/sampleEtherscanGas.ts
112
+ import { EthereumGasEtherscanSchema } from "@xyo-network/etherscan-ethereum-gas-payload-plugin";
113
+ var sampleEtherscanGas = {
114
+ message: "OK",
115
+ result: {
116
+ FastGasPrice: "30",
117
+ LastBlock: "15990556",
118
+ ProposeGasPrice: "29",
119
+ SafeGasPrice: "28",
120
+ gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
121
+ suggestBaseFee: "27.616709247"
122
+ },
123
+ schema: EthereumGasEtherscanSchema,
124
+ status: "1",
125
+ timestamp: 1668697958837
126
+ };
127
+
128
+ // src/test/sampleEthersGas.ts
129
+ import { EthereumGasEthersSchema } from "@xyo-network/ethers-ethereum-gas-payload-plugin";
130
+ var sampleEthersGas = {
131
+ gasPrice: 13547863640,
132
+ lastBaseFeePerGas: 13447862081,
133
+ maxFeePerGas: 28395724162,
134
+ maxPriorityFeePerGas: 15e8,
135
+ schema: EthereumGasEthersSchema,
136
+ timestamp: 1668697958837
137
+ };
138
+
139
+ // src/test/sampleEthgasstationGas.ts
140
+ import { EthereumGasEthgasstationSchema } from "@xyo-network/ethgasstation-ethereum-gas-payload-plugin";
141
+ var sampleEthgasstationGas = {
142
+ baseFee: 10,
143
+ blockNumber: 16028883,
144
+ blockTime: 11.88,
145
+ gasPrice: {
146
+ fast: 12,
147
+ instant: 13,
148
+ standard: 12
149
+ },
150
+ nextBaseFee: 10,
151
+ priorityFee: {
152
+ fast: 2,
153
+ instant: 2,
154
+ standard: 2
155
+ },
156
+ schema: EthereumGasEthgasstationSchema,
157
+ timestamp: 1668697958837
158
+ };
159
+ export {
160
+ sampleBlocknativeGas,
161
+ sampleEtherchainGasV2,
162
+ sampleEthersGas,
163
+ sampleEtherscanGas,
164
+ sampleEthgasstationGas
165
+ };
6
166
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/index.ts"],"sourcesContent":["export * from './sampleBlocknativeGas'\nexport * from './sampleEtherchainGasV2'\nexport * from './sampleEtherscanGas'\nexport * from './sampleEthersGas'\nexport * from './sampleEthgasstationGas'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts","../../../src/test/sampleEtherchainGasV2.ts","../../../src/test/sampleEtherscanGas.ts","../../../src/test/sampleEthersGas.ts","../../../src/test/sampleEthgasstationGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n","import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n","import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n","import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\n\nexport const sampleEthgasstationGas: EthereumGasEthgasstationPayload = {\n baseFee: 10,\n blockNumber: 16028883,\n blockTime: 11.88,\n gasPrice: {\n fast: 12,\n instant: 13,\n standard: 12,\n },\n nextBaseFee: 10,\n priorityFee: {\n fast: 2,\n instant: 2,\n standard: 2,\n },\n schema: EthereumGasEthgasstationSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAA0D,oCAAoC;AAEvF,IAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,IACjB;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;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,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
+ export declare const sampleBlocknativeGas: EthereumGasBlocknativePayload;
3
+ //# sourceMappingURL=sampleBlocknativeGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleBlocknativeGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleBlocknativeGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAEpJ,eAAO,MAAM,oBAAoB,EAAE,6BA0FlC,CAAA"}
@@ -16,13 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/test/sampleBlocknativeGas.ts
19
21
  var sampleBlocknativeGas_exports = {};
20
22
  __export(sampleBlocknativeGas_exports, {
21
23
  sampleBlocknativeGas: () => sampleBlocknativeGas
22
24
  });
23
25
  module.exports = __toCommonJS(sampleBlocknativeGas_exports);
24
26
  var import_blocknative_ethereum_gas_payload_plugin = require("@xyo-network/blocknative-ethereum-gas-payload-plugin");
25
- const sampleBlocknativeGas = {
27
+ var sampleBlocknativeGas = {
26
28
  blockPrices: [
27
29
  {
28
30
  baseFeePerGas: 13.691764456,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qDAA8F;AAEvF,MAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,IACjB;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qDAA8F;AAEvF,IAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,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  import { EthereumGasBlocknativeSchema } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
2
- const sampleBlocknativeGas = {
3
+ var sampleBlocknativeGas = {
3
4
  blockPrices: [
4
5
  {
5
6
  baseFeePerGas: 13.691764456,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: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A,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 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,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
+ export declare const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload;
3
+ //# sourceMappingURL=sampleEtherchainGasV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherchainGasV2.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherchainGasV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAE/I,eAAO,MAAM,qBAAqB,EAAE,8BAYnC,CAAA"}
@@ -16,13 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/test/sampleEtherchainGasV2.ts
19
21
  var sampleEtherchainGasV2_exports = {};
20
22
  __export(sampleEtherchainGasV2_exports, {
21
23
  sampleEtherchainGasV2: () => sampleEtherchainGasV2
22
24
  });
23
25
  module.exports = __toCommonJS(sampleEtherchainGasV2_exports);
24
26
  var import_etherchain_gas_ethereum_blockchain_payload_plugins = require("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins");
25
- const sampleEtherchainGasV2 = {
27
+ var sampleEtherchainGasV2 = {
26
28
  code: 200,
27
29
  data: {
28
30
  fast: 19803047330,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gEAA8E;AAEvE,MAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gEAA8E;AAEvE,IAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,5 +1,6 @@
1
+ // src/test/sampleEtherchainGasV2.ts
1
2
  import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins";
2
- const sampleEtherchainGasV2 = {
3
+ var sampleEtherchainGasV2 = {
3
4
  code: 200,
4
5
  data: {
5
6
  fast: 19803047330,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":"AAAA,SAAyC,qCAAqC;AAEvE,MAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":";AAAA,SAAyC,qCAAqC;AAEvE,IAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthersGas: EthereumGasEthersPayload;
3
+ //# sourceMappingURL=sampleEthersGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEthersGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEthersGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AAEnH,eAAO,MAAM,eAAe,EAAE,wBAO7B,CAAA"}
@@ -16,13 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/test/sampleEthersGas.ts
19
21
  var sampleEthersGas_exports = {};
20
22
  __export(sampleEthersGas_exports, {
21
23
  sampleEthersGas: () => sampleEthersGas
22
24
  });
23
25
  module.exports = __toCommonJS(sampleEthersGas_exports);
24
26
  var import_ethers_ethereum_gas_payload_plugin = require("@xyo-network/ethers-ethereum-gas-payload-plugin");
25
- const sampleEthersGas = {
27
+ var sampleEthersGas = {
26
28
  gasPrice: 13547863640,
27
29
  lastBaseFeePerGas: 13447862081,
28
30
  maxFeePerGas: 28395724162,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gDAAkE;AAE3D,MAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gDAAkE;AAE3D,IAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,5 +1,6 @@
1
+ // src/test/sampleEthersGas.ts
1
2
  import { EthereumGasEthersSchema } from "@xyo-network/ethers-ethereum-gas-payload-plugin";
2
- const sampleEthersGas = {
3
+ var sampleEthersGas = {
3
4
  gasPrice: 13547863640,
4
5
  lastBaseFeePerGas: 13447862081,
5
6
  maxFeePerGas: 28395724162,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":"AAAA,SAAmC,+BAA+B;AAE3D,MAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAAmC,+BAA+B;AAE3D,IAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
+ export declare const sampleEtherscanGas: EthereumGasEtherscanPayload;
3
+ //# sourceMappingURL=sampleEtherscanGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherscanGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherscanGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAE5H,eAAO,MAAM,kBAAkB,EAAE,2BAahC,CAAA"}
@@ -16,13 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/test/sampleEtherscanGas.ts
19
21
  var sampleEtherscanGas_exports = {};
20
22
  __export(sampleEtherscanGas_exports, {
21
23
  sampleEtherscanGas: () => sampleEtherscanGas
22
24
  });
23
25
  module.exports = __toCommonJS(sampleEtherscanGas_exports);
24
26
  var import_etherscan_ethereum_gas_payload_plugin = require("@xyo-network/etherscan-ethereum-gas-payload-plugin");
25
- const sampleEtherscanGas = {
27
+ var sampleEtherscanGas = {
26
28
  message: "OK",
27
29
  result: {
28
30
  FastGasPrice: "30",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAAwE;AAEjE,MAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAAwE;AAEjE,IAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -1,5 +1,6 @@
1
+ // src/test/sampleEtherscanGas.ts
1
2
  import { EthereumGasEtherscanSchema } from "@xyo-network/etherscan-ethereum-gas-payload-plugin";
2
- const sampleEtherscanGas = {
3
+ var sampleEtherscanGas = {
3
4
  message: "OK",
4
5
  result: {
5
6
  FastGasPrice: "30",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":"AAAA,SAAsC,kCAAkC;AAEjE,MAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
1
+ {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";AAAA,SAAsC,kCAAkC;AAEjE,IAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthgasstationGas: EthereumGasEthgasstationPayload;
3
+ //# sourceMappingURL=sampleEthgasstationGas.d.ts.map