Add bittensor types to types bundle (#11008)

This commit is contained in:
Tarik Gul 2024-10-14 08:49:26 -07:00 committed by GitHub
parent 36cf87385d
commit 8538425aeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View File

@ -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<string, OverrideBundleDefinition> = {
'bifrost-parachain': bifrostParachain,
'bitcountry-node': bitcountry,
'bitcountry-parachain': bitcountryParachain,
bittensor,
centrifuge,
'centrifuge-chain': centrifugeChain,
chainx,

View File

@ -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": [
{