contracts: Fix spacing after `returns`

This commit is contained in:
nfnty 2017-06-12 14:10:32 +02:00
parent e6c70b8078
commit d13eb11b1b
No known key found for this signature in database
GPG Key ID: 32DD96A5D0370907
5 changed files with 10 additions and 10 deletions

View File

@ -85,11 +85,11 @@ contract DevTokensHolder is Owned {
TokensWithdrawn(owner, canExtract);
}
function months(uint256 m) internal returns(uint256) {
function months(uint256 m) internal returns (uint256) {
return m.mul(30 days);
}
function getTime() internal returns(uint256) {
function getTime() internal returns (uint256) {
return now;
}

View File

@ -128,7 +128,7 @@ contract DynamicCeiling {
/// @return Return the total number of points committed
/// (can be larger than the number of actual points on the curve to hide
/// the real number of points)
function nPoints() public constant returns(uint256) {
function nPoints() public constant returns (uint256) {
return points.length;
}

View File

@ -65,15 +65,15 @@ contract SGTExchanger is TokenController, Owned {
TokensCollected(msg.sender, amount);
}
function proxyPayment(address) public payable returns(bool) {
function proxyPayment(address) public payable returns (bool) {
throw;
}
function onTransfer(address, address, uint256) public returns(bool) {
function onTransfer(address, address, uint256) public returns (bool) {
return false;
}
function onApprove(address, address, uint256) public returns(bool) {
function onApprove(address, address, uint256) public returns (bool) {
return false;
}

View File

@ -99,7 +99,7 @@ contract SNTPlaceHolder is TokenController, Owned {
//////////
/// @notice This function is overrided by the test Mocks.
function getTime() internal returns(uint256) {
function getTime() internal returns (uint256) {
return now;
}

View File

@ -199,11 +199,11 @@ contract StatusContribution is Owned, TokenController {
return true;
}
function onTransfer(address, address, uint256) public returns(bool) {
function onTransfer(address, address, uint256) public returns (bool) {
return false;
}
function onApprove(address, address, uint256) public returns(bool) {
function onApprove(address, address, uint256) public returns (bool) {
return false;
}
@ -396,7 +396,7 @@ contract StatusContribution is Owned, TokenController {
}
function percent(uint256 p) internal returns(uint256) {
function percent(uint256 p) internal returns (uint256) {
return p.mul(10**16);
}