@ssv-labs/ssv-sdk 0.1.1 → 0.1.2
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/api/subgraph/index.d.ts +4 -4
- package/dist/config/chains.d.ts +8 -8
- package/dist/{globals-DlonCtsi.mjs → globals-CDOcDUnk.mjs} +3 -5
- package/dist/{globals-CkyOvtF5.js → globals-DsaKgq3v.js} +3 -5
- package/dist/libs/operator/index.d.ts +20 -20
- package/dist/libs/utils/index.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.mjs +2 -2
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +16 -18
|
@@ -32,7 +32,7 @@ export declare const getOperator: (client: GraphQLClient, args: GetOperatorQuery
|
|
|
32
32
|
id: string;
|
|
33
33
|
validatorCount: string;
|
|
34
34
|
isPrivate: boolean;
|
|
35
|
-
whitelistedContract: import('
|
|
35
|
+
whitelistedContract: import('viem').Address;
|
|
36
36
|
} | null>;
|
|
37
37
|
export declare const getOperators: (client: GraphQLClient, args: GetOperatorsQueryVariables) => Promise<{
|
|
38
38
|
publicKey: string;
|
|
@@ -40,13 +40,13 @@ export declare const getOperators: (client: GraphQLClient, args: GetOperatorsQue
|
|
|
40
40
|
id: string;
|
|
41
41
|
validatorCount: string;
|
|
42
42
|
isPrivate: boolean;
|
|
43
|
-
whitelistedContract: import('
|
|
43
|
+
whitelistedContract: import('viem').Address;
|
|
44
44
|
}[]>;
|
|
45
45
|
export declare const getValidators: (client: GraphQLClient, args: GetValidatorsQueryVariables) => Promise<{
|
|
46
|
-
id: import('
|
|
46
|
+
id: import('viem').Address;
|
|
47
47
|
}[]>;
|
|
48
48
|
export declare const getValidator: (client: GraphQLClient, args: GetValidatorQueryVariables) => Promise<{
|
|
49
|
-
id: import('
|
|
49
|
+
id: import('viem').Address;
|
|
50
50
|
} | null | undefined>;
|
|
51
51
|
export declare const getClusterBalance: (client: GraphQLClient, args: GetClusterBalanceQueryVariables) => Promise<import('../../graphql/graphql').GetClusterBalanceQuery>;
|
|
52
52
|
export declare const getQueries: (client: GraphQLClient) => {
|
package/dist/config/chains.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const hoodi: {
|
|
|
20
20
|
ensRegistry?: import('viem').ChainContract | undefined;
|
|
21
21
|
ensUniversalResolver?: import('viem').ChainContract | undefined;
|
|
22
22
|
multicall3?: import('viem').ChainContract | undefined;
|
|
23
|
-
|
|
23
|
+
erc6492Verifier?: import('viem').ChainContract | undefined;
|
|
24
24
|
} | undefined;
|
|
25
25
|
ensTlds?: readonly string[] | undefined;
|
|
26
26
|
id: 560048;
|
|
@@ -30,6 +30,7 @@ export declare const hoodi: {
|
|
|
30
30
|
readonly symbol: "ETH";
|
|
31
31
|
readonly decimals: 18;
|
|
32
32
|
};
|
|
33
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
33
34
|
rpcUrls: {
|
|
34
35
|
readonly default: {
|
|
35
36
|
readonly http: readonly ["https://rpc.hoodi.ethpandaops.io"];
|
|
@@ -51,14 +52,11 @@ export declare const chains: {
|
|
|
51
52
|
readonly apiUrl: "https://api.etherscan.io/api";
|
|
52
53
|
};
|
|
53
54
|
};
|
|
54
|
-
blockTime
|
|
55
|
+
blockTime: 12000;
|
|
55
56
|
contracts: {
|
|
56
|
-
readonly ensRegistry: {
|
|
57
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
58
|
-
};
|
|
59
57
|
readonly ensUniversalResolver: {
|
|
60
|
-
readonly address: "
|
|
61
|
-
readonly blockCreated:
|
|
58
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
59
|
+
readonly blockCreated: 23085558;
|
|
62
60
|
};
|
|
63
61
|
readonly multicall3: {
|
|
64
62
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -73,6 +71,7 @@ export declare const chains: {
|
|
|
73
71
|
readonly symbol: "ETH";
|
|
74
72
|
readonly decimals: 18;
|
|
75
73
|
};
|
|
74
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
76
75
|
rpcUrls: {
|
|
77
76
|
readonly default: {
|
|
78
77
|
readonly http: readonly ["https://eth.merkle.io"];
|
|
@@ -106,7 +105,7 @@ export declare const chains: {
|
|
|
106
105
|
ensRegistry?: import('viem').ChainContract | undefined;
|
|
107
106
|
ensUniversalResolver?: import('viem').ChainContract | undefined;
|
|
108
107
|
multicall3?: import('viem').ChainContract | undefined;
|
|
109
|
-
|
|
108
|
+
erc6492Verifier?: import('viem').ChainContract | undefined;
|
|
110
109
|
} | undefined;
|
|
111
110
|
ensTlds?: readonly string[] | undefined;
|
|
112
111
|
id: 560048;
|
|
@@ -116,6 +115,7 @@ export declare const chains: {
|
|
|
116
115
|
readonly symbol: "ETH";
|
|
117
116
|
readonly decimals: 18;
|
|
118
117
|
};
|
|
118
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
119
119
|
rpcUrls: {
|
|
120
120
|
readonly default: {
|
|
121
121
|
readonly http: readonly ["https://rpc.hoodi.ethpandaops.io"];
|
|
@@ -59,6 +59,7 @@ const mainnet = /* @__PURE__ */ defineChain({
|
|
|
59
59
|
id: 1,
|
|
60
60
|
name: "Ethereum",
|
|
61
61
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
62
|
+
blockTime: 12e3,
|
|
62
63
|
rpcUrls: {
|
|
63
64
|
default: {
|
|
64
65
|
http: ["https://eth.merkle.io"]
|
|
@@ -72,12 +73,9 @@ const mainnet = /* @__PURE__ */ defineChain({
|
|
|
72
73
|
}
|
|
73
74
|
},
|
|
74
75
|
contracts: {
|
|
75
|
-
ensRegistry: {
|
|
76
|
-
address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
|
|
77
|
-
},
|
|
78
76
|
ensUniversalResolver: {
|
|
79
|
-
address: "
|
|
80
|
-
blockCreated:
|
|
77
|
+
address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee",
|
|
78
|
+
blockCreated: 23085558
|
|
81
79
|
},
|
|
82
80
|
multicall3: {
|
|
83
81
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
@@ -60,6 +60,7 @@ const mainnet = /* @__PURE__ */ defineChain({
|
|
|
60
60
|
id: 1,
|
|
61
61
|
name: "Ethereum",
|
|
62
62
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
63
|
+
blockTime: 12e3,
|
|
63
64
|
rpcUrls: {
|
|
64
65
|
default: {
|
|
65
66
|
http: ["https://eth.merkle.io"]
|
|
@@ -73,12 +74,9 @@ const mainnet = /* @__PURE__ */ defineChain({
|
|
|
73
74
|
}
|
|
74
75
|
},
|
|
75
76
|
contracts: {
|
|
76
|
-
ensRegistry: {
|
|
77
|
-
address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
|
|
78
|
-
},
|
|
79
77
|
ensUniversalResolver: {
|
|
80
|
-
address: "
|
|
81
|
-
blockCreated:
|
|
78
|
+
address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee",
|
|
79
|
+
blockCreated: 23085558
|
|
82
80
|
},
|
|
83
81
|
multicall3: {
|
|
84
82
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
@@ -22,9 +22,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
22
22
|
accessList?: import('viem').AccessList | undefined;
|
|
23
23
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
24
24
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
25
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
25
26
|
blockTag?: import('viem').BlockTag | undefined;
|
|
26
27
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
27
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
28
28
|
dataSuffix?: `0x${string}` | undefined;
|
|
29
29
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
30
30
|
eventName: "AdminChanged";
|
|
@@ -314,9 +314,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
314
314
|
accessList?: import('viem').AccessList | undefined;
|
|
315
315
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
316
316
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
317
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
317
318
|
blockTag?: import('viem').BlockTag | undefined;
|
|
318
319
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
319
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
320
320
|
dataSuffix?: `0x${string}` | undefined;
|
|
321
321
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperator">;
|
|
322
322
|
getTransactionData: (props: {
|
|
@@ -344,9 +344,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
344
344
|
accessList?: import('viem').AccessList | undefined;
|
|
345
345
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
346
346
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
347
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
347
348
|
blockTag?: import('viem').BlockTag | undefined;
|
|
348
349
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
349
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
350
350
|
dataSuffix?: `0x${string}` | undefined;
|
|
351
351
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
352
352
|
eventName: "AdminChanged";
|
|
@@ -637,9 +637,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
637
637
|
accessList?: import('viem').AccessList | undefined;
|
|
638
638
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
639
639
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
640
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
640
641
|
blockTag?: import('viem').BlockTag | undefined;
|
|
641
642
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
642
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
643
643
|
dataSuffix?: `0x${string}` | undefined;
|
|
644
644
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsWhitelists">;
|
|
645
645
|
getTransactionData: (props: {
|
|
@@ -667,9 +667,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
667
667
|
accessList?: import('viem').AccessList | undefined;
|
|
668
668
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
669
669
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
670
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
670
671
|
blockTag?: import('viem').BlockTag | undefined;
|
|
671
672
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
672
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
673
673
|
dataSuffix?: `0x${string}` | undefined;
|
|
674
674
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
675
675
|
eventName: "AdminChanged";
|
|
@@ -960,9 +960,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
960
960
|
accessList?: import('viem').AccessList | undefined;
|
|
961
961
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
962
962
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
963
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
963
964
|
blockTag?: import('viem').BlockTag | undefined;
|
|
964
965
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
965
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
966
966
|
dataSuffix?: `0x${string}` | undefined;
|
|
967
967
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperatorsWhitelists">;
|
|
968
968
|
getTransactionData: (props: {
|
|
@@ -989,9 +989,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
989
989
|
accessList?: import('viem').AccessList | undefined;
|
|
990
990
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
991
991
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
992
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
992
993
|
blockTag?: import('viem').BlockTag | undefined;
|
|
993
994
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
994
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
995
995
|
dataSuffix?: `0x${string}` | undefined;
|
|
996
996
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
997
997
|
eventName: "AdminChanged";
|
|
@@ -1281,9 +1281,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1281
1281
|
accessList?: import('viem').AccessList | undefined;
|
|
1282
1282
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1283
1283
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1284
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1284
1285
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1285
1286
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1286
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1287
1287
|
dataSuffix?: `0x${string}` | undefined;
|
|
1288
1288
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsPrivateUnchecked">;
|
|
1289
1289
|
getTransactionData: (props: {
|
|
@@ -1309,9 +1309,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1309
1309
|
accessList?: import('viem').AccessList | undefined;
|
|
1310
1310
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1311
1311
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1312
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1312
1313
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1313
1314
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1314
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1315
1315
|
dataSuffix?: `0x${string}` | undefined;
|
|
1316
1316
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
1317
1317
|
eventName: "AdminChanged";
|
|
@@ -1601,9 +1601,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1601
1601
|
accessList?: import('viem').AccessList | undefined;
|
|
1602
1602
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1603
1603
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1604
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1604
1605
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1605
1606
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1606
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1607
1607
|
dataSuffix?: `0x${string}` | undefined;
|
|
1608
1608
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsPublicUnchecked">;
|
|
1609
1609
|
getTransactionData: (props: {
|
|
@@ -1631,9 +1631,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1631
1631
|
accessList?: import('viem').AccessList | undefined;
|
|
1632
1632
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1633
1633
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1634
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1634
1635
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1635
1636
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1636
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1637
1637
|
dataSuffix?: `0x${string}` | undefined;
|
|
1638
1638
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
1639
1639
|
eventName: "AdminChanged";
|
|
@@ -1924,9 +1924,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1924
1924
|
accessList?: import('viem').AccessList | undefined;
|
|
1925
1925
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1926
1926
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1927
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1927
1928
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1928
1929
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1929
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1930
1930
|
dataSuffix?: `0x${string}` | undefined;
|
|
1931
1931
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperatorsWhitelists">;
|
|
1932
1932
|
getTransactionData: (props: {
|
|
@@ -1954,9 +1954,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1954
1954
|
accessList?: import('viem').AccessList | undefined;
|
|
1955
1955
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
1956
1956
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
1957
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1957
1958
|
blockTag?: import('viem').BlockTag | undefined;
|
|
1958
1959
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
1959
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
1960
1960
|
dataSuffix?: `0x${string}` | undefined;
|
|
1961
1961
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
1962
1962
|
eventName: "AdminChanged";
|
|
@@ -2247,9 +2247,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2247
2247
|
accessList?: import('viem').AccessList | undefined;
|
|
2248
2248
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2249
2249
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2250
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2250
2251
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2251
2252
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2252
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2253
2253
|
dataSuffix?: `0x${string}` | undefined;
|
|
2254
2254
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "declareOperatorFee">;
|
|
2255
2255
|
getTransactionData: (props: {
|
|
@@ -2276,9 +2276,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2276
2276
|
accessList?: import('viem').AccessList | undefined;
|
|
2277
2277
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2278
2278
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2279
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2279
2280
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2280
2281
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2281
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2282
2282
|
dataSuffix?: `0x${string}` | undefined;
|
|
2283
2283
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
2284
2284
|
eventName: "AdminChanged";
|
|
@@ -2568,9 +2568,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2568
2568
|
accessList?: import('viem').AccessList | undefined;
|
|
2569
2569
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2570
2570
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2571
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2571
2572
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2572
2573
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2573
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2574
2574
|
dataSuffix?: `0x${string}` | undefined;
|
|
2575
2575
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "executeOperatorFee">;
|
|
2576
2576
|
getTransactionData: (props: {
|
|
@@ -2596,9 +2596,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2596
2596
|
accessList?: import('viem').AccessList | undefined;
|
|
2597
2597
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2598
2598
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2599
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2599
2600
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2600
2601
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2601
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2602
2602
|
dataSuffix?: `0x${string}` | undefined;
|
|
2603
2603
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
2604
2604
|
eventName: "AdminChanged";
|
|
@@ -2888,9 +2888,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2888
2888
|
accessList?: import('viem').AccessList | undefined;
|
|
2889
2889
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2890
2890
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2891
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2891
2892
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2892
2893
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2893
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2894
2894
|
dataSuffix?: `0x${string}` | undefined;
|
|
2895
2895
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "cancelDeclaredOperatorFee">;
|
|
2896
2896
|
getTransactionData: (props: {
|
|
@@ -2917,9 +2917,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2917
2917
|
accessList?: import('viem').AccessList | undefined;
|
|
2918
2918
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
2919
2919
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
2920
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2920
2921
|
blockTag?: import('viem').BlockTag | undefined;
|
|
2921
2922
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
2922
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
2923
2923
|
dataSuffix?: `0x${string}` | undefined;
|
|
2924
2924
|
}): import('../../contract-interactions/types').WriteReturnType<{
|
|
2925
2925
|
eventName: "AdminChanged";
|
|
@@ -3210,9 +3210,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3210
3210
|
accessList?: import('viem').AccessList | undefined;
|
|
3211
3211
|
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
3212
3212
|
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
3213
|
+
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
3213
3214
|
blockTag?: import('viem').BlockTag | undefined;
|
|
3214
3215
|
stateOverride?: import('viem').StateOverride | undefined;
|
|
3215
|
-
blockOverrides?: import('viem').BlockOverrides<bigint, number> | undefined;
|
|
3216
3216
|
dataSuffix?: `0x${string}` | undefined;
|
|
3217
3217
|
}) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "reduceOperatorFee">;
|
|
3218
3218
|
getTransactionData: (props: {
|
|
@@ -12,7 +12,7 @@ export declare const createUtils: (config: ConfigReturnType) => {
|
|
|
12
12
|
nonce: number;
|
|
13
13
|
}) => Promise<import('../ssv-keys/KeyShares/KeySharesData/KeySharesPayload').KeySharesPayload[]>;
|
|
14
14
|
validateKeysharesJSON: ({ account, operators, keyshares, }: {
|
|
15
|
-
account: import('
|
|
15
|
+
account: import('viem').Address;
|
|
16
16
|
operators: Pick<import('../../types/operator').Operator, "id" | "publicKey">[];
|
|
17
17
|
keyshares: string | object;
|
|
18
18
|
}) => Promise<import('../ssv-keys').KeySharesItem[]>;
|
package/dist/main.js
CHANGED
|
@@ -4,7 +4,7 @@ const require$$0 = require("fs");
|
|
|
4
4
|
const require$$1 = require("path");
|
|
5
5
|
const require$$2 = require("os");
|
|
6
6
|
const crypto$1 = require("crypto");
|
|
7
|
-
const globals = require("./globals-
|
|
7
|
+
const globals = require("./globals-DsaKgq3v.js");
|
|
8
8
|
const lodashEs = require("lodash-es");
|
|
9
9
|
const viem = require("viem");
|
|
10
10
|
const graphqlRequest = require("graphql-request");
|
package/dist/main.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import require$$0 from "fs";
|
|
|
2
2
|
import require$$1 from "path";
|
|
3
3
|
import require$$2 from "os";
|
|
4
4
|
import crypto$1 from "crypto";
|
|
5
|
-
import { E as decodeOperatorPublicKey, s as stringifyBigints, F as tryCatch, G as configArgsSchema, H as contracts, I as paid_graph_endpoints, J as graph_endpoints, L as rest_endpoints, j as getClusterSnapshot$1, m as isKeySharesItem, M as registerValidatorsByClusterSizeLimits, g as createClusterId, k as createEmptyCluster, r as roundOperatorFee, N as globals, b as bigintMax, t as ensureNoKeysharesErrors, p as ensureValidatorsUniqueness, q as validateConsistentOperatorPublicKeys, v as validateConsistentOperatorIds, C as sortNumbers, o as KeysharesValidationError, K as KeysharesValidationErrors } from "./globals-
|
|
6
|
-
import { Q, P, O, R } from "./globals-
|
|
5
|
+
import { E as decodeOperatorPublicKey, s as stringifyBigints, F as tryCatch, G as configArgsSchema, H as contracts, I as paid_graph_endpoints, J as graph_endpoints, L as rest_endpoints, j as getClusterSnapshot$1, m as isKeySharesItem, M as registerValidatorsByClusterSizeLimits, g as createClusterId, k as createEmptyCluster, r as roundOperatorFee, N as globals, b as bigintMax, t as ensureNoKeysharesErrors, p as ensureValidatorsUniqueness, q as validateConsistentOperatorPublicKeys, v as validateConsistentOperatorIds, C as sortNumbers, o as KeysharesValidationError, K as KeysharesValidationErrors } from "./globals-CDOcDUnk.mjs";
|
|
6
|
+
import { Q, P, O, R } from "./globals-CDOcDUnk.mjs";
|
|
7
7
|
import { isUndefined, isEqual } from "lodash-es";
|
|
8
8
|
import { decodeEventLog, encodeFunctionData, encodeAbiParameters, parseAbiParameters, isAddressEqual, zeroAddress } from "viem";
|
|
9
9
|
import { GraphQLClient } from "graphql-request";
|
package/dist/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const globals = require("./globals-
|
|
3
|
+
const globals = require("./globals-DsaKgq3v.js");
|
|
4
4
|
const waitForTransaction = async (config, fn) => {
|
|
5
5
|
const hash = await fn;
|
|
6
6
|
return config.publicClient.waitForTransactionReceipt({ hash });
|
package/dist/utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o, K, n, _, l, e, d, x, b, a, c, f, G, g, k, E, t, p, y, A, z, j, D, i, h, m, B, u, w, r, C, s, F, v, q } from "./globals-
|
|
1
|
+
import { o, K, n, _, l, e, d, x, b, a, c, f, G, g, k, E, t, p, y, A, z, j, D, i, h, m, B, u, w, r, C, s, F, v, q } from "./globals-CDOcDUnk.mjs";
|
|
2
2
|
const waitForTransaction = async (config, fn) => {
|
|
3
3
|
const hash = await fn;
|
|
4
4
|
return config.publicClient.waitForTransactionReceipt({ hash });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssv-labs/ssv-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"author": "SSV.Labs",
|
|
5
5
|
"description": "ssv labs sdk",
|
|
6
6
|
"keywords": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@0no-co/graphqlsp": "1.
|
|
58
|
+
"@0no-co/graphqlsp": "1.15.0",
|
|
59
59
|
"@chainsafe/bls-keystore": "3.1.0",
|
|
60
60
|
"@commitlint/cli": "19.8.1",
|
|
61
61
|
"@commitlint/config-conventional": "19.8.1",
|
|
@@ -65,24 +65,23 @@
|
|
|
65
65
|
"@graphql-codegen/typescript": "4.1.6",
|
|
66
66
|
"@graphql-codegen/typescript-graphql-request": "6.3.0",
|
|
67
67
|
"@graphql-codegen/typescript-operations": "4.6.1",
|
|
68
|
-
"@nomicfoundation/hardhat-toolbox": "
|
|
68
|
+
"@nomicfoundation/hardhat-toolbox": "6.0.0",
|
|
69
69
|
"@nomicfoundation/hardhat-viem": "2.0.6",
|
|
70
70
|
"@openzeppelin/contracts": "4.9.6",
|
|
71
71
|
"@openzeppelin/contracts-upgradeable": "4.9.6",
|
|
72
72
|
"@openzeppelin/hardhat-upgrades": "3.9.1",
|
|
73
73
|
"@parcel/watcher": "2.5.1",
|
|
74
|
-
"@release-it/conventional-changelog": "
|
|
74
|
+
"@release-it/conventional-changelog": "10.0.1",
|
|
75
75
|
"@rollup/plugin-alias": "5.1.1",
|
|
76
76
|
"@rollup/plugin-commonjs": "28.0.6",
|
|
77
77
|
"@rollup/plugin-json": "6.1.0",
|
|
78
|
-
"@rollup/plugin-node-resolve": "
|
|
78
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
79
79
|
"@rollup/plugin-terser": "0.4.4",
|
|
80
80
|
"@rollup/plugin-typescript": "11.1.6",
|
|
81
|
-
"@rollup/rollup-darwin-x64": "4.44.2",
|
|
82
81
|
"@types/eslint-plugin-prettier": "3.1.3",
|
|
83
82
|
"@types/lodash-es": "4.17.12",
|
|
84
|
-
"@types/node": "
|
|
85
|
-
"@types/node-forge": "1.3.
|
|
83
|
+
"@types/node": "22.17.0",
|
|
84
|
+
"@types/node-forge": "1.3.13",
|
|
86
85
|
"@types/semver": "7.7.0",
|
|
87
86
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
88
87
|
"@typescript-eslint/parser": "7.18.0",
|
|
@@ -90,17 +89,17 @@
|
|
|
90
89
|
"@vitest/ui": "1.6.1",
|
|
91
90
|
"commitizen": "4.3.1",
|
|
92
91
|
"concurrently": "9.2.0",
|
|
93
|
-
"cz-git": "1.
|
|
92
|
+
"cz-git": "1.12.0",
|
|
94
93
|
"eslint": "8.57.1",
|
|
95
|
-
"eslint-config-prettier": "9.1.
|
|
96
|
-
"eslint-plugin-prettier": "5.5.
|
|
94
|
+
"eslint-config-prettier": "9.1.2",
|
|
95
|
+
"eslint-plugin-prettier": "5.5.4",
|
|
97
96
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
98
|
-
"hardhat": "2.
|
|
97
|
+
"hardhat": "2.27.0",
|
|
99
98
|
"husky": "9.1.7",
|
|
100
99
|
"lint-staged": "15.5.2",
|
|
101
100
|
"prettier": "3.6.2",
|
|
102
|
-
"release-it": "
|
|
103
|
-
"rollup": "4.
|
|
101
|
+
"release-it": "19.0.6",
|
|
102
|
+
"rollup": "4.52.5",
|
|
104
103
|
"rollup-plugin-delete": "2.2.0",
|
|
105
104
|
"rollup-plugin-dts": "6.2.1",
|
|
106
105
|
"rollup-plugin-tsconfig-paths": "1.5.2",
|
|
@@ -108,10 +107,10 @@
|
|
|
108
107
|
"semantic-release": "23.1.1",
|
|
109
108
|
"semver": "7.7.2",
|
|
110
109
|
"typescript": "5.8.3",
|
|
111
|
-
"vite": "5.4.
|
|
110
|
+
"vite": "5.4.21",
|
|
112
111
|
"vite-plugin-dts": "4.5.4",
|
|
113
112
|
"vite-plugin-glob": "0.3.2",
|
|
114
|
-
"vite-plugin-node-polyfills": "0.
|
|
113
|
+
"vite-plugin-node-polyfills": "0.24.0",
|
|
115
114
|
"vitest": "1.6.1"
|
|
116
115
|
},
|
|
117
116
|
"config": {
|
|
@@ -123,9 +122,8 @@
|
|
|
123
122
|
"node": ">=22"
|
|
124
123
|
},
|
|
125
124
|
"dependencies": {
|
|
126
|
-
"@esbuild/darwin-x64": "0.21.5",
|
|
127
125
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
128
|
-
"@safe-global/protocol-kit": "^5.
|
|
126
|
+
"@safe-global/protocol-kit": "^5.2.18",
|
|
129
127
|
"abitype": "^1.0.6",
|
|
130
128
|
"bls-eth-wasm": "^1.4.0",
|
|
131
129
|
"class-validator": "^0.14.2",
|