@obolnetwork/obol-sdk 2.11.5-rc.2 → 2.11.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.
|
@@ -92,7 +92,7 @@ import { v4 as uuidv4 } from "uuid";
|
|
|
92
92
|
// package.json
|
|
93
93
|
var package_default = {
|
|
94
94
|
name: "@obolnetwork/obol-sdk",
|
|
95
|
-
version: "2.11.5
|
|
95
|
+
version: "2.11.5",
|
|
96
96
|
description: "A package for creating Distributed Validators using the Obol API.",
|
|
97
97
|
bugs: {
|
|
98
98
|
url: "https://github.com/obolnetwork/obol-sdk/issues"
|
|
@@ -13477,7 +13477,13 @@ var eoaDepositPayloadSchema = {
|
|
|
13477
13477
|
};
|
|
13478
13478
|
|
|
13479
13479
|
// src/splits/splitHelpers.ts
|
|
13480
|
-
import {
|
|
13480
|
+
import {
|
|
13481
|
+
Contract,
|
|
13482
|
+
Interface,
|
|
13483
|
+
parseEther,
|
|
13484
|
+
ZeroAddress as ZeroAddress2,
|
|
13485
|
+
getAddress as toChecksumAddress
|
|
13486
|
+
} from "ethers";
|
|
13481
13487
|
|
|
13482
13488
|
// src/abi/OWR.ts
|
|
13483
13489
|
var OWRFactoryContract = {
|
|
@@ -16044,7 +16050,7 @@ var deployOVMContract = (_0) => __async(null, [_0], function* ({
|
|
|
16044
16050
|
throw new Error("Failed to extract OVM address from transaction logs");
|
|
16045
16051
|
}
|
|
16046
16052
|
const ovmAddress = "0x" + ovmAddressLog.slice(26, 66);
|
|
16047
|
-
return ovmAddress;
|
|
16053
|
+
return toChecksumAddress(ovmAddress);
|
|
16048
16054
|
} catch (error) {
|
|
16049
16055
|
throw new Error(
|
|
16050
16056
|
`Failed to deploy OVM contract: ${(_c = error.message) != null ? _c : "OVM deployment failed"}`
|