-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: P-701 solidity VC: token holding amount for BRC20 tokens
1) add the precompile function: test_hex_to_number, integration_test, parse_decimal, parse_int 2) extract new common functions for Web3Network: get_code, from_code, get_name 3) move integration test of precompile function to its own file 4) move all util functions to new library files 5) add BRC20 contracts, one contract only support one token 6) add new library AssertionLogic instead of assemble assertion JSON manually
- Loading branch information
higherordertech
committed
Jun 10, 2024
1 parent
c717119
commit 34ad2da
Showing
45 changed files
with
3,097 additions
and
869 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
tee-worker/litentry/core/assertion-build/src/dynamic/.gitignore
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 @@ | ||
.deps | ||
artifacts | ||
.prettierrc.json |
38 changes: 38 additions & 0 deletions
38
tee-worker/litentry/core/assertion-build/src/dynamic/.prettierrc.json
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,38 @@ | ||
{ | ||
"overrides": [ | ||
{ | ||
"files": "*.sol", | ||
"options": { | ||
"printWidth": 80, | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"singleQuote": false, | ||
"bracketSpacing": false | ||
} | ||
}, | ||
{ | ||
"files": "*.yml", | ||
"options": {} | ||
}, | ||
{ | ||
"files": "*.yaml", | ||
"options": {} | ||
}, | ||
{ | ||
"files": "*.toml", | ||
"options": {} | ||
}, | ||
{ | ||
"files": "*.json", | ||
"options": {} | ||
}, | ||
{ | ||
"files": "*.js", | ||
"options": {} | ||
}, | ||
{ | ||
"files": "*.ts", | ||
"options": {} | ||
} | ||
] | ||
} |
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.