mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
25 lines
458 B
TypeScript
25 lines
458 B
TypeScript
import config from 'configs/app';
|
|
|
|
export default function getNetworkValidatorTitle() {
|
|
switch (config.chain.verificationType) {
|
|
case 'validation': {
|
|
return 'validator';
|
|
}
|
|
case 'mining': {
|
|
return 'miner';
|
|
}
|
|
case 'posting': {
|
|
return 'poster';
|
|
}
|
|
case 'sequencing': {
|
|
return 'sequencer';
|
|
}
|
|
case 'fee reception': {
|
|
return 'fee recipient';
|
|
}
|
|
default: {
|
|
return 'miner';
|
|
}
|
|
}
|
|
}
|