forked from 1inch/solidity-utils
-
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.
- Loading branch information
Showing
16 changed files
with
61 additions
and
8,853 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
node_modules/ | ||
coverage/ | ||
dist/ | ||
dist/ |
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,55 +1,55 @@ | ||
{ | ||
"root": true, | ||
"extends" : [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint" | ||
"@typescript-eslint" | ||
], | ||
"env": { | ||
"browser" : true, | ||
"node" : true, | ||
"mocha" : true, | ||
"jest" : true | ||
"browser" : true, | ||
"node" : true, | ||
"mocha" : true, | ||
"jest" : true | ||
}, | ||
"globals" : { | ||
"artifacts": false, | ||
"contract": false, | ||
"assert": false, | ||
"web3": false | ||
"artifacts": false, | ||
"contract": false, | ||
"assert": false, | ||
"web3": false | ||
}, | ||
"rules": { | ||
// TS | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
// TS | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
|
||
// Strict mode | ||
"strict": [2, "global"], | ||
// Strict mode | ||
"strict": [2, "global"], | ||
|
||
// Code style | ||
"indent": [2, 4], | ||
"quotes": [2, "single"], | ||
"semi": ["error", "always"], | ||
"space-before-function-paren": ["error", "always"], | ||
"no-use-before-define": 0, | ||
"no-unused-expressions": "off", | ||
"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, | ||
"object-curly-spacing": [2, "always"], | ||
"max-len": [2, 200, 2], | ||
"generator-star-spacing": ["error", "before"], | ||
"promise/avoid-new": 0, | ||
"promise/always-return": 0 | ||
// Code style | ||
"indent": [2, 4], | ||
"quotes": [2, "single"], | ||
"semi": ["error", "always"], | ||
"space-before-function-paren": ["error", "always"], | ||
"no-use-before-define": 0, | ||
"no-unused-expressions": "off", | ||
"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, | ||
"object-curly-spacing": [2, "always"], | ||
"max-len": [2, 200, 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 |
---|---|---|
|
@@ -10,3 +10,4 @@ dist | |
.env | ||
.idea | ||
typechain-types | ||
.DS_Store |
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 |
---|---|---|
|
@@ -44,4 +44,4 @@ This repository contains frequently used smart contracts, libraries and interfac | |
|
||
### UTILS | ||
|
||
... | ||
... |
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 |
---|---|---|
|
@@ -60,4 +60,4 @@ library UniERC20 { | |
require(abi.decode(result, (bool)), "ERC20 operation did not succeed"); | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.