Closed sashimi36 closed 2 years ago
Name | Link |
---|---|
Latest commit | 00b9ab2ff6ab2c126f9be8d9fa5ac4c4c3923ab4 |
Latest deploy log | https://app.netlify.com/sites/laughing-agnesi-30fb23/deploys/62faca4affb17400081f4ff0 |
Deploy Preview | https://deploy-preview-250--laughing-agnesi-30fb23.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Improve usability of the pricing queries used in the code base. Right now we're using these 5 queries for token conversion.
usePoolTokenToTokenAssetAmount
is used to figure out the amount of token asset in a given pool based on liquidity pool token amount.useTokenToTokenPrice
is used to get the price of tokenA
for tokenB
usePriceForOneToken
is a helper query based onuseTokenToTokenPrice
to fetch one tokenA
for tokenB
price.usePoolTokensDollarValue
is used to figure out dollar value of a given liquidity token.useTokenDollarValue
is used to figure out a token asset dollar value.