• Noah Zinsmeister's avatar
    update swr hooks when block number changes (#771) · 7bffea06
    Noah Zinsmeister authored
    * key per-block SWR data with block number
    
    * fix + tweak copy and decrease sig figs for lp fee
    
    * don't use blocknumber as a key
    
    instead mutate when it changes
    
    * fix totalsupply + user liquidity sync issues
    
    * fix v1 trade checker logic
    
    * rough fix allowing removal of user added tokens
    
    probably needs a more comprehensive overhaul...
    
    * refactor SWR block updates to custom hook
    
    * typo
    
    * fix import error
    
    * fix footer css to work cross-broswer
    
    * disallow \ to be typing into amount inputs
    
    add test case for this
    
    add value assertions to all input integration tests
    
    * fix import error
    
    * remove console.log
    
    * clean up address input a bit
    
    trim whitespace from pasted addresses
    
    * fix input maxing
    
    remove spurious max output logic
    7bffea06
index.ts 671 Bytes