• lynn's avatar
    feat: Web 214 implement the main submit swap event (#4061) · e01f30c0
    lynn authored
    * init commit
    
    * add amplitude ts sdk to package.json
    
    * add more comments and documentation
    
    * respond to vm comments
    
    * respond to cmcewen comments
    
    * fix: remove unused constants
    
    * init commit
    
    * adapt to web
    
    * add optional event properties to trace
    
    * correct telemetry to analytics
    
    * init commit
    
    * change telemetry to analytics in doc
    
    * init commit
    
    * fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement
    
    * add element name constant
    
    * init commit
    
    * correct price_impact calculation
    
    * resolve vm comments
    
    * fixes in response to comments
    
    * respond to vm
    
    * use ALL significant digits for token amounts
    
    * create helper function getPriceImpactPercentageNumber
    
    * 4 decimal points for percentages
    
    * change percentage to basis points units
    e01f30c0
ConfirmSwapModal.tsx 3.24 KB