Merge branch 'ping-pub:master' into jackal

This commit is contained in:
Marston Connell 2022-10-21 10:10:00 -04:00 committed by GitHub
commit 9e250d747f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 108 additions and 46 deletions

2
public/logos/okp4.svg Normal file
View 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

View 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"
}]
}

View File

@ -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",

View File

@ -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",

View 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"
}
]
}

View File

@ -198,6 +198,7 @@
</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-card no-body>
<b-table <b-table
:items="stakingList" :items="stakingList"
:fields="fields" :fields="fields"
@ -241,6 +242,17 @@
</b-button-group> </b-button-group>
</template> </template>
</b-table> </b-table>
<b-card-footer class="text-right">
<b-button
v-b-modal.operation-modal
variant="outline-primary"
@click="selectWithdraw()"
>
<feather-icon icon="AwardIcon" />
Widthdraw Rewards
</b-button>
</b-card-footer>
</b-card>
</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)