mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-24 19:17:59 +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
50 lines
1.2 KiB
TypeScript
50 lines
1.2 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: {
|
|
Class: 'Vec<u8>',
|
|
TaskStatus: {
|
|
_enum: [
|
|
'JustCreated',
|
|
'Verifying',
|
|
'VerifiedTrue',
|
|
'VerifiedFalse'
|
|
]
|
|
},
|
|
Status: {
|
|
verifiers: 'Vec<u32>',
|
|
ayes: 'u32',
|
|
nays: 'u32'
|
|
},
|
|
VerificationReceipt: {
|
|
program_hash: '[u8; 32]',
|
|
passed: 'bool',
|
|
submit_at: 'BlockNumber',
|
|
auth_index: 'u32',
|
|
validator_len: 'u32'
|
|
},
|
|
TaskInfo: {
|
|
proof_id: 'Vec<u8>',
|
|
inputs: 'Vec<u128>',
|
|
outputs: 'Vec<u128>',
|
|
program_hash: '[u8; 32]',
|
|
is_task_finish: 'Option<TaskStatus>',
|
|
expiration: 'Option<BlockNumber>'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|