mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-23 00:07: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
42 lines
977 B
TypeScript
42 lines
977 B
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, undefined],
|
|
types: {
|
|
RelayChainAccountId: 'H256',
|
|
RoundIndex: 'u32',
|
|
SettingStruct: {
|
|
bond_duration: 'u32',
|
|
blocks_per_round: 'u32',
|
|
desired_target: 'u32'
|
|
},
|
|
Bond: {
|
|
owner: 'AccountId',
|
|
amount: 'Balance'
|
|
},
|
|
UnBondChunk: {
|
|
value: 'Balance',
|
|
round: 'u32'
|
|
},
|
|
StakingNominators: {
|
|
nominations: 'Vec<Bond>',
|
|
total: 'Balance',
|
|
unbonding: 'Vec<UnBondChunk>',
|
|
claimed_rewards: 'Vec<u32>'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|