Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for stETH market #2490

Merged
merged 6 commits into from
Jun 14, 2023
Merged

Add config for stETH market #2490

merged 6 commits into from
Jun 14, 2023

Conversation

avclarke
Copy link
Contributor

Description

In preparation for supporting the new stETH market.

@vercel
Copy link

vercel bot commented Jun 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
kwenta ✅ Ready (Inspect) Visit Preview Jun 14, 2023 6:59pm
kwenta-storybook ✅ Ready (Inspect) Visit Preview Jun 14, 2023 6:59pm

@platschi
Copy link
Collaborator

Do we have to set the decimal rule for the TradingView chart in /components/TVChart/DataFeed.ts ?

const getPriceScale = (asset: string | null) => {
        switch (asset) {
		case 'BTC':
		case 'BNB':
		case 'ETH':
		case 'stETH':
		case 'XAU':
			return 100;

@platschi platschi merged commit 8f5184d into dev Jun 14, 2023
@platschi platschi deleted the config/steth branch June 14, 2023 19:04
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.

3 participants