@xyo-network/gas-price-plugin 2.73.4 → 2.74.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/Diviner.d.mts +16 -0
- package/dist/Diviner.d.mts.map +1 -0
- package/dist/Diviner.d.ts +16 -0
- package/dist/Diviner.d.ts.map +1 -0
- package/dist/Plugin.d.mts +50 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/Plugin.d.ts +50 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Schema.d.mts +5 -0
- package/dist/Schema.d.mts.map +1 -0
- package/dist/Schema.d.ts +5 -0
- package/dist/Schema.d.ts.map +1 -0
- package/dist/index.d.mts +6 -77
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +6 -77
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/average.d.mts +8 -0
- package/dist/lib/average.d.mts.map +1 -0
- package/dist/lib/average.d.ts +8 -0
- package/dist/lib/average.d.ts.map +1 -0
- package/dist/lib/divineGas.d.mts +4 -0
- package/dist/lib/divineGas.d.mts.map +1 -0
- package/dist/lib/divineGas.d.ts +4 -0
- package/dist/lib/divineGas.d.ts.map +1 -0
- package/dist/lib/identities/index.d.mts +6 -0
- package/dist/lib/identities/index.d.mts.map +1 -0
- package/dist/lib/identities/index.d.ts +6 -0
- package/dist/lib/identities/index.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.ts +6 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +6 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.ts +6 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.ts +6 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.ts +6 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -0
- package/dist/lib/index.d.mts +2 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/transforms/index.d.mts +6 -0
- package/dist/lib/transforms/index.d.mts.map +1 -0
- package/dist/lib/transforms/index.d.ts +6 -0
- package/dist/lib/transforms/index.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.mts +4 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.mts +4 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthers.d.mts +4 -0
- package/dist/lib/transforms/transformGasFromEthers.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthers.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEthers.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.mts +4 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.mts +4 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.ts.map +1 -0
- package/dist/test/index.d.mts +6 -0
- package/dist/test/index.d.mts.map +1 -0
- package/dist/test/index.d.ts +6 -0
- package/dist/test/index.d.ts.map +1 -0
- package/dist/test/sampleBlocknativeGas.d.mts +3 -0
- package/dist/test/sampleBlocknativeGas.d.mts.map +1 -0
- package/dist/test/sampleBlocknativeGas.d.ts +3 -0
- package/dist/test/sampleBlocknativeGas.d.ts.map +1 -0
- package/dist/test/sampleEtherchainGasV2.d.mts +3 -0
- package/dist/test/sampleEtherchainGasV2.d.mts.map +1 -0
- package/dist/test/sampleEtherchainGasV2.d.ts +3 -0
- package/dist/test/sampleEtherchainGasV2.d.ts.map +1 -0
- package/dist/test/sampleEthersGas.d.mts +3 -0
- package/dist/test/sampleEthersGas.d.mts.map +1 -0
- package/dist/test/sampleEthersGas.d.ts +3 -0
- package/dist/test/sampleEthersGas.d.ts.map +1 -0
- package/dist/test/sampleEtherscanGas.d.mts +3 -0
- package/dist/test/sampleEtherscanGas.d.mts.map +1 -0
- package/dist/test/sampleEtherscanGas.d.ts +3 -0
- package/dist/test/sampleEtherscanGas.d.ts.map +1 -0
- package/dist/test/sampleEthgasstationGas.d.mts +3 -0
- package/dist/test/sampleEthgasstationGas.d.mts.map +1 -0
- package/dist/test/sampleEthgasstationGas.d.ts +3 -0
- package/dist/test/sampleEthgasstationGas.d.ts.map +1 -0
- package/package.json +17 -23
- package/dist/docs.json +0 -22438
- package/tsup.config.ts +0 -16
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
2
|
+
import { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner';
|
|
3
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
4
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
5
|
+
import { Promisable } from '@xyo-network/promise';
|
|
6
|
+
import { EthereumGasDivinerConfigSchema } from './Schema';
|
|
7
|
+
export type EthereumGasDivinerConfig = DivinerConfig<{
|
|
8
|
+
schema: EthereumGasDivinerConfigSchema;
|
|
9
|
+
}>;
|
|
10
|
+
export type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
|
|
11
|
+
export declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDiviner<TParams> implements DivinerModule {
|
|
12
|
+
static readonly configSchemas: string[];
|
|
13
|
+
static targetSchema: string;
|
|
14
|
+
protected divineHandler(payloads?: Payload[]): Promisable<Payload[]>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,CAAC,CAAA;AAChG,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAE/F,qBAAa,kBAAkB,CAAC,OAAO,SAAS,wBAAwB,GAAG,wBAAwB,CACjG,SAAQ,eAAe,CAAC,OAAO,CAC/B,YAAW,aAAa;IAExB,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAmC;IACnF,OAAgB,YAAY,EAAE,MAAM,CAAoB;cAErC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAI9E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AbstractDiviner } from '@xyo-network/abstract-diviner';
|
|
2
|
+
import { DivinerConfig, DivinerModule, DivinerParams } from '@xyo-network/diviner';
|
|
3
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
4
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
5
|
+
import { Promisable } from '@xyo-network/promise';
|
|
6
|
+
import { EthereumGasDivinerConfigSchema } from './Schema';
|
|
7
|
+
export type EthereumGasDivinerConfig = DivinerConfig<{
|
|
8
|
+
schema: EthereumGasDivinerConfigSchema;
|
|
9
|
+
}>;
|
|
10
|
+
export type EthereumGasDivinerParams = DivinerParams<AnyConfigSchema<EthereumGasDivinerConfig>>;
|
|
11
|
+
export declare class EthereumGasDiviner<TParams extends EthereumGasDivinerParams = EthereumGasDivinerParams> extends AbstractDiviner<TParams> implements DivinerModule {
|
|
12
|
+
static readonly configSchemas: string[];
|
|
13
|
+
static targetSchema: string;
|
|
14
|
+
protected divineHandler(payloads?: Payload[]): Promisable<Payload[]>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Diviner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAA;AAEzD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,CAAC,CAAA;AAChG,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAE/F,qBAAa,kBAAkB,CAAC,OAAO,SAAS,wBAAwB,GAAG,wBAAwB,CACjG,SAAQ,eAAe,CAAC,OAAO,CAC/B,YAAW,aAAa;IAExB,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAmC;IACnF,OAAgB,YAAY,EAAE,MAAM,CAAoB;cAErC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAI9E"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EthereumGasDiviner } from './Diviner';
|
|
2
|
+
export declare const EthereumGasPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<EthereumGasDiviner<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
38
|
+
} & Omit<{
|
|
39
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
40
|
+
}, "schema">, "schema"> & {
|
|
41
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
42
|
+
}, "schema"> & {
|
|
43
|
+
schema: string;
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: string;
|
|
46
|
+
};
|
|
47
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
48
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
49
|
+
}>>;
|
|
50
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ3B,CAAA"}
|
package/dist/Plugin.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EthereumGasDiviner } from './Diviner';
|
|
2
|
+
export declare const EthereumGasPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<EthereumGasDiviner<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
38
|
+
} & Omit<{
|
|
39
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
40
|
+
}, "schema">, "schema"> & {
|
|
41
|
+
schema: "network.xyo.blockchain.ethereum.gas.diviner.config";
|
|
42
|
+
}, "schema"> & {
|
|
43
|
+
schema: string;
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: string;
|
|
46
|
+
};
|
|
47
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
48
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
49
|
+
}>>;
|
|
50
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ3B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query';
|
|
2
|
+
export declare const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema;
|
|
3
|
+
export type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config';
|
|
4
|
+
export declare const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema;
|
|
5
|
+
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,mDAAmD,CAAA;AAC/F,eAAO,MAAM,6BAA6B,EAAE,6BAAmF,CAAA;AAE/H,MAAM,MAAM,8BAA8B,GAAG,oDAAoD,CAAA;AACjG,eAAO,MAAM,8BAA8B,EAAE,8BAAqF,CAAA"}
|
package/dist/Schema.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type EthereumGasDivinerQuerySchema = 'network.xyo.blockchain.ethereum.gas.diviner.query';
|
|
2
|
+
export declare const EthereumGasDivinerQuerySchema: EthereumGasDivinerQuerySchema;
|
|
3
|
+
export type EthereumGasDivinerConfigSchema = 'network.xyo.blockchain.ethereum.gas.diviner.config';
|
|
4
|
+
export declare const EthereumGasDivinerConfigSchema: EthereumGasDivinerConfigSchema;
|
|
5
|
+
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,mDAAmD,CAAA;AAC/F,eAAO,MAAM,6BAA6B,EAAE,6BAAmF,CAAA;AAE/H,MAAM,MAAM,8BAA8B,GAAG,oDAAoD,CAAA;AACjG,eAAO,MAAM,8BAA8B,EAAE,8BAAqF,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,77 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 };
|
|
1
|
+
import { EthereumGasPlugin } from './Plugin';
|
|
2
|
+
export * from './Diviner';
|
|
3
|
+
export * from './Schema';
|
|
4
|
+
export { EthereumGasPlugin };
|
|
5
|
+
export default EthereumGasPlugin;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAG5B,eAAe,iBAAiB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,77 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 };
|
|
1
|
+
import { EthereumGasPlugin } from './Plugin';
|
|
2
|
+
export * from './Diviner';
|
|
3
|
+
export * from './Schema';
|
|
4
|
+
export { EthereumGasPlugin };
|
|
5
|
+
export default EthereumGasPlugin;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAG5B,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
2
|
+
/**
|
|
3
|
+
* Averages the supplied FeeData
|
|
4
|
+
* @param input An array of FeeData or undefined
|
|
5
|
+
* @returns The average of the supplied FeeData
|
|
6
|
+
*/
|
|
7
|
+
export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
|
|
8
|
+
//# sourceMappingURL=average.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AAsB/D;;;;GAIG;AACH,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FeeData } from '@xyo-network/gas-price-payload-plugin';
|
|
2
|
+
/**
|
|
3
|
+
* Averages the supplied FeeData
|
|
4
|
+
* @param input An array of FeeData or undefined
|
|
5
|
+
* @returns The average of the supplied FeeData
|
|
6
|
+
*/
|
|
7
|
+
export declare const average: (input?: (FeeData | undefined)[]) => FeeData;
|
|
8
|
+
//# sourceMappingURL=average.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../src/lib/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AAsB/D;;;;GAIG;AACH,eAAO,MAAM,OAAO,WAAY,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAG,OAkBzD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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,aAAc,OAAO,EAAE,KAAG,kBAW/C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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,aAAc,OAAO,EAAE,KAAG,kBAW/C,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './isEthereumGasBlocknativePayload';
|
|
2
|
+
export * from './isEthereumGasEtherchainV2Payload';
|
|
3
|
+
export * from './isEthereumGasEtherscanPayload';
|
|
4
|
+
export * from './isEthereumGasEthersPayload';
|
|
5
|
+
export * from './isEthereumGasEthgasstationPayload';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './isEthereumGasBlocknativePayload';
|
|
2
|
+
export * from './isEthereumGasEtherchainV2Payload';
|
|
3
|
+
export * from './isEthereumGasEtherscanPayload';
|
|
4
|
+
export * from './isEthereumGasEthersPayload';
|
|
5
|
+
export * from './isEthereumGasEthgasstationPayload';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.blocknative";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;CAEvE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasBlocknativePayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/blocknative-ethereum-gas-payload-plugin").EthereumGasBlocknativeResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.blocknative";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasBlocknativePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasBlocknativePayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasBlocknativePayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,+BAA+B,aAAc,OAAO,GAAG,IAAI;;;CAEvE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;CAExE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEtherchainV2Payload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins").EthereumGasEtherchainV2Response & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEtherchainV2Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEtherchainV2Payload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEtherchainV2Payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,gCAAgC,aAAc,OAAO,GAAG,IAAI;;;CAExE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.ethers";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;CAElE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEthersPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethers-ethereum-gas-payload-plugin").EthereumGasEthersResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.ethers";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEthersPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEthersPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEthersPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,0BAA0B,aAAc,OAAO,GAAG,IAAI;;;CAElE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.etherscan";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;CAErE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEtherscanPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/etherscan-ethereum-gas-payload-plugin").EthereumGasEtherscanResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.etherscan";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEtherscanPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEtherscanPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEtherscanPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,6BAA6B,aAAc,OAAO,GAAG,IAAI;;;CAErE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;CAEzE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
export declare const isEthereumGasEthgasstationPayload: (payload?: Payload | null) => payload is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/ethgasstation-ethereum-gas-payload-plugin").EthereumGasEthgasstationResponse & {
|
|
3
|
+
schema: "network.xyo.blockchain.ethereum.gas.ethgasstation";
|
|
4
|
+
timestamp: number;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=isEthereumGasEthgasstationPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEthereumGasEthgasstationPayload.d.ts","sourceRoot":"","sources":["../../../src/lib/identities/isEthereumGasEthgasstationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,iCAAiC,aAAc,OAAO,GAAG,IAAI;;;CAEzE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './transformGasFromBlocknative';
|
|
2
|
+
export * from './transformGasFromEtherchainV2';
|
|
3
|
+
export * from './transformGasFromEthers';
|
|
4
|
+
export * from './transformGasFromEtherscan';
|
|
5
|
+
export * from './transformGasFromEthgasstation';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './transformGasFromBlocknative';
|
|
2
|
+
export * from './transformGasFromEtherchainV2';
|
|
3
|
+
export * from './transformGasFromEthers';
|
|
4
|
+
export * from './transformGasFromEtherscan';
|
|
5
|
+
export * from './transformGasFromEthgasstation';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../src/lib/transforms/transformGasFromBlocknative.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA2C7F,eAAO,MAAM,2BAA2B,YAAa,6BAA6B,KAAG,OAKpF,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../src/lib/transforms/transformGasFromBlocknative.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAA;AACpG,OAAO,EAAE,OAAO,EAAgC,MAAM,uCAAuC,CAAA;AA2C7F,eAAO,MAAM,2BAA2B,YAAa,6BAA6B,KAAG,OAKpF,CAAA"}
|