-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contracts: Implement Arbitrable (#1)
* Add Arbitrable contract * Minor fixes to contract Address PR #1 comments. * Change error message Address PR #1 comments. * Add method to change owner
- Loading branch information
ßingen
authored
Feb 13, 2020
1 parent
c231c39
commit f01ab12
Showing
13 changed files
with
1,312 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"globals": { | ||
"artifacts": "readonly", | ||
"assert": "readonly", | ||
"contract": "readonly", | ||
"web3": "readonly" | ||
}, | ||
"extends": ["standard"], | ||
"plugins": ["unused-imports"], | ||
"rules": { | ||
"semi": "error", | ||
"one-var": "off", | ||
"key-spacing": "off", | ||
"no-var": "error", | ||
"no-multi-spaces": "off", | ||
"no-return-assign": "off", | ||
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], | ||
"unused-imports/no-unused-imports": "error", | ||
"linebreak-style": ["error", "unix"], | ||
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }], | ||
} | ||
} |
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 @@ | ||
*.sol linguist-language=Solidity |
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,29 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# Dependencies | ||
node_modules/ | ||
package-lock.json | ||
|
||
# Production | ||
build/ | ||
abi/ | ||
|
||
# coverage | ||
coverage/ | ||
coverageEnv/ | ||
coverage.json | ||
allFiredEvents | ||
scTopics | ||
|
||
# Logs | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editors | ||
.vscode/ | ||
.idea/* | ||
|
||
# Misc | ||
.DS_Store | ||
|
||
bytecode |
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,12 @@ | ||
const skipFiles = [ | ||
'lib', | ||
'test', | ||
'standards' | ||
] | ||
|
||
module.exports = { | ||
norpc: true, | ||
compileCommand: '../node_modules/.bin/truffle compile', | ||
testCommand: 'node --max-old-space-size=4096 ../node_modules/.bin/truffle test --network coverage', | ||
skipFiles, | ||
} |
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,2 @@ | ||
node_modules | ||
contracts/test |
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,40 @@ | ||
{ | ||
"extends": "solium:all", | ||
"plugins": ["security"], | ||
"rules": { | ||
"security/no-low-level-calls": "off", | ||
"security/no-inline-assembly": "off", | ||
"imports-on-top": "error", | ||
"variable-declarations": "error", | ||
"array-declarations": "error", | ||
"operator-whitespace": "error", | ||
"conditionals-whitespace": "error", | ||
"comma-whitespace": "error", | ||
"semicolon-whitespace": "error", | ||
"function-whitespace": "error", | ||
"lbrace": "error", | ||
"mixedcase": "error", | ||
"camelcase": "error", | ||
"uppercase": "error", | ||
"no-empty-blocks": "error", | ||
"no-unused-vars": "error", | ||
"quotes": ["error", "double"], | ||
"blank-lines": "error", | ||
"indentation": ["error", 4], | ||
"arg-overflow": ["error", 8], | ||
"whitespace": "error", | ||
"deprecated-suicide": "error", | ||
"pragma-on-top": "error", | ||
"function-order": "error", | ||
"emit": "error", | ||
"no-constant": "error", | ||
"value-in-payable": "error", | ||
"no-experimental": "off", | ||
"max-len": ["error", 145], | ||
"error-reason": "error", | ||
"visibility-first": "error", | ||
"linebreak-style": "error", | ||
"constructor": "error", | ||
"no-trailing-whitespace": "error" | ||
} | ||
} |
Oops, something went wrong.