Handle increase liquidity event (#143)

* Implement handler for NFPM IncreaseLiquidity event.

* Get contract values by querying uni-watcher.

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Ashwin Phatak
2021-07-16 18:34:51 +05:30
committed by GitHub
co-authored by nabarun
parent ae13edb99a
commit 3477366458
16 changed files with 2575 additions and 1378 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ export const getStorageAt: GetStorageAt = async ({ blockHash, contract, slot })
*/
export const generateDummyAddresses = (length: number): Array<string> => {
return Array.from({ length }, () => {
return ethers.utils.hexlify(ethers.utils.randomBytes(20));
return ethers.utils.getAddress(ethers.utils.hexlify(ethers.utils.randomBytes(20)));
});
};