Merge pull request #84 from donne1226/clean

clean project & add gzip
This commit is contained in:
ping
2022-03-15 17:18:20 +08:00
committed by GitHub
7 changed files with 264 additions and 257 deletions
+2 -2
View File
@@ -106,7 +106,7 @@
</b-button>
</template>
<b-dropdown-item
<!-- <b-dropdown-item
:to="{ name: 'portfolio' }"
class="d-none"
>
@@ -115,7 +115,7 @@
size="16"
/>
<span class="align-middle ml-50">Portofolio</span>
</b-dropdown-item>
</b-dropdown-item> -->
<b-dropdown-item :to="{ name: 'accounts' }">
<feather-icon
-42
View File
@@ -26,34 +26,6 @@ const router = new VueRouter({
],
},
},
{
path: '/wallet/setting',
name: 'setting',
component: () => import('@/views/WalletSetting.vue'),
meta: {
pageTitle: 'Setting',
breadcrumb: [
{
text: 'Setting',
active: true,
},
],
},
},
{
path: '/wallet/portfolio',
name: 'portfolio',
component: () => import('@/views/WalletPortfolio.vue'),
meta: {
pageTitle: 'Portfolio',
breadcrumb: [
{
text: 'Portfolio',
active: true,
},
],
},
},
{
path: '/coffee',
name: 'coffee',
@@ -97,20 +69,6 @@ const router = new VueRouter({
],
},
},
{
path: '/wallet/address',
name: 'addresses',
component: () => import('@/views/WalletAddressBook.vue'),
meta: {
pageTitle: 'Address Book',
breadcrumb: [
{
text: 'Address Book',
active: true,
},
],
},
},
{
path: '/wallet/delegations',
name: 'delegations',
+1 -5
View File
@@ -219,7 +219,6 @@ import {
extractAccountNumberAndSequence,
formatToken, formatTokenDenom, getLocalAccounts, getLocalChains, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/utils'
import { Cosmos } from '@cosmostation/cosmosjs'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
import WalletInputVue from './components/WalletInput.vue'
@@ -371,10 +370,7 @@ export default {
format(v) {
return formatToken(v, this.IBCDenom)
},
async sendCosmos() {
const cosmos = new Cosmos(this.selectedChain.api, this.chainId)
cosmos.getAccounts()
},
async send() {
const txMsgs = [
{