diff --git a/packages/apps-config/src/api/spec/imbue.ts b/packages/apps-config/src/api/spec/imbue.ts index 951463a626..7e5e240106 100644 --- a/packages/apps-config/src/api/spec/imbue.ts +++ b/packages/apps-config/src/api/spec/imbue.ts @@ -4,6 +4,18 @@ 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 @@ -12,8 +24,7 @@ const definitions: OverrideBundleDefinition = { Address: 'MultiAddress', LookupSource: 'MultiAddress' } - } - ] + }] }; export default definitions; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 15520bbc8b..d928b3eba0 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -54553,7 +54553,23 @@ export const typesBundle = { "LookupSource": "MultiAddress" } } - ] + ], + "rpc": { + "proposals": { + "getProjectKitty": { + "description": "Get the escrow address associated with a project", + "params": [{ + "name": "project_id", + "type": "u32" + }], + "type": "AccountId", + "isSubscription": false, + "jsonrpc": "proposals_getProjectKitty", + "method": "getProjectKitty", + "section": "proposals" + } + } + } }, "integritee-parachain": { "types": [