mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-21 23:47:56 +00:00
1295c36241
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
55 lines
1.3 KiB
TypeScript
55 lines
1.3 KiB
TypeScript
// 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: {
|
|
Address: 'MultiAddress',
|
|
LookupSource: 'MultiAddress',
|
|
CeremonyPhaseType: {
|
|
_enum: [
|
|
'Registering',
|
|
'Assigning',
|
|
'Attesting'
|
|
]
|
|
},
|
|
CeremonyIndexType: 'u32',
|
|
CurrencyIdentifier: 'Hash',
|
|
CurrencyCeremony: {
|
|
cid: 'CurrencyIdentifier',
|
|
cindex: 'CeremonyIndexType'
|
|
},
|
|
Location: {
|
|
lat: 'i64',
|
|
lon: 'i64'
|
|
},
|
|
CurrencyPropertiesType: {
|
|
name_utf8: 'Text',
|
|
demurrage_per_block: 'i128'
|
|
},
|
|
ShardIdentifier: 'Hash',
|
|
Request: {
|
|
shard: 'ShardIdentifier',
|
|
cyphertext: 'Vec<u8>'
|
|
},
|
|
Enclave: {
|
|
pubkey: 'AccountId',
|
|
mrenclave: 'Hash',
|
|
timestamp: 'u64',
|
|
url: 'Text'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|