In the example:
import {BatchScript} from "forge-safe/BatchScript.sol";
...
function run(bool send_) public {
string memory gm = "gm";
address greeter = 0x1111;
bytes memory txn = abi.encodeWithSelector(
Greeter.greet.selector,
gm
);
addToBatch(greeter, 0, txn);
executeBatch(safe, send_);
}
It is unclear whether run is an internal function inside a contract that inherits run. Could you clarify whether that is the case. Because how else are addToBatch and executeBatch being called?
In the example:
It is unclear whether
runis an internal function inside a contract that inheritsrun. Could you clarify whether that is the case. Because how else areaddToBatchandexecuteBatchbeing called?