@@ -203,7 +203,7 @@ contract DAOInterface {
203
203
bytes memory _transactionData ,
204
204
uint _debatingPeriod ,
205
205
bool _newCurator
206
- ) public returns (uint _proposalID );
206
+ ) public payable returns (uint _proposalID );
207
207
208
208
/// @notice Check that the proposal with the ID `_proposalID` matches the
209
209
/// transaction which sends `_amount` with data `_transactionData`
@@ -409,7 +409,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
409
409
bytes memory _transactionData ,
410
410
uint _debatingPeriod ,
411
411
bool _newCurator
412
- ) onlyTokenholders public returns (uint _proposalID ) {
412
+ ) onlyTokenholders public payable returns (uint _proposalID ) {
413
413
414
414
// Sanity check
415
415
if (_newCurator && (
@@ -479,7 +479,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
479
479
address _recipient ,
480
480
uint _amount ,
481
481
bytes memory _transactionData
482
- ) noEther public view returns (bool _codeChecksOut ) {
482
+ ) public view returns (bool _codeChecksOut ) {
483
483
Proposal storage p = proposals[_proposalID];
484
484
return p.proposalHash == keccak256 (abi.encodePacked (_recipient, _amount, _transactionData));
485
485
}
@@ -488,7 +488,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
488
488
function vote (
489
489
uint _proposalID ,
490
490
bool _supportsProposal
491
- ) onlyTokenholders noEther public returns (uint _voteID ) {
491
+ ) onlyTokenholders public returns (uint _voteID ) {
492
492
493
493
Proposal storage p = proposals[_proposalID];
494
494
if (p.votedYes[msg .sender ]
@@ -521,7 +521,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
521
521
function executeProposal (
522
522
uint _proposalID ,
523
523
bytes memory _transactionData
524
- ) noEther public returns (bool _success ) {
524
+ ) public returns (bool _success ) {
525
525
526
526
Proposal storage p = proposals[_proposalID];
527
527
@@ -621,7 +621,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
621
621
function splitDAO (
622
622
uint _proposalID ,
623
623
address _newCurator
624
- ) noEther onlyTokenholders public returns (bool _success ) {
624
+ ) onlyTokenholders public returns (bool _success ) {
625
625
626
626
Proposal storage p = proposals[_proposalID];
627
627
@@ -708,7 +708,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
708
708
}
709
709
710
710
711
- function retrieveDAOReward (bool _toMembers ) external noEther returns (bool _success ) {
711
+ function retrieveDAOReward (bool _toMembers ) external returns (bool _success ) {
712
712
DAO dao = DAO (msg .sender );
713
713
714
714
if ((rewardToken[msg .sender ] * DAOrewardAccount.accumulatedInput ()) /
@@ -733,7 +733,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
733
733
return true ;
734
734
}
735
735
736
- function getMyReward () noEther public returns (bool _success ) {
736
+ function getMyReward () public returns (bool _success ) {
737
737
return withdrawRewardFor (msg .sender );
738
738
}
739
739
@@ -818,7 +818,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
818
818
}
819
819
820
820
821
- function changeProposalDeposit (uint _proposalDeposit ) noEther external {
821
+ function changeProposalDeposit (uint _proposalDeposit ) external {
822
822
if (msg .sender != address (this ) || _proposalDeposit > (actualBalance () + rewardToken[address (this )])
823
823
/ maxDepositDivisor) {
824
824
@@ -828,7 +828,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
828
828
}
829
829
830
830
831
- function changeAllowedRecipients (address _recipient , bool _allowed ) noEther external returns (bool _success ) {
831
+ function changeAllowedRecipients (address _recipient , bool _allowed ) external returns (bool _success ) {
832
832
if (msg .sender != curator)
833
833
revert ();
834
834
allowedRecipients[_recipient] = _allowed;
0 commit comments