mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 05:27:56 +00:00
54 lines
1.3 KiB
TypeScript
54 lines
1.3 KiB
TypeScript
// Copyright 2017-2026 @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',
|
|
AccountInfo: {
|
|
nonce: 'Index',
|
|
consumers: 'RefCount',
|
|
providers: 'RefCount',
|
|
data: 'AccountData'
|
|
},
|
|
Balance: 'u128',
|
|
BalanceOf: 'Balance',
|
|
AuthorityOf: 'AccountId',
|
|
PaymentId: '[u8;16]',
|
|
Payment: {
|
|
id: 'PaymentId',
|
|
account_id: 'AccountId',
|
|
success_url: 'Vec<u8>',
|
|
failure_url: 'Vec<u8>',
|
|
paid: 'bool',
|
|
pay_to: 'AccountId'
|
|
},
|
|
PeerId: '(Vec<u8>)',
|
|
Amendment: {
|
|
statement: 'Vec<u8>',
|
|
owners: 'Vec<AccountId>'
|
|
},
|
|
BlockNumber: 'u32',
|
|
VestingSchedule: {
|
|
start: 'BlockNumber',
|
|
period: 'BlockNumber',
|
|
period_count: 'BlockNumber',
|
|
per_period: 'Compact<Balance>'
|
|
},
|
|
VestingScheduleOf: 'VestingSchedule'
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|