Execute Transaction (Exercise)

1. Checkout the exercise

git checkout exercise-04

2. Exercise

Write your code inside contracts/MultiSigWallet.sol

Complete the executeTransaction function

function executeTransaction(uint _txIndex)
    public
    onlyOwner
    txExists(_txIndex)
    notExecuted(_txIndex)
{

}
  • Execute the transaction
    • it should require that number of confirmations >= numConfirmationsRequired
    • set executed to true
    • execute the transaction using the low level call method
    • require that the transaction executed successfully
    • emit ExecuteTransaction
event ExecuteTransaction(address indexed owner, uint indexed txIndex);

3. Test

Test your code

npm test