Transition to new USDC markets

This commit is contained in:
Nishad 2020-10-22 00:04:11 +08:00
parent 4194a7aa17
commit 99fbbed7d5
3 changed files with 50 additions and 10 deletions

View File

@ -6,7 +6,7 @@
"dependencies": {
"@ant-design/icons": "^4.2.1",
"@craco/craco": "^5.6.4",
"@project-serum/serum": "0.13.5",
"@project-serum/serum": "0.13.6",
"@project-serum/sol-wallet-adapter": "^0.1.1",
"@solana/web3.js": "0.71.10",
"@testing-library/jest-dom": "^4.2.4",

View File

@ -8,6 +8,7 @@ import {
import FloatingElement from './layout/FloatingElement';
import CheckOutlined from '@ant-design/icons/lib/icons/CheckOutlined';
import BalancesTable from './UserInfoTable/BalancesTable';
import Link from './Link';
import OpenOrderTable from './UserInfoTable/OpenOrderTable';
import SyncOutlined from '@ant-design/icons/lib/icons/SyncOutlined';
@ -30,16 +31,55 @@ export default function DeprecatedMarketsInstructions({ switchToLiveMarkets }) {
return (
<FloatingElement>
<Title level={4} style={{ color: 'rgba(255, 255, 255, 1)' }}>
Migrate to new markets
Migrate to new USDC markets
</Title>
<Typography>
Serum has rolled out upgraded markets! They're faster and support fee
discounts based on SRM holdings.
<Link
external
to={
'https://explorer.solana.com/address/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
}
>
Native USDC
</Link>{' '}
has arrived on Solana! See{' '}
<Link
external
to={
'https://www.circle.com/blog/circle-partners-with-alameda-research-ftx-project-serum-to-introduce-support-for-usdc-on-solana'
}
>
Circle's announcement
</Link>{' '}
for more information.
</Typography>
<br />
<Typography>
To migrate over to the new markets, please cancel your orders and settle
your funds on old markets.
Serum is transitioning from the previous{' '}
<Link
external
to={
'https://explorer.solana.com/address/BXXkv6z8ykpG1yuvUDPgh732wzVHB69RnB9YgSYh3itW'
}
>
Wrapped USDC
</Link>
, now called WUSDC, to Native USDC. You can convert from WUSDC to USDC
directly on{' '}
<Link external to={'https://sollet.io'}>
sollet.io
</Link>
, or can deposit WUSDC and be credited USDC on exchanges like{' '}
<Link external to={'https://ftx.com'}>
FTX
</Link>
.
</Typography>
<br />
<Typography>
Markets with WUSDC as the quote curency are now deprecated. To migrate
over to the new USDC markets, please cancel your orders and settle your
funds on old markets.
</Typography>
<div style={{ marginTop: 20, display: 'flex', justifyContent: 'center' }}>
<Button onClick={() => refresh(true)}>

View File

@ -1467,10 +1467,10 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
"@project-serum/serum@0.13.5":
version "0.13.5"
resolved "https://registry.yarnpkg.com/@project-serum/serum/-/serum-0.13.5.tgz#9e8591886b3fc7f2486a94c242e5728d97da0938"
integrity sha512-qMnxYKR/z8pqN+LFUIPRFwdSsJ1bGD39Jy6nooQl+aFp+ZpS8+hjIsJQGjpJA4kf+H+U8v6kcMhgMJ6diAWUHw==
"@project-serum/serum@0.13.6":
version "0.13.6"
resolved "https://registry.yarnpkg.com/@project-serum/serum/-/serum-0.13.6.tgz#d45fa52a31d2820d19030964fd3a418e87b8a1f9"
integrity sha512-DoiqJABmGKWvrOLI0/ZctnXlzsPxIiKVHeIsFua3ODXqFWSDojUQDs8y1Rd26wFPEqB6Vsq1Xq8sqsku1leziQ==
dependencies:
"@solana/web3.js" "^0.71.10"
bn.js "^5.1.2"