Add Polkadex Mainnet (#6210)
* Add Polkadex Mainnet to explorer * Fix lint
This commit is contained in:
parent
0041dc3aca
commit
9559eee1c8
@ -5,39 +5,23 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
ChainId: 'u8',
|
||||
ResourceId: '[u8; 32]',
|
||||
DepositNonce: 'u64',
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<MultiAddress>',
|
||||
votes_against: 'Vec<MultiAddress>',
|
||||
status: 'enum'
|
||||
BurnTxDetails: {
|
||||
approvals: 'u32',
|
||||
approvers: 'Vec<AccountId>'
|
||||
},
|
||||
Erc721Token: {
|
||||
id: 'TokenId',
|
||||
metadata: 'Vec<u8>'
|
||||
OrmlVestingSchedule: {
|
||||
start: 'BlockNumber',
|
||||
period: 'BlockNumber',
|
||||
periodCount: 'u32',
|
||||
perPeriod: 'Compact<Balance>'
|
||||
},
|
||||
TokenId: 'U256',
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AssetId: {
|
||||
_enum: [
|
||||
'POLKADEX',
|
||||
'BTC',
|
||||
'ETH',
|
||||
'DOT'
|
||||
]
|
||||
},
|
||||
CurrencyIdOf: 'AssetId',
|
||||
CurrencyId: 'AssetId',
|
||||
ShardIdentifier: 'H256'
|
||||
VestingScheduleOf: 'OrmlVestingSchedule'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -144,6 +144,13 @@ export function createProduction (t: TFunction, firstOnly: boolean, withSort: bo
|
||||
'Stake Technologies': 'wss://rpc.plasmnet.io/'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'polkadex',
|
||||
text: t('rpc.prod.polkadex', 'Polkadex', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Polkadex Team': 'wss://mainnet.polkadex.trade'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'riochain',
|
||||
text: t('rpc.prod.riochain', 'RioChain', { ns: 'apps-config' }),
|
||||
|
||||
11
packages/apps-config/src/ui/logos/chains/polkadex.svg
Normal file
11
packages/apps-config/src/ui/logos/chains/polkadex.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="183.227" height="181.136" viewBox="0 0 183.227 181.136">
|
||||
<g id="Icon" transform="translate(0 0)">
|
||||
<g id="Letter" transform="translate(183.227 181.136) rotate(180)">
|
||||
<path id="Path_1" data-name="Path 1" d="M0,0V24.855L42.582,67.837H68.229Z" transform="translate(0 24.457)"/>
|
||||
<path id="Path_3" data-name="Path 3" d="M68.229,67.837V42.982L25.647,0H0Z" transform="translate(114.998 86.751)"/>
|
||||
<path id="Path_4" data-name="Path 4" d="M68.229,0V24.855L25.647,67.837,68.229,110.43V136.4L0,67.837Z" transform="translate(160.86 112.907) rotate(90)"/>
|
||||
<path id="Path_5" data-name="Path 5" d="M68.229,136.4V111.548L25.647,68.566,68.229,25.973V0L0,68.566Z" transform="translate(20.276 68.229) rotate(-90)"/>
|
||||
</g>
|
||||
<circle id="Ellipse" cx="11.585" cy="11.585" r="11.585" transform="translate(80.371 81.255)" fill="#e6007a"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 910 B |
@ -225,6 +225,7 @@ export const chainLogos = Object.entries({
|
||||
'Parami PC2': nodeParami,
|
||||
'Phala PC1': nodePhala,
|
||||
'PHOENIX PC1': nodePhoenix,
|
||||
'Polkadex Mainnet': nodePolkadex,
|
||||
'Polkadex Testnet': nodePolkadex,
|
||||
'PolkaFoundry PC1': nodePolkaFoundry,
|
||||
'Pontem Testnet': nodePontem,
|
||||
|
||||
@ -63,6 +63,7 @@
|
||||
"rpc.prod.neatcoin": "Neatcoin",
|
||||
"rpc.prod.nodle-main": "Nodle",
|
||||
"rpc.prod.plasm": "Plasm",
|
||||
"rpc.prod.polkadex": "Polkadex Mainnet",
|
||||
"rpc.prod.riochain": "RioChain",
|
||||
"rpc.prod.robonomics": "Robonomics",
|
||||
"rpc.prod.sora-substrate": "SORA",
|
||||
@ -162,7 +163,7 @@
|
||||
"rpc.test.pangoro": "Pangoro",
|
||||
"rpc.test.phala": "Chala (Para1)",
|
||||
"rpc.test.phoenix": "Phoenix Mashnet",
|
||||
"rpc.test.polkadex": "Polkadex",
|
||||
"rpc.test.polkadex": "Polkadex Testnet",
|
||||
"rpc.test.polymesh": "Polymesh ITN",
|
||||
"rpc.test.pontem": "Pontem",
|
||||
"rpc.test.prism": "Prism",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user