watcher-ts/packages/solidity-mapper
Ashwin Phatak 72ca980198
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>
2021-05-31 11:07:11 +05:30
..
src Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
test Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
.gitignore Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
hardhat.config.ts Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
package.json Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
README.md Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
tsconfig.json Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30

solidity-mapper

Get value of state variable from storage for a solidity contract.

Pre-requisites

Instructions

Run the tests using the following command

$ yarn test

Different Types

  • Booleans
  • Integers
  • Fixed Point Numbers
  • Address
  • Contract Types
  • Fixed-size byte arrays
  • Enums
  • Function Types
  • Arrays
  • Structs
  • Mapping Types

Observations