mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-29 07:25:39 +00:00
c71ddb6e0d
- Clone Polkadot.js Apps repository - Update package.json with Pezkuwi branding - Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944) - Create comprehensive README for SDK UI - Set up project structure with all packages Next steps: - Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme - Replace logos with Pezkuwi branding - Test build and deployment
61 lines
1.4 KiB
TypeScript
61 lines
1.4 KiB
TypeScript
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { OverrideBundleDefinition } from '@polkadot/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;
|