mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-26 00:17:57 +00:00
d21bfb1320
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
73 lines
1.8 KiB
TypeScript
73 lines
1.8 KiB
TypeScript
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
|
|
|
// structs need to be in order
|
|
/* eslint-disable sort-keys */
|
|
|
|
const definitions: OverrideBundleDefinition = {
|
|
types: [
|
|
{
|
|
// on all versions
|
|
minmax: [0, 2],
|
|
types: {
|
|
LookupSource: 'MultiAddress',
|
|
Address: 'MultiAddress',
|
|
AccountInfo: 'AccountInfoWithDualRefCount',
|
|
FullIdentification: 'AccountId',
|
|
AuthorityState: {
|
|
_enum: [
|
|
'Working',
|
|
'Waiting'
|
|
]
|
|
},
|
|
EraIndex: 'u32',
|
|
ActiveEraInfo: {
|
|
index: 'EraIndex',
|
|
start: 'Option<u64>'
|
|
},
|
|
UnappliedSlash: {
|
|
validator: 'AccountId',
|
|
reporters: 'Vec<AccountId>'
|
|
}
|
|
}
|
|
},
|
|
{
|
|
// on all versions
|
|
minmax: [3, undefined],
|
|
types: {
|
|
LookupSource: 'MultiAddress',
|
|
Address: 'MultiAddress',
|
|
AccountInfo: 'AccountInfoWithTripleRefCount',
|
|
AliveContractInfo: {
|
|
trieId: 'TrieId',
|
|
storageSize: 'u32',
|
|
pairCount: 'u32',
|
|
codeHash: 'CodeHash',
|
|
rentAllowance: 'Balance',
|
|
rentPayed: 'Balance',
|
|
deductBlock: 'BlockNumber',
|
|
lastWrite: 'Option<BlockNumber>',
|
|
_reserved: 'Option<Null>'
|
|
},
|
|
FullIdentification: 'AccountId',
|
|
AuthorityState: {
|
|
_enum: ['Working', 'Waiting']
|
|
},
|
|
EraIndex: 'u32',
|
|
ActiveEraInfo: {
|
|
index: 'EraIndex',
|
|
start: 'Option<u64>'
|
|
},
|
|
UnappliedSlash: {
|
|
validator: 'AccountId',
|
|
reporters: 'Vec<AccountId>'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|