• Moody Salem's avatar
    perf(ethereum): reduce number of calls by batching all polling node calls (#840) · 9c1fe53e
    Moody Salem authored
    * initial refactoring
    
    * rebase lint error
    
    * start implementing reducer
    
    * multicall reducer
    
    * working multicall!
    
    * clean up performance, re-fix annoying error
    
    * use multicall everywhere
    
    * use multicall for balances
    
    * fix lint warning
    
    * Use checksummed address
    
    * Fix strict warning
    
    * get it to a working state with the more generic form
    
    * convert useETHBalances
    
    * Remove the eth-scan contract completely
    
    * Remove the eth-scan contract completely more
    
    * Default export
    
    * Put the encoding/decoding in the methods that can do it most efficiently
    
    * Avoid duplicate fetches via debounce
    
    * Reduce delay to something less noticeable
    
    * Return null if pair reserves are undefined to indicate it does not exist
    9c1fe53e
index.tsx 7.99 KB