Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ping-pub/explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
liangping committed Jul 11, 2023
2 parents 65c9f8c + 51c15a3 commit bcdab16
Show file tree
Hide file tree
Showing 14 changed files with 171 additions and 10 deletions.
27 changes: 27 additions & 0 deletions chains/mainnet/archway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"chain_name": "archway",
"api": [
"https://api.mainnet.archway.io",
"https://api-1.archway.nodes.guru",
"https://api.archway.nodestake.top"
],
"rpc": [
"https://rpc.mainnet.archway.io",
"https://rpc-1.archway.nodes.guru",
"https://rpc.archway.nodestake.top"
],
"snapshot_provider": "https://snapshots.archway.tech/",
"sdk_version": "v0.45.16",
"coin_type": "118",
"min_tx_fee": "",
"addr_prefix": "archway",
"assets": [
{
"base": "aarch",
"symbol": "ARCH",
"exponent": "18",
"coingecko_id": "archway",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/images/archway.png"
}
]
}
6 changes: 3 additions & 3 deletions chains/mainnet/centauri.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"chain_name": "Centauri",
"api": ["https://composable-api.polkachu.com","https://api.composable.nodestake.top"],
"rpc": ["https://composable-rpc.polkachu.com","https://rpc.composable.nodestake.top"],
"chain_name": "composable",
"api": ["https://api-composable-ia.cosmosia.notional.ventures","https://composable-api.polkachu.com","https://api.composable.nodestake.top"],
"rpc": ["https://rpc-composable-ia.cosmosia.notional.ventures","https://composable-rpc.polkachu.com","https://rpc.composable.nodestake.top"],
"coingecko": "",
"snapshot_provider": "",
"sdk_version": "0.47.1",
Expand Down
19 changes: 19 additions & 0 deletions chains/mainnet/empower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"chain_name": "empower",
"coingecko": "",
"api": ["https://api.empower.nodestake.top", "https://empower-api.polkachu.com"],
"rpc": ["https://api.empower.nodestake.top", "https://empower-rpc.polkachu.com"],
"snapshot_provider": "",
"sdk_version": "0.47.5",
"coin_type": "118",
"min_tx_fee": "5000",
"addr_prefix": "empower",
"logo": "/logos/empower.png",
"assets": [{
"base": "umpwr",
"symbol": "MPWR",
"exponent": "6",
"coingecko_id": "",
"logo": "/logos/empower.png"
}]
}
35 changes: 35 additions & 0 deletions chains/mainnet/qwoyn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"chain_name": "qwoyn",
"api": [
{
"address": "https://api.qwoyn.studio",
"provider": "Qwoyn Studios"
},
{
"address": "https://api.qwoyn.nodestake.top",
"provider": "NodeStake"
}
],
"rpc": [
{
"address": "https://api.qwoyn.studio",
"provider": "Qwoyn Studios"
},
{
"address": "https://rpc.qwoyn.nodestake.top",
"provider": "NodeStake"
}
],
"sdk_version": "0.47.3",
"coin_type": "118",
"min_tx_fee": "1000",
"assets": [{
"base": "uqwoyn",
"symbol": "QWOYN",
"exponent": "6",
"logo": "/public/logos/qwoyn.png"
}],
"addr_prefix": "qwoyn",
"theme_color": "#DC2458",
"logo": "/public/logos/qwoyn.png"
}
22 changes: 22 additions & 0 deletions chains/testnet/archway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"chain_name": "archway",
"api": [
"https://api.constantine.archway.tech"
],
"rpc": [
"https://rpc.constantine.archway.tech"
],
"snapshot_provider": "https://snapshots.archway.tech/",
"sdk_version": "v0.45.16",
"coin_type": "118",
"min_tx_fee": "",
"addr_prefix": "archway",
"assets": [
{
"base": "aconst",
"symbol": "CONST",
"exponent": "18",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/images/archway.png"
}
]
}
32 changes: 32 additions & 0 deletions chains/testnet/zetachain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"chain_name": "zetachain",
"coingecko": "",
"api": [
"https://zetachain-athens.blockpi.network/lcd/v1/public"
],
"rpc": [
"https://zetachain-athens.blockpi.network/rpc/v1/public"
],
"snapshot_provider": "",
"sdk_version": "0.46.8",
"coin_type": "60",
"min_tx_fee": "3000000000000000",
"addr_prefix": "zeta",
"logo": "/logos/zetachain.png",
"keplr_features": [
"ibc-transfer",
"ibc-go",
"eth-address-gen",
"eth-key-sign"
],
"assets": [
{
"base": "azeta",
"symbol": "tZETA",
"exponent": "18",
"coingecko_id": "",
"logo": "/logos/zetachain.png"
}
],
"theme_color": "#005741"
}
Binary file added public/logos/Qwoyn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 10 additions & 5 deletions public/logos/provenance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logos/zetachain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/libs/clients/v0.46.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const name = 'v0.46.7'

function proposalAdapter(p: any): GovProposal {
if(p) {
if(p.messages) p.content = p.messages[0].content || p.messages[0]
if(p.messages && p.messages.length >= 1) p.content = p.messages[0].content || p.messages[0]
p.proposal_id = p.id
p.final_tally_result = {
yes: p.final_tally_result?.yes_count,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/[chain]/gov/[proposal_id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function pageload(p: number) {
</div>
</div>
<div class="pl-5 text-sm">
{{ $t('gov.current_status') }}: {{ proposal.status }}
{{ $t('gov.current_status') }}: {{ $t(`gov.proposal_statuses.${proposal.status}`) }}
</div>
</div>

Expand Down
7 changes: 7 additions & 0 deletions src/plugins/i18n/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@
"vote_start_from": "开始投票时间",
"vote_end": "投票截止时间",
"current_status": "当前状态",
"proposal_statuses": {
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "存款期",
"PROPOSAL_STATUS_VOTING_PERIOD": "投票期",
"PROPOSAL_STATUS_PASSED": "通过",
"PROPOSAL_STATUS_REJECTED": "被拒绝",
"PROPOSAL_STATUS_FAILED": "失败"
},
"upgrade_plan": "升级计划",
"votes": "投票"
},
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@
"vote_start_from": "Voting start from",
"vote_end": "Voting end",
"current_status": "Current Status",
"proposal_statuses": {
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "Deposit period",
"PROPOSAL_STATUS_VOTING_PERIOD": "Voting period",
"PROPOSAL_STATUS_PASSED": "Passed",
"PROPOSAL_STATUS_REJECTED": "Rejected",
"PROPOSAL_STATUS_FAILED": "Failed"
},
"upgrade_plan": "Upgrade Plan",
"votes": "Votes"
},
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/i18n/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@
"vote_start_from": "Voting dimulai dari",
"vote_end": "Voting berakhir",
"current_status": "Status Saat Ini",
"proposal_statuses": {
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "Periode Deposit",
"PROPOSAL_STATUS_VOTING_PERIOD": "Periode Pemungutan Suara",
"PROPOSAL_STATUS_PASSED": "Disetujui",
"PROPOSAL_STATUS_REJECTED": "Ditolak",
"PROPOSAL_STATUS_FAILED": "Gagal"
},
"upgrade_plan": "Peningkatan Rencana",
"votes": "Suara"
},
Expand Down

0 comments on commit bcdab16

Please sign in to comment.