@@ -67,7 +67,7 @@ contract NodeDriverAuth is OwnableUpgradeable, UUPSUpgradeable {
6767 }
6868
6969 /// Execute a batch update of network configuration.
70- /// Run given contract with a permission of the NodeDriverAuth owner.
70+ /// The executable will run with the privileges of the NodeDriverAuth owner.
7171 /// Does not allow changing NodeDriver and NodeDriverAuth code.
7272 function execute (address executable ) external onlyOwner {
7373 _execute (executable, owner (), _getCodeHash (address (this )), _getCodeHash (address (driver)));
@@ -90,7 +90,7 @@ contract NodeDriverAuth is OwnableUpgradeable, UUPSUpgradeable {
9090 driver.setBalance (acc, address (acc).balance + diff);
9191 }
9292
93- /// Upgrade code of given contract by coping it from other deployed contract.
93+ /// Upgrade code of given contract by copying it from other deployed contract.
9494 /// Avoids setting code to an external address.
9595 function upgradeCode (address acc , address from ) external onlyOwner {
9696 if (! isContract (acc) || ! isContract (from)) {
@@ -99,7 +99,7 @@ contract NodeDriverAuth is OwnableUpgradeable, UUPSUpgradeable {
9999 driver.copyCode (acc, from);
100100 }
101101
102- /// Upgrade code of given contract by coping it from other deployed contract.
102+ /// Upgrade code of given contract by copying it from other deployed contract.
103103 /// Does not avoid setting code to an external address. (DANGEROUS!)
104104 function copyCode (address acc , address from ) external onlyOwner {
105105 driver.copyCode (acc, from);
0 commit comments