@xyo-network/gas-price-plugin 2.99.5 → 3.0.0

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 (465) hide show
  1. package/dist/neutral/index.d.ts +45 -4
  2. package/dist/neutral/index.mjs +93 -218
  3. package/dist/neutral/index.mjs.map +1 -1
  4. package/package.json +25 -44
  5. package/src/index.ts +1 -1
  6. package/xy.config.ts +4 -5
  7. package/dist/browser/Diviner.d.cts +0 -16
  8. package/dist/browser/Diviner.d.cts.map +0 -1
  9. package/dist/browser/Diviner.d.mts +0 -16
  10. package/dist/browser/Diviner.d.mts.map +0 -1
  11. package/dist/browser/Diviner.d.ts +0 -16
  12. package/dist/browser/Diviner.d.ts.map +0 -1
  13. package/dist/browser/Plugin.d.cts +0 -19
  14. package/dist/browser/Plugin.d.cts.map +0 -1
  15. package/dist/browser/Plugin.d.mts +0 -19
  16. package/dist/browser/Plugin.d.mts.map +0 -1
  17. package/dist/browser/Plugin.d.ts +0 -19
  18. package/dist/browser/Plugin.d.ts.map +0 -1
  19. package/dist/browser/Schema.d.cts +0 -5
  20. package/dist/browser/Schema.d.cts.map +0 -1
  21. package/dist/browser/Schema.d.mts +0 -5
  22. package/dist/browser/Schema.d.mts.map +0 -1
  23. package/dist/browser/Schema.d.ts +0 -5
  24. package/dist/browser/Schema.d.ts.map +0 -1
  25. package/dist/browser/index.cjs +0 -401
  26. package/dist/browser/index.cjs.map +0 -1
  27. package/dist/browser/index.d.cts +0 -4
  28. package/dist/browser/index.d.cts.map +0 -1
  29. package/dist/browser/index.d.mts +0 -4
  30. package/dist/browser/index.d.mts.map +0 -1
  31. package/dist/browser/index.d.ts +0 -4
  32. package/dist/browser/index.d.ts.map +0 -1
  33. package/dist/browser/index.mjs +0 -380
  34. package/dist/browser/index.mjs.map +0 -1
  35. package/dist/browser/lib/average.d.cts +0 -3
  36. package/dist/browser/lib/average.d.cts.map +0 -1
  37. package/dist/browser/lib/average.d.mts +0 -3
  38. package/dist/browser/lib/average.d.mts.map +0 -1
  39. package/dist/browser/lib/average.d.ts +0 -3
  40. package/dist/browser/lib/average.d.ts.map +0 -1
  41. package/dist/browser/lib/divineGas.d.cts +0 -4
  42. package/dist/browser/lib/divineGas.d.cts.map +0 -1
  43. package/dist/browser/lib/divineGas.d.mts +0 -4
  44. package/dist/browser/lib/divineGas.d.mts.map +0 -1
  45. package/dist/browser/lib/divineGas.d.ts +0 -4
  46. package/dist/browser/lib/divineGas.d.ts.map +0 -1
  47. package/dist/browser/lib/identities/index.d.cts +0 -6
  48. package/dist/browser/lib/identities/index.d.cts.map +0 -1
  49. package/dist/browser/lib/identities/index.d.mts +0 -6
  50. package/dist/browser/lib/identities/index.d.mts.map +0 -1
  51. package/dist/browser/lib/identities/index.d.ts +0 -6
  52. package/dist/browser/lib/identities/index.d.ts.map +0 -1
  53. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
  54. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
  55. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
  56. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
  57. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
  58. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
  59. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
  60. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
  61. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
  62. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
  63. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
  64. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
  65. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
  66. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
  67. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
  68. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
  69. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
  70. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
  71. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
  72. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
  73. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
  74. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
  75. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
  76. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
  77. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
  78. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
  79. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
  80. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
  81. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
  82. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
  83. package/dist/browser/lib/index.d.cts +0 -2
  84. package/dist/browser/lib/index.d.cts.map +0 -1
  85. package/dist/browser/lib/index.d.mts +0 -2
  86. package/dist/browser/lib/index.d.mts.map +0 -1
  87. package/dist/browser/lib/index.d.ts +0 -2
  88. package/dist/browser/lib/index.d.ts.map +0 -1
  89. package/dist/browser/lib/transforms/index.d.cts +0 -6
  90. package/dist/browser/lib/transforms/index.d.cts.map +0 -1
  91. package/dist/browser/lib/transforms/index.d.mts +0 -6
  92. package/dist/browser/lib/transforms/index.d.mts.map +0 -1
  93. package/dist/browser/lib/transforms/index.d.ts +0 -6
  94. package/dist/browser/lib/transforms/index.d.ts.map +0 -1
  95. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
  96. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
  97. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
  98. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
  99. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
  100. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
  101. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
  102. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
  103. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
  104. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
  105. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
  106. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
  107. package/dist/browser/lib/transforms/transformGasFromEthers.d.cts +0 -4
  108. package/dist/browser/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
  109. package/dist/browser/lib/transforms/transformGasFromEthers.d.mts +0 -4
  110. package/dist/browser/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
  111. package/dist/browser/lib/transforms/transformGasFromEthers.d.ts +0 -4
  112. package/dist/browser/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
  113. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
  114. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
  115. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
  116. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
  117. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
  118. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
  119. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
  120. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
  121. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
  122. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
  123. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
  124. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
  125. package/dist/browser/test/index.d.cts +0 -6
  126. package/dist/browser/test/index.d.cts.map +0 -1
  127. package/dist/browser/test/index.d.mts +0 -6
  128. package/dist/browser/test/index.d.mts.map +0 -1
  129. package/dist/browser/test/index.d.ts +0 -6
  130. package/dist/browser/test/index.d.ts.map +0 -1
  131. package/dist/browser/test/sampleBlocknativeGas.d.cts +0 -3
  132. package/dist/browser/test/sampleBlocknativeGas.d.cts.map +0 -1
  133. package/dist/browser/test/sampleBlocknativeGas.d.mts +0 -3
  134. package/dist/browser/test/sampleBlocknativeGas.d.mts.map +0 -1
  135. package/dist/browser/test/sampleBlocknativeGas.d.ts +0 -3
  136. package/dist/browser/test/sampleBlocknativeGas.d.ts.map +0 -1
  137. package/dist/browser/test/sampleEtherchainGasV2.d.cts +0 -3
  138. package/dist/browser/test/sampleEtherchainGasV2.d.cts.map +0 -1
  139. package/dist/browser/test/sampleEtherchainGasV2.d.mts +0 -3
  140. package/dist/browser/test/sampleEtherchainGasV2.d.mts.map +0 -1
  141. package/dist/browser/test/sampleEtherchainGasV2.d.ts +0 -3
  142. package/dist/browser/test/sampleEtherchainGasV2.d.ts.map +0 -1
  143. package/dist/browser/test/sampleEthersGas.d.cts +0 -3
  144. package/dist/browser/test/sampleEthersGas.d.cts.map +0 -1
  145. package/dist/browser/test/sampleEthersGas.d.mts +0 -3
  146. package/dist/browser/test/sampleEthersGas.d.mts.map +0 -1
  147. package/dist/browser/test/sampleEthersGas.d.ts +0 -3
  148. package/dist/browser/test/sampleEthersGas.d.ts.map +0 -1
  149. package/dist/browser/test/sampleEtherscanGas.d.cts +0 -3
  150. package/dist/browser/test/sampleEtherscanGas.d.cts.map +0 -1
  151. package/dist/browser/test/sampleEtherscanGas.d.mts +0 -3
  152. package/dist/browser/test/sampleEtherscanGas.d.mts.map +0 -1
  153. package/dist/browser/test/sampleEtherscanGas.d.ts +0 -3
  154. package/dist/browser/test/sampleEtherscanGas.d.ts.map +0 -1
  155. package/dist/browser/test/sampleEthgasstationGas.d.cts +0 -3
  156. package/dist/browser/test/sampleEthgasstationGas.d.cts.map +0 -1
  157. package/dist/browser/test/sampleEthgasstationGas.d.mts +0 -3
  158. package/dist/browser/test/sampleEthgasstationGas.d.mts.map +0 -1
  159. package/dist/browser/test/sampleEthgasstationGas.d.ts +0 -3
  160. package/dist/browser/test/sampleEthgasstationGas.d.ts.map +0 -1
  161. package/dist/neutral/Diviner.d.cts +0 -16
  162. package/dist/neutral/Diviner.d.cts.map +0 -1
  163. package/dist/neutral/Diviner.d.mts +0 -16
  164. package/dist/neutral/Diviner.d.mts.map +0 -1
  165. package/dist/neutral/Diviner.d.ts +0 -16
  166. package/dist/neutral/Diviner.d.ts.map +0 -1
  167. package/dist/neutral/Plugin.d.cts +0 -19
  168. package/dist/neutral/Plugin.d.cts.map +0 -1
  169. package/dist/neutral/Plugin.d.mts +0 -19
  170. package/dist/neutral/Plugin.d.mts.map +0 -1
  171. package/dist/neutral/Plugin.d.ts +0 -19
  172. package/dist/neutral/Plugin.d.ts.map +0 -1
  173. package/dist/neutral/Schema.d.cts +0 -5
  174. package/dist/neutral/Schema.d.cts.map +0 -1
  175. package/dist/neutral/Schema.d.mts +0 -5
  176. package/dist/neutral/Schema.d.mts.map +0 -1
  177. package/dist/neutral/Schema.d.ts +0 -5
  178. package/dist/neutral/Schema.d.ts.map +0 -1
  179. package/dist/neutral/index.cjs +0 -401
  180. package/dist/neutral/index.cjs.map +0 -1
  181. package/dist/neutral/index.d.cts +0 -4
  182. package/dist/neutral/index.d.cts.map +0 -1
  183. package/dist/neutral/index.d.mts +0 -4
  184. package/dist/neutral/index.d.mts.map +0 -1
  185. package/dist/neutral/index.d.ts.map +0 -1
  186. package/dist/neutral/lib/average.d.cts +0 -3
  187. package/dist/neutral/lib/average.d.cts.map +0 -1
  188. package/dist/neutral/lib/average.d.mts +0 -3
  189. package/dist/neutral/lib/average.d.mts.map +0 -1
  190. package/dist/neutral/lib/average.d.ts +0 -3
  191. package/dist/neutral/lib/average.d.ts.map +0 -1
  192. package/dist/neutral/lib/divineGas.d.cts +0 -4
  193. package/dist/neutral/lib/divineGas.d.cts.map +0 -1
  194. package/dist/neutral/lib/divineGas.d.mts +0 -4
  195. package/dist/neutral/lib/divineGas.d.mts.map +0 -1
  196. package/dist/neutral/lib/divineGas.d.ts +0 -4
  197. package/dist/neutral/lib/divineGas.d.ts.map +0 -1
  198. package/dist/neutral/lib/identities/index.d.cts +0 -6
  199. package/dist/neutral/lib/identities/index.d.cts.map +0 -1
  200. package/dist/neutral/lib/identities/index.d.mts +0 -6
  201. package/dist/neutral/lib/identities/index.d.mts.map +0 -1
  202. package/dist/neutral/lib/identities/index.d.ts +0 -6
  203. package/dist/neutral/lib/identities/index.d.ts.map +0 -1
  204. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
  205. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
  206. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
  207. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
  208. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
  209. package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
  210. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
  211. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
  212. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
  213. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
  214. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
  215. package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
  216. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
  217. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
  218. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
  219. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
  220. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
  221. package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
  222. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
  223. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
  224. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
  225. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
  226. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
  227. package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
  228. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
  229. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
  230. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
  231. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
  232. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
  233. package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
  234. package/dist/neutral/lib/index.d.cts +0 -2
  235. package/dist/neutral/lib/index.d.cts.map +0 -1
  236. package/dist/neutral/lib/index.d.mts +0 -2
  237. package/dist/neutral/lib/index.d.mts.map +0 -1
  238. package/dist/neutral/lib/index.d.ts +0 -2
  239. package/dist/neutral/lib/index.d.ts.map +0 -1
  240. package/dist/neutral/lib/transforms/index.d.cts +0 -6
  241. package/dist/neutral/lib/transforms/index.d.cts.map +0 -1
  242. package/dist/neutral/lib/transforms/index.d.mts +0 -6
  243. package/dist/neutral/lib/transforms/index.d.mts.map +0 -1
  244. package/dist/neutral/lib/transforms/index.d.ts +0 -6
  245. package/dist/neutral/lib/transforms/index.d.ts.map +0 -1
  246. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
  247. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
  248. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
  249. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
  250. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
  251. package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
  252. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
  253. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
  254. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
  255. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
  256. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
  257. package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
  258. package/dist/neutral/lib/transforms/transformGasFromEthers.d.cts +0 -4
  259. package/dist/neutral/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
  260. package/dist/neutral/lib/transforms/transformGasFromEthers.d.mts +0 -4
  261. package/dist/neutral/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
  262. package/dist/neutral/lib/transforms/transformGasFromEthers.d.ts +0 -4
  263. package/dist/neutral/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
  264. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
  265. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
  266. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
  267. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
  268. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
  269. package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
  270. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
  271. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
  272. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
  273. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
  274. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
  275. package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
  276. package/dist/neutral/test/index.d.cts +0 -6
  277. package/dist/neutral/test/index.d.cts.map +0 -1
  278. package/dist/neutral/test/index.d.mts +0 -6
  279. package/dist/neutral/test/index.d.mts.map +0 -1
  280. package/dist/neutral/test/index.d.ts +0 -6
  281. package/dist/neutral/test/index.d.ts.map +0 -1
  282. package/dist/neutral/test/sampleBlocknativeGas.d.cts +0 -3
  283. package/dist/neutral/test/sampleBlocknativeGas.d.cts.map +0 -1
  284. package/dist/neutral/test/sampleBlocknativeGas.d.mts +0 -3
  285. package/dist/neutral/test/sampleBlocknativeGas.d.mts.map +0 -1
  286. package/dist/neutral/test/sampleBlocknativeGas.d.ts +0 -3
  287. package/dist/neutral/test/sampleBlocknativeGas.d.ts.map +0 -1
  288. package/dist/neutral/test/sampleEtherchainGasV2.d.cts +0 -3
  289. package/dist/neutral/test/sampleEtherchainGasV2.d.cts.map +0 -1
  290. package/dist/neutral/test/sampleEtherchainGasV2.d.mts +0 -3
  291. package/dist/neutral/test/sampleEtherchainGasV2.d.mts.map +0 -1
  292. package/dist/neutral/test/sampleEtherchainGasV2.d.ts +0 -3
  293. package/dist/neutral/test/sampleEtherchainGasV2.d.ts.map +0 -1
  294. package/dist/neutral/test/sampleEthersGas.d.cts +0 -3
  295. package/dist/neutral/test/sampleEthersGas.d.cts.map +0 -1
  296. package/dist/neutral/test/sampleEthersGas.d.mts +0 -3
  297. package/dist/neutral/test/sampleEthersGas.d.mts.map +0 -1
  298. package/dist/neutral/test/sampleEthersGas.d.ts +0 -3
  299. package/dist/neutral/test/sampleEthersGas.d.ts.map +0 -1
  300. package/dist/neutral/test/sampleEtherscanGas.d.cts +0 -3
  301. package/dist/neutral/test/sampleEtherscanGas.d.cts.map +0 -1
  302. package/dist/neutral/test/sampleEtherscanGas.d.mts +0 -3
  303. package/dist/neutral/test/sampleEtherscanGas.d.mts.map +0 -1
  304. package/dist/neutral/test/sampleEtherscanGas.d.ts +0 -3
  305. package/dist/neutral/test/sampleEtherscanGas.d.ts.map +0 -1
  306. package/dist/neutral/test/sampleEthgasstationGas.d.cts +0 -3
  307. package/dist/neutral/test/sampleEthgasstationGas.d.cts.map +0 -1
  308. package/dist/neutral/test/sampleEthgasstationGas.d.mts +0 -3
  309. package/dist/neutral/test/sampleEthgasstationGas.d.mts.map +0 -1
  310. package/dist/neutral/test/sampleEthgasstationGas.d.ts +0 -3
  311. package/dist/neutral/test/sampleEthgasstationGas.d.ts.map +0 -1
  312. package/dist/node/Diviner.d.cts +0 -16
  313. package/dist/node/Diviner.d.cts.map +0 -1
  314. package/dist/node/Diviner.d.mts +0 -16
  315. package/dist/node/Diviner.d.mts.map +0 -1
  316. package/dist/node/Diviner.d.ts +0 -16
  317. package/dist/node/Diviner.d.ts.map +0 -1
  318. package/dist/node/Plugin.d.cts +0 -19
  319. package/dist/node/Plugin.d.cts.map +0 -1
  320. package/dist/node/Plugin.d.mts +0 -19
  321. package/dist/node/Plugin.d.mts.map +0 -1
  322. package/dist/node/Plugin.d.ts +0 -19
  323. package/dist/node/Plugin.d.ts.map +0 -1
  324. package/dist/node/Schema.d.cts +0 -5
  325. package/dist/node/Schema.d.cts.map +0 -1
  326. package/dist/node/Schema.d.mts +0 -5
  327. package/dist/node/Schema.d.mts.map +0 -1
  328. package/dist/node/Schema.d.ts +0 -5
  329. package/dist/node/Schema.d.ts.map +0 -1
  330. package/dist/node/index.cjs +0 -415
  331. package/dist/node/index.cjs.map +0 -1
  332. package/dist/node/index.d.cts +0 -4
  333. package/dist/node/index.d.cts.map +0 -1
  334. package/dist/node/index.d.mts +0 -4
  335. package/dist/node/index.d.mts.map +0 -1
  336. package/dist/node/index.d.ts +0 -4
  337. package/dist/node/index.d.ts.map +0 -1
  338. package/dist/node/index.mjs +0 -387
  339. package/dist/node/index.mjs.map +0 -1
  340. package/dist/node/lib/average.d.cts +0 -3
  341. package/dist/node/lib/average.d.cts.map +0 -1
  342. package/dist/node/lib/average.d.mts +0 -3
  343. package/dist/node/lib/average.d.mts.map +0 -1
  344. package/dist/node/lib/average.d.ts +0 -3
  345. package/dist/node/lib/average.d.ts.map +0 -1
  346. package/dist/node/lib/divineGas.d.cts +0 -4
  347. package/dist/node/lib/divineGas.d.cts.map +0 -1
  348. package/dist/node/lib/divineGas.d.mts +0 -4
  349. package/dist/node/lib/divineGas.d.mts.map +0 -1
  350. package/dist/node/lib/divineGas.d.ts +0 -4
  351. package/dist/node/lib/divineGas.d.ts.map +0 -1
  352. package/dist/node/lib/identities/index.d.cts +0 -6
  353. package/dist/node/lib/identities/index.d.cts.map +0 -1
  354. package/dist/node/lib/identities/index.d.mts +0 -6
  355. package/dist/node/lib/identities/index.d.mts.map +0 -1
  356. package/dist/node/lib/identities/index.d.ts +0 -6
  357. package/dist/node/lib/identities/index.d.ts.map +0 -1
  358. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
  359. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
  360. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
  361. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
  362. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
  363. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
  364. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
  365. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
  366. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
  367. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
  368. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
  369. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
  370. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
  371. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
  372. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
  373. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
  374. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
  375. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
  376. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
  377. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
  378. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
  379. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
  380. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
  381. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
  382. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
  383. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
  384. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
  385. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
  386. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
  387. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
  388. package/dist/node/lib/index.d.cts +0 -2
  389. package/dist/node/lib/index.d.cts.map +0 -1
  390. package/dist/node/lib/index.d.mts +0 -2
  391. package/dist/node/lib/index.d.mts.map +0 -1
  392. package/dist/node/lib/index.d.ts +0 -2
  393. package/dist/node/lib/index.d.ts.map +0 -1
  394. package/dist/node/lib/transforms/index.d.cts +0 -6
  395. package/dist/node/lib/transforms/index.d.cts.map +0 -1
  396. package/dist/node/lib/transforms/index.d.mts +0 -6
  397. package/dist/node/lib/transforms/index.d.mts.map +0 -1
  398. package/dist/node/lib/transforms/index.d.ts +0 -6
  399. package/dist/node/lib/transforms/index.d.ts.map +0 -1
  400. package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
  401. package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
  402. package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
  403. package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
  404. package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
  405. package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
  406. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
  407. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
  408. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
  409. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
  410. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
  411. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
  412. package/dist/node/lib/transforms/transformGasFromEthers.d.cts +0 -4
  413. package/dist/node/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
  414. package/dist/node/lib/transforms/transformGasFromEthers.d.mts +0 -4
  415. package/dist/node/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
  416. package/dist/node/lib/transforms/transformGasFromEthers.d.ts +0 -4
  417. package/dist/node/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
  418. package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
  419. package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
  420. package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
  421. package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
  422. package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
  423. package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
  424. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
  425. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
  426. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
  427. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
  428. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
  429. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
  430. package/dist/node/test/index.d.cts +0 -6
  431. package/dist/node/test/index.d.cts.map +0 -1
  432. package/dist/node/test/index.d.mts +0 -6
  433. package/dist/node/test/index.d.mts.map +0 -1
  434. package/dist/node/test/index.d.ts +0 -6
  435. package/dist/node/test/index.d.ts.map +0 -1
  436. package/dist/node/test/sampleBlocknativeGas.d.cts +0 -3
  437. package/dist/node/test/sampleBlocknativeGas.d.cts.map +0 -1
  438. package/dist/node/test/sampleBlocknativeGas.d.mts +0 -3
  439. package/dist/node/test/sampleBlocknativeGas.d.mts.map +0 -1
  440. package/dist/node/test/sampleBlocknativeGas.d.ts +0 -3
  441. package/dist/node/test/sampleBlocknativeGas.d.ts.map +0 -1
  442. package/dist/node/test/sampleEtherchainGasV2.d.cts +0 -3
  443. package/dist/node/test/sampleEtherchainGasV2.d.cts.map +0 -1
  444. package/dist/node/test/sampleEtherchainGasV2.d.mts +0 -3
  445. package/dist/node/test/sampleEtherchainGasV2.d.mts.map +0 -1
  446. package/dist/node/test/sampleEtherchainGasV2.d.ts +0 -3
  447. package/dist/node/test/sampleEtherchainGasV2.d.ts.map +0 -1
  448. package/dist/node/test/sampleEthersGas.d.cts +0 -3
  449. package/dist/node/test/sampleEthersGas.d.cts.map +0 -1
  450. package/dist/node/test/sampleEthersGas.d.mts +0 -3
  451. package/dist/node/test/sampleEthersGas.d.mts.map +0 -1
  452. package/dist/node/test/sampleEthersGas.d.ts +0 -3
  453. package/dist/node/test/sampleEthersGas.d.ts.map +0 -1
  454. package/dist/node/test/sampleEtherscanGas.d.cts +0 -3
  455. package/dist/node/test/sampleEtherscanGas.d.cts.map +0 -1
  456. package/dist/node/test/sampleEtherscanGas.d.mts +0 -3
  457. package/dist/node/test/sampleEtherscanGas.d.mts.map +0 -1
  458. package/dist/node/test/sampleEtherscanGas.d.ts +0 -3
  459. package/dist/node/test/sampleEtherscanGas.d.ts.map +0 -1
  460. package/dist/node/test/sampleEthgasstationGas.d.cts +0 -3
  461. package/dist/node/test/sampleEthgasstationGas.d.cts.map +0 -1
  462. package/dist/node/test/sampleEthgasstationGas.d.mts +0 -3
  463. package/dist/node/test/sampleEthgasstationGas.d.mts.map +0 -1
  464. package/dist/node/test/sampleEthgasstationGas.d.ts +0 -3
  465. package/dist/node/test/sampleEthgasstationGas.d.ts.map +0 -1
