@skalenetwork/upgrade-tools 3.0.0-linter.7 → 3.0.0-linter.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.
- package/dist/src/gnosis-safe.js +7 -1
- package/package.json +1 -1
package/dist/src/gnosis-safe.js
CHANGED
|
@@ -66,12 +66,18 @@ const createMultiSendTransaction = async (safeAddress, transactions) => {
|
|
|
66
66
|
const nonce = await safeService.getNextNonce(safeAddress);
|
|
67
67
|
console.log("Will send tx to Gnosis with nonce", nonce);
|
|
68
68
|
const options = {
|
|
69
|
+
// Max gas to use in the transaction
|
|
69
70
|
"safeTxGas": "0",
|
|
71
|
+
// Gas costs not related to the transaction execution (signature check, refund payment...)
|
|
70
72
|
"baseGas": "0",
|
|
73
|
+
// Gas price used for the refund calculation
|
|
71
74
|
"gasPrice": "0",
|
|
75
|
+
// Token address (hold by the Safe) to be used as a refund to the sender, if `null` is Ether
|
|
72
76
|
"gasToken": hardhat_1.ethers.constants.AddressZero,
|
|
77
|
+
// Address of receiver of gas payment (or `null` if tx.origin)
|
|
73
78
|
"refundReceiver": hardhat_1.ethers.constants.AddressZero,
|
|
74
|
-
|
|
79
|
+
// Nonce of the Safe, transaction cannot be executed until Safe's nonce is not equal to this nonce
|
|
80
|
+
nonce
|
|
75
81
|
};
|
|
76
82
|
const ethAdapter = await getEthAdapter();
|
|
77
83
|
const safeSdk = await protocol_kit_1.default.create({ ethAdapter,
|