mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-23 04:47:57 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
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
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
// 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',
|
||||
BlockNumberFor: 'BlockNumber',
|
||||
GlobalId: 'u64',
|
||||
CurrencyId: 'u32',
|
||||
CurrencyIdOf: 'CurrencyId',
|
||||
Amount: 'i128',
|
||||
AmountOf: 'Amount',
|
||||
CategoryId: 'GlobalId',
|
||||
CategoryIdOf: 'CategoryId',
|
||||
ClassId: 'u32',
|
||||
ClassIdOf: 'ClassId',
|
||||
TokenId: 'u64',
|
||||
TokenIdOf: 'TokenId',
|
||||
|
||||
OrmlAccountData: {
|
||||
free: 'Balance',
|
||||
reserved: 'Balance',
|
||||
frozen: 'Balance'
|
||||
},
|
||||
|
||||
OrmlBalanceLock: {
|
||||
amount: 'Balance',
|
||||
id: 'LockIdentifier'
|
||||
},
|
||||
|
||||
ClassInfoOf: {
|
||||
metadata: 'NFTMetadata',
|
||||
totalIssuance: 'Compact<TokenId>',
|
||||
owner: 'AccountId',
|
||||
data: 'ClassData'
|
||||
},
|
||||
|
||||
ClassData: {
|
||||
deposit: 'Compact<Balance>',
|
||||
properties: 'Properties',
|
||||
name: 'Vec<u8>',
|
||||
description: 'Vec<u8>',
|
||||
createBlock: 'Compact<BlockNumberOf>',
|
||||
royaltyRate: 'Compact<PerU16>',
|
||||
categoryIds: 'Vec<CategoryId>'
|
||||
},
|
||||
|
||||
TokenInfoOf: {
|
||||
metadata: 'NFTMetadata',
|
||||
data: 'TokenData',
|
||||
quantity: 'Compact<TokenId>'
|
||||
},
|
||||
|
||||
TokenData: {
|
||||
deposit: 'Compact<Balance>',
|
||||
createBlock: 'Compact<BlockNumberOf>',
|
||||
royalty_rate: 'Compact<PerU16>',
|
||||
creator: 'AccountId',
|
||||
royaltyBeneficiary: 'AccountId'
|
||||
},
|
||||
|
||||
AccountToken: {
|
||||
quantity: 'Compact<TokenId>',
|
||||
reserved: 'Compact<TokenId>'
|
||||
},
|
||||
|
||||
CategoryData: {
|
||||
metadata: 'NFTMetadata',
|
||||
nftCount: 'Compact<Balance>'
|
||||
},
|
||||
|
||||
OrderItem: {
|
||||
classId: 'Compact<ClassId>',
|
||||
tokenId: 'Compact<TokenId>',
|
||||
quantity: 'Compact<TokenId>'
|
||||
},
|
||||
|
||||
OrderOf: {
|
||||
currencyId: 'Compact<CurrencyId>',
|
||||
deposit: 'Compact<Balance>',
|
||||
price: 'Compact<Balance>',
|
||||
deadline: 'Compact<BlockNumberOf>',
|
||||
items: 'Vec<OrderItem>',
|
||||
commissionRate: 'Compact<PerU16>'
|
||||
},
|
||||
|
||||
OfferOf: {
|
||||
currencyId: 'Compact<CurrencyId>',
|
||||
price: 'Compact<Balance>',
|
||||
deadline: 'Compact<BlockNumberOf>',
|
||||
items: 'Vec<OrderItem>',
|
||||
commissionRate: 'Compact<PerU16>'
|
||||
},
|
||||
|
||||
BritishAuctionOf: {
|
||||
currencyId: 'Compact<CurrencyId>',
|
||||
hammerPrice: 'Compact<Balance>',
|
||||
minRaise: 'Compact<PerU16>',
|
||||
deposit: 'Compact<Balance>',
|
||||
initPrice: 'Compact<Balance>',
|
||||
deadline: 'Compact<BlockNumberOf>',
|
||||
allowDelay: 'bool',
|
||||
items: 'Vec<OrderItem>',
|
||||
commissionRate: 'Compact<PerU16>'
|
||||
},
|
||||
|
||||
BritishAuctionBidOf: {
|
||||
lastBidPrice: 'Compact<Balance>',
|
||||
lastBidAccount: 'Option<AccountId>',
|
||||
lastBidBlock: 'Compact<BlockNumberOf>',
|
||||
commissionAgent: 'Option<AccountId>',
|
||||
commissionData: 'Option<Vec<u8>>'
|
||||
},
|
||||
|
||||
DutchAuctionOf: {
|
||||
currencyId: 'Compact<CurrencyId>',
|
||||
deposit: 'Compact<Balance>',
|
||||
minPrice: 'Compact<Balance>',
|
||||
maxPrice: 'Compact<Balance>',
|
||||
deadline: 'Compact<BlockNumberOf>',
|
||||
createdBlock: 'Compact<BlockNumberOf>',
|
||||
items: 'Vec<OrderItem>',
|
||||
allowBritishAuction: 'bool',
|
||||
minRaise: 'Compact<PerU16>',
|
||||
commissionRate: 'Compact<PerU16>'
|
||||
},
|
||||
|
||||
DutchAuctionBidOf: 'BritishAuctionBidOf'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Reference in New Issue
Block a user