mockenv deployment rework; price and setprice scripts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<v-chip>
|
||||
<!-- <v-avatar start :image="token.icon === null ? '' : token.icon"/>-->
|
||||
<!-- <v-avatar start :image="token.image === null ? '' : token.image"/>-->
|
||||
{{token.symbol}} {{token.name}}
|
||||
</v-chip>
|
||||
</template>
|
||||
|
||||
@@ -35,7 +35,7 @@ const fixed = computed(() => FixedNumber.fromValue(props.amount, token.decimals,
|
||||
width: 256,
|
||||
decimals: token.decimals
|
||||
}))
|
||||
const imageSrc = computed(() => null)
|
||||
const imageSrc = computed(() => token.image)
|
||||
const withdrawing = ref(false)
|
||||
</script>
|
||||
|
||||
|
||||
@@ -23,10 +23,11 @@
|
||||
</v-card-text>
|
||||
</PhoneCard>
|
||||
-->
|
||||
<v-card v-if="s.vaults.length<num">
|
||||
<v-card v-if="s.vaults.length<=num">
|
||||
<v-card-title><v-icon icon="mdi-safe-square-outline" size="small" color="red"/> No Vault Yet</v-card-title>
|
||||
<v-card-text v-if="num!==0"><!--todo-->Multiple vaults are not yet supported</v-card-text>
|
||||
<v-card-text v-if="num===0">Create an order first, then your vault account will appear here to accept a deposit of trading funds.</v-card-text>
|
||||
<v-card-actions><v-btn prepend-icon="mdi-plus" text="Create Order" @click="$router.push('/orders')"/></v-card-actions>
|
||||
</v-card>
|
||||
<v-card v-if="s.vaults.length>num">
|
||||
<v-card-title><v-icon icon="mdi-safe-square-outline" size="small"/> My Vault {{s.vaults.length>1?'#'+(num+1):''}}</v-card-title> <!-- todo vault nicknames -->
|
||||
|
||||
@@ -4,7 +4,7 @@ const known_chains = [
|
||||
{
|
||||
name: 'Arbitrum One',
|
||||
id: 42161,
|
||||
icon: null,
|
||||
image: null,
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,77 +13,77 @@ const arbitrumTokens = [
|
||||
name: 'Wrapped Ether',
|
||||
symbol: 'WETH',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
|
||||
},
|
||||
{
|
||||
name: 'USD Coin (Bridged)',
|
||||
symbol: 'USDC.e',
|
||||
decimals: 6,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
|
||||
},
|
||||
{
|
||||
name: 'Tether USD',
|
||||
symbol: 'USDT',
|
||||
decimals: 6,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9',
|
||||
},
|
||||
{
|
||||
name: 'Wrapped Bitcoin',
|
||||
symbol: 'WBTC',
|
||||
decimals: 8,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f',
|
||||
},
|
||||
{
|
||||
name: 'DAI Stablecoin',
|
||||
symbol: 'DAI',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
|
||||
},
|
||||
{
|
||||
name: 'Uniswap',
|
||||
symbol: 'UNI',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0',
|
||||
},
|
||||
{
|
||||
name: 'Chainlink Token',
|
||||
symbol: 'LINK',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4',
|
||||
},
|
||||
{
|
||||
name: 'USD Coin (Native)',
|
||||
symbol: 'USDC',
|
||||
decimals: 6,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
|
||||
},
|
||||
{
|
||||
name: 'TrueUSD',
|
||||
symbol: 'TUSD',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0x4D15a3A2286D883AF0AA1B3f21367843FAc63E07',
|
||||
},
|
||||
{
|
||||
name: 'Lido DAO Token',
|
||||
symbol: 'LDO',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0x13Ad51ed4F1B7e9Dc168d8a00cB3f4dDD85EfA60',
|
||||
},
|
||||
{
|
||||
name: 'Arbitrum',
|
||||
symbol: 'ARB',
|
||||
decimals: 18,
|
||||
icon: null,
|
||||
image: null,
|
||||
address: '0x912CE59144191C1204E64559FE8253a0e49E6548',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user