@xyo-network/gas-price-plugin 2.73.2 → 2.73.4
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/docs.json +32 -32
- package/dist/index.d.mts +77 -0
- package/dist/index.d.ts +77 -0
- package/dist/index.js +289 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +259 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -29
- package/tsup.config.ts +16 -0
- package/dist/cjs/Diviner.js +0 -17
- package/dist/cjs/Diviner.js.map +0 -1
- package/dist/cjs/Plugin.js +0 -15
- package/dist/cjs/Plugin.js.map +0 -1
- package/dist/cjs/Schema.js +0 -6
- package/dist/cjs/Schema.js.map +0 -1
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/lib/average.js +0 -48
- package/dist/cjs/lib/average.js.map +0 -1
- package/dist/cjs/lib/divineGas.js +0 -22
- package/dist/cjs/lib/divineGas.js.map +0 -1
- package/dist/cjs/lib/identities/index.js +0 -9
- package/dist/cjs/lib/identities/index.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
- package/dist/cjs/lib/index.js +0 -5
- package/dist/cjs/lib/index.js.map +0 -1
- package/dist/cjs/lib/transforms/index.js +0 -9
- package/dist/cjs/lib/transforms/index.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromBlocknative.js +0 -52
- package/dist/cjs/lib/transforms/transformGasFromBlocknative.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js +0 -19
- package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEthers.js +0 -25
- package/dist/cjs/lib/transforms/transformGasFromEthers.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEtherscan.js +0 -28
- package/dist/cjs/lib/transforms/transformGasFromEtherscan.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js +0 -36
- package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
- package/dist/cjs/test/index.js +0 -9
- package/dist/cjs/test/index.js.map +0 -1
- package/dist/cjs/test/sampleBlocknativeGas.js +0 -96
- package/dist/cjs/test/sampleBlocknativeGas.js.map +0 -1
- package/dist/cjs/test/sampleEtherchainGasV2.js +0 -18
- package/dist/cjs/test/sampleEtherchainGasV2.js.map +0 -1
- package/dist/cjs/test/sampleEthersGas.js +0 -13
- package/dist/cjs/test/sampleEthersGas.js.map +0 -1
- package/dist/cjs/test/sampleEtherscanGas.js +0 -19
- package/dist/cjs/test/sampleEtherscanGas.js.map +0 -1
- package/dist/cjs/test/sampleEthgasstationGas.js +0 -23
- package/dist/cjs/test/sampleEthgasstationGas.js.map +0 -1
- package/dist/esm/Diviner.js +0 -13
- package/dist/esm/Diviner.js.map +0 -1
- package/dist/esm/Plugin.js +0 -10
- package/dist/esm/Plugin.js.map +0 -1
- package/dist/esm/Schema.js +0 -3
- package/dist/esm/Schema.js.map +0 -1
- package/dist/esm/index.js +0 -7
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/lib/average.js +0 -44
- package/dist/esm/lib/average.js.map +0 -1
- package/dist/esm/lib/divineGas.js +0 -18
- package/dist/esm/lib/divineGas.js.map +0 -1
- package/dist/esm/lib/identities/index.js +0 -6
- package/dist/esm/lib/identities/index.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEthersPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
- package/dist/esm/lib/index.js +0 -2
- package/dist/esm/lib/index.js.map +0 -1
- package/dist/esm/lib/transforms/index.js +0 -6
- package/dist/esm/lib/transforms/index.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromBlocknative.js +0 -45
- package/dist/esm/lib/transforms/transformGasFromBlocknative.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js +0 -15
- package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEthers.js +0 -21
- package/dist/esm/lib/transforms/transformGasFromEthers.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEtherscan.js +0 -24
- package/dist/esm/lib/transforms/transformGasFromEtherscan.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEthgasstation.js +0 -32
- package/dist/esm/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
- package/dist/esm/test/index.js +0 -6
- package/dist/esm/test/index.js.map +0 -1
- package/dist/esm/test/sampleBlocknativeGas.js +0 -93
- package/dist/esm/test/sampleBlocknativeGas.js.map +0 -1
- package/dist/esm/test/sampleEtherchainGasV2.js +0 -15
- package/dist/esm/test/sampleEtherchainGasV2.js.map +0 -1
- package/dist/esm/test/sampleEthersGas.js +0 -10
- package/dist/esm/test/sampleEthersGas.js.map +0 -1
- package/dist/esm/test/sampleEtherscanGas.js +0 -16
- package/dist/esm/test/sampleEtherscanGas.js.map +0 -1
- package/dist/esm/test/sampleEthgasstationGas.js +0 -20
- package/dist/esm/test/sampleEthgasstationGas.js.map +0 -1
- package/dist/types/Diviner.d.ts +0 -16
- package/dist/types/Diviner.d.ts.map +0 -1
- package/dist/types/Plugin.d.ts +0 -50
- package/dist/types/Plugin.d.ts.map +0 -1
- package/dist/types/Schema.d.ts +0 -5
- package/dist/types/Schema.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -6
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lib/average.d.ts +0 -8
- package/dist/types/lib/average.d.ts.map +0 -1
- package/dist/types/lib/divineGas.d.ts +0 -4
- package/dist/types/lib/divineGas.d.ts.map +0 -1
- package/dist/types/lib/identities/index.d.ts +0 -6
- package/dist/types/lib/identities/index.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasBlocknativePayload.d.ts +0 -8
- package/dist/types/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -8
- package/dist/types/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEthersPayload.d.ts +0 -8
- package/dist/types/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEtherscanPayload.d.ts +0 -8
- package/dist/types/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEthgasstationPayload.d.ts +0 -8
- package/dist/types/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
- package/dist/types/lib/index.d.ts +0 -2
- package/dist/types/lib/index.d.ts.map +0 -1
- package/dist/types/lib/transforms/index.d.ts +0 -6
- package/dist/types/lib/transforms/index.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromBlocknative.d.ts +0 -4
- package/dist/types/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEtherchainV2.d.ts +0 -4
- package/dist/types/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEthers.d.ts +0 -4
- package/dist/types/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEtherscan.d.ts +0 -4
- package/dist/types/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEthgasstation.d.ts +0 -4
- package/dist/types/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
- package/dist/types/test/index.d.ts +0 -6
- package/dist/types/test/index.d.ts.map +0 -1
- package/dist/types/test/sampleBlocknativeGas.d.ts +0 -3
- package/dist/types/test/sampleBlocknativeGas.d.ts.map +0 -1
- package/dist/types/test/sampleEtherchainGasV2.d.ts +0 -3
- package/dist/types/test/sampleEtherchainGasV2.d.ts.map +0 -1
- package/dist/types/test/sampleEthersGas.d.ts +0 -3
- package/dist/types/test/sampleEthersGas.d.ts.map +0 -1
- package/dist/types/test/sampleEtherscanGas.d.ts +0 -3
- package/dist/types/test/sampleEtherscanGas.d.ts.map +0 -1
- package/dist/types/test/sampleEthgasstationGas.d.ts +0 -3
- package/dist/types/test/sampleEthgasstationGas.d.ts.map +0 -1
package/dist/docs.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/index.ts",
|
|
17
17
|
"line": 9,
|
|
18
18
|
"character": 0,
|
|
19
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
19
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/index.ts#L9"
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"target": 1
|
|
@@ -1453,7 +1453,7 @@
|
|
|
1453
1453
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
1454
1454
|
"line": 11,
|
|
1455
1455
|
"character": 55,
|
|
1456
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
1456
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
1457
1457
|
}
|
|
1458
1458
|
],
|
|
1459
1459
|
"type": {
|
|
@@ -1475,7 +1475,7 @@
|
|
|
1475
1475
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
1476
1476
|
"line": 11,
|
|
1477
1477
|
"character": 53,
|
|
1478
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
1478
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
1479
1479
|
}
|
|
1480
1480
|
]
|
|
1481
1481
|
}
|
|
@@ -1694,7 +1694,7 @@
|
|
|
1694
1694
|
"type": {
|
|
1695
1695
|
"type": "reference",
|
|
1696
1696
|
"target": {
|
|
1697
|
-
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/
|
|
1697
|
+
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/dist/index.d.ts",
|
|
1698
1698
|
"qualifiedName": "WalletInstance"
|
|
1699
1699
|
},
|
|
1700
1700
|
"name": "WalletInstance",
|
|
@@ -3115,7 +3115,7 @@
|
|
|
3115
3115
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
3116
3116
|
"line": 11,
|
|
3117
3117
|
"character": 55,
|
|
3118
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
3118
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
3119
3119
|
}
|
|
3120
3120
|
],
|
|
3121
3121
|
"type": {
|
|
@@ -3137,7 +3137,7 @@
|
|
|
3137
3137
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
3138
3138
|
"line": 11,
|
|
3139
3139
|
"character": 53,
|
|
3140
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
3140
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
3141
3141
|
}
|
|
3142
3142
|
]
|
|
3143
3143
|
}
|
|
@@ -3356,7 +3356,7 @@
|
|
|
3356
3356
|
"type": {
|
|
3357
3357
|
"type": "reference",
|
|
3358
3358
|
"target": {
|
|
3359
|
-
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/
|
|
3359
|
+
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/dist/index.d.ts",
|
|
3360
3360
|
"qualifiedName": "WalletInstance"
|
|
3361
3361
|
},
|
|
3362
3362
|
"name": "WalletInstance",
|
|
@@ -4551,7 +4551,7 @@
|
|
|
4551
4551
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
4552
4552
|
"line": 18,
|
|
4553
4553
|
"character": 27,
|
|
4554
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
4554
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L18"
|
|
4555
4555
|
}
|
|
4556
4556
|
],
|
|
4557
4557
|
"type": {
|
|
@@ -4663,7 +4663,7 @@
|
|
|
4663
4663
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
4664
4664
|
"line": 19,
|
|
4665
4665
|
"character": 18,
|
|
4666
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
4666
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L19"
|
|
4667
4667
|
}
|
|
4668
4668
|
],
|
|
4669
4669
|
"type": {
|
|
@@ -8350,7 +8350,7 @@
|
|
|
8350
8350
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
8351
8351
|
"line": 21,
|
|
8352
8352
|
"character": 21,
|
|
8353
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
8353
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L21"
|
|
8354
8354
|
}
|
|
8355
8355
|
],
|
|
8356
8356
|
"signatures": [
|
|
@@ -8365,7 +8365,7 @@
|
|
|
8365
8365
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
8366
8366
|
"line": 21,
|
|
8367
8367
|
"character": 2,
|
|
8368
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
8368
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L21"
|
|
8369
8369
|
}
|
|
8370
8370
|
],
|
|
8371
8371
|
"parameters": [
|
|
@@ -9230,7 +9230,7 @@
|
|
|
9230
9230
|
{
|
|
9231
9231
|
"type": "reference",
|
|
9232
9232
|
"target": {
|
|
9233
|
-
"sourceFileName": "../../../../../../../../../../../manifest/packages/model/
|
|
9233
|
+
"sourceFileName": "../../../../../../../../../../../manifest/packages/model/dist/index.d.ts",
|
|
9234
9234
|
"qualifiedName": "ModuleManifestPayload"
|
|
9235
9235
|
},
|
|
9236
9236
|
"name": "ModuleManifestPayload",
|
|
@@ -9310,7 +9310,7 @@
|
|
|
9310
9310
|
{
|
|
9311
9311
|
"type": "reference",
|
|
9312
9312
|
"target": {
|
|
9313
|
-
"sourceFileName": "../../../../../../../../../../../manifest/packages/model/
|
|
9313
|
+
"sourceFileName": "../../../../../../../../../../../manifest/packages/model/dist/index.d.ts",
|
|
9314
9314
|
"qualifiedName": "ModuleManifestPayload"
|
|
9315
9315
|
},
|
|
9316
9316
|
"name": "ModuleManifestPayload",
|
|
@@ -17479,7 +17479,7 @@
|
|
|
17479
17479
|
"type": {
|
|
17480
17480
|
"type": "reference",
|
|
17481
17481
|
"target": {
|
|
17482
|
-
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/
|
|
17482
|
+
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/dist/index.d.ts",
|
|
17483
17483
|
"qualifiedName": "WalletInstance"
|
|
17484
17484
|
},
|
|
17485
17485
|
"name": "WalletInstance",
|
|
@@ -17855,7 +17855,7 @@
|
|
|
17855
17855
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
17856
17856
|
"line": 14,
|
|
17857
17857
|
"character": 13,
|
|
17858
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
17858
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L14"
|
|
17859
17859
|
}
|
|
17860
17860
|
],
|
|
17861
17861
|
"typeParameters": [
|
|
@@ -17921,7 +17921,7 @@
|
|
|
17921
17921
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
17922
17922
|
"line": 11,
|
|
17923
17923
|
"character": 12,
|
|
17924
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
17924
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
17925
17925
|
}
|
|
17926
17926
|
],
|
|
17927
17927
|
"type": {
|
|
@@ -17951,7 +17951,7 @@
|
|
|
17951
17951
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
17952
17952
|
"line": 11,
|
|
17953
17953
|
"character": 55,
|
|
17954
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
17954
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
17955
17955
|
}
|
|
17956
17956
|
],
|
|
17957
17957
|
"type": {
|
|
@@ -17975,7 +17975,7 @@
|
|
|
17975
17975
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
17976
17976
|
"line": 11,
|
|
17977
17977
|
"character": 53,
|
|
17978
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
17978
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
17979
17979
|
}
|
|
17980
17980
|
]
|
|
17981
17981
|
}
|
|
@@ -17996,13 +17996,13 @@
|
|
|
17996
17996
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
17997
17997
|
"line": 4,
|
|
17998
17998
|
"character": 12,
|
|
17999
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
17999
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L4"
|
|
18000
18000
|
},
|
|
18001
18001
|
{
|
|
18002
18002
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18003
18003
|
"line": 5,
|
|
18004
18004
|
"character": 13,
|
|
18005
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18005
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L5"
|
|
18006
18006
|
}
|
|
18007
18007
|
],
|
|
18008
18008
|
"type": {
|
|
@@ -18021,7 +18021,7 @@
|
|
|
18021
18021
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
18022
18022
|
"line": 12,
|
|
18023
18023
|
"character": 12,
|
|
18024
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18024
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L12"
|
|
18025
18025
|
}
|
|
18026
18026
|
],
|
|
18027
18027
|
"type": {
|
|
@@ -18064,13 +18064,13 @@
|
|
|
18064
18064
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18065
18065
|
"line": 1,
|
|
18066
18066
|
"character": 12,
|
|
18067
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18067
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L1"
|
|
18068
18068
|
},
|
|
18069
18069
|
{
|
|
18070
18070
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18071
18071
|
"line": 2,
|
|
18072
18072
|
"character": 13,
|
|
18073
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18073
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L2"
|
|
18074
18074
|
}
|
|
18075
18075
|
],
|
|
18076
18076
|
"type": {
|
|
@@ -18089,13 +18089,13 @@
|
|
|
18089
18089
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18090
18090
|
"line": 4,
|
|
18091
18091
|
"character": 12,
|
|
18092
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18092
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L4"
|
|
18093
18093
|
},
|
|
18094
18094
|
{
|
|
18095
18095
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18096
18096
|
"line": 5,
|
|
18097
18097
|
"character": 13,
|
|
18098
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18098
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L5"
|
|
18099
18099
|
}
|
|
18100
18100
|
],
|
|
18101
18101
|
"type": {
|
|
@@ -18114,13 +18114,13 @@
|
|
|
18114
18114
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18115
18115
|
"line": 1,
|
|
18116
18116
|
"character": 12,
|
|
18117
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18117
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L1"
|
|
18118
18118
|
},
|
|
18119
18119
|
{
|
|
18120
18120
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts",
|
|
18121
18121
|
"line": 2,
|
|
18122
18122
|
"character": 13,
|
|
18123
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18123
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Schema.ts#L2"
|
|
18124
18124
|
}
|
|
18125
18125
|
],
|
|
18126
18126
|
"type": {
|
|
@@ -18139,7 +18139,7 @@
|
|
|
18139
18139
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Plugin.ts",
|
|
18140
18140
|
"line": 7,
|
|
18141
18141
|
"character": 13,
|
|
18142
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18142
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Plugin.ts#L7"
|
|
18143
18143
|
}
|
|
18144
18144
|
],
|
|
18145
18145
|
"signatures": [
|
|
@@ -18154,7 +18154,7 @@
|
|
|
18154
18154
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Plugin.ts",
|
|
18155
18155
|
"line": 7,
|
|
18156
18156
|
"character": 33,
|
|
18157
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
18157
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Plugin.ts#L7"
|
|
18158
18158
|
}
|
|
18159
18159
|
],
|
|
18160
18160
|
"type": {
|
|
@@ -19559,7 +19559,7 @@
|
|
|
19559
19559
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
19560
19560
|
"line": 11,
|
|
19561
19561
|
"character": 55,
|
|
19562
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
19562
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
19563
19563
|
}
|
|
19564
19564
|
],
|
|
19565
19565
|
"type": {
|
|
@@ -19581,7 +19581,7 @@
|
|
|
19581
19581
|
"fileName": "plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts",
|
|
19582
19582
|
"line": 11,
|
|
19583
19583
|
"character": 53,
|
|
19584
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/
|
|
19584
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payloadset/packages/blockchain/packages/ethereum/packages/gas/packages/gas/src/Diviner.ts#L11"
|
|
19585
19585
|
}
|
|
19586
19586
|
]
|
|
19587
19587
|
}
|
|
@@ -19800,7 +19800,7 @@
|
|
|
19800
19800
|
"type": {
|
|
19801
19801
|
"type": "reference",
|
|
19802
19802
|
"target": {
|
|
19803
|
-
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/
|
|
19803
|
+
"sourceFileName": "../../../../../../../../../../../protocol/packages/account/packages/wallet-model/dist/index.d.ts",
|
|
19804
19804
|
"qualifiedName": "WalletInstance"
|
|
19805
19805
|
},
|
|
19806
19806
|
"name": "WalletInstance",
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
2
|
+
import * as _xyo_network_wallet_model from '@xyo-network/wallet-model';
|
|
3
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
4
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
5
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
+
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
9
|
+
import { DivinerConfig, DivinerParams, DivinerModule } from '@xyo-network/diviner';
|
|
10
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
11
|
+
import { Promisable } from '@xyo-network/promise';
|
|
12
|
+
|
|
13
|
+
type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query';
|
|
14
|
+
declare const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema;
|
|
15
|
+
type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config';
|
|
16
|
+
declare const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema;
|
|
17
|
+
|
|
18
|
+
type EthereumGasDivinerConfig = DivinerConfig<{
|
|
19
|
+
schema: EthereumGasDivinerConfigSchema;
|
|
20
|
+
}>;
|
|
21
|
+
type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
|
|
22
|
+
declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDiviner<TParams> implements DivinerModule {
|
|
23
|
+
static readonly configSchemas: string[];
|
|
24
|
+
static targetSchema: string;
|
|
25
|
+
protected divineHandler(payloads?: Payload[]): Promisable<Payload[]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare const EthereumGasPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<EthereumGasDiviner<_xyo_network_core.BaseParamsFields & {
|
|
29
|
+
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
30
|
+
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
31
|
+
accountDerivationPath?: string | undefined;
|
|
32
|
+
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly paging?: Record<string, {
|
|
35
|
+
size?: number | undefined;
|
|
36
|
+
}> | undefined;
|
|
37
|
+
readonly schema: string;
|
|
38
|
+
readonly security?: {
|
|
39
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
40
|
+
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
41
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly sign?: boolean | undefined;
|
|
44
|
+
readonly storeQueries?: boolean | undefined;
|
|
45
|
+
readonly timestamp?: boolean | undefined;
|
|
46
|
+
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
47
|
+
accountDerivationPath?: string | undefined;
|
|
48
|
+
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
49
|
+
readonly name?: string | undefined;
|
|
50
|
+
readonly paging?: Record<string, {
|
|
51
|
+
size?: number | undefined;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
readonly schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
57
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly sign?: boolean | undefined;
|
|
60
|
+
readonly storeQueries?: boolean | undefined;
|
|
61
|
+
readonly timestamp?: boolean | undefined;
|
|
62
|
+
} & Omit<{
|
|
63
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
64
|
+
} & Omit<{
|
|
65
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
66
|
+
}, "schema">, "schema"> & {
|
|
67
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
68
|
+
}, "schema"> & {
|
|
69
|
+
schema: string;
|
|
70
|
+
}, "schema"> & {
|
|
71
|
+
schema: string;
|
|
72
|
+
};
|
|
73
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
74
|
+
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
75
|
+
}>>;
|
|
76
|
+
|
|
77
|
+
export { EthereumGasDiviner, EthereumGasDivinerConfig, EthereumGasDivinerConfigSchema, EthereumGasDivinerParams, EthereumGasDivinerQuerySchema, EthereumGasPlugin, EthereumGasPlugin as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
2
|
+
import * as _xyo_network_wallet_model from '@xyo-network/wallet-model';
|
|
3
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
4
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
5
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
+
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
9
|
+
import { DivinerConfig, DivinerParams, DivinerModule } from '@xyo-network/diviner';
|
|
10
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
11
|
+
import { Promisable } from '@xyo-network/promise';
|
|
12
|
+
|
|
13
|
+
type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query';
|
|
14
|
+
declare const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema;
|
|
15
|
+
type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config';
|
|
16
|
+
declare const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema;
|
|
17
|
+
|
|
18
|
+
type EthereumGasDivinerConfig = DivinerConfig<{
|
|
19
|
+
schema: EthereumGasDivinerConfigSchema;
|
|
20
|
+
}>;
|
|
21
|
+
type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
|
|
22
|
+
declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDiviner<TParams> implements DivinerModule {
|
|
23
|
+
static readonly configSchemas: string[];
|
|
24
|
+
static targetSchema: string;
|
|
25
|
+
protected divineHandler(payloads?: Payload[]): Promisable<Payload[]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare const EthereumGasPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<EthereumGasDiviner<_xyo_network_core.BaseParamsFields & {
|
|
29
|
+
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
30
|
+
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
31
|
+
accountDerivationPath?: string | undefined;
|
|
32
|
+
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly paging?: Record<string, {
|
|
35
|
+
size?: number | undefined;
|
|
36
|
+
}> | undefined;
|
|
37
|
+
readonly schema: string;
|
|
38
|
+
readonly security?: {
|
|
39
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
40
|
+
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
41
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly sign?: boolean | undefined;
|
|
44
|
+
readonly storeQueries?: boolean | undefined;
|
|
45
|
+
readonly timestamp?: boolean | undefined;
|
|
46
|
+
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
47
|
+
accountDerivationPath?: string | undefined;
|
|
48
|
+
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
49
|
+
readonly name?: string | undefined;
|
|
50
|
+
readonly paging?: Record<string, {
|
|
51
|
+
size?: number | undefined;
|
|
52
|
+
}> | undefined;
|
|
53
|
+
readonly schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
54
|
+
readonly security?: {
|
|
55
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
56
|
+
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
57
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly sign?: boolean | undefined;
|
|
60
|
+
readonly storeQueries?: boolean | undefined;
|
|
61
|
+
readonly timestamp?: boolean | undefined;
|
|
62
|
+
} & Omit<{
|
|
63
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
64
|
+
} & Omit<{
|
|
65
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
66
|
+
}, "schema">, "schema"> & {
|
|
67
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
68
|
+
}, "schema"> & {
|
|
69
|
+
schema: string;
|
|
70
|
+
}, "schema"> & {
|
|
71
|
+
schema: string;
|
|
72
|
+
};
|
|
73
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
74
|
+
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
75
|
+
}>>;
|
|
76
|
+
|
|
77
|
+
export { EthereumGasDiviner, EthereumGasDivinerConfig, EthereumGasDivinerConfigSchema, EthereumGasDivinerParams, EthereumGasDivinerQuerySchema, EthereumGasPlugin, EthereumGasPlugin as default };
|