@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.
package/dist/esm/src/index.js
CHANGED
|
@@ -89,7 +89,7 @@ import { v4 as uuidv4 } from "uuid";
|
|
|
89
89
|
// package.json
|
|
90
90
|
var package_default = {
|
|
91
91
|
name: "@obolnetwork/obol-sdk",
|
|
92
|
-
version: "2.11.5
|
|
92
|
+
version: "2.11.5",
|
|
93
93
|
description: "A package for creating Distributed Validators using the Obol API.",
|
|
94
94
|
bugs: {
|
|
95
95
|
url: "https://github.com/obolnetwork/obol-sdk/issues"
|
|
@@ -12666,7 +12666,13 @@ var eoaDepositPayloadSchema = {
|
|
|
12666
12666
|
};
|
|
12667
12667
|
|
|
12668
12668
|
// src/splits/splitHelpers.ts
|
|
12669
|
-
import {
|
|
12669
|
+
import {
|
|
12670
|
+
Contract,
|
|
12671
|
+
Interface,
|
|
12672
|
+
parseEther,
|
|
12673
|
+
ZeroAddress as ZeroAddress2,
|
|
12674
|
+
getAddress as toChecksumAddress
|
|
12675
|
+
} from "ethers";
|
|
12670
12676
|
|
|
12671
12677
|
// src/abi/OWR.ts
|
|
12672
12678
|
var OWRFactoryContract = {
|
|
@@ -15233,7 +15239,7 @@ var deployOVMContract = (_0) => __async(null, [_0], function* ({
|
|
|
15233
15239
|
throw new Error("Failed to extract OVM address from transaction logs");
|
|
15234
15240
|
}
|
|
15235
15241
|
const ovmAddress = "0x" + ovmAddressLog.slice(26, 66);
|
|
15236
|
-
return ovmAddress;
|
|
15242
|
+
return toChecksumAddress(ovmAddress);
|
|
15237
15243
|
} catch (error) {
|
|
15238
15244
|
throw new Error(
|
|
15239
15245
|
`Failed to deploy OVM contract: ${(_c = error.message) != null ? _c : "OVM deployment failed"}`
|