Skip to content

Khaos price feed#48

Open
michaelRAMAGE wants to merge 4 commits intomerc1er:masterfrom
michaelRAMAGE:khaos-price-feed
Open

Khaos price feed#48
michaelRAMAGE wants to merge 4 commits intomerc1er:masterfrom
michaelRAMAGE:khaos-price-feed

Conversation

@michaelRAMAGE
Copy link
Contributor

** Includes changes from the previous pull request **

  1. Created another endpoint https://moonsama-serverside-priceticker.vercel.app/api/getpriceofrssinsama/${erc20address}
    that returns the price of a rss in sama based on Khaos Exchange.

  2. getMaterialSama(resource): Added a fetch call for https://moonsama-serverside-priceticker.vercel.app/api/getpriceofrssinsama/${erc20address} which gets the per unit price of resource in sama currency, so when getAllMaterialsPrice() (which calls getMaterialSama) now returns khaos pricing, which is rendered in the front end.

  3. Added a column to the detailed table view that shows prices of resources in sama currency sourced by Khaos Dex

@netlify
Copy link

netlify bot commented Dec 26, 2022

Deploy Preview for moonsama ready!

Name Link
🔨 Latest commit a41229d
🔍 Latest deploy log https://app.netlify.com/sites/moonsama/deploys/63a9121fe6fcdf0008d875c4
😎 Deploy Preview https://deploy-preview-48--moonsama.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant