Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/reviewing contract code and comments #234

Merged
merged 12 commits into from Aug 26, 2019

Removing unused function

  • Loading branch information
Freydal committed Aug 22, 2019
commit dc33946be3eccfa8770c7595098ed66476c688ba
@@ -149,19 +149,6 @@ contract Treasury is Authorizable {
}
}

/** @dev Allows contracts to change balance.
@notice Allows contracts to change balance.
@param account User to modify tokens for
@param amount Change to token balance
*/
function adjustBalance(address account, int amount) isAuthorized public {
//Changes balance by the provided amount
if(amount < 0) {
_withdraw(account, uint(amount * -1));
} else if (amount > 0) {
_deposit(account, uint(amount));
}
}
/** @dev Allows contracts to burn an accounts held tokens.
@notice Allows contracts to burn an accounts held tokens.
@param account Account to burn tokens for.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.