watcher-ts/packages/solidity-mapper
Ashwin Phatak 5316b19fbf
Get fixed size array of type address (#53)
* Add test for fixed array of address type.

* Add tests for verifying proof data.

Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-11 11:16:02 +05:30
..
src Get fixed size array of type address (#53) 2021-06-11 11:16:02 +05:30
test Get fixed size array of type address (#53) 2021-06-11 11:16:02 +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 Test cases in solidity-mapper for contract, fixed-size byte arrays and enum types (#26) 2021-06-02 11:23:33 +05:30
package.json Check and remove unused dependecies. 2021-06-07 11:42:03 +05:30
README.md Get fixed size array of type address (#53) 2021-06-11 11:16:02 +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

  • Value Types
    • Booleans
    • Integers
    • Fixed Point Numbers
    • Address
    • Contract Types
    • Fixed-size byte arrays
    • Enums
    • Function Types
  • Reference Types
    • Arrays
      • Get all elements in array
      • Get element in array by index
      • Fixed size arrays
        • Integer Type
        • Boolean Type
        • Address Type
        • Fixed-size byte arrays
        • Enum type
        • Dynamically-sized byte array
        • Struct Type
        • Mapping Type
      • Dynamically-sized arrays
        • Integer Type
        • Boolean Type
        • Address Type
        • Fixed-size byte arrays
        • Enum Type
        • Dynamically-sized byte array
        • Struct Type
        • Mapping Type
      • Nested Arrays
        • Fixed size arrays
        • Dynamically-sized arrays
    • Dynamically-sized byte array
      • Bytes
      • String
    • Structs
      • Value Types
      • Reference Types
    • Mapping Types
      • Value Type keys
      • Fixed-size byte array keys
      • Dynamically-sized byte array keys
      • Reference Type Mapping values
      • Nested Mapping

Observations