mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 04:27:56 +00:00
Add Pezkuwi SDK UI - Polkadot.js Apps clone
- 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
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
alias: { tokens: { AccountData: 'OrmlAccountData' } },
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
AssetPair: { asset_in: 'AssetId', asset_out: 'AssetId' },
|
||||
Amount: 'i128',
|
||||
AmountOf: 'Amount',
|
||||
Address: 'AccountId',
|
||||
OrmlAccountData: { free: 'Balance', frozen: 'Balance', reserved: 'Balance' },
|
||||
Fee: { numerator: 'u32', denominator: 'u32' },
|
||||
BalanceInfo: { amount: 'Balance', assetId: 'AssetId' },
|
||||
Chain: { genesisHash: 'Vec<u8>', lastBlockHash: 'Vec<u8>' },
|
||||
Currency: 'AssetId',
|
||||
CurrencyId: 'AssetId',
|
||||
CurrencyIdOf: 'AssetId',
|
||||
Intention: {
|
||||
who: 'AccountId',
|
||||
asset_sell: 'AssetId',
|
||||
asset_buy: 'AssetId',
|
||||
amount: 'Balance',
|
||||
discount: 'bool',
|
||||
sell_or_buy: 'IntentionType'
|
||||
},
|
||||
IntentionId: 'Hash',
|
||||
IntentionType: { _enum: ['SELL', 'BUY'] },
|
||||
LookupSource: 'AccountId',
|
||||
Price: 'Balance',
|
||||
ClassId: 'u64',
|
||||
TokenId: 'u64',
|
||||
ClassData: { is_pool: 'bool' },
|
||||
TokenData: { locked: 'bool' },
|
||||
ClassInfo: { metadata: 'Vec<u8>', total_issuance: 'TokenId', owner: 'AccountId', data: 'ClassData' },
|
||||
TokenInfo: { metadata: 'Vec<u8>', owner: 'AccountId', data: 'TokenData' },
|
||||
ClassInfoOf: 'ClassInfo',
|
||||
TokenInfoOf: 'TokenInfo',
|
||||
ClassIdOf: 'ClassId',
|
||||
TokenIdOf: 'TokenId',
|
||||
OrderedSet: 'Vec<AssetId>',
|
||||
VestingSchedule: {
|
||||
start: 'BlockNumber',
|
||||
period: 'BlockNumber',
|
||||
period_count: 'u32',
|
||||
per_period: 'Compact<Balance>'
|
||||
},
|
||||
VestingScheduleOf: 'VestingSchedule',
|
||||
LBPWeight: 'u32',
|
||||
WeightCurveType: { _enum: ['Linear'] },
|
||||
PoolId: 'AccountId',
|
||||
BalanceOf: 'Balance',
|
||||
AssetType: {
|
||||
_enum: {
|
||||
Token: 'Null',
|
||||
PoolShare: '(AssetId,AssetId)'
|
||||
}
|
||||
},
|
||||
Pool: {
|
||||
owner: 'AccountId',
|
||||
start: 'BlockNumber',
|
||||
end: 'BlockNumber',
|
||||
assets: 'AssetPair',
|
||||
initial_weights: 'LBPWeight',
|
||||
final_weights: 'LBPWeight',
|
||||
weight_curve: 'WeightCurveType',
|
||||
pausable: 'bool',
|
||||
paused: 'bool',
|
||||
fee: 'Fee',
|
||||
fee_receiver: 'AccountId'
|
||||
},
|
||||
AssetDetails: {
|
||||
name: 'Vec<u8>',
|
||||
asset_type: 'AssetType',
|
||||
existential_deposit: 'Balance',
|
||||
locked: 'bool'
|
||||
},
|
||||
AssetDetailsT: 'AssetDetails',
|
||||
AssetMetadata: { symbol: 'Vec<u8>', decimals: 'u8' },
|
||||
AssetInstance: 'AssetInstanceV1',
|
||||
MultiLocation: 'MultiLocationV1',
|
||||
MultiAsset: 'MultiAssetV1',
|
||||
Xcm: 'XcmV1',
|
||||
XcmOrder: 'XcmOrderV1'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Reference in New Issue
Block a user