ghost-portal/packages/apps-config/src/api/spec/imbue.ts
2026-01-30 11:03:02 +01:00

31 lines
684 B
TypeScript

// Copyright 2017-2026 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
const definitions: OverrideBundleDefinition = {
rpc: {
proposals: {
getProjectKitty: {
description: 'Get the escrow address associated with a project',
params: [{
name: 'project_id',
type: 'u32'
}],
type: 'AccountId'
}
}
},
types: [
{
// on all versions
minmax: [0, undefined],
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
}
}]
};
export default definitions;