• Moody Salem's avatar
    feat(polygon): polygon mainnet and testnet support (#3015) · f047f0d1
    Moody Salem authored
    * feat(polygon): polygon mainnet and testnet support
    
    WIP! DO NOT USE
    
    * fix unit test
    
    * fix explorer links
    
    * compute usdc prices
    
    * - fix the header currency label
    - fix unit tests
    
    * polygon gradient colors
    
    * chore: adding weth to common bases (#3025)
    
    * adding weth to common bases
    
    * adding usdc and dai
    
    * adding usdt and wbtc
    
    * fix a bunch of polish issues
    - 3085 detection
    - some wrapping stuff
    - the network selector dropdown
    
    * fix wrap/unwrap notification text on polygon
    
    * background color per the figma
    
    * subgraph url
    
    * fix the re-render blinking on the network selector
    
    * failed network switch
    
    * clean up duplicate code in the network switching functions
    
    * fix text color in the privacy notice on light mode
    
    * add some routing constants for polygon
    
    * do not show the separator in the trade route if auto router is not supported
    
    * - network switching without a wallet connected
    - remove v2 stuff from pool page when n/a
    - remove WMATIC from common bases on polygon
    
    * background colors of network alert
    
    * oops fix background on network alert
    
    * clean up optimism labels
    
    * fix alignment of text on downtime warning
    
    * finish the network alert styles
    Co-authored-by: default avatarSara Reynolds <30504811+snreynolds@users.noreply.github.com>
    f047f0d1
index.tsx 20 KB