• Jack Short's avatar
    fix: not using stablecoin to calc price impact pwat (#5997) · 7b589561
    Jack Short authored
    * feat: implementing graphql endpoint
    
    * changing from hook to function call
    
    * initial gql routing works
    
    * feat: initial pwatRouting setup
    
    * sending correct amount
    
    * removing console
    
    * it is working
    
    * sufficient balance
    
    * 0 if no inputCurrency
    
    * removing value to send if erc20
    
    * removing console
    
    * permit2 optional flag
    
    * removing not necessary stuff
    
    * mobile fixes
    
    * overlay needs to be here
    
    * changing swap amount to pool reserves
    
    * refactoring routing logic
    
    * no route found button state
    
    * better price loading for insufficient liquidity
    
    * refactoring graphql routing code
    
    * overflow
    
    * initial comments
    
    * resetting bag status on input currency change
    
    * locking
    
    * done
    
    * remove helper text for eth
    
    * fix: pay with any token routing bug
    
    * reordering button
    
    * zindex
    
    * price updated
    
    * keeping debounce
    
    * feat: adding amplitude events for pwat
    
    * bumping analytics version
    
    * types and hooks
    
    * moving erc20 flag to useSendTransaction
    
    * why did i put it in a hook
    
    * no return
    
    * fix: not using usdc value to calculate price impact
    
    * refactor + loading state
    7b589561
prices.ts 3.5 KB