Skip to content

Commit

Permalink
linter fix: ){
Browse files Browse the repository at this point in the history
  • Loading branch information
enkogu committed Oct 5, 2018
1 parent 812f01a commit 20231c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/moneyflow/MoneflowTable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable {

// -------------------- public SCHEME FUNCTIONS --------------------

function addAbsoluteExpense(uint _neededAmount, bool _isPeriodic, bool _isAccumulateDebt, uint _periodHours, IWeiReceiver _output)public onlyOwner returns(uint){
function addAbsoluteExpense(uint _neededAmount, bool _isPeriodic, bool _isAccumulateDebt, uint _periodHours, IWeiReceiver _output)public onlyOwner returns(uint) {
expenses[elementsCount] = Expense(
_neededAmount, 0,
_periodHours, _isPeriodic, _isAccumulateDebt, _output,
Expand All @@ -287,7 +287,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable {
return elementsCount-1;
}

function addTopdownSplitter()public onlyOwner returns(uint){
function addTopdownSplitter()public onlyOwner returns(uint) {
uint[] memory emptyOutputs;
splitters[elementsCount] = Splitter(true, emptyOutputs);
elementsType[elementsCount] = ElementTypes.TopdownSplitter;
Expand All @@ -296,7 +296,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable {
return elementsCount-1;
}

function addUnsortedSplitter()public onlyOwner returns(uint){
function addUnsortedSplitter()public onlyOwner returns(uint) {
uint[] memory emptyOutputs;
splitters[elementsCount] = Splitter(true, emptyOutputs);
elementsType[elementsCount] = ElementTypes.UnsortedSplitter;
Expand All @@ -305,7 +305,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable {
return elementsCount-1;
}

function addChild(uint _splitterId, uint _childId)public onlyOwner returns(uint){
function addChild(uint _splitterId, uint _childId)public onlyOwner returns(uint) {
// add require`s
splitters[_splitterId].outputs.push(_childId);
}
Expand Down

0 comments on commit 20231c0

Please sign in to comment.