mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-28 23:37: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,81 @@
|
||||
// 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: {
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
MogwaiStruct: {
|
||||
id: 'Hash',
|
||||
dna: 'Hash',
|
||||
genesis: 'BlockNumber',
|
||||
price: 'Balance',
|
||||
gen: 'u32',
|
||||
rarity: 'RarityType'
|
||||
},
|
||||
MogwaiBios: {
|
||||
mogwai_id: 'Hash',
|
||||
state: 'u32',
|
||||
metaxy: 'Vec<[u8;16]>',
|
||||
intrinsic: 'Balance',
|
||||
level: 'u8',
|
||||
phases: 'Vec<BlockNumber>',
|
||||
adaptations: 'Vec<Hash>'
|
||||
},
|
||||
GameEvent: {
|
||||
id: 'Hash',
|
||||
begin: 'BlockNumber',
|
||||
duration: 'u16',
|
||||
event_type: 'GameEventType',
|
||||
hashes: 'Vec<Hash>',
|
||||
value: 'u64'
|
||||
},
|
||||
GameEventType: {
|
||||
_enum: [
|
||||
'Default',
|
||||
'Hatch'
|
||||
]
|
||||
},
|
||||
RarityType: {
|
||||
_enum: [
|
||||
'Minor',
|
||||
'Normal',
|
||||
'Rare',
|
||||
'Epic',
|
||||
'Legendary'
|
||||
]
|
||||
},
|
||||
MogwaicoinAddress: {
|
||||
address: 'Vec<u8>',
|
||||
account: 'AccountId',
|
||||
signature: 'Vec<u8>',
|
||||
state: 'ClaimState',
|
||||
balance: 'Balance'
|
||||
},
|
||||
ClaimState: {
|
||||
_enum: [
|
||||
'None',
|
||||
'Registred',
|
||||
'Verified',
|
||||
'Secured',
|
||||
'Processed',
|
||||
'Holded',
|
||||
'Failed',
|
||||
'Cancelled'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Reference in New Issue
Block a user