Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. pragma solidity ^0.4.0;
  2. pragma experimental ABIEecoderV2;
  3.  
  4. contract MultiSigWallet (
  5. uint minApprovers;
  6. address beneficiary;
  7. address owner;
  8.  
  9. mapping (address => bool ) approvedBy;
  10. mapping (address => bool ) approvedBy;
  11. uint approvalsNum;
  12.  
  13. constructor(address[] _approvers,
  14. uint _minApprovers,
  15. address _beneficiary)
  16.  
  17. public payable {
  18.  
  19. require(_minApprovers <= _approvers.length, "Required number of approvers should be less than the number of approvers")
  20. minApprovers = _minApprovers;
  21. beneficiary = _beneficiary;
  22. owner = msg.sender;
  23.  
  24. }
  25.  
  26.  
  27. }
  28.  
  29. function approve() public {
  30.  
  31. }
  32. function reject() public {
  33.  
  34. }
  35.  
  36. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement