diff --git a/src/Vm.sol b/src/Vm.sol index a0f03922c..cda66da4f 100644 --- a/src/Vm.sol +++ b/src/Vm.sol @@ -75,4 +75,14 @@ interface Vm { function assume(bool) external; // Set block.coinbase (who) function coinbase(address) external; + // Using the address that calls the test contract, has the next call (at this call depth only) create a transaction that can later be signed and sent onchain + function broadcast() external; + // Has the next call (at this call depth only) create a transaction with the address provided as the sender that can later be signed and sent onchain + function broadcast(address) external; + // Using the address that calls the test contract, has the all subsequent calls (at this call depth only) create transactions that can later be signed and sent onchain + function startBroadcast() external; + // Has the all subsequent calls (at this call depth only) create transactions that can later be signed and sent onchain + function startBroadcast(address) external; + // Stops collecting onchain transactions + function stopBroadcast() external; }