git checkout exercise-01
Write your code inside contracts/MultiSigWallet.sol
Declare a payable
fallback function
-
it should emit the
Deposit
event (see below) withmsg.sender
msg.value
- current amount of ether in the contract (
address(this).balance
)
event Deposit(address indexed sender, uint amount, uint balance);
Test your code
npm test
git checkout exercise-01-solution