-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add sollint * style: fix lint warns/errors * refactor(PurchaseProcessing): change function type * fix(RatesGuard): shadowed variable name
- Loading branch information
Showing
62 changed files
with
929 additions
and
644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,5 @@ typings/ | |
.idea/ | ||
config.js | ||
flats/ | ||
build/ | ||
.MIGRATE_* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": "default", | ||
"rules": { | ||
"indent": ["warn", 4], | ||
"quotes": ["warn", "double"], | ||
"max-line-length": ["warn", 120], | ||
"func-order": "warn", | ||
"statement-indent": "warn", | ||
"var-name-mixedcase": "warn", | ||
"func-name-mixedcase": "warn", | ||
"space-after-comma": "warn", | ||
"expression-indent": "warn", | ||
"separate-by-one-line-in-contract": "warn", | ||
"bracket-align": false, | ||
"function-max-lines": false, | ||
"not-rely-on-time": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
pragma solidity ^0.4.24; | ||
pragma solidity 0.4.24; | ||
|
||
import "./IW12Crowdsale.sol"; | ||
import "../access/roles/IAdminRole.sol"; | ||
import "../access/roles/IProjectOwnerRole.sol"; | ||
|
||
|
||
contract IW12Fund is IAdminRole, IProjectOwnerRole { | ||
function setCrowdsale(IW12Crowdsale _crowdsale) external; | ||
|
||
function setServiceWallet(address _serviceWallet) external; | ||
|
||
function setSwap(address _swap) external; | ||
|
||
function transferPrimary(address _address) public; | ||
|
||
function recordPurchase( | ||
address investor, | ||
uint tokenAmount, | ||
bytes32 symbol, | ||
uint cost, | ||
uint costUSD | ||
) external payable; | ||
|
||
function transferPrimary(address _address) public; | ||
} |
Oops, something went wrong.