This commit is contained in:
liangping 2021-12-22 14:21:23 +08:00
parent 53bc4dbdf9
commit af9f1cac45
45 changed files with 59 additions and 49 deletions

View File

@ -110,11 +110,18 @@
<b-dropdown-item :to="`/${selected_chain.chain_name}/uptime/my`"> <b-dropdown-item :to="`/${selected_chain.chain_name}/uptime/my`">
<feather-icon <feather-icon
icon="SettingsIcon" icon="AirplayIcon"
size="16" size="16"
/> />
<span class="align-middle ml-50">My Validators</span> <span class="align-middle ml-50">My Validators</span>
</b-dropdown-item> </b-dropdown-item>
<b-dropdown-item :to="`/wallet/transactions`">
<feather-icon
icon="LayersIcon"
size="16"
/>
<span class="align-middle ml-50">My Transactions</span>
</b-dropdown-item>
</b-dropdown> </b-dropdown>
</b-navbar-nav> </b-navbar-nav>
</div> </div>
@ -131,7 +138,7 @@ import Locale from '@core/layouts/components/app-navbar/components/Locale.vue'
import SearchBar from '@core/layouts/components/app-navbar/components/SearchBar.vue' import SearchBar from '@core/layouts/components/app-navbar/components/SearchBar.vue'
// import CartDropdown from '@core/layouts/components/app-navbar/components/CartDropdown.vue' // import CartDropdown from '@core/layouts/components/app-navbar/components/CartDropdown.vue'
import store from '@/store' import store from '@/store'
import { getLocalAccounts, timeIn, toDay } from '@/libs/data' import { getLocalAccounts, timeIn, toDay } from '@/libs/utils'
// import UserDropdown from '@core/layouts/components/app-navbar/components/UserDropdown.vue' // import UserDropdown from '@core/layouts/components/app-navbar/components/UserDropdown.vue'
export default { export default {

View File

@ -10,6 +10,5 @@ export { default as Block } from './block'
export { default as ValidatorDistribution } from './validator-distribution' export { default as ValidatorDistribution } from './validator-distribution'
export { default as StakingDelegation } from './staking-delegation' export { default as StakingDelegation } from './staking-delegation'
export { default as WrapStdTx } from './wrapstdtx' export { default as WrapStdTx } from './wrapstdtx'
export * from './data'
export default class Test {} export default class Test {}

View File

@ -1,4 +1,4 @@
import { percent } from './data' import { percent } from '../utils'
export default class ProposalTally { export default class ProposalTally {
constructor() { constructor() {

View File

@ -1,5 +1,5 @@
import compareVersions from 'compare-versions' import compareVersions from 'compare-versions'
import { toDay, formatToken } from './data' import { toDay, formatToken } from '../utils'
import ProposalTally from './proposal-tally' import ProposalTally from './proposal-tally'
export default class Proposal { export default class Proposal {

View File

@ -1,4 +1,4 @@
import { percent } from './data' import { percent } from '../utils'
export default class StakingPool { export default class StakingPool {
constructor() { constructor() {

View File

@ -7,7 +7,7 @@ import { toBase64 } from '@cosmjs/encoding'
import { import {
Proposal, ProposalTally, Proposer, StakingPool, Votes, Deposit, Proposal, ProposalTally, Proposer, StakingPool, Votes, Deposit,
Validator, StakingParameters, Block, ValidatorDistribution, StakingDelegation, WrapStdTx, getUserCurrency, Validator, StakingParameters, Block, ValidatorDistribution, StakingDelegation, WrapStdTx, getUserCurrency,
} from './data' } from './utils'
import OsmosAPI from './osmos' import OsmosAPI from './osmos'
function commonProcess(res) { function commonProcess(res) {

View File

@ -8,7 +8,7 @@
import { sha256 } from '@cosmjs/crypto' import { sha256 } from '@cosmjs/crypto'
import { toHex } from '@cosmjs/encoding' import { toHex } from '@cosmjs/encoding'
import fetch from 'node-fetch' import fetch from 'node-fetch'
import { formatTokenDenom, getLocalChains } from './data/data' import { formatTokenDenom, getLocalChains } from './utils'
export const poolIds = { export const poolIds = {
1: true, 1: true,

View File

@ -16,7 +16,7 @@ import RIPEMD160 from 'ripemd160'
import localeData from 'dayjs/plugin/localeData' import localeData from 'dayjs/plugin/localeData'
import { $themeColors } from '@themeConfig' import { $themeColors } from '@themeConfig'
// import { SigningStargateClient } from '@cosmjs/stargate' // import { SigningStargateClient } from '@cosmjs/stargate'
import PingWalletClient from './signing' import PingWalletClient from './data/signing'
dayjs.extend(localeData) dayjs.extend(localeData)
dayjs.extend(duration) dayjs.extend(duration)
@ -415,6 +415,7 @@ export function getStakingValidatorOperator(chainName, addr, length = -1) {
export * from 'compare-versions' export * from 'compare-versions'
export * from './data'
export class Data { export class Data {
} }

View File

@ -1,5 +1,5 @@
import store from '@/store' import store from '@/store'
import { isTestnet } from '../../libs/data/data' import { isTestnet } from '../../libs/utils'
const modules = [ const modules = [
{ {

View File

@ -114,17 +114,17 @@ const router = new VueRouter({
}, },
}, },
{ {
path: '/wallet/helping', path: '/wallet/transactions',
name: 'helping', name: 'mytransactions',
component: () => import('@/views/WalletHelping.vue'), component: () => import('@/views/WalletTransactions.vue'),
meta: { meta: {
pageTitle: 'Help Ping.pub', pageTitle: 'Transaction History',
breadcrumb: [ breadcrumb: [
{ {
text: 'Wallet', text: 'Wallet',
}, },
{ {
text: 'Help Ping.pub', text: 'Transaction History',
}, },
], ],
}, },

View File

@ -5,7 +5,7 @@
* @LastEditors: dingyiming * @LastEditors: dingyiming
* @LastEditTime: 2021-11-20 15:33:07 * @LastEditTime: 2021-11-20 15:33:07
*/ */
import { isTestnet } from '@/libs/data/data' import { isTestnet } from '@/libs/utils'
let chains = {} let chains = {}

View File

@ -27,7 +27,7 @@ import { BTable } from 'bootstrap-vue'
import { import {
getStakingValidatorByHex, isHexAddress, isToken, percent, toDay, tokenFormatter, getStakingValidatorByHex, isHexAddress, isToken, percent, toDay, tokenFormatter,
} from '@/libs/data/data' } from '@/libs/utils'
export default { export default {
name: 'ArrayFieldComponent', name: 'ArrayFieldComponent',

View File

@ -46,7 +46,7 @@ import { BCard, BTable } from 'bootstrap-vue'
import { fromBase64 } from '@cosmjs/encoding' import { fromBase64 } from '@cosmjs/encoding'
import { decodeTxRaw } from '@cosmjs/proto-signing' import { decodeTxRaw } from '@cosmjs/proto-signing'
import Tx from '@/libs/data/tx' import Tx from '@/libs/data/tx'
import { abbrMessage, tokenFormatter } from '@/libs/data' import { abbrMessage, tokenFormatter } from '@/libs/utils'
import ObjectFieldComponent from './ObjectFieldComponent.vue' import ObjectFieldComponent from './ObjectFieldComponent.vue'
import ArrayFieldComponent from './ArrayFieldComponent.vue' import ArrayFieldComponent from './ArrayFieldComponent.vue'

View File

@ -50,7 +50,7 @@ import {
getCachedValidators, getCachedValidators,
getStakingValidatorByHex, getStakingValidatorByHex,
toDay, toDay,
} from '@/libs/data' } from '@/libs/utils'
// import fetch from 'node-fetch' // import fetch from 'node-fetch'
export default { export default {

View File

@ -9,7 +9,7 @@
</template> </template>
<script> <script>
import { percent } from '@/libs/data' import { percent } from '@/libs/utils'
import { $themeColors } from '@themeConfig' import { $themeColors } from '@themeConfig'
import ChartjsComponentDoughnutChart from './ChartjsComponentDoughnutChart.vue' import ChartjsComponentDoughnutChart from './ChartjsComponentDoughnutChart.vue'

View File

@ -268,7 +268,7 @@ import {
import FlipCountdown from 'vue2-flip-countdown' import FlipCountdown from 'vue2-flip-countdown'
// import fetch from 'node-fetch' // import fetch from 'node-fetch'
import { getCachedValidators, getStakingValidatorByAccount, tokenFormatter } from '@/libs/data/data' import { getCachedValidators, getStakingValidatorByAccount, tokenFormatter } from '@/libs/utils'
import { Proposal, Proposer } from '@/libs/data' import { Proposal, Proposer } from '@/libs/data'
import dayjs from 'dayjs' import dayjs from 'dayjs'
import ObjectFieldComponent from './ObjectFieldComponent.vue' import ObjectFieldComponent from './ObjectFieldComponent.vue'

View File

@ -63,7 +63,7 @@
import { import {
BCard, BCardTitle, VBTooltip, BCard, BCardTitle, VBTooltip,
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { formatTokenDenom } from '@/libs/data' import { formatTokenDenom } from '@/libs/utils'
// import fetch from 'node-fetch' // import fetch from 'node-fetch'
export default { export default {

View File

@ -105,7 +105,7 @@ import {
import Ripple from 'vue-ripple-directive' import Ripple from 'vue-ripple-directive'
import VuexyLogo from '@core/layouts/components/Logo.vue' import VuexyLogo from '@core/layouts/components/Logo.vue'
import store from '@/store/index' import store from '@/store/index'
import { timeIn, toDay } from '@/libs/data' import { timeIn, toDay } from '@/libs/utils'
import DarkToggler from '@/@core/layouts/components/app-navbar/components/DarkToggler.vue' import DarkToggler from '@/@core/layouts/components/app-navbar/components/DarkToggler.vue'
import Locale from '@/@core/layouts/components/app-navbar/components/Locale.vue' import Locale from '@/@core/layouts/components/app-navbar/components/Locale.vue'
import AppFooter from '@/@core/layouts/components/AppFooter.vue' import AppFooter from '@/@core/layouts/components/AppFooter.vue'

View File

@ -73,7 +73,7 @@ import {
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { import {
abbr, getStakingValidatorByHex, isHexAddress, isStringArray, isToken, percent, tokenFormatter, abbr, getStakingValidatorByHex, isHexAddress, isStringArray, isToken, percent, tokenFormatter,
} from '@/libs/data' } from '@/libs/utils'
import ArrayFieldComponent from './ArrayFieldComponent.vue' import ArrayFieldComponent from './ArrayFieldComponent.vue'
export default { export default {

View File

@ -286,7 +286,7 @@ import {
} from '@validations' } from '@validations'
import { import {
abbrAddress, formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn, abbrAddress, formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import vSelect from 'vue-select' import vSelect from 'vue-select'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'

View File

@ -255,7 +255,7 @@ import {
import { import {
abbrAddress, abbrAddress,
formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
export default { export default {

View File

@ -254,7 +254,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, formatTokenDenom, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import vSelect from 'vue-select' import vSelect from 'vue-select'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'

View File

@ -301,7 +301,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, formatTokenDenom, getLocalAccounts, getLocalChains, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getLocalAccounts, getLocalChains, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import { Cosmos } from '@cosmostation/cosmosjs' import { Cosmos } from '@cosmostation/cosmosjs'
import vSelect from 'vue-select' import vSelect from 'vue-select'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'

View File

@ -257,7 +257,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, formatTokenDenom, getLocalAccounts, getLocalChains, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getLocalAccounts, getLocalChains, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import { Cosmos } from '@cosmostation/cosmosjs' import { Cosmos } from '@cosmostation/cosmosjs'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'

View File

@ -232,7 +232,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, formatTokenDenom, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import vSelect from 'vue-select' import vSelect from 'vue-select'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'

View File

@ -244,7 +244,7 @@ import {
import { import {
abbrAddress, abbrAddress,
formatToken, getLocalAccounts, setLocalTxHistory, sign, timeIn, formatToken, getLocalAccounts, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
export default { export default {

View File

@ -169,7 +169,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, setLocalTxHistory, sign, timeIn, formatToken, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
export default { export default {

View File

@ -177,7 +177,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, getLocalAccounts, getLocalChains, sign, timeIn, setLocalTxHistory, formatToken, getLocalAccounts, getLocalChains, sign, timeIn, setLocalTxHistory,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
export default { export default {

View File

@ -114,7 +114,7 @@ import {
BRow, BCol, BCard, BButton, BPopover, BTable, BSpinner, BRow, BCol, BCard, BButton, BPopover, BTable, BSpinner,
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { CoinGeckoMap, getPairName } from '@/libs/osmos' import { CoinGeckoMap, getPairName } from '@/libs/osmos'
import { formatTokenDenom } from '@/libs/data' import { formatTokenDenom } from '@/libs/utils'
import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue' import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue'
import Place from './components/KlineTrade/Place.vue' import Place from './components/KlineTrade/Place.vue'
// import Kline from './components/kline/index.vue' // import Kline from './components/kline/index.vue'

View File

@ -117,7 +117,7 @@ import {
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { import {
Validator, percent, StakingParameters, formatToken, Validator, percent, StakingParameters, formatToken,
} from '@/libs/data' } from '@/libs/utils'
import { keybase } from '@/libs/fetch' import { keybase } from '@/libs/fetch'
// import { toHex } from '@cosmjs/encoding' // import { toHex } from '@cosmjs/encoding'
// import fetch from 'node-fetch' // import fetch from 'node-fetch'

View File

@ -53,7 +53,7 @@ import {
} from 'bootstrap-vue' } from 'bootstrap-vue'
import VueApexCharts from 'vue-apexcharts' import VueApexCharts from 'vue-apexcharts'
import { $themeColors } from '@themeConfig' import { $themeColors } from '@themeConfig'
import { percent, toDay } from '@/libs/data' import { percent, toDay } from '@/libs/utils'
const $strokeColor = '#ebe9f1' const $strokeColor = '#ebe9f1'
const $textHeadingColor = '#5e5873' const $textHeadingColor = '#5e5873'

View File

@ -279,7 +279,7 @@ import {
import { import {
percent, formatToken, StakingParameters, Validator, operatorAddressToAccount, consensusPubkeyToHexAddress, toDay, abbrMessage, abbrAddress, percent, formatToken, StakingParameters, Validator, operatorAddressToAccount, consensusPubkeyToHexAddress, toDay, abbrMessage, abbrAddress,
} from '@/libs/data' } from '@/libs/utils'
import { keybase } from '@/libs/fetch' import { keybase } from '@/libs/fetch'
import StakingAddressComponent from './StakingAddressComponent.vue' import StakingAddressComponent from './StakingAddressComponent.vue'
import StakingCommissionComponent from './StakingCommissionComponent.vue' import StakingCommissionComponent from './StakingCommissionComponent.vue'

View File

@ -65,7 +65,7 @@ import {
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { import {
formatNumber, formatTokenAmount, getUserCurrency, isToken, percent, timeIn, toDay, toDuration, tokenFormatter, formatNumber, formatTokenAmount, getUserCurrency, isToken, percent, timeIn, toDay, toDuration, tokenFormatter,
} from '@/libs/data' } from '@/libs/utils'
import SummaryParmetersComponent from './SummaryParmetersComponent.vue' import SummaryParmetersComponent from './SummaryParmetersComponent.vue'
import SummaryAssetsComponent from './SummaryAssetsComponent.vue' import SummaryAssetsComponent from './SummaryAssetsComponent.vue'

View File

@ -16,7 +16,7 @@
<script> <script>
import { BTable, BCardTitle, BCard } from 'bootstrap-vue' import { BTable, BCardTitle, BCard } from 'bootstrap-vue'
import { formatNumber, formatTokenAmount, formatTokenDenom } from '@/libs/data' import { formatNumber, formatTokenAmount, formatTokenDenom } from '@/libs/utils'
export default { export default {
components: { components: {

View File

@ -94,7 +94,7 @@
import { import {
BCard, BTableSimple, BTr, BTd, BBadge, BCardBody, BCard, BTableSimple, BTr, BTd, BBadge, BCardBody,
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { toDay, tokenFormatter } from '@/libs/data' import { toDay, tokenFormatter } from '@/libs/utils'
import ObjectFieldComponent from './ObjectFieldComponent.vue' import ObjectFieldComponent from './ObjectFieldComponent.vue'
export default { export default {

View File

@ -67,7 +67,7 @@ import {
import { import {
consensusPubkeyToHexAddress, getCachedValidators, timeIn, toDay, consensusPubkeyToHexAddress, getCachedValidators, timeIn, toDay,
} from '@/libs/data' } from '@/libs/utils'
export default { export default {
components: { components: {

View File

@ -59,7 +59,7 @@ import {
import { import {
getLocalChains, timeIn, toDay, getLocalChains, timeIn, toDay,
} from '@/libs/data' } from '@/libs/utils'
export default { export default {
name: 'Blocks', name: 'Blocks',

View File

@ -22,7 +22,7 @@
import { import {
BRow, BCol, VBTooltip, BRow, BCol, VBTooltip,
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { consensusPubkeyToHexAddress, getCachedValidators } from '@/libs/data' import { consensusPubkeyToHexAddress, getCachedValidators } from '@/libs/utils'
import UptimeMyChainBlocks from './UptimeMyChainBlocks.vue' import UptimeMyChainBlocks from './UptimeMyChainBlocks.vue'
export default { export default {

View File

@ -370,7 +370,7 @@ import chainAPI from '@/libs/fetch'
import { import {
formatToken, formatTokenAmount, formatTokenDenom, getStakingValidatorOperator, percent, tokenFormatter, toDay, formatToken, formatTokenAmount, formatTokenDenom, getStakingValidatorOperator, percent, tokenFormatter, toDay,
toDuration, abbrMessage, abbrAddress, getUserCurrency, getUserCurrencySign, toDuration, abbrMessage, abbrAddress, getUserCurrency, getUserCurrencySign,
} from '@/libs/data' } from '@/libs/utils'
import ObjectFieldComponent from './ObjectFieldComponent.vue' import ObjectFieldComponent from './ObjectFieldComponent.vue'
import OperationTransferComponent from './OperationTransferComponent.vue' import OperationTransferComponent from './OperationTransferComponent.vue'
import OperationWithdrawComponent from './OperationWithdrawComponent.vue' import OperationWithdrawComponent from './OperationWithdrawComponent.vue'

View File

@ -265,7 +265,7 @@ import { required } from '@validations'
import store from '@/store' import store from '@/store'
import { import {
addressDecode, addressEnCode, getLedgerAddress, getLocalAccounts, addressDecode, addressEnCode, getLedgerAddress, getLocalAccounts,
} from '@/libs/data' } from '@/libs/utils'
import { toHex } from '@cosmjs/encoding' import { toHex } from '@cosmjs/encoding'
export default { export default {

View File

@ -279,7 +279,7 @@ import {
chartColors, chartColors,
formatNumber, formatNumber,
formatTokenAmount, formatTokenDenom, getLocalAccounts, getLocalChains, getUserCurrency, getUserCurrencySign, setUserCurrency, formatTokenAmount, formatTokenDenom, getLocalAccounts, getLocalChains, getUserCurrency, getUserCurrencySign, setUserCurrency,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
import AppCollapse from '@core/components/app-collapse/AppCollapse.vue' import AppCollapse from '@core/components/app-collapse/AppCollapse.vue'
import AppCollapseItem from '@core/components/app-collapse/AppCollapseItem.vue' import AppCollapseItem from '@core/components/app-collapse/AppCollapseItem.vue'

View File

@ -92,7 +92,7 @@ import {
import Ripple from 'vue-ripple-directive' import Ripple from 'vue-ripple-directive'
import { import {
formatToken, getCachedValidators, getLocalAccounts, getLocalChains, tokenFormatter, formatToken, getCachedValidators, getLocalAccounts, getLocalChains, tokenFormatter,
} from '@/libs/data' } from '@/libs/utils'
import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue' import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue'
import OperationWithdrawComponent from './OperationWithdrawComponent.vue' import OperationWithdrawComponent from './OperationWithdrawComponent.vue'

View File

@ -55,5 +55,8 @@ export default {
directives: { directives: {
'b-tooltip': VBTooltip, 'b-tooltip': VBTooltip,
}, },
created() {
},
} }
</script> </script>

View File

@ -240,7 +240,7 @@ import {
} from '@validations' } from '@validations'
import { import {
formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn, formatToken, formatTokenDenom, getLocalAccounts, getUnitAmount, setLocalTxHistory, sign, timeIn,
} from '@/libs/data' } from '@/libs/utils'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
import { coin } from '@cosmjs/amino' import { coin } from '@cosmjs/amino'
import { getChainConfigForSymbol } from '@/libs/osmos' import { getChainConfigForSymbol } from '@/libs/osmos'

View File

@ -227,7 +227,7 @@ import {
import FeatherIcon from '@core/components/feather-icon/FeatherIcon.vue' import FeatherIcon from '@core/components/feather-icon/FeatherIcon.vue'
import { import {
formatTokenAmount, getLocalAccounts, percent, setLocalTxHistory, sign, formatTokenAmount, getLocalAccounts, percent, setLocalTxHistory, sign,
} from '@/libs/data' } from '@/libs/utils'
import { getPairName } from '@/libs/osmos' import { getPairName } from '@/libs/osmos'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
import DepositeWindow from './DepositeWindow.vue' import DepositeWindow from './DepositeWindow.vue'