fix: set default stable to USDC.axl
This commit is contained in:
parent
701071d981
commit
403bce84fb
@ -66,7 +66,7 @@ export default function AssetOverlay(props: Props) {
|
||||
const stableAssets = useMemo(() => allAssets.filter((asset) => asset.isStable), [allAssets])
|
||||
const handleClose = useCallback(() => props.onChangeState('closed'), [props])
|
||||
const handleToggle = useCallback(() => props.onChangeState(props.state), [props])
|
||||
const [selectedStables, setSelectedStables] = useState<Asset[]>(stableAssets)
|
||||
const [selectedStables, setSelectedStables] = useState<Asset[]>([stableAssets[0]])
|
||||
|
||||
const buyAssets = useMemo(
|
||||
() =>
|
||||
|
@ -19,25 +19,6 @@ export const ASSETS: Asset[] = [
|
||||
pythPriceFeedId: '5867f5683c757393a0670ef0f701490950fe93fdb006d181c8265a831ac0c5c6',
|
||||
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',
|
||||
@ -57,6 +38,25 @@ export const ASSETS: Asset[] = [
|
||||
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: 'ATOM',
|
||||
name: 'Atom',
|
||||
|
Loading…
Reference in New Issue
Block a user