feat: make USDC the standard secondary asset (for trade) (#681)
This commit is contained in:
parent
93ff4bfd45
commit
c738b01382
@ -19,6 +19,44 @@ export const ASSETS: Asset[] = [
|
|||||||
pythPriceFeedId: '5867f5683c757393a0670ef0f701490950fe93fdb006d181c8265a831ac0c5c6',
|
pythPriceFeedId: '5867f5683c757393a0670ef0f701490950fe93fdb006d181c8265a831ac0c5c6',
|
||||||
pythHistoryFeedId: 'Crypto.OSMO/USD',
|
pythHistoryFeedId: 'Crypto.OSMO/USD',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
symbol: 'USDC',
|
||||||
|
name: 'Noble',
|
||||||
|
id: 'USDC',
|
||||||
|
denom: 'ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4',
|
||||||
|
color: '#478edc',
|
||||||
|
logo: '/images/tokens/usdc.svg',
|
||||||
|
decimals: 6,
|
||||||
|
hasOraclePrice: true,
|
||||||
|
isEnabled: true,
|
||||||
|
isMarket: true,
|
||||||
|
isDisplayCurrency: true,
|
||||||
|
isStable: true,
|
||||||
|
isBorrowEnabled: true,
|
||||||
|
isAutoLendEnabled: true,
|
||||||
|
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
||||||
|
pythHistoryFeedId: 'Crypto.USDC/USD',
|
||||||
|
poolId: ENV.NETWORK === NETWORK.DEVNET ? 678 : 1221,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
symbol: 'USDC.axl',
|
||||||
|
name: 'Axelar USDC',
|
||||||
|
id: 'axlUSDC',
|
||||||
|
denom: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||||
|
color: '#478edc',
|
||||||
|
logo: '/images/tokens/axlusdc.svg',
|
||||||
|
decimals: 6,
|
||||||
|
hasOraclePrice: true,
|
||||||
|
isEnabled: true,
|
||||||
|
isMarket: true,
|
||||||
|
isDisplayCurrency: true,
|
||||||
|
isStable: true,
|
||||||
|
isBorrowEnabled: true,
|
||||||
|
isAutoLendEnabled: true,
|
||||||
|
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
||||||
|
pythHistoryFeedId: 'Crypto.USDC/USD',
|
||||||
|
poolId: 678,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
symbol: 'ATOM',
|
symbol: 'ATOM',
|
||||||
name: 'Atom',
|
name: 'Atom',
|
||||||
@ -119,44 +157,6 @@ export const ASSETS: Asset[] = [
|
|||||||
isEnabled: true,
|
isEnabled: true,
|
||||||
forceFetchPrice: true,
|
forceFetchPrice: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
symbol: 'USDC.axl',
|
|
||||||
name: 'Axelar USDC',
|
|
||||||
id: 'axlUSDC',
|
|
||||||
denom: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
|
||||||
color: '#478edc',
|
|
||||||
logo: '/images/tokens/axlusdc.svg',
|
|
||||||
decimals: 6,
|
|
||||||
hasOraclePrice: true,
|
|
||||||
isEnabled: true,
|
|
||||||
isMarket: true,
|
|
||||||
isDisplayCurrency: true,
|
|
||||||
isStable: true,
|
|
||||||
isBorrowEnabled: true,
|
|
||||||
isAutoLendEnabled: true,
|
|
||||||
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
||||||
pythHistoryFeedId: 'Crypto.USDC/USD',
|
|
||||||
poolId: 678,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
symbol: 'USDC',
|
|
||||||
name: 'Noble',
|
|
||||||
id: 'USDC',
|
|
||||||
denom: 'ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4',
|
|
||||||
color: '#478edc',
|
|
||||||
logo: '/images/tokens/usdc.svg',
|
|
||||||
decimals: 6,
|
|
||||||
hasOraclePrice: true,
|
|
||||||
isEnabled: true,
|
|
||||||
isMarket: true,
|
|
||||||
isDisplayCurrency: true,
|
|
||||||
isStable: true,
|
|
||||||
isBorrowEnabled: true,
|
|
||||||
isAutoLendEnabled: true,
|
|
||||||
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
||||||
pythHistoryFeedId: 'Crypto.USDC/USD',
|
|
||||||
poolId: ENV.NETWORK === NETWORK.DEVNET ? 678 : 1221,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
symbol: 'USDT',
|
symbol: 'USDT',
|
||||||
id: 'USDT',
|
id: 'USDT',
|
||||||
|
@ -42,6 +42,7 @@ function PageContainer(props: Props) {
|
|||||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
const focusComponent = useStore((s) => s.focusComponent)
|
const focusComponent = useStore((s) => s.focusComponent)
|
||||||
|
const address = useStore((s) => s.address)
|
||||||
const [reduceMotion] = useLocalStorage<boolean>(
|
const [reduceMotion] = useLocalStorage<boolean>(
|
||||||
LocalStorageKeys.REDUCE_MOTION,
|
LocalStorageKeys.REDUCE_MOTION,
|
||||||
DEFAULT_SETTINGS.reduceMotion,
|
DEFAULT_SETTINGS.reduceMotion,
|
||||||
@ -66,6 +67,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
|
|||||||
'flex',
|
'flex',
|
||||||
'min-h-screen gap-6 px-4 py-6 w-full relative',
|
'min-h-screen gap-6 px-4 py-6 w-full relative',
|
||||||
!focusComponent &&
|
!focusComponent &&
|
||||||
|
address &&
|
||||||
isFullWidth &&
|
isFullWidth &&
|
||||||
accountId &&
|
accountId &&
|
||||||
(accountDetailsExpanded ? 'pr-118' : 'pr-24'),
|
(accountDetailsExpanded ? 'pr-118' : 'pr-24'),
|
||||||
|
Loading…
Reference in New Issue
Block a user