// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@pezkuwi/types/types'; // structs need to be in order /* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { types: [ { // on all versions minmax: [0, undefined], types: { AccountInfo: 'AccountInfoWithDualRefCount', AssetId: 'u64', SeriesId: 'u64', ClassId: 'u32', ClassIdOf: 'ClassId', ClassInfoOf: 'ClassInfo', TokenId: 'u64', TokenIdOf: 'TokenId', TokenInfoOf: 'TokenInfo', ClassInfo: { metadata: 'Vec', total_issuance: 'TokenId', owner: 'AccountId', data: 'NftClassData' }, TokenInfo: { metadata: 'Vec', owner: 'AccountId', data: 'NftAssetData' }, NftSeriesData: { name: 'Vec', owner: 'AccountId', properties: 'Vec' }, NftClassData: { deposit: 'Balance', properties: 'Vec', token_type: 'TokenType', collection_type: 'CollectionType', total_supply: 'u64', initial_supply: 'u64' }, NftAssetData: { deposit: 'Balance', name: 'Vec', description: 'Vec', properties: 'Vec' }, TokenType: { _enum: [ 'Transferrable', 'BoundToAddress' ] }, CollectionType: { _enum: [ 'Collectable', 'Wearable', 'Executable' ] }, ClassProperties: { Transferrable: 'bool', Burnable: 'bool' } } } ] }; export default definitions;