near-safe 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/lib/safe.js +1 -1
- package/dist/esm/lib/safe.js +2 -2
- package/package.json +1 -1
package/dist/cjs/lib/safe.js
CHANGED
package/dist/esm/lib/safe.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { concat, encodeFunctionData, encodePacked, getCreate2Address, keccak256, toHex, zeroAddress, } from "viem";
|
1
|
+
import { concat, encodeFunctionData, encodePacked, getAddress, getCreate2Address, keccak256, toHex, zeroAddress, } from "viem";
|
2
2
|
import { SAFE_DEPLOYMENTS } from "../_gen/deployments";
|
3
3
|
import { USER_OP_IDENTIFIER } from "../constants";
|
4
4
|
import { PLACEHOLDER_SIG, getClient, packGas, packPaymasterData, } from "../util";
|
@@ -114,7 +114,7 @@ export class SafeContractSuite {
|
|
114
114
|
abi: this.m4337.abi,
|
115
115
|
functionName: "executeUserOp",
|
116
116
|
args: [
|
117
|
-
txData.to,
|
117
|
+
getAddress(txData.to),
|
118
118
|
BigInt(txData.value),
|
119
119
|
txData.data,
|
120
120
|
txData.operation || 0,
|