@1delta/providers 0.0.3 → 0.0.5
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/evm.d.ts +40 -2
- package/dist/evm.d.ts.map +1 -1
- package/dist/evm.js +246 -187
- package/dist/index.js +17 -1
- package/package.json +2 -1
- package/src/evm.ts +208 -158
- package/tsconfig.json +16 -20
package/dist/evm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PublicClient } from
|
|
1
|
+
import { PublicClient } from 'viem';
|
|
2
2
|
export declare const crossfi: {
|
|
3
3
|
blockExplorers: {
|
|
4
4
|
readonly default: {
|
|
@@ -24,6 +24,7 @@ export declare const crossfi: {
|
|
|
24
24
|
readonly name: "XFI";
|
|
25
25
|
readonly symbol: "XFI";
|
|
26
26
|
};
|
|
27
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
27
28
|
rpcUrls: {
|
|
28
29
|
readonly default: {
|
|
29
30
|
readonly http: readonly ["https://rpc.mainnet.ms/"];
|
|
@@ -58,6 +59,7 @@ export declare const botanix: {
|
|
|
58
59
|
readonly name: "BTC";
|
|
59
60
|
readonly symbol: "BTC";
|
|
60
61
|
};
|
|
62
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
61
63
|
rpcUrls: {
|
|
62
64
|
readonly default: {
|
|
63
65
|
readonly http: readonly ["https://rpc.ankr.com/botanix_mainnet", "https://rpc.botanixlabs.com"];
|
|
@@ -70,6 +72,41 @@ export declare const botanix: {
|
|
|
70
72
|
formatters?: undefined;
|
|
71
73
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
72
74
|
};
|
|
75
|
+
export declare const hyperEvm: {
|
|
76
|
+
blockExplorers: {
|
|
77
|
+
readonly default: {
|
|
78
|
+
readonly name: "Explorer";
|
|
79
|
+
readonly url: "https://hypurrscan.io/";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
blockTime?: number | undefined | undefined;
|
|
83
|
+
contracts: {
|
|
84
|
+
readonly multicall3: {
|
|
85
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
86
|
+
readonly blockCreated: 1;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
ensTlds?: readonly string[] | undefined;
|
|
90
|
+
id: 999;
|
|
91
|
+
name: "Hyper EVM";
|
|
92
|
+
nativeCurrency: {
|
|
93
|
+
readonly decimals: 18;
|
|
94
|
+
readonly name: "HYPE";
|
|
95
|
+
readonly symbol: "HYPE";
|
|
96
|
+
};
|
|
97
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
98
|
+
rpcUrls: {
|
|
99
|
+
readonly default: {
|
|
100
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
sourceId?: number | undefined | undefined;
|
|
104
|
+
testnet?: boolean | undefined | undefined;
|
|
105
|
+
custom?: Record<string, unknown> | undefined;
|
|
106
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
107
|
+
formatters?: undefined;
|
|
108
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
109
|
+
};
|
|
73
110
|
export declare const GraphLinq: {
|
|
74
111
|
blockExplorers: {
|
|
75
112
|
readonly default: {
|
|
@@ -95,6 +132,7 @@ export declare const GraphLinq: {
|
|
|
95
132
|
readonly name: "GLQ";
|
|
96
133
|
readonly symbol: "GLQ";
|
|
97
134
|
};
|
|
135
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
98
136
|
rpcUrls: {
|
|
99
137
|
readonly default: {
|
|
100
138
|
readonly http: readonly ["https://glq-dataseed.graphlinq.io"];
|
|
@@ -114,5 +152,5 @@ export declare function createMulticallRetry(customRpcs?: {
|
|
|
114
152
|
export declare function getEvmClientWithCustomRpcs(chain: string, rpcId?: number, customRpcs?: {
|
|
115
153
|
[chainId: string]: string[];
|
|
116
154
|
}): PublicClient;
|
|
117
|
-
export declare function multicallRetry(chain: string, calls: any[], abi: any, batchSize?: number, maxRetries?: number, providerId?: number): Promise<any[]>;
|
|
155
|
+
export declare function multicallRetry(chain: string, calls: any[], abi: any, batchSize?: number, maxRetries?: number, providerId?: number, allowFailure?: boolean, overrdies?: any): Promise<any[]>;
|
|
118
156
|
//# sourceMappingURL=evm.d.ts.map
|
package/dist/evm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../src/evm.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyC,YAAY,EAAE,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../src/evm.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyC,YAAY,EAAE,MAAM,MAAM,CAAA;AAiE1E,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAA;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAA;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAA;AA2OF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,YAAY,CAiBnE;AAID,wBAAgB,oBAAoB,CAAC,UAAU,CAAC,EAAE;IAChD,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC5B,IAEG,OAAO,MAAM,EACb,OAAO,GAAG,EAAE,EACZ,KAAK,GAAG,EACR,kBAA8B,EAC9B,mBAAc,EACd,mBAAc,EACd,sBAAmB,oBAoCtB;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,MAAM,EACb,KAAK,SAAI,EACT,UAAU,CAAC,EAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,GAC3C,YAAY,CAsCd;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,GAAG,EAAE,EACZ,GAAG,EAAE,GAAG,EACR,SAAS,SAAqB,EAC9B,UAAU,SAAI,EACd,UAAU,SAAI,EACd,YAAY,UAAQ,EACpB,SAAS,GAAE,GAAoB,kBAYhC"}
|