• lynn's avatar
    feat: implement swap quote received event (#4165) · 62550a4a
    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
    
    * init commit
    
    * logged all properties
    
    * create helper function getPriceImpactPercentageNumber
    
    * 4 decimal points for percentages
    
    * price percentage fn
    
    * only log event on FIRST price fetch
    
    * respond to cmcewen comments
    62550a4a
utils.ts 630 Bytes