Skip to content

Commit 255cbea

Browse files
committed
Initial commit
0 parents  commit 255cbea

21 files changed

+8771
-0
lines changed

.dependabot/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This is an example with only required properties:
2+
version: 1
3+
update_configs:
4+
- package_manager: "javascript"
5+
directory: "/"
6+
update_schedule: "daily"
7+
default_assignees:
8+
- "obernardovieira"
9+
automerged_updates:
10+
- match:
11+
dependency_type: "development"
12+
update_type: "all"
13+
- match:
14+
dependency_type: "production"
15+
update_type: "semver:patch"

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
indent_size = 4
10+
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
node_modules
3+
coverage

.eslintrc.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"extends": "airbnb",
3+
"rules": {
4+
"indent": [
5+
"error",
6+
4
7+
],
8+
"max-len": [
9+
2,
10+
126,
11+
4
12+
],
13+
"import/no-extraneous-dependencies": [
14+
"error",
15+
{
16+
"devDependencies": [
17+
"**/test/*.js"
18+
]
19+
}
20+
]
21+
},
22+
"env": {
23+
"mocha": true,
24+
"es6": true
25+
},
26+
"globals": {
27+
"artifacts": true,
28+
"web3": true,
29+
"contract": true
30+
}
31+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sol linguist-language=Solidity

.gitignore

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# documentation
4+
docs/
5+
6+
# truffle build directory
7+
build/
8+
9+
# misc
10+
.DS_Store
11+
.env.local
12+
.env.development.local
13+
.env.test.local
14+
.env.production.local
15+
16+
# Logs
17+
*.log
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*
21+
logs/
22+
23+
# lol macs
24+
.DS_Store/
25+
26+
# Runtime data
27+
pids
28+
*.pid
29+
*.seed
30+
*.pid.lock
31+
32+
# Coverage directory used by tools like istanbul
33+
coverage/
34+
coverage.json
35+
coverageEnv
36+
37+
# Directory for instrumented libs generated by jscoverage/JSCover
38+
lib-cov
39+
40+
# Coverage directory used by tools like istanbul
41+
coverage
42+
coverage.json
43+
44+
# nyc test coverage
45+
.nyc_output
46+
47+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
48+
.grunt
49+
50+
# Bower dependency directory (https://bower.io/)
51+
bower_components
52+
53+
# node-waf configuration
54+
.lock-wscript
55+
56+
# Compiled binary addons (https://nodejs.org/api/addons.html)
57+
build/Release
58+
59+
# Dependency directories
60+
node_modules/
61+
jspm_packages/
62+
63+
# TypeScript v1 declaration files
64+
typings/
65+
66+
# Optional npm cache directory
67+
.npm
68+
69+
# Optional eslint cache
70+
.eslintcache
71+
72+
# Optional REPL history
73+
.node_repl_history
74+
75+
# Output of 'npm pack'
76+
*.tgz
77+
78+
# Yarn Integrity file
79+
.yarn-integrity
80+
81+
# dotenv environment variables file
82+
.env
83+
.env.test
84+
85+
# parcel-bundler cache (https://parceljs.org/)
86+
.cache
87+
88+
# next.js build output
89+
.next
90+
91+
# nuxt.js build output
92+
.nuxt
93+
94+
# vuepress build output
95+
.vuepress/dist
96+
97+
# Serverless directories
98+
.serverless/
99+
100+
# FuseBox cache
101+
.fusebox/
102+
103+
# DynamoDB Local files
104+
.dynamodb/
105+
106+
# the .secret
107+
.secret
108+
109+
# the contracts link
110+
client/src/contracts

.solcover.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
skipFiles: [
3+
]
4+
}

.soliumignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/*
2+
contracts/Migrations.sol

.soliumrc.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"extends": "solium:all",
3+
"plugins": [
4+
"security"
5+
],
6+
"rules": {
7+
"error-reason": "off",
8+
"indentation": [
9+
"error",
10+
4
11+
],
12+
"lbrace": "off",
13+
"linebreak-style": [
14+
"error",
15+
"unix"
16+
],
17+
"max-len": [
18+
"error",
19+
79
20+
],
21+
"no-constant": [
22+
"error"
23+
],
24+
"no-empty-blocks": "off",
25+
"quotes": [
26+
"error",
27+
"double"
28+
],
29+
"uppercase": "off",
30+
"visibility-first": "error",
31+
"security/enforce-explicit-visibility": [
32+
"error"
33+
],
34+
"security/no-block-members": [
35+
"warning"
36+
],
37+
"security/no-inline-assembly": [
38+
"warning"
39+
],
40+
"imports-on-top": "warning",
41+
"variable-declarations": "warning",
42+
"array-declarations": "warning",
43+
"operator-whitespace": "warning",
44+
"function-whitespace": "warning",
45+
"semicolon-whitespace": "warning",
46+
"comma-whitespace": "warning",
47+
"conditionals-whitespace": "warning",
48+
"arg-overflow": [
49+
"warning",
50+
3
51+
]
52+
}
53+
}

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
dist: xenial
2+
3+
language: node_js
4+
5+
node_js:
6+
- "lts/dubnium"
7+
8+
install:
9+
- yarn
10+
11+
script:
12+
- yarn test
13+
- yarn coverage
14+
- yarn lint

0 commit comments

Comments
 (0)