0x0000000000000000000000000000000000000808
Reads subnet alpha and TAO pool state, prices, emissions and swap simulations from SubtensorModule; three setters dispatch AdminUtils burn/recycle settings, which apply the calls' own origin checks.
Written from precompiles/src/alpha.rs (github.com, opens in a new tab, external site) at c004cebf3 (runtime 471)
Retired functions stay listed so older calls still decode.
getAlphaInEmission(uint16)view0x377f604cReturns the amount of alpha emission into the pool per block for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The alpha-in emission per block.getAlphaInPool(uint16)view0xc2ba9e87Returns the amount of alpha in the pool for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64) The alpha amount in the pool.getAlphaIssuance(uint16)view0x42980912Returns the total alpha issuance for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64) The total alpha issuance.getAlphaOutEmission(uint16)view0xd91bd0c8Returns the amount of alpha emission outside the pool per block for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The alpha-out emission per block.getAlphaOutPool(uint16)view0x9757f56bReturns the amount of alpha outside the pool for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64) The alpha amount outside the pool.getAlphaPrice(uint16)view0x69e38bc3Returns the current alpha price for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The alpha price in RAO per alpha.getCKBurn()view0x05fa8b57Returns the CK burn rate.
Returns
return (uint256) The CK burn rate.getEMAPriceHalvingBlocks(uint16)view0x52bfc160Returns the EMA price halving blocks parameter for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64) The number of blocks for EMA price halving.getEmissionAccounting(uint16,bytes32)view0x1870ed6cNo documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)Returns
alphaDividends (uint64)rootAlphaDividends (uint64)lastHotkeyEmission (uint64)pendingServerEmission (uint64)pendingValidatorEmission (uint64)pendingRootAlphaDividends (uint64)pendingOwnerCut (uint64)minerBurned (uint128)raoRecycledForRegistration (uint64)getEmissionGateConfig()view0x42c5803cNo documentation in the source.
Returns
blockEmission (uint64)movingAlpha (int128)netTaoFlowEnabled (bool)taoFlowCutoff (int128)flowNormExponent (uint128)emissionBarQuantile (uint128)emissionGateExponent (uint128)emissionGateBar (uint128)flowEmaSmoothingFactor (uint64)getMovingAlphaPrice(uint16)view0xa86b1037Returns the moving (EMA) alpha price for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The moving alpha price in RAO per alpha.getRootNetuid()view0x19f16c56Returns the root subnet unique identifier.
Returns
return (uint16) The root subnet ID.getSubnetEconomicState(uint16)view0x1b2765a1No documentation in the source.
Parameters
netuid (uint16)Returns
emissionEnabled (bool)rootProportion (uint128)excessTao (uint64)rootSellTao (uint64)protocolAlpha (uint64)getSubnetFlowState(uint16)view0x91fb086eNo documentation in the source.
Parameters
netuid (uint16)Returns
taoFlow (int64)hasTaoFlowEma (bool)taoFlowEmaBlock (uint64)taoFlowEma (int128)protocolFlow (int64)hasProtocolFlowEma (bool)protocolFlowEmaBlock (uint64)protocolFlowEma (int128)getSubnetMechanism(uint16)view0x8757c476Returns the mechanism type for a subnet (0 for Stable, 1 for Dynamic).
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint16) The subnet mechanism type.getSubnetVolume(uint16)view0x77acf3aaReturns the transaction volume for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The subnet volume.getSumAlphaPrice()view0xaaf7afbdReturns the sum of alpha prices for all subnets.
Returns
return (uint256) The sum of alpha prices.getSwapState(uint16)view0xb7fac84bNo documentation in the source.
Parameters
netuid (uint16)Returns
feeRate (uint16)initialized (bool)quoteWeight (uint64)taoReservoir (uint64)alphaReservoir (uint64)getTaoInEmission(uint16)view0x6064c67eReturns the amount of tao emission into the pool per block for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256) The tao-in emission per block.getTaoInPool(uint16)view0x2d9bfc71Returns the amount of TAO in the pool for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64) The TAO amount in the pool.getTaoWeight()view0x1b859180Returns the global TAO weight.
Returns
return (uint256) The TAO weight value.hasSwapMigrationRun(bytes)view0xd85264fdNo documentation in the source.
Parameters
migrationName (bytes)Returns
return (bool)setBurnHalfLife(uint16,uint16)nonpayable0xcfe2c177No documentation in the source.
Parameters
netuid (uint16)burnHalfLife (uint16)setBurnIncreaseMultiplier(uint16,uint128)nonpayable0x2be063efRaw U64F64 bits.
Parameters
netuid (uint16)rawMultiplier (uint128)setRecycleOrBurn(uint16,uint8)nonpayable0x85229703mode: 0 = burn, 1 = recycle.
Parameters
netuid (uint16)mode (uint8)simSwapAlphaForTao(uint16,uint64)view0xa4e7d28dSimulates swapping alpha for TAO.
Parameters
netuid (uint16) The subnet identifier.alpha (uint64) The amount of alpha to swap.Returns
return (uint256) The amount of TAO that would be received.simSwapTaoForAlpha(uint16,uint64)view0x27c3f0fbSimulates swapping TAO for alpha.
Parameters
netuid (uint16) The subnet identifier.tao (uint64) The amount of TAO to swap.Returns
return (uint256) The amount of alpha that would be received.No calls on record.
Data: precompile-abis.v473. Runtime ranges are the spec versions on subtensor’s main branch when an entry first and last appeared, not the block it went live on chain.