forked from cerc-io/cosmos-explorer
Merge branch 'ping-pub:master' into jackal
This commit is contained in:
commit
9e250d747f
2
public/logos/okp4.svg
Normal file
2
public/logos/okp4.svg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg id="uuid-7c4dac6b-fee9-4a31-84a7-3dedb7527f8e" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 313.61 231.9"><polygon points="114.88 231.9 0 115.49 116.11 .92 143.14 28.26 127.78 43.31 116.11 31.33 30.41 115.8 114.88 201.5 125.93 190.74 140.99 206.1 114.88 231.9" style="fill:#181c49;"/><polygon points="199.35 160.64 184.29 145.29 212.86 117.03 183.37 86.93 198.42 71.87 243.27 117.33 199.35 160.64" style="fill:#cecece;"/><path d="M197.5,230.68L82.93,114.57,170.17,28.57h0L199.04,0l114.57,116.41-116.11,114.26ZM113.34,114.88l84.47,85.7,85.39-84.47L198.73,30.41,113.34,114.88h0Z" style="fill:#181c49;"/></svg>
|
After Width: | Height: | Size: 654 B |
25
src/chains/mainnet/commercionetwork.json
Normal file
25
src/chains/mainnet/commercionetwork.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"chain_name": "commercio.network",
|
||||||
|
"coingecko": "",
|
||||||
|
"api": ["https://lcd-mainnet.commercio.network"],
|
||||||
|
"rpc": ["https://rpc-mainnet.commercio.network:443"],
|
||||||
|
"snapshot_provider": "",
|
||||||
|
"sdk_version": "0.45.9",
|
||||||
|
"coin_type": "118",
|
||||||
|
"min_tx_fee": "10000",
|
||||||
|
"addr_prefix": "did:com:",
|
||||||
|
"logo": "/logos/commercionetwork.png",
|
||||||
|
"assets": [{
|
||||||
|
"base": "ucommercio",
|
||||||
|
"symbol": "COM",
|
||||||
|
"exponent": "6",
|
||||||
|
"coingecko_id": "",
|
||||||
|
"logo": "/logos/com.png"
|
||||||
|
},{
|
||||||
|
"base": "uccc",
|
||||||
|
"symbol": "CCC",
|
||||||
|
"exponent": "6",
|
||||||
|
"coingecko_id": "",
|
||||||
|
"logo": "/logos/ccc.png"
|
||||||
|
}]
|
||||||
|
}
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"chain_name": "echelon",
|
"chain_name": "echelon",
|
||||||
"coingecko": "echelon",
|
"coingecko": "echelon",
|
||||||
"api": ["https://api.ech.network", "https://lcd-echelon.whispernode.com", "https://api.echelon.nodestake.top", "https://echelon-api.polkachu.com"],
|
"api": ["https://api.ech.network", "https://lcd-echelon.whispernode.com", "https://api.echelon.nodestake.top", "https://echelon-api.polkachu.com", "https://api.eu.ech.world", "https://api.us.ech.world"],
|
||||||
"rpc": ["https://tendermint.ech.network", "https://rpc-echelon.whispernode.com" , "https://rpc.echelon.nodestake.top", "https://echelon-rpc.polkachu.com"],
|
"rpc": ["https://tendermint.ech.network", "https://rpc-echelon.whispernode.com" , "https://rpc.echelon.nodestake.top", "https://echelon-rpc.polkachu.com", "https://rpc.eu.ech.world", "https://rpc.us.ech.world"],
|
||||||
"snapshot_provider": "",
|
"snapshot_provider": "",
|
||||||
"sdk_version": "0.45.1",
|
"sdk_version": "0.45.1",
|
||||||
"coin_type": "60",
|
"coin_type": "60",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"api": ["https://mainnet-lcd.vidulum.app", "https://api-vidulum-ia.cosmosia.notional.ventures", "https://rest.rpc.erialos.me"],
|
"api": ["https://mainnet-lcd.vidulum.app", "https://api-vidulum-ia.cosmosia.notional.ventures", "https://rest.rpc.erialos.me"],
|
||||||
"rpc": ["https://trpc.rpc.erialos.me:443","https://rpc-vidulum-ia.cosmosia.notional.ventures:443", "https://mainnet-rpc.vidulum.app:443"],
|
"rpc": ["https://trpc.rpc.erialos.me:443","https://rpc-vidulum-ia.cosmosia.notional.ventures:443", "https://mainnet-rpc.vidulum.app:443"],
|
||||||
"snapshot_provider": "c32903505e9ab811ac46306d2913c98ccf4883ce@rpc.erialos.me:26656",
|
"snapshot_provider": "c32903505e9ab811ac46306d2913c98ccf4883ce@rpc.erialos.me:26656",
|
||||||
"sdk_version": "0.44.0",
|
"sdk_version": "0.45.9",
|
||||||
"coin_type": "370",
|
"coin_type": "370",
|
||||||
"min_tx_fee": "8000",
|
"min_tx_fee": "8000",
|
||||||
"addr_prefix": "vdl",
|
"addr_prefix": "vdl",
|
||||||
|
19
src/chains/testnet/okp4.json
Normal file
19
src/chains/testnet/okp4.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"chain_name": "OKP4 testnet",
|
||||||
|
"api": ["https://api.testnet.okp4.network"],
|
||||||
|
"rpc": ["https://api.testnet.okp4.network:443/rpc"],
|
||||||
|
"snapshot_provider": "",
|
||||||
|
"sdk_version": "0.46.2",
|
||||||
|
"coin_type": "118",
|
||||||
|
"min_tx_fee": "800",
|
||||||
|
"addr_prefix": "okp4",
|
||||||
|
"logo": "/logos/okp4.png",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"base": "uknow",
|
||||||
|
"symbol": "KNOW",
|
||||||
|
"exponent": "6",
|
||||||
|
"logo": "/logos/okp4.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -198,49 +198,61 @@
|
|||||||
</b-row>
|
</b-row>
|
||||||
<b-row v-if="stakingList && stakingList.length > 0">
|
<b-row v-if="stakingList && stakingList.length > 0">
|
||||||
<b-col>
|
<b-col>
|
||||||
<b-table
|
<b-card no-body>
|
||||||
:items="stakingList"
|
<b-table
|
||||||
:fields="fields"
|
:items="stakingList"
|
||||||
striped
|
:fields="fields"
|
||||||
hover
|
striped
|
||||||
responsive="sm"
|
hover
|
||||||
stacked="sm"
|
responsive="sm"
|
||||||
>
|
stacked="sm"
|
||||||
<template #cell(action)="data">
|
>
|
||||||
<!-- size -->
|
<template #cell(action)="data">
|
||||||
<b-button-group
|
<!-- size -->
|
||||||
size="sm"
|
<b-button-group
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
<b-button
|
||||||
|
v-b-modal.operation-modal
|
||||||
|
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
||||||
|
v-b-tooltip.hover.top="'Delegate'"
|
||||||
|
variant="outline-primary"
|
||||||
|
@click="selectDelegation(data,'Delegate')"
|
||||||
|
>
|
||||||
|
<feather-icon icon="LogInIcon" />
|
||||||
|
</b-button>
|
||||||
|
<b-button
|
||||||
|
v-b-modal.operation-modal
|
||||||
|
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
||||||
|
v-b-tooltip.hover.top="'Redelegate'"
|
||||||
|
variant="outline-primary"
|
||||||
|
@click="selectDelegation(data,'Redelegate')"
|
||||||
|
>
|
||||||
|
<feather-icon icon="ShuffleIcon" />
|
||||||
|
</b-button>
|
||||||
|
<b-button
|
||||||
|
v-b-modal.operation-modal
|
||||||
|
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
||||||
|
v-b-tooltip.hover.top="'Unbond'"
|
||||||
|
variant="outline-primary"
|
||||||
|
@click="selectDelegation(data,'Unbond')"
|
||||||
|
>
|
||||||
|
<feather-icon icon="LogOutIcon" />
|
||||||
|
</b-button>
|
||||||
|
</b-button-group>
|
||||||
|
</template>
|
||||||
|
</b-table>
|
||||||
|
<b-card-footer class="text-right">
|
||||||
|
<b-button
|
||||||
|
v-b-modal.operation-modal
|
||||||
|
variant="outline-primary"
|
||||||
|
@click="selectWithdraw()"
|
||||||
>
|
>
|
||||||
<b-button
|
<feather-icon icon="AwardIcon" />
|
||||||
v-b-modal.operation-modal
|
Widthdraw Rewards
|
||||||
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
</b-button>
|
||||||
v-b-tooltip.hover.top="'Delegate'"
|
</b-card-footer>
|
||||||
variant="outline-primary"
|
</b-card>
|
||||||
@click="selectDelegation(data,'Delegate')"
|
|
||||||
>
|
|
||||||
<feather-icon icon="LogInIcon" />
|
|
||||||
</b-button>
|
|
||||||
<b-button
|
|
||||||
v-b-modal.operation-modal
|
|
||||||
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
|
||||||
v-b-tooltip.hover.top="'Redelegate'"
|
|
||||||
variant="outline-primary"
|
|
||||||
@click="selectDelegation(data,'Redelegate')"
|
|
||||||
>
|
|
||||||
<feather-icon icon="ShuffleIcon" />
|
|
||||||
</b-button>
|
|
||||||
<b-button
|
|
||||||
v-b-modal.operation-modal
|
|
||||||
v-ripple.400="'rgba(113, 102, 240, 0.15)'"
|
|
||||||
v-b-tooltip.hover.top="'Unbond'"
|
|
||||||
variant="outline-primary"
|
|
||||||
@click="selectDelegation(data,'Unbond')"
|
|
||||||
>
|
|
||||||
<feather-icon icon="LogOutIcon" />
|
|
||||||
</b-button>
|
|
||||||
</b-button-group>
|
|
||||||
</template>
|
|
||||||
</b-table>
|
|
||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
|
||||||
@ -331,7 +343,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
BRow, BCol, BAlert, BCard, BTable, BFormCheckbox, BCardHeader, BCardTitle, BMedia, BMediaAside, BMediaBody, BAvatar,
|
BRow, BCol, BAlert, BCard, BTable, BFormCheckbox, BCardHeader, BCardTitle, BMedia, BMediaAside, BMediaBody, BAvatar,
|
||||||
BCardBody, BLink, BButtonGroup, BButton, BTooltip, VBModal, VBTooltip,
|
BCardBody, BLink, BButtonGroup, BButton, BTooltip, VBModal, VBTooltip, BCardFooter,
|
||||||
} from 'bootstrap-vue'
|
} from 'bootstrap-vue'
|
||||||
import {
|
import {
|
||||||
formatNumber, formatTokenAmount, isToken, percent, timeIn, toDay, toDuration, tokenFormatter, getLocalAccounts,
|
formatNumber, formatTokenAmount, isToken, percent, timeIn, toDay, toDuration, tokenFormatter, getLocalAccounts,
|
||||||
@ -365,6 +377,7 @@ export default {
|
|||||||
BMedia,
|
BMedia,
|
||||||
BCardBody,
|
BCardBody,
|
||||||
BLink,
|
BLink,
|
||||||
|
BCardFooter,
|
||||||
|
|
||||||
OperationModal,
|
OperationModal,
|
||||||
ParametersModuleComponent,
|
ParametersModuleComponent,
|
||||||
@ -499,6 +512,9 @@ export default {
|
|||||||
selectSend() {
|
selectSend() {
|
||||||
this.operationModalType = 'Transfer'
|
this.operationModalType = 'Transfer'
|
||||||
},
|
},
|
||||||
|
selectWithdraw() {
|
||||||
|
this.operationModalType = 'Withdraw'
|
||||||
|
},
|
||||||
formatToken(tokens) {
|
formatToken(tokens) {
|
||||||
if (Array.isArray(tokens)) {
|
if (Array.isArray(tokens)) {
|
||||||
let nativeToken = tokens.filter(x => x.denom.length < 11)
|
let nativeToken = tokens.filter(x => x.denom.length < 11)
|
||||||
|
Loading…
Reference in New Issue
Block a user