Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.0;
- pragma experimental ABIEecoderV2;
- contract MultiSigWallet (
- uint minApprovers;
- address beneficiary;
- address owner;
- mapping (address => bool ) approvedBy;
- mapping (address => bool ) approvedBy;
- uint approvalsNum;
- constructor(address[] _approvers,
- uint _minApprovers,
- address _beneficiary)
- public payable {
- require(_minApprovers <= _approvers.length, "Required number of approvers should be less than the number of approvers")
- minApprovers = _minApprovers;
- beneficiary = _beneficiary;
- owner = msg.sender;
- }
- }
- function approve() public {
- }
- function reject() public {
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement