Skip to content

Commit

Permalink
visibility modifiers come first per style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerq committed Jan 11, 2019
1 parent cd0ad7a commit 04278df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/minting/Controller.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ contract Controller is Ownable {
address _controller,
address _worker
)
onlyOwner
public
onlyOwner
returns (bool)
{
require(_worker != address(0), "Worker must be a non-zero address.");
Expand All @@ -78,8 +78,8 @@ contract Controller is Ownable {
function removeController(
address _controller
)
onlyOwner
public
onlyOwner
returns (bool)
{
controllers[_controller] = address(0);
Expand Down
6 changes: 3 additions & 3 deletions contracts/minting/MintController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ contract MintController is Controller {
function setMinterManager(
address _newMinterManager
)
onlyOwner
public
onlyOwner
returns (bool)
{
emit MinterManagerSet(minterManager, _newMinterManager);
Expand All @@ -106,8 +106,8 @@ contract MintController is Controller {
function configureMinter(
uint256 newAllowance
)
onlyController
public
onlyController
returns (bool)
{
address minter = controllers[msg.sender];
Expand All @@ -124,8 +124,8 @@ contract MintController is Controller {
function incrementMinterAllowance(
uint256 allowanceIncrement
)
onlyController
public
onlyController
returns (bool)
{
address minter = controllers[msg.sender];
Expand Down

0 comments on commit 04278df

Please sign in to comment.