@pancakeswap/multicall 3.5.7 → 3.5.8
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.
|
@@ -6,17 +6,75 @@ type Params = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare function getMulticallContract({ chainId, client }: Params): {
|
|
8
8
|
read: {
|
|
9
|
-
[x: string]: (...parameters: [options?: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
[x: string]: (...parameters: [options?: import("viem/_types/types/utils").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<{
|
|
10
|
+
inputs: ({
|
|
11
|
+
components: {
|
|
12
|
+
internalType: string;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}[];
|
|
16
|
+
internalType: string;
|
|
17
|
+
name: string;
|
|
18
|
+
type: string;
|
|
19
|
+
} | {
|
|
20
|
+
internalType: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
components?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
name: string;
|
|
26
|
+
outputs: ({
|
|
27
|
+
internalType: string;
|
|
28
|
+
name: string;
|
|
29
|
+
type: string;
|
|
30
|
+
components?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
components: {
|
|
33
|
+
internalType: string;
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}[];
|
|
37
|
+
internalType: string;
|
|
38
|
+
name: string;
|
|
39
|
+
type: string;
|
|
40
|
+
})[];
|
|
41
|
+
stateMutability: string;
|
|
42
|
+
type: string;
|
|
43
|
+
}[], string, readonly unknown[]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly unknown[], options?: import("viem/_types/types/utils").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<{
|
|
44
|
+
inputs: ({
|
|
45
|
+
components: {
|
|
46
|
+
internalType: string;
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
}[];
|
|
50
|
+
internalType: string;
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
} | {
|
|
54
|
+
internalType: string;
|
|
55
|
+
name: string;
|
|
56
|
+
type: string;
|
|
57
|
+
components?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
name: string;
|
|
60
|
+
outputs: ({
|
|
61
|
+
internalType: string;
|
|
62
|
+
name: string;
|
|
63
|
+
type: string;
|
|
64
|
+
components?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
components: {
|
|
67
|
+
internalType: string;
|
|
68
|
+
name: string;
|
|
69
|
+
type: string;
|
|
70
|
+
}[];
|
|
71
|
+
internalType: string;
|
|
72
|
+
name: string;
|
|
73
|
+
type: string;
|
|
74
|
+
})[];
|
|
75
|
+
stateMutability: string;
|
|
76
|
+
type: string;
|
|
77
|
+
}[], string, readonly unknown[]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<unknown>;
|
|
20
78
|
};
|
|
21
79
|
estimateGas: {
|
|
22
80
|
[x: string]: (...parameters: [options: import("viem/_types/types/utils").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMulticallContract.d.ts","sourceRoot":"","sources":["../src/getMulticallContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,YAAY,EAAe,MAAM,MAAM,CAAA;AAKzD,KAAK,MAAM,GAAG;IACZ,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"getMulticallContract.d.ts","sourceRo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
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"module": "dist/index.mjs",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"viem": "2.
|
|
12
|
+
"viem": "^2.17.3",
|
|
13
13
|
"@pancakeswap/chains": "0.4.6",
|
|
14
|
-
"@pancakeswap/sdk": "5.8.
|
|
14
|
+
"@pancakeswap/sdk": "5.8.8"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"tsup": "^6.7.0",
|