@0xtorch/evm 0.0.24 → 0.0.26
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/.DS_Store +0 -0
- package/_cjs/chains/definitions/arbitrumOne.js.map +1 -1
- package/_cjs/chains/definitions/astar.js.map +1 -1
- package/_cjs/chains/definitions/avalancheC.js.map +1 -1
- package/_cjs/chains/definitions/base.js +3 -1
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/bsc.js +3 -1
- package/_cjs/chains/definitions/bsc.js.map +1 -1
- package/_cjs/chains/definitions/ethereum.js.map +1 -1
- package/_cjs/chains/definitions/fantom.js.map +1 -1
- package/_cjs/chains/definitions/linea.js.map +1 -1
- package/_cjs/chains/definitions/mantle.js.map +1 -1
- package/_cjs/chains/definitions/metis.js +3 -1
- package/_cjs/chains/definitions/metis.js.map +1 -1
- package/_cjs/chains/definitions/moonbeam.js.map +1 -1
- package/_cjs/chains/definitions/moonriver.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/polygonPos.js.map +1 -1
- package/_cjs/chains/definitions/ronin.js.map +1 -1
- package/_cjs/chains/externals/defillama/constants.js.map +1 -1
- package/_cjs/index.js +4 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/create.js +1 -1
- package/_cjs/utils/create.js.map +1 -1
- package/_cjs/utils/index.js +2 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_esm/chains/definitions/arbitrumOne.js.map +1 -1
- package/_esm/chains/definitions/astar.js.map +1 -1
- package/_esm/chains/definitions/avalancheC.js.map +1 -1
- package/_esm/chains/definitions/base.js +3 -1
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/bsc.js +3 -1
- package/_esm/chains/definitions/bsc.js.map +1 -1
- package/_esm/chains/definitions/ethereum.js.map +1 -1
- package/_esm/chains/definitions/fantom.js.map +1 -1
- package/_esm/chains/definitions/linea.js.map +1 -1
- package/_esm/chains/definitions/mantle.js.map +1 -1
- package/_esm/chains/definitions/metis.js +3 -1
- package/_esm/chains/definitions/metis.js.map +1 -1
- package/_esm/chains/definitions/moonbeam.js.map +1 -1
- package/_esm/chains/definitions/moonriver.js.map +1 -1
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/polygonPos.js.map +1 -1
- package/_esm/chains/definitions/ronin.js.map +1 -1
- package/_esm/chains/externals/defillama/constants.js.map +1 -1
- package/_esm/index.js +1 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/create.js +1 -1
- package/_esm/utils/create.js.map +1 -1
- package/_esm/utils/index.js +1 -1
- package/_esm/utils/index.js.map +1 -1
- package/_types/chains/definitions/arbitrumOne.d.ts +3 -63
- package/_types/chains/definitions/arbitrumOne.d.ts.map +1 -1
- package/_types/chains/definitions/astar.d.ts +3 -28
- package/_types/chains/definitions/astar.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheC.d.ts +3 -48
- package/_types/chains/definitions/avalancheC.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +3 -58
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +3 -108
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/ethereum.d.ts +3 -93
- package/_types/chains/definitions/ethereum.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +3 -53
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +3 -33
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/mantle.d.ts +3 -27
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +3 -17
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +3 -48
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonriver.d.ts +3 -28
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +3 -68
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/polygonPos.d.ts +3 -48
- package/_types/chains/definitions/polygonPos.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +3 -13
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/externals/defillama/constants.d.ts +1 -1
- package/_types/chains/externals/defillama/constants.d.ts.map +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/chains/definitions/arbitrumOne.ts +4 -4
- package/chains/definitions/astar.ts +4 -4
- package/chains/definitions/avalancheC.ts +4 -4
- package/chains/definitions/base.ts +5 -3
- package/chains/definitions/bsc.ts +5 -3
- package/chains/definitions/ethereum.ts +4 -4
- package/chains/definitions/fantom.ts +4 -4
- package/chains/definitions/linea.ts +3 -3
- package/chains/definitions/mantle.ts +4 -4
- package/chains/definitions/metis.ts +5 -3
- package/chains/definitions/moonbeam.ts +4 -4
- package/chains/definitions/moonriver.ts +4 -4
- package/chains/definitions/optimism.ts +4 -4
- package/chains/definitions/polygonPos.ts +4 -4
- package/chains/definitions/ronin.ts +3 -3
- package/chains/externals/defillama/constants.ts +1 -1
- package/index.ts +1 -0
- package/package.json +2 -2
- package/utils/create.ts +1 -1
- package/utils/index.ts +1 -1
- package/analyzer/.DS_Store +0 -0
- package/chains/.DS_Store +0 -0
- package/clients/.DS_Store +0 -0
- package/clients/externals/.DS_Store +0 -0
- package/explorers/.DS_Store +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
export declare const createLineaChain: (lineascanApiKey: string) => Chain;
|
|
5
5
|
type CreateLineaChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
6
6
|
readonly client: TClient;
|
|
@@ -33,37 +33,7 @@ export declare const createLineaChainCustom: <const TClient extends Client, cons
|
|
|
33
33
|
readonly coingeckoId: "linea";
|
|
34
34
|
readonly defillamaId: "linea";
|
|
35
35
|
};
|
|
36
|
-
export declare const lineaHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 1024n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://1rpc.io/linea";
|
|
43
|
-
readonly isArchive: true;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
46
|
-
}, {
|
|
47
|
-
readonly url: "https://linea.drpc.org";
|
|
48
|
-
readonly isArchive: true;
|
|
49
|
-
readonly getLogsIsUsable: true;
|
|
50
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
51
|
-
}, {
|
|
52
|
-
readonly url: "https://rpc.linea.build";
|
|
53
|
-
readonly isArchive: true;
|
|
54
|
-
readonly getLogsIsUsable: true;
|
|
55
|
-
readonly getLogsMaxBlockRange: 40000n;
|
|
56
|
-
}, {
|
|
57
|
-
readonly url: "https://linea.rpc.thirdweb.com";
|
|
58
|
-
readonly isArchive: true;
|
|
59
|
-
readonly getLogsIsUsable: true;
|
|
60
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
61
|
-
}, {
|
|
62
|
-
readonly url: "https://linea-mainnet-public.unifra.io";
|
|
63
|
-
readonly isArchive: true;
|
|
64
|
-
readonly getLogsIsUsable: true;
|
|
65
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
66
|
-
}];
|
|
67
|
-
export declare const lineaWebsocketRpcUrls: readonly [];
|
|
36
|
+
export declare const lineaHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const lineaWebsocketRpcUrls: readonly string[];
|
|
68
38
|
export {};
|
|
69
39
|
//# sourceMappingURL=linea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linea.d.ts","sourceRoot":"","sources":["../../../chains/definitions/linea.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"linea.d.ts","sourceRoot":"","sources":["../../../chains/definitions/linea.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,gBAAgB,oBAAqB,MAAM,KAAG,KAYvD,CAAA;AAEJ,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa,EAAE,SAAS,OAAO,EAqC3C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAO,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
+
import type { HttpRpc } from '../types';
|
|
3
4
|
type CreateMantleChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
4
5
|
readonly client: TClient;
|
|
5
6
|
readonly explorer: TExplorer;
|
|
@@ -31,32 +32,7 @@ export declare const createMantleChainCustom: <const TClient extends Client, con
|
|
|
31
32
|
readonly coingeckoId: "mantle";
|
|
32
33
|
readonly defillamaId: "mantle";
|
|
33
34
|
};
|
|
34
|
-
export declare const mantleHttpRpcs: readonly [
|
|
35
|
-
|
|
36
|
-
readonly isArchive: true;
|
|
37
|
-
readonly getLogsIsUsable: true;
|
|
38
|
-
readonly getLogsMaxBlockRange: 3000n;
|
|
39
|
-
}, {
|
|
40
|
-
readonly url: "https://rpc.mantle.xyz/";
|
|
41
|
-
readonly isArchive: true;
|
|
42
|
-
readonly getLogsIsUsable: true;
|
|
43
|
-
readonly getLogsMaxBlockRange: 320000n;
|
|
44
|
-
}, {
|
|
45
|
-
readonly url: "https://mantle.publicnode.com";
|
|
46
|
-
readonly isArchive: true;
|
|
47
|
-
readonly getLogsIsUsable: true;
|
|
48
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
49
|
-
}, {
|
|
50
|
-
readonly url: "https://1rpc.io/mantle";
|
|
51
|
-
readonly isArchive: true;
|
|
52
|
-
readonly getLogsIsUsable: true;
|
|
53
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
54
|
-
}, {
|
|
55
|
-
readonly url: "https://mantle-mainnet.public.blastapi.io";
|
|
56
|
-
readonly isArchive: true;
|
|
57
|
-
readonly getLogsIsUsable: false;
|
|
58
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
59
|
-
}];
|
|
60
|
-
export declare const mantleWebsocketRpcUrls: readonly ["wss://wss.mantle.xyz", "wss://mantle.publicnode.com"];
|
|
35
|
+
export declare const mantleHttpRpcs: readonly HttpRpc[];
|
|
36
|
+
export declare const mantleWebsocketRpcUrls: readonly string[];
|
|
61
37
|
export {};
|
|
62
38
|
//# sourceMappingURL=mantle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mantle.d.ts","sourceRoot":"","sources":["../../../chains/definitions/mantle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"mantle.d.ts","sourceRoot":"","sources":["../../../chains/definitions/mantle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,KAAK,2BAA2B,CAC9B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBhC,CAAA;AAEJ,eAAO,MAAM,cAAc,EAAE,SAAS,OAAO,EA+B5C,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAGnD,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
+
import type { HttpRpc } from '../types';
|
|
3
4
|
type CreateMetisChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
4
5
|
readonly client: TClient;
|
|
5
6
|
readonly explorer: TExplorer;
|
|
@@ -31,22 +32,7 @@ export declare const createMetisChainCustom: <const TClient extends Client, cons
|
|
|
31
32
|
readonly coingeckoId: "metis-andromeda";
|
|
32
33
|
readonly defillamaId: "metis";
|
|
33
34
|
};
|
|
34
|
-
export declare const metisHttpRpcs: readonly [
|
|
35
|
-
|
|
36
|
-
readonly isArchive: true;
|
|
37
|
-
readonly getLogsIsUsable: true;
|
|
38
|
-
readonly getLogsMaxBlockRange: 160000n;
|
|
39
|
-
}, {
|
|
40
|
-
readonly url: "https://metis.api.onfinality.io/public";
|
|
41
|
-
readonly isArchive: true;
|
|
42
|
-
readonly getLogsIsUsable: true;
|
|
43
|
-
readonly getLogsMaxBlockRange: 2000n;
|
|
44
|
-
}, {
|
|
45
|
-
readonly url: "https://metis-pokt.nodies.app";
|
|
46
|
-
readonly isArchive: true;
|
|
47
|
-
readonly getLogsIsUsable: true;
|
|
48
|
-
readonly getLogsMaxBlockRange: 80000n;
|
|
49
|
-
}];
|
|
50
|
-
export declare const metisWebsocketRpcUrls: readonly ["wss://andromeda-ws.metis.io"];
|
|
35
|
+
export declare const metisHttpRpcs: readonly HttpRpc[];
|
|
36
|
+
export declare const metisWebsocketRpcUrls: readonly string[];
|
|
51
37
|
export {};
|
|
52
38
|
//# sourceMappingURL=metis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metis.d.ts","sourceRoot":"","sources":["../../../chains/definitions/metis.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"metis.d.ts","sourceRoot":"","sources":["../../../chains/definitions/metis.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa,EAAE,SAAS,OAAO,EAmB3C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAElD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
export declare const createMoonbeamChain: (moonscanApiKey: string) => Chain;
|
|
5
5
|
type CreateMoonbeamChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
6
6
|
readonly client: TClient;
|
|
@@ -33,52 +33,7 @@ export declare const createMoonbeamChainCustom: <const TClient extends Client, c
|
|
|
33
33
|
readonly coingeckoId: "moonbeam";
|
|
34
34
|
readonly defillamaId: "moonbeam";
|
|
35
35
|
};
|
|
36
|
-
export declare const moonbeamHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://moonbeam.api.onfinality.io/public";
|
|
43
|
-
readonly isArchive: true;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 2048n;
|
|
46
|
-
}, {
|
|
47
|
-
readonly url: "https://moonbeam.unitedbloc.com:3000";
|
|
48
|
-
readonly isArchive: true;
|
|
49
|
-
readonly getLogsIsUsable: true;
|
|
50
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
51
|
-
}, {
|
|
52
|
-
readonly url: "https://moonbeam.public.blastapi.io";
|
|
53
|
-
readonly isArchive: true;
|
|
54
|
-
readonly getLogsIsUsable: false;
|
|
55
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
56
|
-
}, {
|
|
57
|
-
readonly url: "https://rpc.ankr.com/moonbeam";
|
|
58
|
-
readonly isArchive: true;
|
|
59
|
-
readonly getLogsIsUsable: true;
|
|
60
|
-
readonly getLogsMaxBlockRange: 2048n;
|
|
61
|
-
}, {
|
|
62
|
-
readonly url: "https://1rpc.io/glmr";
|
|
63
|
-
readonly isArchive: false;
|
|
64
|
-
readonly getLogsIsUsable: false;
|
|
65
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
66
|
-
}, {
|
|
67
|
-
readonly url: "https://moonbeam-rpc.dwellir.com";
|
|
68
|
-
readonly isArchive: true;
|
|
69
|
-
readonly getLogsIsUsable: true;
|
|
70
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
71
|
-
}, {
|
|
72
|
-
readonly url: "https://endpoints.omniatech.io/v1/moonbeam/mainnet/public";
|
|
73
|
-
readonly isArchive: true;
|
|
74
|
-
readonly getLogsIsUsable: true;
|
|
75
|
-
readonly getLogsMaxBlockRange: 2048n;
|
|
76
|
-
}, {
|
|
77
|
-
readonly url: "https://moonbeam-rpc.publicnode.com";
|
|
78
|
-
readonly isArchive: false;
|
|
79
|
-
readonly getLogsIsUsable: false;
|
|
80
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
81
|
-
}];
|
|
82
|
-
export declare const moonbeamWebsocketRpcUrls: readonly ["wss://moonbeam.api.onfinality.io/public-ws", "wss://moonbeam-rpc.dwellir.com", "wss://moonbeam-rpc.publicnode.com"];
|
|
36
|
+
export declare const moonbeamHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const moonbeamWebsocketRpcUrls: readonly string[];
|
|
83
38
|
export {};
|
|
84
39
|
//# sourceMappingURL=moonbeam.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moonbeam.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonbeam.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"moonbeam.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonbeam.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,mBAAoB,MAAM,KAAG,KAYzD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB,EAAE,SAAS,OAAO,EAuD9C,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAIrD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
export declare const createMoonriverChain: (moonscanApiKey: string) => Chain;
|
|
5
5
|
type CreateMoonriverChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
6
6
|
readonly client: TClient;
|
|
@@ -33,32 +33,7 @@ export declare const createMoonriverChainCustom: <const TClient extends Client,
|
|
|
33
33
|
readonly coingeckoId: "moonriver";
|
|
34
34
|
readonly defillamaId: "moonriver";
|
|
35
35
|
};
|
|
36
|
-
export declare const moonriverHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://moonriver.unitedbloc.com:2000";
|
|
43
|
-
readonly isArchive: true;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
46
|
-
}, {
|
|
47
|
-
readonly url: "https://moonriver.public.blastapi.io";
|
|
48
|
-
readonly isArchive: true;
|
|
49
|
-
readonly getLogsIsUsable: false;
|
|
50
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
51
|
-
}, {
|
|
52
|
-
readonly url: "https://moonriver-rpc.dwellir.com";
|
|
53
|
-
readonly isArchive: true;
|
|
54
|
-
readonly getLogsIsUsable: true;
|
|
55
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
56
|
-
}, {
|
|
57
|
-
readonly url: "https://moonriver-rpc.publicnode.com";
|
|
58
|
-
readonly isArchive: false;
|
|
59
|
-
readonly getLogsIsUsable: false;
|
|
60
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
61
|
-
}];
|
|
62
|
-
export declare const moonriverWebsocketRpcUrls: readonly ["wss://moonriver.api.onfinality.io/public-ws", "wss://moonriver.unitedbloc.com:2001", "wss://moonriver-rpc.dwellir.com", "wss://moonriver-rpc.publicnode.com"];
|
|
36
|
+
export declare const moonriverHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const moonriverWebsocketRpcUrls: readonly string[];
|
|
63
38
|
export {};
|
|
64
39
|
//# sourceMappingURL=moonriver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moonriver.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonriver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"moonriver.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonriver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,oBAAoB,mBAAoB,MAAM,KAAG,KAY1D,CAAA;AAEJ,KAAK,8BAA8B,CACjC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnC,CAAA;AAEJ,eAAO,MAAM,iBAAiB,EAAE,SAAS,OAAO,EA+B/C,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAKtD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
export declare const createOptimismChain: (opscanApiKey: string) => Chain;
|
|
5
5
|
type CreateOptimismChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
6
6
|
readonly client: TClient;
|
|
@@ -33,72 +33,7 @@ export declare const createOptimismChainCustom: <const TClient extends Client, c
|
|
|
33
33
|
readonly coingeckoId: "optimistic-ethereum";
|
|
34
34
|
readonly defillamaId: "optimism";
|
|
35
35
|
};
|
|
36
|
-
export declare const optimismHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://rpc.ankr.com/optimism";
|
|
43
|
-
readonly isArchive: true;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 3000n;
|
|
46
|
-
}, {
|
|
47
|
-
readonly url: "https://1rpc.io/op";
|
|
48
|
-
readonly isArchive: true;
|
|
49
|
-
readonly getLogsIsUsable: true;
|
|
50
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
51
|
-
}, {
|
|
52
|
-
readonly url: "https://op-pokt.nodies.app";
|
|
53
|
-
readonly isArchive: true;
|
|
54
|
-
readonly getLogsIsUsable: true;
|
|
55
|
-
readonly getLogsMaxBlockRange: 40000n;
|
|
56
|
-
}, {
|
|
57
|
-
readonly url: "https://optimism.blockpi.network/v1/rpc/public";
|
|
58
|
-
readonly isArchive: true;
|
|
59
|
-
readonly getLogsIsUsable: true;
|
|
60
|
-
readonly getLogsMaxBlockRange: 1024n;
|
|
61
|
-
}, {
|
|
62
|
-
readonly url: "https://endpoints.omniatech.io/v1/op/mainnet/public";
|
|
63
|
-
readonly isArchive: true;
|
|
64
|
-
readonly getLogsIsUsable: true;
|
|
65
|
-
readonly getLogsMaxBlockRange: 3000n;
|
|
66
|
-
}, {
|
|
67
|
-
readonly url: "https://optimism.api.onfinality.io/public";
|
|
68
|
-
readonly isArchive: true;
|
|
69
|
-
readonly getLogsIsUsable: true;
|
|
70
|
-
readonly getLogsMaxBlockRange: 2000n;
|
|
71
|
-
}, {
|
|
72
|
-
readonly url: "https://rpc.optimism.gateway.fm";
|
|
73
|
-
readonly isArchive: true;
|
|
74
|
-
readonly getLogsIsUsable: true;
|
|
75
|
-
readonly getLogsMaxBlockRange: 4000n;
|
|
76
|
-
}, {
|
|
77
|
-
readonly url: "https://optimism.publicnode.com";
|
|
78
|
-
readonly isArchive: true;
|
|
79
|
-
readonly getLogsIsUsable: true;
|
|
80
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
81
|
-
}, {
|
|
82
|
-
readonly url: "https://optimism.meowrpc.com";
|
|
83
|
-
readonly isArchive: false;
|
|
84
|
-
readonly getLogsIsUsable: false;
|
|
85
|
-
readonly getLogsMaxBlockRange: 0n;
|
|
86
|
-
}, {
|
|
87
|
-
readonly url: "https://optimism.drpc.org";
|
|
88
|
-
readonly isArchive: true;
|
|
89
|
-
readonly getLogsIsUsable: true;
|
|
90
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
91
|
-
}, {
|
|
92
|
-
readonly url: "https://optimism.gateway.tenderly.co";
|
|
93
|
-
readonly isArchive: true;
|
|
94
|
-
readonly getLogsIsUsable: true;
|
|
95
|
-
readonly getLogsMaxBlockRange: 40000n;
|
|
96
|
-
}, {
|
|
97
|
-
readonly url: "https://gateway.tenderly.co/public/optimism";
|
|
98
|
-
readonly isArchive: true;
|
|
99
|
-
readonly getLogsIsUsable: true;
|
|
100
|
-
readonly getLogsMaxBlockRange: 40000n;
|
|
101
|
-
}];
|
|
102
|
-
export declare const optimismWebsocketRpcUrls: readonly ["wss://optimism.publicnode.com"];
|
|
36
|
+
export declare const optimismHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const optimismWebsocketRpcUrls: readonly string[];
|
|
103
38
|
export {};
|
|
104
39
|
//# sourceMappingURL=optimism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,iBAAkB,MAAM,KAAG,KAYvD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB,EAAE,SAAS,OAAO,EA+E9C,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAErD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
export declare const createPolygonPosChain: (polygonscanApiKey: string) => Chain;
|
|
5
5
|
type CreatePolygonPosChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
6
6
|
readonly client: TClient;
|
|
@@ -33,52 +33,7 @@ export declare const createPolygonPosChainCustom: <const TClient extends Client,
|
|
|
33
33
|
readonly coingeckoId: "polygon-pos";
|
|
34
34
|
readonly defillamaId: "polygon";
|
|
35
35
|
};
|
|
36
|
-
export declare const polygonPosHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 1000n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://endpoints.omniatech.io/v1/matic/mainnet/public";
|
|
43
|
-
readonly isArchive: true;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
46
|
-
}, {
|
|
47
|
-
readonly url: "https://rpc-mainnet.matic.quiknode.pro";
|
|
48
|
-
readonly isArchive: true;
|
|
49
|
-
readonly getLogsIsUsable: true;
|
|
50
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
51
|
-
}, {
|
|
52
|
-
readonly url: "https://rpc.ankr.com/polygon";
|
|
53
|
-
readonly isArchive: true;
|
|
54
|
-
readonly getLogsIsUsable: true;
|
|
55
|
-
readonly getLogsMaxBlockRange: 3000n;
|
|
56
|
-
}, {
|
|
57
|
-
readonly url: "https://1rpc.io/matic";
|
|
58
|
-
readonly isArchive: true;
|
|
59
|
-
readonly getLogsIsUsable: true;
|
|
60
|
-
readonly getLogsMaxBlockRange: 10000n;
|
|
61
|
-
}, {
|
|
62
|
-
readonly url: "https://polygon.blockpi.network/v1/rpc/public";
|
|
63
|
-
readonly isArchive: true;
|
|
64
|
-
readonly getLogsIsUsable: true;
|
|
65
|
-
readonly getLogsMaxBlockRange: 1024n;
|
|
66
|
-
}, {
|
|
67
|
-
readonly url: "https://polygon.api.onfinality.io/public";
|
|
68
|
-
readonly isArchive: true;
|
|
69
|
-
readonly getLogsIsUsable: true;
|
|
70
|
-
readonly getLogsMaxBlockRange: 2000n;
|
|
71
|
-
}, {
|
|
72
|
-
readonly url: "https://polygon.gateway.tenderly.co";
|
|
73
|
-
readonly isArchive: true;
|
|
74
|
-
readonly getLogsIsUsable: true;
|
|
75
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
76
|
-
}, {
|
|
77
|
-
readonly url: "https://gateway.tenderly.co/public/polygon";
|
|
78
|
-
readonly isArchive: true;
|
|
79
|
-
readonly getLogsIsUsable: true;
|
|
80
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
81
|
-
}];
|
|
82
|
-
export declare const polygonPosWebsocketRpcUrls: readonly ["wss://polygon-bor.publicnode.com"];
|
|
36
|
+
export declare const polygonPosHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const polygonPosWebsocketRpcUrls: readonly string[];
|
|
83
38
|
export {};
|
|
84
39
|
//# sourceMappingURL=polygonPos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polygonPos.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polygonPos.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"polygonPos.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polygonPos.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,qBAAqB,sBAAuB,MAAM,KAAG,KAY9D,CAAA;AAEJ,KAAK,+BAA+B,CAClC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpC,CAAA;AAEJ,eAAO,MAAM,kBAAkB,EAAE,SAAS,OAAO,EA6DhD,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,SAAS,MAAM,EAEvD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client } from '../../clients';
|
|
2
2
|
import type { Explorer } from '../../explorers';
|
|
3
|
-
import type { Chain } from '../types';
|
|
3
|
+
import type { Chain, HttpRpc } from '../types';
|
|
4
4
|
type CreateRoninChainParameters<TClient extends Client, TExplorer extends Explorer> = {
|
|
5
5
|
readonly client: TClient;
|
|
6
6
|
readonly explorer: TExplorer;
|
|
@@ -33,17 +33,7 @@ export declare const createRoninChainCustom: <const TClient extends Client, cons
|
|
|
33
33
|
readonly coingeckoId: "ronin";
|
|
34
34
|
readonly defillamaId: "ronin";
|
|
35
35
|
};
|
|
36
|
-
export declare const roninHttpRpcs: readonly [
|
|
37
|
-
|
|
38
|
-
readonly isArchive: true;
|
|
39
|
-
readonly getLogsIsUsable: true;
|
|
40
|
-
readonly getLogsMaxBlockRange: 200n;
|
|
41
|
-
}, {
|
|
42
|
-
readonly url: "https://ronin.lgns.net/rpc";
|
|
43
|
-
readonly isArchive: false;
|
|
44
|
-
readonly getLogsIsUsable: true;
|
|
45
|
-
readonly getLogsMaxBlockRange: 20000n;
|
|
46
|
-
}];
|
|
47
|
-
export declare const roninWebsocketRpcUrls: readonly [];
|
|
36
|
+
export declare const roninHttpRpcs: readonly HttpRpc[];
|
|
37
|
+
export declare const roninWebsocketRpcUrls: readonly string[];
|
|
48
38
|
export {};
|
|
49
39
|
//# sourceMappingURL=ronin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ronin.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ronin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"ronin.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ronin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,gBAAgB,mBACX,MAAM,kBACN,MAAM,KACrB,KAaC,CAAA;AAEJ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa,EAAE,SAAS,OAAO,EAa3C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAO,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const baseCoinsUrl
|
|
1
|
+
export declare const baseCoinsUrl = "https://coins.llama.fi";
|
|
2
2
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../chains/externals/defillama/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../chains/externals/defillama/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,2BAA2B,CAAA"}
|
package/_types/index.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ export { getTransactionDetail } from './getTransactionDetail';
|
|
|
14
14
|
export { getTransactionFull, getTransactionFullCustom, } from './getTransactionFull';
|
|
15
15
|
export { isHex, parsedLogSchema, toLowerHex } from './types';
|
|
16
16
|
export type { Erc1155Token, Erc1155Transfer, Erc20Token, Erc20Transfer, Erc721Token, Erc721Transfer, EvmAccount, Hex, InputData, InternalTransaction, LogData, LowerHex, TransactionDecoded, TransactionDetail, TransactionFull, TransactionSource, } from './types';
|
|
17
|
+
export { createEvmActionSource, createEvmAddressId } from './utils';
|
|
17
18
|
//# sourceMappingURL=index.d.ts.map
|
package/_types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,eAAe,EACf,QAAQ,EACR,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,YAAY,CAAA;AACnB,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChF,YAAY,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACtB,8BAA8B,EAC9B,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,GACtB,MAAM,UAAU,CAAA;AACjB,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EACL,OAAO,EACP,8BAA8B,EAC9B,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAClB,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,mBAAmB,GACpB,MAAM,aAAa,CAAA;AACpB,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EACL,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC5D,YAAY,EACV,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,cAAc,EACd,UAAU,EACV,GAAG,EACH,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,eAAe,EACf,QAAQ,EACR,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,YAAY,CAAA;AACnB,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChF,YAAY,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACtB,8BAA8B,EAC9B,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,GACtB,MAAM,UAAU,CAAA;AACjB,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EACL,OAAO,EACP,8BAA8B,EAC9B,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAClB,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,mBAAmB,GACpB,MAAM,aAAa,CAAA;AACpB,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EACL,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC5D,YAAY,EACV,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,cAAc,EACd,UAAU,EACV,GAAG,EACH,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA"}
|
package/_types/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { bigIntMax, bigIntMin } from './bigint';
|
|
2
|
-
export { createEvmAddressId } from './create';
|
|
2
|
+
export { createEvmActionSource, createEvmAddressId } from './create';
|
|
3
3
|
export { checkTimeout } from './timeout';
|
|
4
4
|
export type { Prettify } from './types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -53,7 +53,7 @@ export const createArbitrumOneChainCustom = <
|
|
|
53
53
|
defillamaId: 'arbitrum',
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
-
export const arbitrumOneHttpRpcs = [
|
|
56
|
+
export const arbitrumOneHttpRpcs: readonly HttpRpc[] = [
|
|
57
57
|
{
|
|
58
58
|
url: 'https://arbitrum.llamarpc.com',
|
|
59
59
|
isArchive: true,
|
|
@@ -126,8 +126,8 @@ export const arbitrumOneHttpRpcs = [
|
|
|
126
126
|
getLogsIsUsable: true,
|
|
127
127
|
getLogsMaxBlockRange: 40_000n,
|
|
128
128
|
},
|
|
129
|
-
]
|
|
129
|
+
]
|
|
130
130
|
|
|
131
|
-
export const arbitrumOneWebsocketRpcUrls = [
|
|
131
|
+
export const arbitrumOneWebsocketRpcUrls: readonly string[] = [
|
|
132
132
|
'wss://arbitrum-one.publicnode.com',
|
|
133
|
-
]
|
|
133
|
+
]
|
|
@@ -52,7 +52,7 @@ export const createAstarChainCustom = <
|
|
|
52
52
|
defillamaId: 'astar',
|
|
53
53
|
})
|
|
54
54
|
|
|
55
|
-
export const astarHttpRpcs = [
|
|
55
|
+
export const astarHttpRpcs: readonly HttpRpc[] = [
|
|
56
56
|
{
|
|
57
57
|
url: 'https://evm.astar.network/',
|
|
58
58
|
isArchive: true,
|
|
@@ -83,11 +83,11 @@ export const astarHttpRpcs = [
|
|
|
83
83
|
getLogsIsUsable: false,
|
|
84
84
|
getLogsMaxBlockRange: 0n,
|
|
85
85
|
},
|
|
86
|
-
]
|
|
86
|
+
]
|
|
87
87
|
|
|
88
|
-
export const astarWebsocketRpcUrls = [
|
|
88
|
+
export const astarWebsocketRpcUrls: readonly string[] = [
|
|
89
89
|
'wss://rpc.astar.network',
|
|
90
90
|
'wss://astar.public.blastapi.io',
|
|
91
91
|
'wss://astar.api.onfinality.io/public-ws',
|
|
92
92
|
'wss://astar-rpc.dwellir.com',
|
|
93
|
-
]
|
|
93
|
+
]
|
|
@@ -53,7 +53,7 @@ export const createAvalancheCChainCustom = <
|
|
|
53
53
|
defillamaId: 'avax',
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
-
export const avalancheCHttpRpcs = [
|
|
56
|
+
export const avalancheCHttpRpcs: readonly HttpRpc[] = [
|
|
57
57
|
{
|
|
58
58
|
url: 'https://api.avax.network/ext/bc/C/rpc',
|
|
59
59
|
isArchive: true,
|
|
@@ -108,8 +108,8 @@ export const avalancheCHttpRpcs = [
|
|
|
108
108
|
getLogsIsUsable: true,
|
|
109
109
|
getLogsMaxBlockRange: 2048n,
|
|
110
110
|
},
|
|
111
|
-
]
|
|
111
|
+
]
|
|
112
112
|
|
|
113
|
-
export const avalancheCWebsocketRpcUrls = [
|
|
113
|
+
export const avalancheCWebsocketRpcUrls: readonly string[] = [
|
|
114
114
|
'wss://avalanche-c-chain.publicnode.com',
|
|
115
|
-
]
|
|
115
|
+
]
|
|
@@ -53,7 +53,7 @@ export const createBaseChainCustom = <
|
|
|
53
53
|
defillamaId: 'base',
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
-
export const baseHttpRpcs = [
|
|
56
|
+
export const baseHttpRpcs: readonly HttpRpc[] = [
|
|
57
57
|
{
|
|
58
58
|
url: 'https://mainnet.base.org',
|
|
59
59
|
isArchive: true,
|
|
@@ -120,6 +120,8 @@ export const baseHttpRpcs = [
|
|
|
120
120
|
getLogsIsUsable: false,
|
|
121
121
|
getLogsMaxBlockRange: 0n,
|
|
122
122
|
},
|
|
123
|
-
]
|
|
123
|
+
]
|
|
124
124
|
|
|
125
|
-
export const baseWebsocketRpcUrls
|
|
125
|
+
export const baseWebsocketRpcUrls: readonly string[] = [
|
|
126
|
+
'wss://base.publicnode.com',
|
|
127
|
+
]
|
|
@@ -50,7 +50,7 @@ export const createBscChainCustom = <
|
|
|
50
50
|
defillamaId: 'bsc',
|
|
51
51
|
})
|
|
52
52
|
|
|
53
|
-
export const bscHttpRpcs = [
|
|
53
|
+
export const bscHttpRpcs: readonly HttpRpc[] = [
|
|
54
54
|
{
|
|
55
55
|
url: 'https://bsc-dataseed.bnbchain.org/',
|
|
56
56
|
isArchive: true,
|
|
@@ -177,6 +177,8 @@ export const bscHttpRpcs = [
|
|
|
177
177
|
getLogsIsUsable: true,
|
|
178
178
|
getLogsMaxBlockRange: 5000n,
|
|
179
179
|
},
|
|
180
|
-
]
|
|
180
|
+
]
|
|
181
181
|
|
|
182
|
-
export const bscWebsocketRpcUrls
|
|
182
|
+
export const bscWebsocketRpcUrls: readonly string[] = [
|
|
183
|
+
'wss://bsc.publicnode.com',
|
|
184
|
+
]
|
|
@@ -53,7 +53,7 @@ export const createEthereumChainCustom = <
|
|
|
53
53
|
defillamaId: 'ethereum',
|
|
54
54
|
})
|
|
55
55
|
|
|
56
|
-
export const ethereumHttpRpcs = [
|
|
56
|
+
export const ethereumHttpRpcs: readonly HttpRpc[] = [
|
|
57
57
|
{
|
|
58
58
|
url: 'https://endpoints.omniatech.io/v1/eth/mainnet/public',
|
|
59
59
|
isArchive: true,
|
|
@@ -162,8 +162,8 @@ export const ethereumHttpRpcs = [
|
|
|
162
162
|
getLogsIsUsable: true,
|
|
163
163
|
getLogsMaxBlockRange: 20_000n,
|
|
164
164
|
},
|
|
165
|
-
]
|
|
165
|
+
]
|
|
166
166
|
|
|
167
|
-
export const ethereumWebsocketRpcUrls = [
|
|
167
|
+
export const ethereumWebsocketRpcUrls: readonly string[] = [
|
|
168
168
|
'wss://ethereum.publicnode.com',
|
|
169
|
-
]
|
|
169
|
+
]
|