-
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.
first commit: MultiSig & PrivacyJudgeV0, need to add a lot more tests
- Loading branch information
0 parents
commit 6074154
Showing
36 changed files
with
32,698 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,3 @@ | ||
{ | ||
"presets": ["es2015", "stage-2", "stage-3"] | ||
} |
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,51 @@ | ||
{ | ||
"extends" : [ | ||
"standard", | ||
"plugin:promise/recommended" | ||
], | ||
"plugins": [ | ||
"promise" | ||
], | ||
"env": { | ||
"browser" : true, | ||
"node" : true, | ||
"mocha" : true, | ||
"jest" : true | ||
}, | ||
"globals" : { | ||
"artifacts": false, | ||
"contract": false, | ||
"assert": false, | ||
"web3": false | ||
}, | ||
"rules": { | ||
|
||
// Strict mode | ||
"strict": [2, "global"], | ||
|
||
// Code style | ||
"indent": [2, 2], | ||
"quotes": [2, "single"], | ||
"semi": ["error", "always"], | ||
"space-before-function-paren": ["error", "always"], | ||
"no-use-before-define": 0, | ||
"eqeqeq": [2, "smart"], | ||
"dot-notation": [2, {"allowKeywords": true, "allowPattern": ""}], | ||
"no-redeclare": [2, {"builtinGlobals": true}], | ||
"no-trailing-spaces": [2, { "skipBlankLines": true }], | ||
"eol-last": 1, | ||
"comma-spacing": [2, {"before": false, "after": true}], | ||
"camelcase": [2, {"properties": "always"}], | ||
"no-mixed-spaces-and-tabs": [2, "smart-tabs"], | ||
"comma-dangle": [1, "always-multiline"], | ||
"no-dupe-args": 2, | ||
"no-dupe-keys": 2, | ||
"no-debugger": 0, | ||
"no-undef": 2, | ||
"object-curly-spacing": [2, "always"], | ||
"max-len": [2, 120, 2], | ||
"generator-star-spacing": ["error", "before"], | ||
"promise/avoid-new": 0, | ||
"promise/always-return": 0 | ||
} | ||
} |
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 @@ | ||
node_modules |
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 @@ | ||
node_modules |
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,14 @@ | ||
{ | ||
"extends": "solium:all", | ||
"plugins": ["security"], | ||
"rules": { | ||
"quotes": ["error", "double"], | ||
"no-empty-blocks": "off", | ||
"indentation": ["error", 2], | ||
"max-len": ["warning", 79], | ||
"no-constant": ["error"], | ||
"security/enforce-explicit-visibility": ["error"], | ||
"security/no-block-members": ["warning"], | ||
"security/no-inline-assembly": ["warning"] | ||
} | ||
} |
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,8 @@ | ||
A bunch of smart contract primitives relying on multisigs | ||
|
||
## install | ||
npm install | ||
|
||
## test | ||
npm run rpc | ||
npm test |
Oops, something went wrong.