@0xtorch/evm 0.0.95 → 0.0.97
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/_cjs/chain/definitions/arbitrumOne.js +2 -1
- package/_cjs/chain/definitions/arbitrumOne.js.map +1 -1
- package/_cjs/chain/definitions/astar.js +3 -1
- package/_cjs/chain/definitions/astar.js.map +1 -1
- package/_cjs/chain/definitions/astarZkEvm.js +3 -1
- package/_cjs/chain/definitions/astarZkEvm.js.map +1 -1
- package/_cjs/chain/definitions/avalancheC.js +2 -1
- package/_cjs/chain/definitions/avalancheC.js.map +1 -1
- package/_cjs/chain/definitions/base.js +2 -1
- package/_cjs/chain/definitions/base.js.map +1 -1
- package/_cjs/chain/definitions/blast.js +2 -1
- package/_cjs/chain/definitions/blast.js.map +1 -1
- package/_cjs/chain/definitions/bsc.js +2 -1
- package/_cjs/chain/definitions/bsc.js.map +1 -1
- package/_cjs/chain/definitions/ethereum.js +2 -1
- package/_cjs/chain/definitions/ethereum.js.map +1 -1
- package/_cjs/chain/definitions/fantom.js +2 -1
- package/_cjs/chain/definitions/fantom.js.map +1 -1
- package/_cjs/chain/definitions/linea.js +2 -1
- package/_cjs/chain/definitions/linea.js.map +1 -1
- package/_cjs/chain/definitions/mantaPacific.js +3 -1
- package/_cjs/chain/definitions/mantaPacific.js.map +1 -1
- package/_cjs/chain/definitions/mantle.js +2 -1
- package/_cjs/chain/definitions/mantle.js.map +1 -1
- package/_cjs/chain/definitions/metis.js +3 -1
- package/_cjs/chain/definitions/metis.js.map +1 -1
- package/_cjs/chain/definitions/moonbeam.js +2 -1
- package/_cjs/chain/definitions/moonbeam.js.map +1 -1
- package/_cjs/chain/definitions/moonriver.js +2 -1
- package/_cjs/chain/definitions/moonriver.js.map +1 -1
- package/_cjs/chain/definitions/oasys.js +3 -1
- package/_cjs/chain/definitions/oasys.js.map +1 -1
- package/_cjs/chain/definitions/optimism.js +2 -1
- package/_cjs/chain/definitions/optimism.js.map +1 -1
- package/_cjs/chain/definitions/polygonPos.js +2 -1
- package/_cjs/chain/definitions/polygonPos.js.map +1 -1
- package/_cjs/chain/definitions/scroll.js +2 -1
- package/_cjs/chain/definitions/scroll.js.map +1 -1
- package/_cjs/chain/definitions/zkFair.js +3 -1
- package/_cjs/chain/definitions/zkFair.js.map +1 -1
- package/_cjs/chain/definitions/zkSyncEra.js +2 -1
- package/_cjs/chain/definitions/zkSyncEra.js.map +1 -1
- package/_cjs/chain/definitions/zora.js +3 -1
- package/_cjs/chain/definitions/zora.js.map +1 -1
- package/_cjs/explorer/blockscout/client.js +9 -2
- package/_cjs/explorer/blockscout/client.js.map +1 -1
- package/_cjs/explorer/blockscout/create.js +2 -2
- package/_cjs/explorer/blockscout/create.js.map +1 -1
- package/_cjs/explorer/etherscan/create.js +11 -9
- package/_cjs/explorer/etherscan/create.js.map +1 -1
- package/_cjs/logic/analyzeTransaction/decodeTransaction/index.js +9 -1
- package/_cjs/logic/analyzeTransaction/decodeTransaction/index.js.map +1 -1
- package/_esm/chain/definitions/arbitrumOne.js +2 -1
- package/_esm/chain/definitions/arbitrumOne.js.map +1 -1
- package/_esm/chain/definitions/astar.js +3 -1
- package/_esm/chain/definitions/astar.js.map +1 -1
- package/_esm/chain/definitions/astarZkEvm.js +3 -1
- package/_esm/chain/definitions/astarZkEvm.js.map +1 -1
- package/_esm/chain/definitions/avalancheC.js +2 -1
- package/_esm/chain/definitions/avalancheC.js.map +1 -1
- package/_esm/chain/definitions/base.js +2 -1
- package/_esm/chain/definitions/base.js.map +1 -1
- package/_esm/chain/definitions/blast.js +2 -1
- package/_esm/chain/definitions/blast.js.map +1 -1
- package/_esm/chain/definitions/bsc.js +2 -1
- package/_esm/chain/definitions/bsc.js.map +1 -1
- package/_esm/chain/definitions/ethereum.js +2 -1
- package/_esm/chain/definitions/ethereum.js.map +1 -1
- package/_esm/chain/definitions/fantom.js +2 -1
- package/_esm/chain/definitions/fantom.js.map +1 -1
- package/_esm/chain/definitions/linea.js +2 -1
- package/_esm/chain/definitions/linea.js.map +1 -1
- package/_esm/chain/definitions/mantaPacific.js +3 -1
- package/_esm/chain/definitions/mantaPacific.js.map +1 -1
- package/_esm/chain/definitions/mantle.js +2 -1
- package/_esm/chain/definitions/mantle.js.map +1 -1
- package/_esm/chain/definitions/metis.js +3 -1
- package/_esm/chain/definitions/metis.js.map +1 -1
- package/_esm/chain/definitions/moonbeam.js +2 -1
- package/_esm/chain/definitions/moonbeam.js.map +1 -1
- package/_esm/chain/definitions/moonriver.js +2 -1
- package/_esm/chain/definitions/moonriver.js.map +1 -1
- package/_esm/chain/definitions/oasys.js +3 -1
- package/_esm/chain/definitions/oasys.js.map +1 -1
- package/_esm/chain/definitions/optimism.js +2 -1
- package/_esm/chain/definitions/optimism.js.map +1 -1
- package/_esm/chain/definitions/polygonPos.js +2 -1
- package/_esm/chain/definitions/polygonPos.js.map +1 -1
- package/_esm/chain/definitions/scroll.js +2 -1
- package/_esm/chain/definitions/scroll.js.map +1 -1
- package/_esm/chain/definitions/zkFair.js +3 -1
- package/_esm/chain/definitions/zkFair.js.map +1 -1
- package/_esm/chain/definitions/zkSyncEra.js +2 -1
- package/_esm/chain/definitions/zkSyncEra.js.map +1 -1
- package/_esm/chain/definitions/zora.js +3 -1
- package/_esm/chain/definitions/zora.js.map +1 -1
- package/_esm/explorer/blockscout/client.js +9 -2
- package/_esm/explorer/blockscout/client.js.map +1 -1
- package/_esm/explorer/blockscout/create.js +2 -2
- package/_esm/explorer/blockscout/create.js.map +1 -1
- package/_esm/explorer/etherscan/create.js +11 -9
- package/_esm/explorer/etherscan/create.js.map +1 -1
- package/_esm/logic/analyzeTransaction/decodeTransaction/index.js +11 -1
- package/_esm/logic/analyzeTransaction/decodeTransaction/index.js.map +1 -1
- package/_types/chain/definitions/arbitrumOne.d.ts +2 -1
- package/_types/chain/definitions/arbitrumOne.d.ts.map +1 -1
- package/_types/chain/definitions/astar.d.ts +4 -1
- package/_types/chain/definitions/astar.d.ts.map +1 -1
- package/_types/chain/definitions/astarZkEvm.d.ts +4 -1
- package/_types/chain/definitions/astarZkEvm.d.ts.map +1 -1
- package/_types/chain/definitions/avalancheC.d.ts +2 -1
- package/_types/chain/definitions/avalancheC.d.ts.map +1 -1
- package/_types/chain/definitions/base.d.ts +2 -1
- package/_types/chain/definitions/base.d.ts.map +1 -1
- package/_types/chain/definitions/blast.d.ts +2 -1
- package/_types/chain/definitions/blast.d.ts.map +1 -1
- package/_types/chain/definitions/bsc.d.ts +2 -1
- package/_types/chain/definitions/bsc.d.ts.map +1 -1
- package/_types/chain/definitions/ethereum.d.ts +2 -1
- package/_types/chain/definitions/ethereum.d.ts.map +1 -1
- package/_types/chain/definitions/fantom.d.ts +2 -1
- package/_types/chain/definitions/fantom.d.ts.map +1 -1
- package/_types/chain/definitions/linea.d.ts +2 -1
- package/_types/chain/definitions/linea.d.ts.map +1 -1
- package/_types/chain/definitions/mantaPacific.d.ts +4 -1
- package/_types/chain/definitions/mantaPacific.d.ts.map +1 -1
- package/_types/chain/definitions/mantle.d.ts +2 -1
- package/_types/chain/definitions/mantle.d.ts.map +1 -1
- package/_types/chain/definitions/metis.d.ts +4 -1
- package/_types/chain/definitions/metis.d.ts.map +1 -1
- package/_types/chain/definitions/moonbeam.d.ts +2 -1
- package/_types/chain/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chain/definitions/moonriver.d.ts +2 -1
- package/_types/chain/definitions/moonriver.d.ts.map +1 -1
- package/_types/chain/definitions/oasys.d.ts +4 -1
- package/_types/chain/definitions/oasys.d.ts.map +1 -1
- package/_types/chain/definitions/optimism.d.ts +2 -1
- package/_types/chain/definitions/optimism.d.ts.map +1 -1
- package/_types/chain/definitions/polygonPos.d.ts +2 -1
- package/_types/chain/definitions/polygonPos.d.ts.map +1 -1
- package/_types/chain/definitions/scroll.d.ts +2 -1
- package/_types/chain/definitions/scroll.d.ts.map +1 -1
- package/_types/chain/definitions/zkFair.d.ts +4 -1
- package/_types/chain/definitions/zkFair.d.ts.map +1 -1
- package/_types/chain/definitions/zkSyncEra.d.ts +2 -1
- package/_types/chain/definitions/zkSyncEra.d.ts.map +1 -1
- package/_types/chain/definitions/zora.d.ts +4 -1
- package/_types/chain/definitions/zora.d.ts.map +1 -1
- package/_types/explorer/blockscout/client.d.ts +7 -1
- package/_types/explorer/blockscout/client.d.ts.map +1 -1
- package/_types/explorer/blockscout/create.d.ts +3 -1
- package/_types/explorer/blockscout/create.d.ts.map +1 -1
- package/_types/explorer/etherscan/create.d.ts +2 -1
- package/_types/explorer/etherscan/create.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/decodeTransaction/index.d.ts.map +1 -1
- package/chain/definitions/arbitrumOne.ts +3 -0
- package/chain/definitions/astar.ts +9 -1
- package/chain/definitions/astarZkEvm.ts +9 -1
- package/chain/definitions/avalancheC.ts +3 -0
- package/chain/definitions/base.ts +3 -0
- package/chain/definitions/blast.ts +3 -0
- package/chain/definitions/bsc.ts +3 -0
- package/chain/definitions/ethereum.ts +3 -0
- package/chain/definitions/fantom.ts +3 -0
- package/chain/definitions/linea.ts +3 -0
- package/chain/definitions/mantaPacific.ts +9 -1
- package/chain/definitions/mantle.ts +3 -0
- package/chain/definitions/metis.ts +9 -1
- package/chain/definitions/moonbeam.ts +3 -0
- package/chain/definitions/moonriver.ts +3 -0
- package/chain/definitions/oasys.ts +9 -1
- package/chain/definitions/optimism.ts +3 -0
- package/chain/definitions/polygonPos.ts +3 -0
- package/chain/definitions/scroll.ts +3 -0
- package/chain/definitions/zkFair.ts +9 -1
- package/chain/definitions/zkSyncEra.ts +3 -0
- package/chain/definitions/zora.ts +9 -1
- package/explorer/blockscout/client.ts +24 -7
- package/explorer/blockscout/create.ts +5 -1
- package/explorer/etherscan/create.ts +12 -8
- package/logic/analyzeTransaction/decodeTransaction/index.ts +18 -2
- package/package.json +1 -1
|
@@ -2,7 +2,10 @@ import { type Client } from '../../client';
|
|
|
2
2
|
import type { Explorer } from '../../explorer';
|
|
3
3
|
import type { Chain } from '../types/chain';
|
|
4
4
|
import type { HttpRpc } from '../types/rpc';
|
|
5
|
-
export declare const createZkFairChain: (
|
|
5
|
+
export declare const createZkFairChain: ({ explorerProxyUrl: proxyUrl, explorerHeaders: headers, }: {
|
|
6
|
+
explorerProxyUrl?: string;
|
|
7
|
+
explorerHeaders?: Record<string, string>;
|
|
8
|
+
}) => Chain;
|
|
6
9
|
type CreateZkFairChainParameters = {
|
|
7
10
|
client: Client;
|
|
8
11
|
explorer: Explorer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zkFair.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkFair.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"zkFair.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkFair.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,iBAAiB,8DAG3B;IACD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,UAaG,CAAA;AAEJ,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,uBAAuB,0BAGjC,2BAA2B,KAAG,KAkB/B,CAAA;AAEF,eAAO,MAAM,cAAc,EAAE,OAAO,EAWnC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAAO,CAAA"}
|
|
@@ -2,10 +2,11 @@ import { type Client } from '../../client';
|
|
|
2
2
|
import type { Explorer } from '../../explorer';
|
|
3
3
|
import type { Chain } from '../types/chain';
|
|
4
4
|
import type { HttpRpc } from '../types/rpc';
|
|
5
|
-
export declare const createZkSyncEraChain: ({ explorerApiKey: apiKey, explorerProxyUrl: proxyUrl, explorerHeaders: headers, }: {
|
|
5
|
+
export declare const createZkSyncEraChain: ({ explorerApiKey: apiKey, explorerProxyUrl: proxyUrl, explorerHeaders: headers, explorerPageSize: pageSize, }: {
|
|
6
6
|
explorerApiKey?: string;
|
|
7
7
|
explorerProxyUrl?: string;
|
|
8
8
|
explorerHeaders?: Record<string, string>;
|
|
9
|
+
explorerPageSize?: number;
|
|
9
10
|
}) => Chain;
|
|
10
11
|
type CreateZkSyncEraChainParameters = {
|
|
11
12
|
client: Client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zkSyncEra.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkSyncEra.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"zkSyncEra.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkSyncEra.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,oBAAoB,kHAK9B;IACD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,UAeG,CAAA;AAEJ,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,0BAA0B,0BAGpC,8BAA8B,KAAG,KAkBlC,CAAA;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,EA6CtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAAO,CAAA"}
|
|
@@ -2,7 +2,10 @@ import { type Client } from '../../client';
|
|
|
2
2
|
import { type Explorer } from '../../explorer';
|
|
3
3
|
import type { Chain } from '../types/chain';
|
|
4
4
|
import type { HttpRpc } from '../types/rpc';
|
|
5
|
-
export declare const createZoraChain: (
|
|
5
|
+
export declare const createZoraChain: ({ explorerProxyUrl: proxyUrl, explorerHeaders: headers, }: {
|
|
6
|
+
explorerProxyUrl?: string;
|
|
7
|
+
explorerHeaders?: Record<string, string>;
|
|
8
|
+
}) => Chain;
|
|
6
9
|
type CreateZoraChainParameters = {
|
|
7
10
|
client: Client;
|
|
8
11
|
explorer: Explorer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zora.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zora.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,KAAK,QAAQ,EAAoB,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"zora.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zora.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,KAAK,QAAQ,EAAoB,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,eAAe,8DAGzB;IACD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,UAaG,CAAA;AAEJ,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,0BAG/B,yBAAyB,KAAG,KAkB7B,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EAWjC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAA4B,CAAA"}
|
|
@@ -6,5 +6,11 @@ export type BlockscoutClient = {
|
|
|
6
6
|
resultSchema: ZodType<Output, Def, Input>;
|
|
7
7
|
}) => Promise<Output>;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type CreateBlockscoutClientParameters = {
|
|
10
|
+
apiBaseUrl: string;
|
|
11
|
+
proxyUrl?: string;
|
|
12
|
+
headers?: Record<string, string>;
|
|
13
|
+
};
|
|
14
|
+
export declare const createBlockscoutClient: ({ apiBaseUrl, proxyUrl, headers, }: CreateBlockscoutClientParameters) => BlockscoutClient;
|
|
15
|
+
export {};
|
|
10
16
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAEtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,CACH,MAAM,EACN,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,GAAG,MAAM,EACd,UAAU,EAAE;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,YAAY,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;KAC1C,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAEtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,CACH,MAAM,EACN,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,GAAG,MAAM,EACd,UAAU,EAAE;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,YAAY,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;KAC1C,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtB,CAAA;AAED,KAAK,gCAAgC,GAAG;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,sBAAsB,uCAIhC,gCAAgC,KAAG,gBAoGrC,CAAA"}
|
|
@@ -3,7 +3,9 @@ type CreateBlockscoutParameters = {
|
|
|
3
3
|
name: string;
|
|
4
4
|
baseUrl: string;
|
|
5
5
|
apiBaseUrl: string;
|
|
6
|
+
proxyUrl?: string;
|
|
7
|
+
headers?: Record<string, string>;
|
|
6
8
|
};
|
|
7
|
-
export declare const createBlockscout: ({ name, baseUrl, apiBaseUrl, }: CreateBlockscoutParameters) => Explorer;
|
|
9
|
+
export declare const createBlockscout: ({ name, baseUrl, apiBaseUrl, proxyUrl, headers, }: CreateBlockscoutParameters) => Explorer;
|
|
8
10
|
export {};
|
|
9
11
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAW5D,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAW5D,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,gBAAgB,sDAM1B,0BAA0B,KAAG,QAqI/B,CAAA"}
|
|
@@ -6,7 +6,8 @@ type CreateEtherscanParameters = {
|
|
|
6
6
|
apiKey?: string;
|
|
7
7
|
proxyUrl?: string;
|
|
8
8
|
headers?: Record<string, string>;
|
|
9
|
+
pageSize?: number;
|
|
9
10
|
};
|
|
10
|
-
export declare const createEtherscan: ({ name, baseUrl, apiBaseUrl, apiKey, proxyUrl, headers, }: CreateEtherscanParameters) => Explorer;
|
|
11
|
+
export declare const createEtherscan: ({ name, baseUrl, apiBaseUrl, apiKey, proxyUrl, headers, pageSize, }: CreateEtherscanParameters) => Explorer;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/etherscan/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAa5D,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/etherscan/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAa5D,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,eAAe,wEAQzB,yBAAyB,KAAG,QAwL9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EACV,UAAU,EAGV,QAAQ,EACT,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AASzE,KAAK,2BAA2B,GAAG;IACjC,WAAW,EAAE,iBAAiB,CAAA;IAC9B,SAAS,EAAE,SAAS,UAAU,EAAE,CAAA;IAChC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAA;IAClC,SAAS,EAAE,SAAS;QAClB,SAAS,EAAE,QAAQ,CAAA;QACnB,YAAY,EAAE,MAAM,CAAA;QACpB,GAAG,EAAE,MAAM,CAAA;KACZ,EAAE,CAAA;IACH,YAAY,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,IAAI,EAAE,SAAS,GAAG,EAAE,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,iBAAiB,4EAO3B,2BAA2B,KAAG,kBA8GhC,CAAA"}
|
|
@@ -11,10 +11,12 @@ export const createArbitrumOneChain = ({
|
|
|
11
11
|
explorerApiKey: apiKey,
|
|
12
12
|
explorerProxyUrl: proxyUrl,
|
|
13
13
|
explorerHeaders: headers,
|
|
14
|
+
explorerPageSize: pageSize,
|
|
14
15
|
}: {
|
|
15
16
|
explorerApiKey?: string
|
|
16
17
|
explorerProxyUrl?: string
|
|
17
18
|
explorerHeaders?: Record<string, string>
|
|
19
|
+
explorerPageSize?: number
|
|
18
20
|
}): Chain =>
|
|
19
21
|
createArbitrumOneChainCustom({
|
|
20
22
|
client: createClient({ chain: arbitrum, httpRpcs: arbitrumOneHttpRpcs }),
|
|
@@ -25,6 +27,7 @@ export const createArbitrumOneChain = ({
|
|
|
25
27
|
apiKey,
|
|
26
28
|
proxyUrl,
|
|
27
29
|
headers,
|
|
30
|
+
pageSize,
|
|
28
31
|
}),
|
|
29
32
|
})
|
|
30
33
|
|
|
@@ -11,7 +11,13 @@ type CreateAstarChainParameters = {
|
|
|
11
11
|
explorer: Explorer
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export const createAstarChain = (
|
|
14
|
+
export const createAstarChain = ({
|
|
15
|
+
explorerProxyUrl: proxyUrl,
|
|
16
|
+
explorerHeaders: headers,
|
|
17
|
+
}: {
|
|
18
|
+
explorerProxyUrl?: string
|
|
19
|
+
explorerHeaders?: Record<string, string>
|
|
20
|
+
}): Chain =>
|
|
15
21
|
createAstarChainCustom({
|
|
16
22
|
client: createClient({
|
|
17
23
|
chain: viemAstar,
|
|
@@ -21,6 +27,8 @@ export const createAstarChain = (): Chain =>
|
|
|
21
27
|
name: 'Astar explorer',
|
|
22
28
|
baseUrl: 'https://astar.blockscout.com',
|
|
23
29
|
apiBaseUrl: 'https://astar.blockscout.com/api',
|
|
30
|
+
proxyUrl,
|
|
31
|
+
headers,
|
|
24
32
|
}),
|
|
25
33
|
})
|
|
26
34
|
|
|
@@ -11,7 +11,13 @@ type CreateAstarZkEvmChainParameters = {
|
|
|
11
11
|
explorer: Explorer
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export const createAstarZkEvmChain = (
|
|
14
|
+
export const createAstarZkEvmChain = ({
|
|
15
|
+
explorerProxyUrl: proxyUrl,
|
|
16
|
+
explorerHeaders: headers,
|
|
17
|
+
}: {
|
|
18
|
+
explorerProxyUrl?: string
|
|
19
|
+
explorerHeaders?: Record<string, string>
|
|
20
|
+
}): Chain =>
|
|
15
21
|
createAstarZkEvmChainCustom({
|
|
16
22
|
client: createClient({
|
|
17
23
|
chain: astarZkEVM,
|
|
@@ -21,6 +27,8 @@ export const createAstarZkEvmChain = (): Chain =>
|
|
|
21
27
|
name: 'Astar zkEVM explorer',
|
|
22
28
|
baseUrl: 'https://astar-zkevm.explorer.startale.com',
|
|
23
29
|
apiBaseUrl: 'https://astar-zkevm.explorer.startale.com/api',
|
|
30
|
+
proxyUrl,
|
|
31
|
+
headers,
|
|
24
32
|
}),
|
|
25
33
|
})
|
|
26
34
|
|
|
@@ -10,10 +10,12 @@ export const createAvalancheCChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createAvalancheCChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createAvalancheCChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createBaseChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createBaseChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createBaseChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createBlastChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createBlastChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createBlastChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
package/chain/definitions/bsc.ts
CHANGED
|
@@ -10,10 +10,12 @@ export const createBscChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createBscChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createBscChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createEthereumChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createEthereumChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createEthereumChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createFantomChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createFantomChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createFantomChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createLineaChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}): Chain =>
|
|
18
20
|
createLineaChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createLineaChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
|
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
9
|
-
export const createMantaPacificChain = (
|
|
9
|
+
export const createMantaPacificChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
explorerHeaders: headers,
|
|
12
|
+
}: {
|
|
13
|
+
explorerProxyUrl?: string
|
|
14
|
+
explorerHeaders?: Record<string, string>
|
|
15
|
+
}) =>
|
|
10
16
|
createMantaPacificChainCustom({
|
|
11
17
|
client: createClient({
|
|
12
18
|
chain: viemManta,
|
|
@@ -16,6 +22,8 @@ export const createMantaPacificChain = () =>
|
|
|
16
22
|
name: 'Manta Pacific explorer',
|
|
17
23
|
baseUrl: 'https://pacific-explorer.manta.network',
|
|
18
24
|
apiBaseUrl: 'https://pacific-explorer.manta.network/api',
|
|
25
|
+
proxyUrl,
|
|
26
|
+
headers,
|
|
19
27
|
}),
|
|
20
28
|
})
|
|
21
29
|
|
|
@@ -9,10 +9,12 @@ export const createMantleChain = ({
|
|
|
9
9
|
explorerApiKey: apiKey,
|
|
10
10
|
explorerProxyUrl: proxyUrl,
|
|
11
11
|
explorerHeaders: headers,
|
|
12
|
+
explorerPageSize: pageSize,
|
|
12
13
|
}: {
|
|
13
14
|
explorerApiKey?: string
|
|
14
15
|
explorerProxyUrl?: string
|
|
15
16
|
explorerHeaders?: Record<string, string>
|
|
17
|
+
explorerPageSize?: number
|
|
16
18
|
}): Chain =>
|
|
17
19
|
createMantleChainCustom({
|
|
18
20
|
client: createClient({
|
|
@@ -26,6 +28,7 @@ export const createMantleChain = ({
|
|
|
26
28
|
apiKey,
|
|
27
29
|
proxyUrl,
|
|
28
30
|
headers,
|
|
31
|
+
pageSize,
|
|
29
32
|
}),
|
|
30
33
|
})
|
|
31
34
|
|
|
@@ -5,7 +5,13 @@ import { type Explorer, createBlockscout } from '../../explorer'
|
|
|
5
5
|
import type { Chain } from '../types/chain'
|
|
6
6
|
import type { HttpRpc } from '../types/rpc'
|
|
7
7
|
|
|
8
|
-
export const createMetisChain = (
|
|
8
|
+
export const createMetisChain = ({
|
|
9
|
+
explorerProxyUrl: proxyUrl,
|
|
10
|
+
explorerHeaders: headers,
|
|
11
|
+
}: {
|
|
12
|
+
explorerProxyUrl?: string
|
|
13
|
+
explorerHeaders?: Record<string, string>
|
|
14
|
+
}) =>
|
|
9
15
|
createMetisChainCustom({
|
|
10
16
|
client: createClient({
|
|
11
17
|
chain: viemMetis,
|
|
@@ -15,6 +21,8 @@ export const createMetisChain = () =>
|
|
|
15
21
|
name: 'Metis Andromeda explorer',
|
|
16
22
|
baseUrl: 'https://andromeda-explorer.metis.io',
|
|
17
23
|
apiBaseUrl: 'https://andromeda-explorer.metis.io/api',
|
|
24
|
+
proxyUrl,
|
|
25
|
+
headers,
|
|
18
26
|
}),
|
|
19
27
|
})
|
|
20
28
|
|
|
@@ -10,10 +10,12 @@ export const createMoonbeamChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createMoonbeamChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createMoonbeamChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createMoonriverChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createMoonriverChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createMoonriverChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
|
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
9
|
-
export const createOasysChain = (
|
|
9
|
+
export const createOasysChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
explorerHeaders: headers,
|
|
12
|
+
}: {
|
|
13
|
+
explorerProxyUrl?: string
|
|
14
|
+
explorerHeaders?: Record<string, string>
|
|
15
|
+
}) =>
|
|
10
16
|
createOasysChainCustom({
|
|
11
17
|
client: createClient({
|
|
12
18
|
chain: viemOasys,
|
|
@@ -16,6 +22,8 @@ export const createOasysChain = () =>
|
|
|
16
22
|
name: 'Oasys-Hub Mainnet explorer',
|
|
17
23
|
baseUrl: 'https://explorer.oasys.games/',
|
|
18
24
|
apiBaseUrl: 'https://explorer.oasys.games/api',
|
|
25
|
+
proxyUrl,
|
|
26
|
+
headers,
|
|
19
27
|
}),
|
|
20
28
|
})
|
|
21
29
|
|
|
@@ -10,10 +10,12 @@ export const createOptimismChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createOptimismChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createOptimismChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createPolygonPosChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createPolygonPosChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createPolygonPosChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -10,10 +10,12 @@ export const createScrollChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createScrollChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createScrollChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
|
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
9
|
-
export const createZkFairChain = (
|
|
9
|
+
export const createZkFairChain = ({
|
|
10
|
+
explorerProxyUrl: proxyUrl,
|
|
11
|
+
explorerHeaders: headers,
|
|
12
|
+
}: {
|
|
13
|
+
explorerProxyUrl?: string
|
|
14
|
+
explorerHeaders?: Record<string, string>
|
|
15
|
+
}) =>
|
|
10
16
|
createZkFairChainCustom({
|
|
11
17
|
client: createClient({
|
|
12
18
|
chain: zkFair,
|
|
@@ -16,6 +22,8 @@ export const createZkFairChain = () =>
|
|
|
16
22
|
name: 'ZKFair-Mainnet explorer',
|
|
17
23
|
baseUrl: 'https://scan.zkfair.io',
|
|
18
24
|
apiBaseUrl: 'https://scan.zkfair.io/api',
|
|
25
|
+
proxyUrl,
|
|
26
|
+
headers,
|
|
19
27
|
}),
|
|
20
28
|
})
|
|
21
29
|
|
|
@@ -10,10 +10,12 @@ export const createZkSyncEraChain = ({
|
|
|
10
10
|
explorerApiKey: apiKey,
|
|
11
11
|
explorerProxyUrl: proxyUrl,
|
|
12
12
|
explorerHeaders: headers,
|
|
13
|
+
explorerPageSize: pageSize,
|
|
13
14
|
}: {
|
|
14
15
|
explorerApiKey?: string
|
|
15
16
|
explorerProxyUrl?: string
|
|
16
17
|
explorerHeaders?: Record<string, string>
|
|
18
|
+
explorerPageSize?: number
|
|
17
19
|
}) =>
|
|
18
20
|
createZkSyncEraChainCustom({
|
|
19
21
|
client: createClient({
|
|
@@ -27,6 +29,7 @@ export const createZkSyncEraChain = ({
|
|
|
27
29
|
apiKey,
|
|
28
30
|
proxyUrl,
|
|
29
31
|
headers,
|
|
32
|
+
pageSize,
|
|
30
33
|
}),
|
|
31
34
|
})
|
|
32
35
|
|
|
@@ -5,7 +5,13 @@ import { type Explorer, createBlockscout } from '../../explorer'
|
|
|
5
5
|
import type { Chain } from '../types/chain'
|
|
6
6
|
import type { HttpRpc } from '../types/rpc'
|
|
7
7
|
|
|
8
|
-
export const createZoraChain = (
|
|
8
|
+
export const createZoraChain = ({
|
|
9
|
+
explorerProxyUrl: proxyUrl,
|
|
10
|
+
explorerHeaders: headers,
|
|
11
|
+
}: {
|
|
12
|
+
explorerProxyUrl?: string
|
|
13
|
+
explorerHeaders?: Record<string, string>
|
|
14
|
+
}) =>
|
|
9
15
|
createZoraChainCustom({
|
|
10
16
|
client: createClient({
|
|
11
17
|
chain: zora,
|
|
@@ -15,6 +21,8 @@ export const createZoraChain = () =>
|
|
|
15
21
|
name: 'Zora Mainnet explorer',
|
|
16
22
|
baseUrl: 'https://explorer.zora.energy/',
|
|
17
23
|
apiBaseUrl: 'https://explorer.zora.energy/api',
|
|
24
|
+
proxyUrl,
|
|
25
|
+
headers,
|
|
18
26
|
}),
|
|
19
27
|
})
|
|
20
28
|
|