diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 6c103acc1e1d..118f3ea7d5bf 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -20,6 +20,7 @@ import bifrostParachain from './bifrost-parachain.js'; import bitcountry from './bitcountry.js'; import bitcountryPioneer from './bitcountry-pioneer.js'; import bitcountryParachain from './bitcountry-rococo.js'; +import bittensor from './bittensor.js'; import centrifuge from './centrifuge.js'; import centrifugeChain from './centrifuge-chain.js'; import chainx from './chainx.js'; @@ -164,6 +165,7 @@ const spec: Record = { 'bifrost-parachain': bifrostParachain, 'bitcountry-node': bitcountry, 'bitcountry-parachain': bitcountryParachain, + bittensor, centrifuge, 'centrifuge-chain': centrifugeChain, chainx, diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 309f5d2566d2..9c09626b8b33 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -20271,6 +20271,42 @@ export const typesBundle = { } ] }, + "bittensor": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Balance": "u64", + "NeuronMetadata": { + "version": "u32", + "ip": "u128", + "port": "u16", + "ipType": "u8", + "uid": "u32", + "netuid": "u16", + "modality": "u8", + "hotkey": "AccountId", + "coldkey": "AccountId", + "active": "u32", + "lastUpdate": "u64", + "priority": "u64", + "stake": "u64", + "rank": "u64", + "trust": "u64", + "consensus": "u64", + "incentive": "u64", + "dividends": "u64", + "emission": "u64", + "bonds": "Vec<(u32, u64)>", + "weights": "Vec<(u32, u32)>" + } + } + } + ] + }, "centrifuge": { "types": [ {