@@ -1,387 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getProtoOf = Object.getPrototypeOf;
3
- var __reflectGet = Reflect.get;
4
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
- var __superGet = (cls, obj, key) => __reflectGet(__getProtoOf(cls), key, obj);
8
-
9
- // src/Diviner.ts
10
- import { AbstractDiviner } from "@xyo-network/diviner-abstract";
11
- import { EthereumGasSchema as EthereumGasSchema2 } from "@xyo-network/gas-price-payload-plugin";
12
-
13
- // src/lib/divineGas.ts
14
- import { EthereumGasSchema } from "@xyo-network/gas-price-payload-plugin";
15
- import { PayloadBuilder } from "@xyo-network/payload-builder";
16
-
17
- // src/lib/average.ts
18
- import { exists } from "@xylabs/exists";
19
- var listAverage = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.length) ? x.reduce((a, b) => a + b) / x.length : void 0, "listAverage");
20
- var averageProperty = /* @__PURE__ */ __name((data, propertyExpression) => {
21
- return listAverage(data.map(propertyExpression).filter(exists));
22
- }, "averageProperty");
23
- var average = /* @__PURE__ */ __name((input) => {
24
- const data = (input == null ? void 0 : input.filter(exists)) || [];
25
- const averaged = {
26
- baseFee: averageProperty(data, (x) => x.baseFee),
27
- feePerGas: {
28
- high: averageProperty(data, (x) => x.feePerGas.high),
29
- low: averageProperty(data, (x) => x.feePerGas.low),
30
- medium: averageProperty(data, (x) => x.feePerGas.medium),
31
- veryHigh: averageProperty(data, (x) => x.feePerGas.veryHigh)
32
- },
33
- priorityFeePerGas: {
34
- high: averageProperty(data, (x) => x.priorityFeePerGas.high),
35
- low: averageProperty(data, (x) => x.priorityFeePerGas.low),
36
- medium: averageProperty(data, (x) => x.priorityFeePerGas.medium),
37
- veryHigh: averageProperty(data, (x) => x.priorityFeePerGas.veryHigh)
38
- }
39
- };
40
- return averaged;
41
- }, "average");
42
-
43
- // src/lib/identities/isEthereumGasBlocknativePayload.ts
44
- import { EthereumGasBlocknativeSchema } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
45
- var isEthereumGasBlocknativePayload = /* @__PURE__ */ __name((payload) => {
46
- return (payload == null ? void 0 : payload.schema) === EthereumGasBlocknativeSchema;
47
- }, "isEthereumGasBlocknativePayload");
48
-
49
- // src/lib/identities/isEthereumGasEtherchainV2Payload.ts
50
- import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins";
51
- var isEthereumGasEtherchainV2Payload = /* @__PURE__ */ __name((payload) => {
52
- return (payload == null ? void 0 : payload.schema) === EthereumGasEtherchainV2Schema;
53
- }, "isEthereumGasEtherchainV2Payload");
54
-
55
- // src/lib/identities/isEthereumGasEtherscanPayload.ts
56
- import { EthereumGasEtherscanSchema } from "@xyo-network/etherscan-ethereum-gas-payload-plugin";
57
- var isEthereumGasEtherscanPayload = /* @__PURE__ */ __name((payload) => {
58
- return (payload == null ? void 0 : payload.schema) === EthereumGasEtherscanSchema;
59
- }, "isEthereumGasEtherscanPayload");
60
-
61
- // src/lib/identities/isEthereumGasEthersPayload.ts
62
- import { EthereumGasEthersSchema } from "@xyo-network/ethers-ethereum-gas-payload-plugin";
63
- var isEthereumGasEthersPayload = /* @__PURE__ */ __name((payload) => {
64
- return (payload == null ? void 0 : payload.schema) === EthereumGasEthersSchema;
65
- }, "isEthereumGasEthersPayload");
66
-
67
- // src/lib/identities/isEthereumGasEthgasstationPayload.ts
68
- import { EthereumGasEthgasstationSchema } from "@xyo-network/ethgasstation-ethereum-gas-payload-plugin";
69
- var isEthereumGasEthgasstationPayload = /* @__PURE__ */ __name((payload) => {
70
- return (payload == null ? void 0 : payload.schema) === EthereumGasEthgasstationSchema;
71
- }, "isEthereumGasEthgasstationPayload");
72
-
73
- // src/lib/transforms/transformGasFromBlocknative.ts
74
- import { linear } from "regression";
75
- var getBaseFee = /* @__PURE__ */ __name((payload) => {
76
- var _a, _b;
77
- return (_b = (_a = payload == null ? void 0 : payload.blockPrices) == null ? void 0 : _a[0]) == null ? void 0 : _b.baseFeePerGas;
78
- }, "getBaseFee");
79
- var getFeePerGas = /* @__PURE__ */ __name((payload) => {
80
- var _a, _b;
81
- const sorted = (_b = (_a = payload.blockPrices) == null ? void 0 : _a[0].estimatedPrices) == null ? void 0 : _b.sort((a, b) => a.confidence - b.confidence);
82
- const trend = linear([
83
- [
84
- 0,
85
- sorted == null ? void 0 : sorted[0].price
86
- ],
87
- [
88
- 1,
89
- sorted == null ? void 0 : sorted[1].price
90
- ],
91
- [
92
- 2,
93
- sorted == null ? void 0 : sorted[2].price
94
- ],
95
- [
96
- 3,
97
- sorted == null ? void 0 : sorted[3].price
98
- ],
99
- [
100
- 4,
101
- sorted == null ? void 0 : sorted[4].price
102
- ]
103
- ]);
104
- const feePerGas = {
105
- low: trend.predict(0.5)[1],
106
- medium: trend.predict(1.5)[1],
107
- high: trend.predict(2.5)[1],
108
- veryHigh: trend.predict(3.5)[1]
109
- };
110
- return feePerGas;
111
- }, "getFeePerGas");
112
- var getPriorityFeePerGas = /* @__PURE__ */ __name((payload) => {
113
- var _a, _b;
114
- const sorted = (_b = (_a = payload.blockPrices) == null ? void 0 : _a[0].estimatedPrices) == null ? void 0 : _b.sort((a, b) => a.confidence - b.confidence);
115
- const trend = linear([
116
- [
117
- 0,
118
- sorted == null ? void 0 : sorted[0].maxPriorityFeePerGas
119
- ],
120
- [
121
- 1,
122
- sorted == null ? void 0 : sorted[1].maxPriorityFeePerGas
123
- ],
124
- [
125
- 2,
126
- sorted == null ? void 0 : sorted[2].maxPriorityFeePerGas
127
- ],
128
- [
129
- 3,
130
- sorted == null ? void 0 : sorted[3].maxPriorityFeePerGas
131
- ],
132
- [
133
- 4,
134
- sorted == null ? void 0 : sorted[4].maxPriorityFeePerGas
135
- ]
136
- ]);
137
- const priorityFeePerGas = {
138
- low: trend.predict(0.5)[1],
139
- medium: trend.predict(1.5)[1],
140
- high: trend.predict(2.5)[1],
141
- veryHigh: trend.predict(3.5)[1]
142
- };
143
- return priorityFeePerGas;
144
- }, "getPriorityFeePerGas");
145
- var transformGasFromBlocknative = /* @__PURE__ */ __name((payload) => {
146
- const baseFee = getBaseFee(payload);
147
- const feePerGas = getFeePerGas(payload);
148
- const priorityFeePerGas = getPriorityFeePerGas(payload);
149
- return {
150
- baseFee,
151
- feePerGas,
152
- priorityFeePerGas
153
- };
154
- }, "transformGasFromBlocknative");
155
-
156
- // src/lib/transforms/transformGasFromEtherchainV2.ts
157
- var getFeePerGas2 = /* @__PURE__ */ __name((payload) => {
158
- const { slow, standard, fast, rapid } = payload.data;
159
- const low = slow / 1e9;
160
- const medium = standard / 1e9;
161
- const high = fast / 1e9;
162
- const veryHigh = rapid / 1e9;
163
- return {
164
- high,
165
- low,
166
- medium,
167
- veryHigh
168
- };
169
- }, "getFeePerGas");
170
- var transformGasFromEtherchainV2 = /* @__PURE__ */ __name((payload) => {
171
- const baseFee = void 0;
172
- const feePerGas = getFeePerGas2(payload);
173
- const priorityFeePerGas = {};
174
- return {
175
- baseFee,
176
- feePerGas,
177
- priorityFeePerGas
178
- };
179
- }, "transformGasFromEtherchainV2");
180
-
181
- // src/lib/transforms/transformGasFromEthers.ts
182
- var getBaseFee2 = /* @__PURE__ */ __name((payload) => {
183
- const { gasPrice } = payload;
184
- return gasPrice ? gasPrice / 1e9 : void 0;
185
- }, "getBaseFee");
186
- var getFeePerGas3 = /* @__PURE__ */ __name((payload) => {
187
- const { maxFeePerGas } = payload;
188
- const high = maxFeePerGas ? maxFeePerGas / 1e9 : void 0;
189
- return {
190
- high
191
- };
192
- }, "getFeePerGas");
193
- var getPriorityFeePerGas2 = /* @__PURE__ */ __name((payload) => {
194
- const { maxPriorityFeePerGas } = payload;
195
- const high = maxPriorityFeePerGas ? maxPriorityFeePerGas / 1e9 : void 0;
196
- return {
197
- high
198
- };
199
- }, "getPriorityFeePerGas");
200
- var transformGasFromEthers = /* @__PURE__ */ __name((payload) => {
201
- const baseFee = getBaseFee2(payload);
202
- const feePerGas = getFeePerGas3(payload);
203
- const priorityFeePerGas = getPriorityFeePerGas2(payload);
204
- return {
205
- baseFee,
206
- feePerGas,
207
- priorityFeePerGas
208
- };
209
- }, "transformGasFromEthers");
210
-
211
- // src/lib/transforms/transformGasFromEtherscan.ts
212
- import { linear as linear2 } from "regression";
213
- var getBaseFee3 = /* @__PURE__ */ __name((payload) => {
214
- const { suggestBaseFee } = payload.result;
215
- return Number.parseFloat(suggestBaseFee);
216
- }, "getBaseFee");
217
- var getFeePerGas4 = /* @__PURE__ */ __name((payload) => {
218
- const { FastGasPrice, ProposeGasPrice, SafeGasPrice } = payload.result;
219
- const low = Number.parseFloat(SafeGasPrice);
220
- const medium = Number.parseFloat(ProposeGasPrice);
221
- const high = Number.parseFloat(FastGasPrice);
222
- const veryHigh = linear2([
223
- [
224
- 0,
225
- low
226
- ],
227
- [
228
- 1,
229
- medium
230
- ],
231
- [
232
- 2,
233
- high
234
- ]
235
- ]).predict(3)[1];
236
- return {
237
- high,
238
- low,
239
- medium,
240
- veryHigh
241
- };
242
- }, "getFeePerGas");
243
- var transformGasFromEtherscan = /* @__PURE__ */ __name((payload) => {
244
- const baseFee = getBaseFee3(payload);
245
- const feePerGas = getFeePerGas4(payload);
246
- const priorityFeePerGas = {};
247
- return {
248
- baseFee,
249
- feePerGas,
250
- priorityFeePerGas
251
- };
252
- }, "transformGasFromEtherscan");
253
-
254
- // src/lib/transforms/transformGasFromEthgasstation.ts
255
- import { linear as linear3 } from "regression";
256
- var getBaseFee4 = /* @__PURE__ */ __name((payload) => {
257
- const { baseFee } = payload;
258
- return baseFee;
259
- }, "getBaseFee");
260
- var getFeePerGas5 = /* @__PURE__ */ __name((payload) => {
261
- const { standard: medium, fast: high, instant: veryHigh } = payload.gasPrice;
262
- const trend = linear3([
263
- [
264
- 1,
265
- medium
266
- ],
267
- [
268
- 2,
269
- high
270
- ],
271
- [
272
- 3,
273
- veryHigh
274
- ]
275
- ]);
276
- const low = trend.predict(0)[1];
277
- return {
278
- low,
279
- medium,
280
- high,
281
- veryHigh
282
- };
283
- }, "getFeePerGas");
284
- var getPriorityFeePerGas3 = /* @__PURE__ */ __name((payload) => {
285
- const { standard: medium, fast: high, instant: veryHigh } = payload.priorityFee;
286
- const trend = linear3([
287
- [
288
- 1,
289
- medium
290
- ],
291
- [
292
- 2,
293
- high
294
- ],
295
- [
296
- 3,
297
- veryHigh
298
- ]
299
- ]);
300
- const low = trend.predict(0)[1];
301
- return {
302
- low,
303
- medium,
304
- high,
305
- veryHigh
306
- };
307
- }, "getPriorityFeePerGas");
308
- var transformGasFromEthgasstation = /* @__PURE__ */ __name((payload) => {
309
- const baseFee = getBaseFee4(payload);
310
- const feePerGas = getFeePerGas5(payload);
311
- const priorityFeePerGas = getPriorityFeePerGas3(payload);
312
- return {
313
- baseFee,
314
- feePerGas,
315
- priorityFeePerGas
316
- };
317
- }, "transformGasFromEthgasstation");
318
-
319
- // src/lib/divineGas.ts
320
- var divineGas = /* @__PURE__ */ __name(async (payloads) => {
321
- const blocknative = payloads.filter(isEthereumGasBlocknativePayload).map(transformGasFromBlocknative);
322
- const etherchainV2 = payloads.filter(isEthereumGasEtherchainV2Payload).map(transformGasFromEtherchainV2);
323
- const ethers = payloads.filter(isEthereumGasEthersPayload).map(transformGasFromEthers);
324
- const etherscan = payloads.filter(isEthereumGasEtherscanPayload).map(transformGasFromEtherscan);
325
- const ethgasstation = payloads.filter(isEthereumGasEthgasstationPayload).map(transformGasFromEthgasstation);
326
- const transactionCosts = [
327
- ...blocknative,
328
- ...etherchainV2,
329
- ...ethers,
330
- ...etherscan,
331
- ...ethgasstation
332
- ];
333
- const avg = average(transactionCosts);
334
- const timestamp = Date.now();
335
- const payload = await new PayloadBuilder({
336
- schema: EthereumGasSchema
337
- }).fields({
338
- ...avg,
339
- timestamp
340
- }).build();
341
- return payload;
342
- }, "divineGas");
343
-
344
- // src/Schema.ts
345
- var EthereumGasDivinerQuerySchema = "network.xyo.blockchain.ethereum.gas.diviner.query";
346
- var EthereumGasDivinerConfigSchema = "network.xyo.blockchain.ethereum.gas.diviner.config";
347
-
348
- // src/Diviner.ts
349
- var _EthereumGasDiviner = class _EthereumGasDiviner extends AbstractDiviner {
350
- async divineHandler(payloads) {
351
- const cost = await divineGas(payloads ?? []);
352
- return [
353
- cost
354
- ];
355
- }
356
- };
357
- __name(_EthereumGasDiviner, "EthereumGasDiviner");
358
- __publicField(_EthereumGasDiviner, "configSchemas", [
359
- ...__superGet(_EthereumGasDiviner, _EthereumGasDiviner, "configSchemas"),
360
- EthereumGasDivinerConfigSchema
361
- ]);
362
- __publicField(_EthereumGasDiviner, "defaultConfigSchema", EthereumGasDivinerConfigSchema);
363
- __publicField(_EthereumGasDiviner, "targetSchema", EthereumGasSchema2);
364
- var EthereumGasDiviner = _EthereumGasDiviner;
365
-
366
- // src/Plugin.ts
367
- import { EthereumGasSchema as EthereumGasSchema3 } from "@xyo-network/gas-price-payload-plugin";
368
- import { PayloadSetSchema } from "@xyo-network/payload-model";
369
- import { createPayloadSetDivinerPlugin } from "@xyo-network/payloadset-plugin";
370
- var EthereumGasPlugin = /* @__PURE__ */ __name(() => createPayloadSetDivinerPlugin({
371
- required: {
372
- [EthereumGasSchema3]: 1
373
- },
374
- schema: PayloadSetSchema
375
- }, {
376
- diviner: /* @__PURE__ */ __name(async (params) => {
377
- return await EthereumGasDiviner.create(params);
378
- }, "diviner")
379
- }), "EthereumGasPlugin");
380
- export {
381
- EthereumGasDiviner,
382
- EthereumGasDivinerConfigSchema,
383
- EthereumGasDivinerQuerySchema,
384
- EthereumGasPlugin,
385
- EthereumGasPlugin as default
386
- };
387
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Diviner.ts","../../src/lib/divineGas.ts","../../src/lib/average.ts","../../src/lib/identities/isEthereumGasBlocknativePayload.ts","../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts","../../src/lib/identities/isEthereumGasEtherscanPayload.ts","../../src/lib/identities/isEthereumGasEthersPayload.ts","../../src/lib/identities/isEthereumGasEthgasstationPayload.ts","../../src/lib/transforms/transformGasFromBlocknative.ts","../../src/lib/transforms/transformGasFromEtherchainV2.ts","../../src/lib/transforms/transformGasFromEthers.ts","../../src/lib/transforms/transformGasFromEtherscan.ts","../../src/lib/transforms/transformGasFromEthgasstation.ts","../../src/Schema.ts","../../src/Plugin.ts"],"sourcesContent":["import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner-model'\nimport { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload, Schema } from '@xyo-network/payload-model'\n\nimport { divineGas } from './lib/index.ts'\nimport { EthereumGasDivinerConfigSchema } from './Schema.ts'\n\nexport type EthereumGasDivinerConfig = DivinerConfig<{ schema: EthereumGasDivinerConfigSchema }>\nexport type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>\n\nexport class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams>\n extends AbstractDiviner<TParams>\n implements DivinerModule {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasDivinerConfigSchema\n static override targetSchema: string = EthereumGasSchema\n\n protected override async divineHandler(payloads?: Payload[]): Promise<Payload[]> {\n const cost = await divineGas(payloads ?? [])\n return [cost]\n }\n}\n","import { EthereumGasPayload, EthereumGasSchema, FeeData } from '@xyo-network/gas-price-payload-plugin'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { average } from './average.ts'\nimport {\n isEthereumGasBlocknativePayload,\n isEthereumGasEtherchainV2Payload,\n isEthereumGasEtherscanPayload,\n isEthereumGasEthersPayload,\n isEthereumGasEthgasstationPayload,\n} from './identities/index.ts'\nimport {\n transformGasFromBlocknative,\n transformGasFromEtherchainV2,\n transformGasFromEthers,\n transformGasFromEtherscan,\n transformGasFromEthgasstation,\n} from './transforms/index.ts'\n\nexport const divineGas = async (payloads: Payload[]): Promise<EthereumGasPayload> => {\n const blocknative = payloads.filter(isEthereumGasBlocknativePayload).map(transformGasFromBlocknative)\n const etherchainV2 = payloads.filter(isEthereumGasEtherchainV2Payload).map(transformGasFromEtherchainV2)\n const ethers = payloads.filter(isEthereumGasEthersPayload).map(transformGasFromEthers)\n const etherscan = payloads.filter(isEthereumGasEtherscanPayload).map(transformGasFromEtherscan)\n const ethgasstation = payloads.filter(isEthereumGasEthgasstationPayload).map(transformGasFromEthgasstation)\n const transactionCosts: FeeData[] = [...blocknative, ...etherchainV2, ...ethers, ...etherscan, ...ethgasstation]\n const avg = average(transactionCosts)\n const timestamp = Date.now()\n const payload = await new PayloadBuilder<EthereumGasPayload>({ schema: EthereumGasSchema }).fields({ ...avg, timestamp }).build()\n return payload\n}\n","import { exists } from '@xylabs/exists'\nimport { FeeData } from '@xyo-network/gas-price-payload-plugin'\n\n/**\n * Averages an array of numbers\n * @param x Averages an array of numbers\n * @returns The average of the array of numbers or undefined if the\n * array is empty or undefined\n */\nconst listAverage = (x?: number[]) => (x?.length ? x.reduce((a, b) => a + b) / x.length : undefined)\n\n/**\n * Averages the property indicates by the supplied property\n * expression across the array of FeeData\n * @param data The array of data to average\n * @param propertyExpression The expression for the property to\n * average\n * @returns The average of the supplied property across the array\n */\nconst averageProperty = (data: FeeData[], propertyExpression: (x: FeeData) => number | undefined) => {\n return listAverage(data.map(propertyExpression).filter(exists))\n}\n\n/**\n * Averages the supplied FeeData\n * @param input An array of FeeData or undefined\n * @returns The average of the supplied FeeData\n */\nexport const average = (input?: (FeeData | undefined)[]): FeeData => {\n const data = input?.filter(exists) || []\n const averaged: FeeData = {\n baseFee: averageProperty(data, x => x.baseFee),\n feePerGas: {\n high: averageProperty(data, x => x.feePerGas.high),\n low: averageProperty(data, x => x.feePerGas.low),\n medium: averageProperty(data, x => x.feePerGas.medium),\n veryHigh: averageProperty(data, x => x.feePerGas.veryHigh),\n },\n priorityFeePerGas: {\n high: averageProperty(data, x => x.priorityFeePerGas.high),\n low: averageProperty(data, x => x.priorityFeePerGas.low),\n medium: averageProperty(data, x => x.priorityFeePerGas.medium),\n veryHigh: averageProperty(data, x => x.priorityFeePerGas.veryHigh),\n },\n }\n return averaged\n}\n","import { EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasBlocknativePayload = (payload?: Payload | null): payload is EthereumGasBlocknativePayload => {\n return payload?.schema === EthereumGasBlocknativeSchema\n}\n","import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEtherchainV2Payload = (payload?: Payload | null): payload is EthereumGasEtherchainV2Payload => {\n return payload?.schema === EthereumGasEtherchainV2Schema\n}\n","import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEtherscanPayload = (payload?: Payload | null): payload is EthereumGasEtherscanPayload => {\n return payload?.schema === EthereumGasEtherscanSchema\n}\n","import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEthersPayload = (payload?: Payload | null): payload is EthereumGasEthersPayload => {\n return payload?.schema === EthereumGasEthersSchema\n}\n","import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const isEthereumGasEthgasstationPayload = (payload?: Payload | null): payload is EthereumGasEthgasstationPayload => {\n return payload?.schema === EthereumGasEthgasstationSchema\n}\n","import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasBlocknativePayload): number | undefined => {\n return payload?.blockPrices?.[0]?.baseFeePerGas\n}\n\nconst getFeePerGas = (payload: EthereumGasBlocknativePayload): Partial<FeePerGas> => {\n const sorted = payload.blockPrices?.[0].estimatedPrices?.sort((a, b) => a.confidence - b.confidence)\n const trend = linear([\n [0, sorted?.[0].price],\n [1, sorted?.[1].price],\n [2, sorted?.[2].price],\n [3, sorted?.[3].price],\n [4, sorted?.[4].price],\n ])\n const feePerGas: FeePerGas = {\n low: trend.predict(0.5)[1],\n medium: trend.predict(1.5)[1],\n high: trend.predict(2.5)[1],\n veryHigh: trend.predict(3.5)[1],\n }\n return feePerGas\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasBlocknativePayload): Partial<PriorityFeePerGas> => {\n const sorted = payload.blockPrices?.[0].estimatedPrices?.sort((a, b) => a.confidence - b.confidence)\n const trend = linear([\n [0, sorted?.[0].maxPriorityFeePerGas],\n [1, sorted?.[1].maxPriorityFeePerGas],\n [2, sorted?.[2].maxPriorityFeePerGas],\n [3, sorted?.[3].maxPriorityFeePerGas],\n [4, sorted?.[4].maxPriorityFeePerGas],\n ])\n const priorityFeePerGas: PriorityFeePerGas = {\n low: trend.predict(0.5)[1],\n medium: trend.predict(1.5)[1],\n high: trend.predict(2.5)[1],\n veryHigh: trend.predict(3.5)[1],\n }\n return priorityFeePerGas\n}\n\nexport const transformGasFromBlocknative = (payload: EthereumGasBlocknativePayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\nimport { FeeData, FeePerGas } from '@xyo-network/gas-price-payload-plugin'\n\nconst getFeePerGas = (payload: EthereumGasEtherchainV2Payload): Partial<FeePerGas> => {\n const { slow, standard, fast, rapid } = payload.data\n const low = slow / 1_000_000_000\n const medium = standard / 1_000_000_000\n const high = fast / 1_000_000_000\n const veryHigh = rapid / 1_000_000_000\n return { high, low, medium, veryHigh }\n}\n\nexport const transformGasFromEtherchainV2 = (payload: EthereumGasEtherchainV2Payload): FeeData => {\n const baseFee = undefined\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = {}\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\n\nconst getBaseFee = (payload: EthereumGasEthersPayload): number | undefined => {\n const { gasPrice } = payload\n return gasPrice ? gasPrice / 1_000_000_000 : undefined\n}\n\nconst getFeePerGas = (payload: EthereumGasEthersPayload): Partial<FeePerGas> => {\n const { maxFeePerGas } = payload\n const high = maxFeePerGas ? maxFeePerGas / 1_000_000_000 : undefined\n return { high }\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasEthersPayload): Partial<PriorityFeePerGas> => {\n const { maxPriorityFeePerGas } = payload\n const high = maxPriorityFeePerGas ? maxPriorityFeePerGas / 1_000_000_000 : undefined\n return { high }\n}\n\nexport const transformGasFromEthers = (payload: EthereumGasEthersPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasEtherscanPayload): number | undefined => {\n const { suggestBaseFee } = payload.result\n return Number.parseFloat(suggestBaseFee)\n}\n\nconst getFeePerGas = (payload: EthereumGasEtherscanPayload): Partial<FeePerGas> => {\n const { FastGasPrice, ProposeGasPrice, SafeGasPrice } = payload.result\n const low = Number.parseFloat(SafeGasPrice)\n const medium = Number.parseFloat(ProposeGasPrice)\n const high = Number.parseFloat(FastGasPrice)\n const veryHigh = linear([\n [0, low],\n [1, medium],\n [2, high],\n ]).predict(3)[1]\n return { high, low, medium, veryHigh }\n}\n\nexport const transformGasFromEtherscan = (payload: EthereumGasEtherscanPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = {}\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\nimport { FeeData, FeePerGas, PriorityFeePerGas } from '@xyo-network/gas-price-payload-plugin'\nimport { linear } from 'regression'\n\nconst getBaseFee = (payload: EthereumGasEthgasstationPayload): number | undefined => {\n const { baseFee } = payload\n return baseFee\n}\n\nconst getFeePerGas = (payload: EthereumGasEthgasstationPayload): Partial<FeePerGas> => {\n const { standard: medium, fast: high, instant: veryHigh } = payload.gasPrice\n const trend = linear([\n [1, medium],\n [2, high],\n [3, veryHigh],\n ])\n const low = trend.predict(0)[1]\n return { low, medium, high, veryHigh }\n}\n\nconst getPriorityFeePerGas = (payload: EthereumGasEthgasstationPayload): Partial<PriorityFeePerGas> => {\n const { standard: medium, fast: high, instant: veryHigh } = payload.priorityFee\n const trend = linear([\n [1, medium],\n [2, high],\n [3, veryHigh],\n ])\n const low = trend.predict(0)[1]\n return { low, medium, high, veryHigh }\n}\n\nexport const transformGasFromEthgasstation = (payload: EthereumGasEthgasstationPayload): FeeData => {\n const baseFee = getBaseFee(payload)\n const feePerGas = getFeePerGas(payload)\n const priorityFeePerGas = getPriorityFeePerGas(payload)\n return { baseFee, feePerGas, priorityFeePerGas }\n}\n","export type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query'\nexport const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query'\n\nexport type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config'\nexport const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config'\n","import { EthereumGasSchema } from '@xyo-network/gas-price-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { EthereumGasDiviner } from './Diviner.ts'\n\nexport const EthereumGasPlugin = () =>\n createPayloadSetDivinerPlugin<EthereumGasDiviner>(\n { required: { [EthereumGasSchema]: 1 }, schema: PayloadSetSchema },\n {\n diviner: async (params) => {\n return (await EthereumGasDiviner.create(params)) as EthereumGasDiviner\n },\n },\n )\n"],"mappings":";;;;;;;;;AAAA,SAASA,uBAAuB;AAEhC,SAASC,qBAAAA,0BAAyB;;;ACFlC,SAA6BC,yBAAkC;AAC/D,SAASC,sBAAsB;;;ACD/B,SAASC,cAAc;AASvB,IAAMC,cAAc,wBAACC,OAAkBA,uBAAGC,UAASD,EAAEE,OAAO,CAACC,GAAGC,MAAMD,IAAIC,CAAAA,IAAKJ,EAAEC,SAASI,QAAtE;AAUpB,IAAMC,kBAAkB,wBAACC,MAAiBC,uBAAAA;AACxC,SAAOT,YAAYQ,KAAKE,IAAID,kBAAAA,EAAoBE,OAAOC,MAAAA,CAAAA;AACzD,GAFwB;AASjB,IAAMC,UAAU,wBAACC,UAAAA;AACtB,QAAMN,QAAOM,+BAAOH,OAAOC,YAAW,CAAA;AACtC,QAAMG,WAAoB;IACxBC,SAAST,gBAAgBC,MAAMP,CAAAA,MAAKA,EAAEe,OAAO;IAC7CC,WAAW;MACTC,MAAMX,gBAAgBC,MAAMP,CAAAA,MAAKA,EAAEgB,UAAUC,IAAI;MACjDC,KAAKZ,gBAAgBC,MAAMP,CAA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,sBAAN,MAAMA,4BACHC,gBAAAA;EAMR,MAAyBC,cAAcC,UAA0C;AAC/E,UAAMC,OAAO,MAAMC,UAAUF,YAAY,CAAA,CAAE;AAC3C,WAAO;MAACC;;EACV;AACF;AAVUH;AAER,cAHWD,qBAGcM,iBAA0B;KAAI,qDAAMA;EAAeC;;AAC5E,cAJWP,qBAIcQ,uBAA8BD;AACvD,cALWP,qBAKKS,gBAAuBC;AALlC,IAAMV,qBAAN;;;AcZP,SAASW,qBAAAA,0BAAyB;AAClC,SAASC,wBAAwB;AACjC,SAASC,qCAAqC;AAIvC,IAAMC,oBAAoB,6BAC/BC,8BACE;EAAEC,UAAU;IAAE,CAACC,kBAAAA,GAAoB;EAAE;EAAGC,QAAQC;AAAiB,GACjE;EACEC,SAAS,8BAAOC,WAAAA;AACd,WAAQ,MAAMC,mBAAmBC,OAAOF,MAAAA;EAC1C,GAFS;AAGX,CAAA,GAP6B;","names":["AbstractDiviner","EthereumGasSchema","EthereumGasSchema","PayloadBuilder","exists","listAverage","x","length","reduce","a","b","undefined","averageProperty","data","propertyExpression","map","filter","exists","average","input","averaged","baseFee","feePerGas","high","low","medium","veryHigh","priorityFeePerGas","EthereumGasBlocknativeSchema","isEthereumGasBlocknativePayload","payload","schema","EthereumGasBlocknativeSchema","EthereumGasEtherchainV2Schema","isEthereumGasEtherchainV2Payload","payload","schema","EthereumGasEtherchainV2Schema","EthereumGasEtherscanSchema","isEthereumGasEtherscanPayload","payload","schema","EthereumGasEtherscanSchema","EthereumGasEthersSchema","isEthereumGasEthersPayload","payload","schema","EthereumGasEthersSchema","EthereumGasEthgasstationSchema","isEthereumGasEthgasstationPayload","payload","schema","EthereumGasEthgasstationSchema","linear","getBaseFee","payload","blockPrices","baseFeePerGas","getFeePerGas","sorted","estimatedPrices","sort","a","b","confidence","trend","linear","price","feePerGas","low","predict","medium","high","veryHigh","getPriorityFeePerGas","maxPriorityFeePerGas","priorityFeePerGas","transformGasFromBlocknative","baseFee","getFeePerGas","payload","slow","standard","fast","rapid","data","low","medium","high","veryHigh","transformGasFromEtherchainV2","baseFee","undefined","feePerGas","priorityFeePerGas","getBaseFee","payload","gasPrice","undefined","getFeePerGas","maxFeePerGas","high","getPriorityFeePerGas","maxPriorityFeePerGas","transformGasFromEthers","baseFee","feePerGas","priorityFeePerGas","linear","getBaseFee","payload","suggestBaseFee","result","Number","parseFloat","getFeePerGas","FastGasPrice","ProposeGasPrice","SafeGasPrice","low","medium","high","veryHigh","linear","predict","transformGasFromEtherscan","baseFee","feePerGas","priorityFeePerGas","linear","getBaseFee","payload","baseFee","getFeePerGas","standard","medium","fast","high","instant","veryHigh","gasPrice","trend","linear","low","predict","getPriorityFeePerGas","priorityFee","transformGasFromEthgasstation","feePerGas","priorityFeePerGas","divineGas","payloads","blocknative","filter","isEthereumGasBlocknativePayload","map","transformGasFromBlocknative","etherchainV2","isEthereumGasEtherchainV2Payload","transformGasFromEtherchainV2","ethers","isEthereumGasEthersPayload","transformGasFromEthers","etherscan","isEthereumGasEtherscanPayload","transformGasFromEtherscan","ethgasstation","isEthereumGasEthgasstationPayload","transformGasFromEthgasstation","transactionCosts","avg","average","timestamp","Date","now","payload","PayloadBuilder","schema","EthereumGasSchema","fields","build","EthereumGasDivinerQuerySchema","EthereumGasDivinerConfigSchema","EthereumGasDiviner","AbstractDiviner","divineHandler","payloads","cost","divineGas","configSchemas","EthereumGasDivinerConfigSchema","defaultConfigSchema","targetSchema","EthereumGasSchema","EthereumGasSchema","PayloadSetSchema","createPayloadSetDivinerPlugin","EthereumGasPlugin","createPayloadSetDivinerPlugin","required","EthereumGasSchema","schema","PayloadSetSchema","diviner","params","EthereumGasDiviner","create"]}
@@ -1,3 +0,0 @@
1
- import { FeeData } from '@xyo-network/gas-price-payload-plugin';
2
- export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
3
- //# sourceMappingURL=average.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AA2B/D,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
@@ -1,3 +0,0 @@
1
- import { FeeData } from '@xyo-network/gas-price-payload-plugin';
2
- export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
3
- //# sourceMappingURL=average.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AA2B/D,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
@@ -1,3 +0,0 @@
1
- import { FeeData } from '@xyo-network/gas-price-payload-plugin';
2
- export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
3
- //# sourceMappingURL=average.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AA2B/D,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasPayload } from '@xyo-network/gas-price-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const divineGas: (payloads: Payload[]) => Promise<EthereumGasPayload>;
4
- //# sourceMappingURL=divineGas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,kBAAkB,CAW/E,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasPayload } from '@xyo-network/gas-price-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const divineGas: (payloads: Payload[]) => Promise<EthereumGasPayload>;
4
- //# sourceMappingURL=divineGas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,kBAAkB,CAW/E,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasPayload } from '@xyo-network/gas-price-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const divineGas: (payloads: Payload[]) => Promise<EthereumGasPayload>;
4
- //# sourceMappingURL=divineGas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divineGas.d.ts","sourceRoot":"","sources":["../../../src/lib/divineGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA8B,MAAM,uCAAuC,CAAA;AAEtG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAkBpD,eAAO,MAAM,SAAS,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,kBAAkB,CAW/E,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './isEthereumGasBlocknativePayload.ts';
2
- export * from './isEthereumGasEtherchainV2Payload.ts';
3
- export * from './isEthereumGasEtherscanPayload.ts';
4
- export * from './isEthereumGasEthersPayload.ts';
5
- export * from './isEthereumGasEthgasstationPayload.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,uCAAuC,CAAA;AACrD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wCAAwC,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './isEthereumGasBlocknativePayload.ts';
2
- export * from './isEthereumGasEtherchainV2Payload.ts';
3
- export * from './isEthereumGasEtherscanPayload.ts';
4
- export * from './isEthereumGasEthersPayload.ts';
5
- export * from './isEthereumGasEthgasstationPayload.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,uCAAuC,CAAA;AACrD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wCAAwC,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './isEthereumGasBlocknativePayload.ts';
2
- export * from './isEthereumGasEtherchainV2Payload.ts';
3
- export * from './isEthereumGasEtherscanPayload.ts';
4
- export * from './isEthereumGasEthersPayload.ts';
5
- export * from './isEthereumGasEthgasstationPayload.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,uCAAuC,CAAA;AACrD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wCAAwC,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is EthereumGasBlocknativePayload;
4
- //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAClI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,6BAErF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is EthereumGasBlocknativePayload;
4
- //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAClI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,6BAErF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is EthereumGasBlocknativePayload;
4
- //# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAClI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,6BAErF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is EthereumGasEtherchainV2Payload;
4
- //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAC/I,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,8BAEtF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is EthereumGasEtherchainV2Payload;
4
- //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAC/I,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,8BAEtF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is EthereumGasEtherchainV2Payload;
4
- //# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAC/I,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,8BAEtF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is EthereumGasEthersPayload;
4
- //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AACnH,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,wBAEhF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is EthereumGasEthersPayload;
4
- //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AACnH,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,wBAEhF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is EthereumGasEthersPayload;
4
- //# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AACnH,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,wBAEhF,CAAA"}
@@ -1,4 +0,0 @@
1
- import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
- import { Payload } from '@xyo-network/payload-model';
3
- export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is EthereumGasEtherscanPayload;
4
- //# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map