Solidity data mapper/parser (#12)

* Initial setup with hardhat and typescript.

* Add test for integer type.

* Add test for unsigned integer type.

* Add test for boolean type.

* Add test for address type.

* Add test for string type.

* Setup building library with typescript.

* Remove hardhat dependency from getStorageValue library function.

* Move contracts to test and remove deploy script.

* Add readme for running tests.

Co-authored-by: nikugogoi <95nikass@gmail.com>
This commit is contained in:
Ashwin Phatak
2021-05-31 11:07:11 +05:30
committed by GitHub
co-authored by nikugogoi
parent 7213a1dc6d
commit 72ca980198
15 changed files with 6730 additions and 224 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "@vulcanize/solidity-mapper",
"version": "0.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "UNLICENSED",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.1",
"chai": "^4.3.4",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.2.0",
"hardhat": "^2.3.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
},
"scripts": {
"build": "tsc",
"test": "hardhat test"
}
}