@xyo-network/gas-price-plugin 2.99.6 → 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.
- package/dist/neutral/index.d.ts +45 -4
- package/package.json +25 -44
- package/src/index.ts +1 -1
- package/xy.config.ts +4 -5
- package/dist/browser/Diviner.d.cts +0 -16
- package/dist/browser/Diviner.d.cts.map +0 -1
- package/dist/browser/Diviner.d.mts +0 -16
- package/dist/browser/Diviner.d.mts.map +0 -1
- package/dist/browser/Diviner.d.ts +0 -16
- package/dist/browser/Diviner.d.ts.map +0 -1
- package/dist/browser/Plugin.d.cts +0 -19
- package/dist/browser/Plugin.d.cts.map +0 -1
- package/dist/browser/Plugin.d.mts +0 -19
- package/dist/browser/Plugin.d.mts.map +0 -1
- package/dist/browser/Plugin.d.ts +0 -19
- package/dist/browser/Plugin.d.ts.map +0 -1
- package/dist/browser/Schema.d.cts +0 -5
- package/dist/browser/Schema.d.cts.map +0 -1
- package/dist/browser/Schema.d.mts +0 -5
- package/dist/browser/Schema.d.mts.map +0 -1
- package/dist/browser/Schema.d.ts +0 -5
- package/dist/browser/Schema.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -278
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -4
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -4
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts +0 -4
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -255
- package/dist/browser/index.mjs.map +0 -1
- package/dist/browser/lib/average.d.cts +0 -3
- package/dist/browser/lib/average.d.cts.map +0 -1
- package/dist/browser/lib/average.d.mts +0 -3
- package/dist/browser/lib/average.d.mts.map +0 -1
- package/dist/browser/lib/average.d.ts +0 -3
- package/dist/browser/lib/average.d.ts.map +0 -1
- package/dist/browser/lib/divineGas.d.cts +0 -4
- package/dist/browser/lib/divineGas.d.cts.map +0 -1
- package/dist/browser/lib/divineGas.d.mts +0 -4
- package/dist/browser/lib/divineGas.d.mts.map +0 -1
- package/dist/browser/lib/divineGas.d.ts +0 -4
- package/dist/browser/lib/divineGas.d.ts.map +0 -1
- package/dist/browser/lib/identities/index.d.cts +0 -6
- package/dist/browser/lib/identities/index.d.cts.map +0 -1
- package/dist/browser/lib/identities/index.d.mts +0 -6
- package/dist/browser/lib/identities/index.d.mts.map +0 -1
- package/dist/browser/lib/identities/index.d.ts +0 -6
- package/dist/browser/lib/identities/index.d.ts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
- package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
- package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
- package/dist/browser/lib/index.d.cts +0 -2
- package/dist/browser/lib/index.d.cts.map +0 -1
- package/dist/browser/lib/index.d.mts +0 -2
- package/dist/browser/lib/index.d.mts.map +0 -1
- package/dist/browser/lib/index.d.ts +0 -2
- package/dist/browser/lib/index.d.ts.map +0 -1
- package/dist/browser/lib/transforms/index.d.cts +0 -6
- package/dist/browser/lib/transforms/index.d.cts.map +0 -1
- package/dist/browser/lib/transforms/index.d.mts +0 -6
- package/dist/browser/lib/transforms/index.d.mts.map +0 -1
- package/dist/browser/lib/transforms/index.d.ts +0 -6
- package/dist/browser/lib/transforms/index.d.ts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
- package/dist/browser/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthers.d.cts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthers.d.mts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthers.d.ts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
- package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
- package/dist/browser/test/index.d.cts +0 -6
- package/dist/browser/test/index.d.cts.map +0 -1
- package/dist/browser/test/index.d.mts +0 -6
- package/dist/browser/test/index.d.mts.map +0 -1
- package/dist/browser/test/index.d.ts +0 -6
- package/dist/browser/test/index.d.ts.map +0 -1
- package/dist/browser/test/sampleBlocknativeGas.d.cts +0 -3
- package/dist/browser/test/sampleBlocknativeGas.d.cts.map +0 -1
- package/dist/browser/test/sampleBlocknativeGas.d.mts +0 -3
- package/dist/browser/test/sampleBlocknativeGas.d.mts.map +0 -1
- package/dist/browser/test/sampleBlocknativeGas.d.ts +0 -3
- package/dist/browser/test/sampleBlocknativeGas.d.ts.map +0 -1
- package/dist/browser/test/sampleEtherchainGasV2.d.cts +0 -3
- package/dist/browser/test/sampleEtherchainGasV2.d.cts.map +0 -1
- package/dist/browser/test/sampleEtherchainGasV2.d.mts +0 -3
- package/dist/browser/test/sampleEtherchainGasV2.d.mts.map +0 -1
- package/dist/browser/test/sampleEtherchainGasV2.d.ts +0 -3
- package/dist/browser/test/sampleEtherchainGasV2.d.ts.map +0 -1
- package/dist/browser/test/sampleEthersGas.d.cts +0 -3
- package/dist/browser/test/sampleEthersGas.d.cts.map +0 -1
- package/dist/browser/test/sampleEthersGas.d.mts +0 -3
- package/dist/browser/test/sampleEthersGas.d.mts.map +0 -1
- package/dist/browser/test/sampleEthersGas.d.ts +0 -3
- package/dist/browser/test/sampleEthersGas.d.ts.map +0 -1
- package/dist/browser/test/sampleEtherscanGas.d.cts +0 -3
- package/dist/browser/test/sampleEtherscanGas.d.cts.map +0 -1
- package/dist/browser/test/sampleEtherscanGas.d.mts +0 -3
- package/dist/browser/test/sampleEtherscanGas.d.mts.map +0 -1
- package/dist/browser/test/sampleEtherscanGas.d.ts +0 -3
- package/dist/browser/test/sampleEtherscanGas.d.ts.map +0 -1
- package/dist/browser/test/sampleEthgasstationGas.d.cts +0 -3
- package/dist/browser/test/sampleEthgasstationGas.d.cts.map +0 -1
- package/dist/browser/test/sampleEthgasstationGas.d.mts +0 -3
- package/dist/browser/test/sampleEthgasstationGas.d.mts.map +0 -1
- package/dist/browser/test/sampleEthgasstationGas.d.ts +0 -3
- package/dist/browser/test/sampleEthgasstationGas.d.ts.map +0 -1
- package/dist/neutral/Diviner.d.cts +0 -16
- package/dist/neutral/Diviner.d.cts.map +0 -1
- package/dist/neutral/Diviner.d.mts +0 -16
- package/dist/neutral/Diviner.d.mts.map +0 -1
- package/dist/neutral/Diviner.d.ts +0 -16
- package/dist/neutral/Diviner.d.ts.map +0 -1
- package/dist/neutral/Plugin.d.cts +0 -19
- package/dist/neutral/Plugin.d.cts.map +0 -1
- package/dist/neutral/Plugin.d.mts +0 -19
- package/dist/neutral/Plugin.d.mts.map +0 -1
- package/dist/neutral/Plugin.d.ts +0 -19
- package/dist/neutral/Plugin.d.ts.map +0 -1
- package/dist/neutral/Schema.d.cts +0 -5
- package/dist/neutral/Schema.d.cts.map +0 -1
- package/dist/neutral/Schema.d.mts +0 -5
- package/dist/neutral/Schema.d.mts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -5
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -278
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -4
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -4
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/lib/average.d.cts +0 -3
- package/dist/neutral/lib/average.d.cts.map +0 -1
- package/dist/neutral/lib/average.d.mts +0 -3
- package/dist/neutral/lib/average.d.mts.map +0 -1
- package/dist/neutral/lib/average.d.ts +0 -3
- package/dist/neutral/lib/average.d.ts.map +0 -1
- package/dist/neutral/lib/divineGas.d.cts +0 -4
- package/dist/neutral/lib/divineGas.d.cts.map +0 -1
- package/dist/neutral/lib/divineGas.d.mts +0 -4
- package/dist/neutral/lib/divineGas.d.mts.map +0 -1
- package/dist/neutral/lib/divineGas.d.ts +0 -4
- package/dist/neutral/lib/divineGas.d.ts.map +0 -1
- package/dist/neutral/lib/identities/index.d.cts +0 -6
- package/dist/neutral/lib/identities/index.d.cts.map +0 -1
- package/dist/neutral/lib/identities/index.d.mts +0 -6
- package/dist/neutral/lib/identities/index.d.mts.map +0 -1
- package/dist/neutral/lib/identities/index.d.ts +0 -6
- package/dist/neutral/lib/identities/index.d.ts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
- package/dist/neutral/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
- package/dist/neutral/lib/index.d.cts +0 -2
- package/dist/neutral/lib/index.d.cts.map +0 -1
- package/dist/neutral/lib/index.d.mts +0 -2
- package/dist/neutral/lib/index.d.mts.map +0 -1
- package/dist/neutral/lib/index.d.ts +0 -2
- package/dist/neutral/lib/index.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/index.d.cts +0 -6
- package/dist/neutral/lib/transforms/index.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/index.d.mts +0 -6
- package/dist/neutral/lib/transforms/index.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/index.d.ts +0 -6
- package/dist/neutral/lib/transforms/index.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.cts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.mts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.ts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
- package/dist/neutral/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
- package/dist/neutral/test/index.d.cts +0 -6
- package/dist/neutral/test/index.d.cts.map +0 -1
- package/dist/neutral/test/index.d.mts +0 -6
- package/dist/neutral/test/index.d.mts.map +0 -1
- package/dist/neutral/test/index.d.ts +0 -6
- package/dist/neutral/test/index.d.ts.map +0 -1
- package/dist/neutral/test/sampleBlocknativeGas.d.cts +0 -3
- package/dist/neutral/test/sampleBlocknativeGas.d.cts.map +0 -1
- package/dist/neutral/test/sampleBlocknativeGas.d.mts +0 -3
- package/dist/neutral/test/sampleBlocknativeGas.d.mts.map +0 -1
- package/dist/neutral/test/sampleBlocknativeGas.d.ts +0 -3
- package/dist/neutral/test/sampleBlocknativeGas.d.ts.map +0 -1
- package/dist/neutral/test/sampleEtherchainGasV2.d.cts +0 -3
- package/dist/neutral/test/sampleEtherchainGasV2.d.cts.map +0 -1
- package/dist/neutral/test/sampleEtherchainGasV2.d.mts +0 -3
- package/dist/neutral/test/sampleEtherchainGasV2.d.mts.map +0 -1
- package/dist/neutral/test/sampleEtherchainGasV2.d.ts +0 -3
- package/dist/neutral/test/sampleEtherchainGasV2.d.ts.map +0 -1
- package/dist/neutral/test/sampleEthersGas.d.cts +0 -3
- package/dist/neutral/test/sampleEthersGas.d.cts.map +0 -1
- package/dist/neutral/test/sampleEthersGas.d.mts +0 -3
- package/dist/neutral/test/sampleEthersGas.d.mts.map +0 -1
- package/dist/neutral/test/sampleEthersGas.d.ts +0 -3
- package/dist/neutral/test/sampleEthersGas.d.ts.map +0 -1
- package/dist/neutral/test/sampleEtherscanGas.d.cts +0 -3
- package/dist/neutral/test/sampleEtherscanGas.d.cts.map +0 -1
- package/dist/neutral/test/sampleEtherscanGas.d.mts +0 -3
- package/dist/neutral/test/sampleEtherscanGas.d.mts.map +0 -1
- package/dist/neutral/test/sampleEtherscanGas.d.ts +0 -3
- package/dist/neutral/test/sampleEtherscanGas.d.ts.map +0 -1
- package/dist/neutral/test/sampleEthgasstationGas.d.cts +0 -3
- package/dist/neutral/test/sampleEthgasstationGas.d.cts.map +0 -1
- package/dist/neutral/test/sampleEthgasstationGas.d.mts +0 -3
- package/dist/neutral/test/sampleEthgasstationGas.d.mts.map +0 -1
- package/dist/neutral/test/sampleEthgasstationGas.d.ts +0 -3
- package/dist/neutral/test/sampleEthgasstationGas.d.ts.map +0 -1
- package/dist/node/Diviner.d.cts +0 -16
- package/dist/node/Diviner.d.cts.map +0 -1
- package/dist/node/Diviner.d.mts +0 -16
- package/dist/node/Diviner.d.mts.map +0 -1
- package/dist/node/Diviner.d.ts +0 -16
- package/dist/node/Diviner.d.ts.map +0 -1
- package/dist/node/Plugin.d.cts +0 -19
- package/dist/node/Plugin.d.cts.map +0 -1
- package/dist/node/Plugin.d.mts +0 -19
- package/dist/node/Plugin.d.mts.map +0 -1
- package/dist/node/Plugin.d.ts +0 -19
- package/dist/node/Plugin.d.ts.map +0 -1
- package/dist/node/Schema.d.cts +0 -5
- package/dist/node/Schema.d.cts.map +0 -1
- package/dist/node/Schema.d.mts +0 -5
- package/dist/node/Schema.d.mts.map +0 -1
- package/dist/node/Schema.d.ts +0 -5
- package/dist/node/Schema.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -288
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -4
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -4
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -4
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -258
- package/dist/node/index.mjs.map +0 -1
- package/dist/node/lib/average.d.cts +0 -3
- package/dist/node/lib/average.d.cts.map +0 -1
- package/dist/node/lib/average.d.mts +0 -3
- package/dist/node/lib/average.d.mts.map +0 -1
- package/dist/node/lib/average.d.ts +0 -3
- package/dist/node/lib/average.d.ts.map +0 -1
- package/dist/node/lib/divineGas.d.cts +0 -4
- package/dist/node/lib/divineGas.d.cts.map +0 -1
- package/dist/node/lib/divineGas.d.mts +0 -4
- package/dist/node/lib/divineGas.d.mts.map +0 -1
- package/dist/node/lib/divineGas.d.ts +0 -4
- package/dist/node/lib/divineGas.d.ts.map +0 -1
- package/dist/node/lib/identities/index.d.cts +0 -6
- package/dist/node/lib/identities/index.d.cts.map +0 -1
- package/dist/node/lib/identities/index.d.mts +0 -6
- package/dist/node/lib/identities/index.d.mts.map +0 -1
- package/dist/node/lib/identities/index.d.ts +0 -6
- package/dist/node/lib/identities/index.d.ts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts +0 -4
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.cts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts +0 -4
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -4
- package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.cts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.cts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.cts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -4
- package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.cts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -4
- package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
- package/dist/node/lib/index.d.cts +0 -2
- package/dist/node/lib/index.d.cts.map +0 -1
- package/dist/node/lib/index.d.mts +0 -2
- package/dist/node/lib/index.d.mts.map +0 -1
- package/dist/node/lib/index.d.ts +0 -2
- package/dist/node/lib/index.d.ts.map +0 -1
- package/dist/node/lib/transforms/index.d.cts +0 -6
- package/dist/node/lib/transforms/index.d.cts.map +0 -1
- package/dist/node/lib/transforms/index.d.mts +0 -6
- package/dist/node/lib/transforms/index.d.mts.map +0 -1
- package/dist/node/lib/transforms/index.d.ts +0 -6
- package/dist/node/lib/transforms/index.d.ts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts +0 -4
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.cts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts +0 -4
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
- package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.cts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthers.d.cts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthers.d.cts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthers.d.mts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthers.d.ts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.cts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
- package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.cts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
- package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
- package/dist/node/test/index.d.cts +0 -6
- package/dist/node/test/index.d.cts.map +0 -1
- package/dist/node/test/index.d.mts +0 -6
- package/dist/node/test/index.d.mts.map +0 -1
- package/dist/node/test/index.d.ts +0 -6
- package/dist/node/test/index.d.ts.map +0 -1
- package/dist/node/test/sampleBlocknativeGas.d.cts +0 -3
- package/dist/node/test/sampleBlocknativeGas.d.cts.map +0 -1
- package/dist/node/test/sampleBlocknativeGas.d.mts +0 -3
- package/dist/node/test/sampleBlocknativeGas.d.mts.map +0 -1
- package/dist/node/test/sampleBlocknativeGas.d.ts +0 -3
- package/dist/node/test/sampleBlocknativeGas.d.ts.map +0 -1
- package/dist/node/test/sampleEtherchainGasV2.d.cts +0 -3
- package/dist/node/test/sampleEtherchainGasV2.d.cts.map +0 -1
- package/dist/node/test/sampleEtherchainGasV2.d.mts +0 -3
- package/dist/node/test/sampleEtherchainGasV2.d.mts.map +0 -1
- package/dist/node/test/sampleEtherchainGasV2.d.ts +0 -3
- package/dist/node/test/sampleEtherchainGasV2.d.ts.map +0 -1
- package/dist/node/test/sampleEthersGas.d.cts +0 -3
- package/dist/node/test/sampleEthersGas.d.cts.map +0 -1
- package/dist/node/test/sampleEthersGas.d.mts +0 -3
- package/dist/node/test/sampleEthersGas.d.mts.map +0 -1
- package/dist/node/test/sampleEthersGas.d.ts +0 -3
- package/dist/node/test/sampleEthersGas.d.ts.map +0 -1
- package/dist/node/test/sampleEtherscanGas.d.cts +0 -3
- package/dist/node/test/sampleEtherscanGas.d.cts.map +0 -1
- package/dist/node/test/sampleEtherscanGas.d.mts +0 -3
- package/dist/node/test/sampleEtherscanGas.d.mts.map +0 -1
- package/dist/node/test/sampleEtherscanGas.d.ts +0 -3
- package/dist/node/test/sampleEtherscanGas.d.ts.map +0 -1
- package/dist/node/test/sampleEthgasstationGas.d.cts +0 -3
- package/dist/node/test/sampleEthgasstationGas.d.cts.map +0 -1
- package/dist/node/test/sampleEthgasstationGas.d.mts +0 -3
- package/dist/node/test/sampleEthgasstationGas.d.mts.map +0 -1
- package/dist/node/test/sampleEthgasstationGas.d.ts +0 -3
- package/dist/node/test/sampleEthgasstationGas.d.ts.map +0 -1
package/dist/node/index.mjs.map
DELETED
|
@@ -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,SAAS,uBAAuB;AAEhC,SAAS,qBAAAA,0BAAyB;;;ACFlC,SAA6B,yBAAkC;AAC/D,SAAS,sBAAsB;;;ACD/B,SAAS,cAAc;AASvB,IAAM,cAAc,CAAC,OAAkB,uBAAG,UAAS,EAAE,OAAO,CAAC,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,SAAS;AAU1F,IAAM,kBAAkB,CAAC,MAAiB,uBAA2D;AACnG,SAAO,YAAY,KAAK,IAAI,kBAAkB,EAAE,OAAO,MAAM,CAAC;AAChE;AAOO,IAAM,UAAU,CAAC,UAA6C;AACnE,QAAM,QAAO,+BAAO,OAAO,YAAW,CAAC;AACvC,QAAM,WAAoB;AAAA,IACxB,SAAS,gBAAgB,MAAM,OAAK,EAA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C;AAC3C,WAAO,CAAC,IAAI;AAAA,EACd;AACF;;;AcvBA,SAAS,qBAAAC,0BAAyB;AAClC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;AAIvC,IAAM,oBAAoB,MAC/B;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,kBAAiB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACjE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,mBAAmB,OAAO,MAAM;AAAA,IAChD;AAAA,EACF;AACF;","names":["EthereumGasSchema","getFeePerGas","getBaseFee","getFeePerGas","getPriorityFeePerGas","linear","getBaseFee","getFeePerGas","linear","getBaseFee","getFeePerGas","getPriorityFeePerGas","EthereumGasSchema","EthereumGasSchema","EthereumGasSchema"]}
|
|
@@ -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 +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 +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 +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 +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 +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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAC5H,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,2BAEnF,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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAC5H,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,2BAEnF,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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAC5H,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,2BAEnF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is EthereumGasEthgasstationPayload;
|
|
4
|
-
//# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAkC,MAAM,wDAAwD,CAAA;AACxI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,+BAEvF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is EthereumGasEthgasstationPayload;
|
|
4
|
-
//# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAkC,MAAM,wDAAwD,CAAA;AACxI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,+BAEvF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is EthereumGasEthgasstationPayload;
|
|
4
|
-
//# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAkC,MAAM,wDAAwD,CAAA;AACxI,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI,KAAG,OAAO,IAAI,+BAEvF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
package/dist/node/lib/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './transformGasFromBlocknative.ts';
|
|
2
|
-
export * from './transformGasFromEtherchainV2.ts';
|
|
3
|
-
export * from './transformGasFromEthers.ts';
|
|
4
|
-
export * from './transformGasFromEtherscan.ts';
|
|
5
|
-
export * from './transformGasFromEthgasstation.ts';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,oCAAoC,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './transformGasFromBlocknative.ts';
|
|
2
|
-
export * from './transformGasFromEtherchainV2.ts';
|
|
3
|
-
export * from './transformGasFromEthers.ts';
|
|
4
|
-
export * from './transformGasFromEtherscan.ts';
|
|
5
|
-
export * from './transformGasFromEthgasstation.ts';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,oCAAoC,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './transformGasFromBlocknative.ts';
|
|
2
|
-
export * from './transformGasFromEtherchainV2.ts';
|
|
3
|
-
export * from './transformGasFromEthers.ts';
|
|
4
|
-
export * from './transformGasFromEtherscan.ts';
|
|
5
|
-
export * from './transformGasFromEthgasstation.ts';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,oCAAoC,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromBlocknative: (payload: EthereumGasBlocknativePayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromBlocknative.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromBlocknative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA2C7F,eAAO,MAAM,2BAA2B,YAAa,6BAA6B,KAAG,OAKpF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromBlocknative: (payload: EthereumGasBlocknativePayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromBlocknative.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromBlocknative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA2C7F,eAAO,MAAM,2BAA2B,YAAa,6BAA6B,KAAG,OAKpF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromBlocknative: (payload: EthereumGasBlocknativePayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromBlocknative.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromBlocknative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA2C7F,eAAO,MAAM,2BAA2B,YAAa,6BAA6B,KAAG,OAKpF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherchainV2: (payload: EthereumGasEtherchainV2Payload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherchainV2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherchainV2.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherchainV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iEAAiE,CAAA;AAChH,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAW1E,eAAO,MAAM,4BAA4B,YAAa,8BAA8B,KAAG,OAKtF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherchainV2: (payload: EthereumGasEtherchainV2Payload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherchainV2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherchainV2.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherchainV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iEAAiE,CAAA;AAChH,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAW1E,eAAO,MAAM,4BAA4B,YAAa,8BAA8B,KAAG,OAKtF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherchainV2: (payload: EthereumGasEtherchainV2Payload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherchainV2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherchainV2.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherchainV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iEAAiE,CAAA;AAChH,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAW1E,eAAO,MAAM,4BAA4B,YAAa,8BAA8B,KAAG,OAKtF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthers: (payload: EthereumGasEthersPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthers.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AAmB7F,eAAO,MAAM,sBAAsB,YAAa,wBAAwB,KAAG,OAK1E,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthers: (payload: EthereumGasEthersPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthers.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AAmB7F,eAAO,MAAM,sBAAsB,YAAa,wBAAwB,KAAG,OAK1E,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthers: (payload: EthereumGasEthersPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthers.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AAmB7F,eAAO,MAAM,sBAAsB,YAAa,wBAAwB,KAAG,OAK1E,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherscan: (payload: EthereumGasEtherscanPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherscan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherscan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAA;AAChG,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAqB1E,eAAO,MAAM,yBAAyB,YAAa,2BAA2B,KAAG,OAKhF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherscan: (payload: EthereumGasEtherscanPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherscan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherscan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAA;AAChG,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAqB1E,eAAO,MAAM,yBAAyB,YAAa,2BAA2B,KAAG,OAKhF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEtherscan: (payload: EthereumGasEtherscanPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEtherscan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEtherscan.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEtherscan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAA;AAChG,OAAO,EAAE,OAAO,EAAa,MAAM,uCAAuC,CAAA;AAqB1E,eAAO,MAAM,yBAAyB,YAAa,2BAA2B,KAAG,OAKhF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthgasstation: (payload: EthereumGasEthgasstationPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthgasstation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthgasstation.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthgasstation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AACxG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA8B7F,eAAO,MAAM,6BAA6B,YAAa,+BAA+B,KAAG,OAKxF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthgasstation: (payload: EthereumGasEthgasstationPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthgasstation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthgasstation.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthgasstation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AACxG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA8B7F,eAAO,MAAM,6BAA6B,YAAa,+BAA+B,KAAG,OAKxF,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
|
|
2
|
-
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
3
|
-
export declare const transformGasFromEthgasstation: (payload: EthereumGasEthgasstationPayload) => FeeData;
|
|
4
|
-
//# sourceMappingURL=transformGasFromEthgasstation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformGasFromEthgasstation.d.ts","sourceRoot":"","sources":["../../../../src/lib/transforms/transformGasFromEthgasstation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAA;AACxG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA8B7F,eAAO,MAAM,6BAA6B,YAAa,+BAA+B,KAAG,OAKxF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|