Skip to content

Commit

Permalink
Add bittensor types to types bundle (#11008)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul authored Oct 14, 2024
1 parent 36cf873 commit 8538425
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/apps-config/src/api/spec/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -164,6 +165,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'bifrost-parachain': bifrostParachain,
'bitcountry-node': bitcountry,
'bitcountry-parachain': bitcountryParachain,
bittensor,
centrifuge,
'centrifuge-chain': centrifugeChain,
chainx,
Expand Down
36 changes: 36 additions & 0 deletions packages/apps-config/src/api/typesBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit 8538425

Please sign in to comment.