-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit becb305
Showing
54 changed files
with
15,780 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,11 @@ | ||
ALCHEMY_API_KEY= | ||
ETHERSCAN_API_KEY= | ||
BASE_SCAN_API_KEY= | ||
OPTIMISM_SCAN_API_KEY= | ||
OPTIMISM_BLOCKSCOUT_API_KEY= | ||
DEPLOYER_PRIVATE_KEY= | ||
INTENT_CREATOR_PRIVATE_KEY= | ||
PROVER_PRIVATE_KEY= | ||
CLAIMANT_PRIVATE_KEY= | ||
SOLVER_PRIVATE_KEY= | ||
RECIPIENT_PRIVATE_KEY= |
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 @@ | ||
node_modules | ||
artifacts | ||
cache | ||
coverage | ||
typechain-types | ||
dist | ||
templates | ||
*.spec.ts |
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,56 @@ | ||
module.exports = { | ||
env: { | ||
browser: false, | ||
es2021: true, | ||
mocha: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'standard', | ||
'plugin:prettier/recommended', | ||
'plugin:node/recommended', | ||
], | ||
plugins: ['@typescript-eslint', 'mocha', 'chai-friendly'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 12, | ||
}, | ||
rules: { | ||
'no-useless-constructor': 0, | ||
'no-unused-expressions': 0, | ||
'no-plusplus': 0, | ||
'prefer-destructuring': 0, | ||
'mocha/no-exclusive-tests': 'error', | ||
'chai-friendly/no-unused-expressions': 2, | ||
'no-multiple-empty-lines': [ | ||
'error', | ||
{ | ||
max: 1, | ||
maxEOF: 0, | ||
maxBOF: 0, | ||
}, | ||
], | ||
'node/no-unsupported-features/es-syntax': [ | ||
'error', | ||
{ ignores: ['modules'] }, | ||
], | ||
'node/no-missing-import': [ | ||
'error', | ||
{ | ||
allowModules: [], | ||
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts'], | ||
}, | ||
], | ||
'node/no-missing-require': [ | ||
'error', | ||
{ | ||
allowModules: [], | ||
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts'], | ||
}, | ||
], | ||
camelcase: 0, | ||
}, | ||
globals: { | ||
ethers: 'readonly', | ||
}, | ||
} |
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,62 @@ | ||
name: Ecoism CI Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
name: Eslint, prettier and solhint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "npm" | ||
|
||
- name: install dependencies | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: install # will run `yarn install` command | ||
|
||
- name: build project | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: build # will run `yarn build` command | ||
|
||
- name: check lint | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: format # will run `yarn format` command | ||
|
||
tests: | ||
name: Test Suite | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "npm" | ||
|
||
- name: install dependencies | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: install # will run `yarn install` command | ||
|
||
- name: build project | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: build # will run `yarn build` command | ||
|
||
- name: Run Test | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: test # will run `yarn build` command |
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,98 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Document directory generated by @primitivefi/hardhat-dodoc | ||
# docs | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
#Types for contracts | ||
typechain-types | ||
|
||
*~ | ||
build/ | ||
cover-run | ||
coverage.json | ||
.jsbeautifyrc | ||
.vscode | ||
artifacts | ||
cache/ | ||
out/ | ||
typechain/ | ||
.DS_Store | ||
|
||
|
||
#Publish artifacts | ||
package | ||
lib | ||
libTest | ||
|
||
# docs | ||
docs | ||
# Slither generated artifacts | ||
docs/slither/contract-summary.txt | ||
docs/slither/variable-order.txt | ||
docs/slither/vulnerability.txt | ||
|
||
# Gas Reports | ||
# docs/gasReport.txt | ||
#Deployment data | ||
deploy/deployments | ||
|
||
# outputs | ||
output/proofGenerationOutput.json | ||
|
||
# OpenZeppelin | ||
.openzeppelin/dev-*.json | ||
.openzeppelin/.session |
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 @@ | ||
lts/hydrogen |
Oops, something went wrong.