mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-25 20:47:58 +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
61 lines
1.4 KiB
TypeScript
61 lines
1.4 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, undefined],
|
|
types: {
|
|
Amount: 'i128',
|
|
AmountOf: 'Amount',
|
|
Address: 'AccountId',
|
|
OrmlAccountData: {
|
|
free: 'Balance',
|
|
frozen: 'Balance',
|
|
reserved: 'Balance'
|
|
},
|
|
Fee: {
|
|
numerator: 'u32',
|
|
denominator: 'u32'
|
|
},
|
|
BalanceInfo: {
|
|
amount: 'Balance',
|
|
assetId: 'AssetId'
|
|
},
|
|
CurrencyId: 'AssetId',
|
|
CurrencyIdOf: 'AssetId',
|
|
Intention: {
|
|
who: 'AccountId',
|
|
asset_sell: 'AssetId',
|
|
asset_buy: 'AssetId',
|
|
amount: 'Balance',
|
|
discount: 'bool',
|
|
sell_or_buy: 'IntentionType'
|
|
},
|
|
IntentionId: 'u128',
|
|
IntentionType: {
|
|
_enum: [
|
|
'SELL',
|
|
'BUY'
|
|
]
|
|
},
|
|
LookupSource: 'AccountId',
|
|
OrderedSet: 'Vec<AssetId>',
|
|
Price: 'Balance',
|
|
Chain: {
|
|
genesisHash: 'Vec<u8>',
|
|
lastBlockHash: 'Vec<u8>'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|