Added Equilibrium Test Network logos & endpoints (#3792)
* Added Equilibrium Network logos & endpoints * Small fixes * Small fixes Co-authored-by: Mikolaj Sobolewksi <mikolaj@meganuke.eu>
This commit is contained in:
parent
7750ba10b0
commit
ebbea4f622
55
packages/apps-config/src/api/spec/equilibrium.ts
Normal file
55
packages/apps-config/src/api/spec/equilibrium.ts
Normal file
@ -0,0 +1,55 @@
|
||||
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
export default {
|
||||
BlockNumber: 'u64',
|
||||
Keys: 'SessionKeys3',
|
||||
Balance: 'u64',
|
||||
FixedI64: 'i64',
|
||||
SignedBalance: {
|
||||
_enum: {
|
||||
Positive: 'Balance',
|
||||
Negative: 'Balance'
|
||||
}
|
||||
},
|
||||
ReinitRequest: {
|
||||
account: 'AccountId',
|
||||
authority_index: 'AuthIndex',
|
||||
validators_len: 'u32',
|
||||
block_num: 'BlockNumber'
|
||||
},
|
||||
Currency: {
|
||||
_enum: [
|
||||
'Unknown',
|
||||
'Usd',
|
||||
'EQ',
|
||||
'Eth',
|
||||
'Btc',
|
||||
'Eos'
|
||||
]
|
||||
},
|
||||
DataPoint: {
|
||||
price: 'u64',
|
||||
account_id: 'AccountId'
|
||||
},
|
||||
PricePoint: {
|
||||
block_number: 'BlockNumber',
|
||||
timestamp: 'u64',
|
||||
price: 'u64',
|
||||
data_points: 'Vec<DataPoint>'
|
||||
},
|
||||
BalancesAggregate: {
|
||||
total_issuance: 'Balance',
|
||||
total_debt: 'Balance'
|
||||
},
|
||||
VestingInfo: {
|
||||
locked: 'Balance',
|
||||
perBlock: 'Balance',
|
||||
startingBlock: 'BlockNumber'
|
||||
},
|
||||
LookupSource: 'AccountId',
|
||||
BalanceOf: 'Balance'
|
||||
};
|
||||
@ -10,6 +10,7 @@ import testPara from './cumulus-test-parachain';
|
||||
import edgeware from './edgeware';
|
||||
import encointerNodeNotee from './encointer-node-notee';
|
||||
import encointerNodeTeeproxy from './encointer-node-teeproxy';
|
||||
import equilibrium from './equilibrium';
|
||||
import kilt from './kilt';
|
||||
import kulupu from './kulupu';
|
||||
import laminar from './laminar';
|
||||
@ -23,6 +24,7 @@ import subsocial from './subsocial';
|
||||
|
||||
export default {
|
||||
Crab: crab,
|
||||
Equilibrium: equilibrium,
|
||||
acala,
|
||||
'centrifuge-chain': centrifugeChain,
|
||||
crust,
|
||||
|
||||
@ -217,6 +217,11 @@ function createTestNetworks (t: TFunction): LinkOption[] {
|
||||
text: t<string>('rpc.dusty', 'Dusty (Plasm Testnet, hosted by Stake Technologies)', { ns: 'apps-config' }),
|
||||
value: 'wss://rpc.dusty.plasmnet.io/'
|
||||
},
|
||||
{
|
||||
info: 'equilibrium',
|
||||
text: t<string>('rpc.equilibriumr', 'Equilibrium Testnet', { ns: 'apps-config' }),
|
||||
value: 'wss://api.testnet.equilibrium.io:9944'
|
||||
},
|
||||
{
|
||||
info: 'substrate',
|
||||
text: t<string>('rpc.flamingfir', 'Flaming Fir (Substrate Testnet, hosted by Parity)', { ns: 'apps-config' }),
|
||||
|
||||
@ -26,6 +26,7 @@ const chainWestend = '#da68a7';
|
||||
// alphabetical
|
||||
const nodeCentrifuge = '#fcc367';
|
||||
const nodeEdgeware = '#0a95df';
|
||||
const nodeEquilibrium = '#1792ff';
|
||||
const nodeNodle = '#1ab394';
|
||||
const nodeKilt = '#eb5b2a';
|
||||
const nodeStafi = '#00F3AB';
|
||||
@ -64,6 +65,7 @@ const nodeColors: Record<string, any> = [
|
||||
['centrifuge chain', nodeCentrifuge],
|
||||
['Centrifuge Chain Node', nodeCentrifuge],
|
||||
['edgeware node', nodeEdgeware],
|
||||
['Equilibrium node', nodeEquilibrium],
|
||||
['kilt node', nodeKilt],
|
||||
['nodle chain node', nodeNodle],
|
||||
['Stafi node', nodeStafi],
|
||||
|
||||
@ -22,6 +22,7 @@ import nodeDarwinia from './nodes/darwinia.png';
|
||||
import nodeEdgeware from './nodes/edgeware-circle.svg';
|
||||
import nodeEncointerNotee from './nodes/encointer-notee.svg';
|
||||
import nodeEncointerTeeproxy from './nodes/encointer-teeproxy.svg';
|
||||
import nodeEquilibrium from './nodes/equilibrium.svg';
|
||||
import nodeNodle from './nodes/nodle.svg';
|
||||
import nodeKilt from './nodes/kilt.svg';
|
||||
import nodeKulupu from './nodes/kulupu.svg';
|
||||
@ -92,7 +93,9 @@ const nodeLogos: Record<string, any> = [
|
||||
['Stafi Node', nodeStafi],
|
||||
['Stafi', nodeStafi],
|
||||
['subsocial-node', nodeSubsocial],
|
||||
['substrate-node', nodeSubstrate]
|
||||
['substrate-node', nodeSubstrate],
|
||||
['Equilibrium Node', nodeEquilibrium],
|
||||
['Equilibrium', nodeEquilibrium]
|
||||
].reduce((logos, [node, logo]): Record<string, any> => ({
|
||||
...logos,
|
||||
[(node as string).toLowerCase().replace(/-/g, ' ')]: logo
|
||||
@ -109,6 +112,7 @@ const namedLogos: Record<string, any> = {
|
||||
dusty: chainDusty,
|
||||
edgeware: nodeEdgeware,
|
||||
empty: emptyLogo,
|
||||
equilibrium: nodeEquilibrium,
|
||||
kilt: nodeKilt,
|
||||
kulupu: nodeKulupu,
|
||||
kusama: chainKusama,
|
||||
|
||||
49
packages/apps-config/src/ui/logos/nodes/equilibrium.svg
Normal file
49
packages/apps-config/src/ui/logos/nodes/equilibrium.svg
Normal file
@ -0,0 +1,49 @@
|
||||
<svg width="309" height="308" viewBox="0 0 309 308" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M254.04 94.1006L203.959 124.176L254.04 154.378L303.999 124.176L254.04 94.1006Z" fill="white"/>
|
||||
<path d="M53.9596 94.1006L4 124.176L53.9596 154.378L104.04 124.176L53.9596 94.1006Z" fill="white"/>
|
||||
<path d="M104.041 244.226V304L154.001 273.924V214.15L104.041 244.226Z" fill="#1792FF"/>
|
||||
<path d="M104.04 124.538V184.312L53.959 154.236V94.4624L104.04 124.538Z" fill="#A4D8FF"/>
|
||||
<path d="M104.04 184.337V243.985L53.959 214.035V154.261L104.04 184.337Z" fill="#A4D8FF"/>
|
||||
<path d="M53.9596 154.252V214.026L4 183.95V124.176L53.9596 154.252Z" fill="#A4D8FF"/>
|
||||
<path d="M154.001 214.151V273.925L104.041 243.975V184.201L154.001 214.151Z" fill="#A4D8FF"/>
|
||||
<path d="M203.96 124.302V184.076L154 154V94.2266L203.96 124.302Z" fill="#A4D8FF"/>
|
||||
<path d="M104.04 64.1508V123.925L53.959 93.8489V34.0752L104.04 64.1508Z" fill="#A4D8FF"/>
|
||||
<path d="M203.96 243.974V303.748L154 273.798V214.024L203.96 243.974Z" fill="#A4D8FF"/>
|
||||
<path d="M104.04 243.974V303.748L53.959 273.798V214.024L104.04 243.974Z" fill="#A4D8FF"/>
|
||||
<path d="M203.959 124.302V184.076L254.04 154V94.2266L203.959 124.302Z" fill="#1792FF"/>
|
||||
<path d="M203.959 64.1508V123.925L254.04 93.8489V34.0752L203.959 64.1508Z" fill="#1792FF"/>
|
||||
<path d="M104.041 124.302V184.076L154.001 154V94.2266L104.041 124.302Z" fill="#1792FF"/>
|
||||
<path d="M203.959 184.076V243.849L254.04 213.774V154L203.959 184.076Z" fill="#1792FF"/>
|
||||
<path d="M254.041 154.252V214.026L304.001 183.95V124.176L254.041 154.252Z" fill="#1792FF"/>
|
||||
<path d="M154 214.026V273.8L203.96 243.85V184.076L154 214.026Z" fill="#1792FF"/>
|
||||
<path d="M203.959 243.849V303.623L254.04 273.547V213.773L203.959 243.849Z" fill="#1792FF"/>
|
||||
<path d="M104.04 64.2871L53.959 94.3627L104.04 124.564L153.999 94.3627L104.04 64.2871Z" fill="white"/>
|
||||
<path d="M154.001 34.0752L104.041 64.2767L154.001 94.3523L203.96 64.2767L154.001 34.0752Z" fill="white"/>
|
||||
<path d="M154.001 154L104.041 184.076L154.001 214.151L203.96 184.076L154.001 154Z" fill="white"/>
|
||||
<path d="M203.96 4L154 34.0756L203.96 64.2771L254.04 34.0756L203.96 4Z" fill="white"/>
|
||||
<path d="M104.04 4L53.959 34.0756L104.04 64.2771L153.999 34.0756L104.04 4Z" fill="white"/>
|
||||
<path d="M203.96 63.8994L154 94.1009L203.96 124.176L254.04 94.1009L203.96 63.8994Z" fill="white"/>
|
||||
<path d="M53.9596 34.0756V94.101L4 124.177V183.95L53.9596 214.026V273.8L104.04 303.749L154 273.8L203.959 303.749L254.04 273.8V214.026L304 183.95V124.177L254.04 94.101V34.0756L203.959 4L154 34.0756L104.04 4L53.9596 34.0756Z" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M4 124.176L53.9596 154.629" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M104.041 244.228V303.75" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M104.041 184.34V244.239" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M53.959 94.1006V214.026" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M203.959 243.976V184.076" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M203.959 303.75V243.977" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M304.001 123.924L254.041 154.377" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M254.04 34.0752L203.959 64.5283" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M53.959 34.0752L104.04 64.5283" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M254.041 215.401V95.6016" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M54.082 154.261L104.042 184.211" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M53.959 214.024L153.999 274.301" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M253.072 214.024L153.152 274.301" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M254.04 154.391L203.959 184.089" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M205.653 64.6445L154 94.2168" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M154 34.0752L257.306 96.114" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M203.114 183.446L154.001 153.496V94.226L104.041 64.1504" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M153.999 33.9502L53.959 94.1014" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M153.996 153.246L103.674 183.573" stroke="#001423" stroke-width="8" stroke-miterlimit="10" stroke-linejoin="round"/>
|
||||
<path d="M53.959 94.1006L104.04 124.554V184.202L153.999 214.151V273.799" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M254.04 94.1006L203.96 124.554V184.202L154 214.151" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M104.041 124.567L154.001 94.3652L203.96 124.567" stroke="white" stroke-width="8" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
Loading…
Reference in New Issue
Block a user