watcher-ts/packages/solidity-mapper
Ashwin Phatak a0aae09f83
Get slot for ERC20 variable from storage layout (#13)
* Get slot for ERC20 variable from storage layout.

* Fix solidity-mapper build for importing library functions.

* Implement lint command in solidity-mapper package.

Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-05-31 14:50:05 +05:30
..
src Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +05:30
test Solidity data mapper/parser (#12) 2021-05-31 11:07:11 +05:30
.eslintignore Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +05:30
.eslintrc.json Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +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 Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +05:30
README.md Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +05:30
tsconfig.json Get slot for ERC20 variable from storage layout (#13) 2021-05-31 14:50:05 +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