Files
watcher-ts/packages/solidity-mapper
Ashwin Phatakandnikugogoi b243025ca8 Test cases in solidity-mapper for contract, fixed-size byte arrays and enum types (#26)
* Add tests for getStorageInfo and getEventNameTopics.

* Lint solidity-mapper package code.

* Add test for contract type.

* Add test for fixed size byte arrays.

* Add test for Enum types.

* Add tests for variables packed together and using single slot.

* Fix comments in test contracts.

Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-02 11:23:33 +05:30
..
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
  • Dynamically-sized byte array
    • Bytes
    • String
  • Structs
  • Mapping Types

Observations