mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-21 23:37: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
70 lines
1.8 KiB
TypeScript
70 lines
1.8 KiB
TypeScript
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// structs need to be in order
|
|
/* eslint-disable sort-keys */
|
|
/* eslint-disable camelcase */
|
|
|
|
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
|
|
|
const definitions: OverrideBundleDefinition = {
|
|
types: [
|
|
{
|
|
// on all versions
|
|
minmax: [0, undefined],
|
|
types: {
|
|
Properties: 'u8',
|
|
NFTMetadata: 'Vec<u8>',
|
|
BlockNumber: 'u32',
|
|
BlockNumberOf: 'BlockNumber',
|
|
|
|
OrderData: {
|
|
currencyId: 'Compact<CurrencyIdOf>',
|
|
price: 'Compact<Balance>',
|
|
deposit: 'Compact<Balance>',
|
|
deadline: 'Compact<BlockNumberOf>',
|
|
categoryId: 'Compact<CategoryIdOf>'
|
|
},
|
|
|
|
CategoryId: 'u32',
|
|
CategoryIdOf: 'CategoryId',
|
|
CategoryData: {
|
|
metadata: 'NFTMetadata',
|
|
nftCount: 'Compact<Balance>'
|
|
},
|
|
|
|
CurrencyId: 'u32',
|
|
CurrencyIdOf: 'CurrencyId',
|
|
Amount: 'i128',
|
|
AmountOf: 'Amount',
|
|
|
|
ClassId: 'u32',
|
|
ClassIdOf: 'ClassId',
|
|
ClassInfoOf: {
|
|
metadata: 'NFTMetadata',
|
|
totalIssuance: 'TokenId',
|
|
owner: 'AccountId',
|
|
data: 'ClassData'
|
|
},
|
|
ClassData: {
|
|
deposit: 'Compact<Balance>',
|
|
properties: 'Properties',
|
|
name: 'Vec<u8>',
|
|
description: 'Vec<u8>',
|
|
createBlock: 'Compact<BlockNumberOf>'
|
|
},
|
|
|
|
TokenId: 'u64',
|
|
TokenIdOf: 'TokenId',
|
|
TokenInfoOf: { metadata: 'NFTMetadata', owner: 'AccountId', data: 'TokenData' },
|
|
TokenData: {
|
|
deposit: 'Compact<Balance>',
|
|
createBlock: 'Compact<BlockNumberOf>'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|