Ashwin Phatak
df025433ec
Tests for getStorageValue on mapping and nested mappings with different key types ( #52 )
...
* Tests for mapping with value type keys.
* Add test for mapping with string type keys.
* Add test for mapping with dynamically-sized byte array as keys.
* Add tests for nested mapping.
Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-10 11:22:03 +05:30
Ashwin Phatak
7035a513b1
Downstream event subscription support. ( #47 )
...
* Downstream event subscription support.
* Logging changes.
2021-06-09 15:11:05 +05:30
nikugogoi
8d697ab9d1
Check and remove unused dependecies.
2021-06-07 11:42:03 +05:30
Ashwin Phatak
945cba9392
Implement typescript strict mode and ESLint in watcher package ( #40 )
...
* Set up typescript build and eslint.
* Automatic lint fixes.
* Fix argument type warnings.
* Fix function return types.
* Fix typescript errors in watcher.
Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-04 18:08:26 +05:30
Ashwin Phatak
4e0ef7c852
Implement typescript strict mode and ESLint in ipld-eth-client and cache packages ( #37 )
...
* Set up typescript build.
* Setup eslint in cache package.
* Automatic lint fixes.
* Fix typescript return types.
* Fix typescript argument type warnings.
* Set up typescript build and eslint.
* Automatic lint fixes.
* Fix typescript explicit any warnings.
* Add argument types.
* Fix return type warnings.
* Fix typescript errors.
* Implement declaration in types directory.
Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-04 12:04:12 +05:30
Ashwin Phatak
7213a1dc6d
Lazy ERC20 watcher ( #11 )
...
* Storage mapping utils.
* Resolver factories.
* Get ERC20 balance from upstream ipld-eth-server slot.
* Get ERC20 allowance from storage slot.
* Parse ERC20 events from block events.
* Cache GQL requests in leveldb.
* Refactor fetch/cache from upstream into eth-loader class.
* Refactoring.
* Refactor eth-client, extract cache class.
* Cache config settings.
* Debug logs.
* Rename server to watcher.
* Start local server by default.
* Split into multiple packages.
* eth-client API methods.
* Update docs.
2021-05-28 16:56:40 +05:30