Upgrade sdk

This commit is contained in:
0xngmi
2021-05-21 21:22:55 +02:00
parent b432037af5
commit 8bcd2745aa
3 changed files with 977 additions and 978 deletions

1952
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@defillama/sdk": "^2.0.8",
"@defillama/sdk": "^2.0.11",
"@makerdao/multicall": "^0.12.0",
"@project-serum/serum": "^0.13.33",
"@solana/web3.js": "^1.2.6",

View File

@@ -37,7 +37,6 @@ async function calculateUniTvl(getAddress, block, chain, FACTORY, START_BLOCK, u
topic: 'PairCreated(address,address,address,uint256)',
})
).output;
console.log(logs.length)
pairAddresses = logs
// sometimes the full log is emitted