mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 04:17:58 +00:00
refactor: remove non-Pezkuwi blockchains from menu and update external service URLs
- Remove Paseo, prodChains, testChains from sidebar menu - Keep only Pezkuwi, Dicle, Zagros networks and their parachains - Update external service links to use Pezkuwi domains: - explorer.pezkuwichain.io (block explorer) - scan.pezkuwichain.io (blockchain scanner) - statescan.pezkuwichain.io (state explorer) - stats.pezkuwichain.io (validator stats) - treasury.pezkuwichain.io (treasury dashboard) - governance.pezkuwichain.io (governance portal) - Disable non-applicable external services (Subsquare, KodaDot, etc.) - Fix eslint errors (key ordering, unsafe member access)
This commit is contained in:
@@ -170,6 +170,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'bitcountry-node': bitcountry,
|
||||
'bitcountry-teyrchain': bitcountryTeyrchain,
|
||||
bittensor,
|
||||
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
|
||||
centrifuge,
|
||||
'centrifuge-chain': centrifugeChain,
|
||||
chainx,
|
||||
@@ -296,7 +297,6 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
spanner,
|
||||
stafi,
|
||||
standard,
|
||||
'bizinikiwi-contracts-node': bizinikiwiContractsNode,
|
||||
steam: eave,
|
||||
subdao,
|
||||
subgame,
|
||||
|
||||
@@ -51,11 +51,11 @@ export function getBalance (
|
||||
instanceId,
|
||||
(account: string): Observable<DeriveBalancesAll> =>
|
||||
combineLatest<[any, any]>([api.query.tokens.accounts(account, 0), api.query.system.account(account)]).pipe(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
map(([data, systemAccount]: [OrmlAccountData, FrameSystemAccountInfo]): DeriveBalancesAll => {
|
||||
return {
|
||||
...defaultAccountBalance(),
|
||||
accountId: api.registry.createType('AccountId', account),
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
accountNonce: systemAccount.nonce,
|
||||
availableBalance: api.registry.createType('Balance', data.free.sub(data.frozen)),
|
||||
freeBalance: data.free,
|
||||
|
||||
Reference in New Issue
Block a user