diff --git a/pallets/subtensor/src/lib.rs b/pallets/subtensor/src/lib.rs index 05f56131d..6ecb69c87 100644 --- a/pallets/subtensor/src/lib.rs +++ b/pallets/subtensor/src/lib.rs @@ -891,34 +891,34 @@ pub mod pallet { pub type TotalStake = StorageValue<_, u64, ValueQuery>; #[pallet::storage] // --- ITEM ( dynamic_block ) -- block when dynamic was turned on. pub type DynamicBlock = StorageValue<_, u64, ValueQuery>; - #[pallet::storage] // --- DMAP ( netuid ) --> total_volume | The total amount of TAO bought and sold since the start of the network. + #[pallet::storage] // --- MAP ( netuid ) --> total_volume | The total amount of TAO bought and sold since the start of the network. pub type SubnetVolume = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> tao_in_subnet | Returns the amount of TAO in the subnet. + #[pallet::storage] // --- MAP ( netuid ) --> tao_in_subnet | Returns the amount of TAO in the subnet. pub type SubnetTAO = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> alpha_in_emission | Returns the amount of alph in emission into the pool per block. + #[pallet::storage] // --- MAP ( netuid ) --> alpha_in_emission | Returns the amount of alph in emission into the pool per block. pub type SubnetAlphaInEmission = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> alpha_out_emission | Returns the amount of alpha out emission into the network per block. + #[pallet::storage] // --- MAP ( netuid ) --> alpha_out_emission | Returns the amount of alpha out emission into the network per block. pub type SubnetAlphaOutEmission = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> tao_in_emission | Returns the amount of tao emitted into this subent on the last block. + #[pallet::storage] // --- MAP ( netuid ) --> tao_in_emission | Returns the amount of tao emitted into this subent on the last block. pub type SubnetTaoInEmission = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> alpha_sell_per_block | Alpha sold per block. + #[pallet::storage] // --- MAP ( netuid ) --> alpha_sell_per_block | Alpha sold per block. pub type SubnetAlphaEmissionSell = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> total_stake_at_moment_of_subnet_registration + #[pallet::storage] // --- MAP ( netuid ) --> total_stake_at_moment_of_subnet_registration pub type TotalStakeAtDynamic = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> alpha_supply_in_pool | Returns the amount of alpha in the subnet. + #[pallet::storage] // --- MAP ( netuid ) --> alpha_supply_in_pool | Returns the amount of alpha in the pool. pub type SubnetAlphaIn = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( netuid ) --> alpha_supply_in_subnet | Returns the amount of alpha in the subnet. + #[pallet::storage] // --- MAP ( netuid ) --> alpha_supply_in_subnet | Returns the amount of alpha in the subnet. pub type SubnetAlphaOut = StorageMap<_, Identity, u16, u64, ValueQuery, DefaultZeroU64>; - #[pallet::storage] // --- DMAP ( cold ) --> Vec | Maps coldkey to hotkeys that stake to it + #[pallet::storage] // --- MAP ( cold ) --> Vec | Maps coldkey to hotkeys that stake to it pub type StakingHotkeys = StorageMap<_, Blake2_128Concat, T::AccountId, Vec, ValueQuery>; #[pallet::storage] // --- MAP ( cold ) --> Vec | Returns the vector of hotkeys controlled by this coldkey. @@ -975,10 +975,10 @@ pub mod pallet { U64F64, // Shares ValueQuery, >; - #[pallet::storage] // --- DMAP ( netuid ) --> token_symbol | Returns the token symbol for a subnet. + #[pallet::storage] // --- MAP ( netuid ) --> token_symbol | Returns the token symbol for a subnet. pub type TokenSymbol = StorageMap<_, Identity, u16, Vec, ValueQuery, DefaultUnicodeVecU8>; - #[pallet::storage] // --- DMAP ( netuid ) --> subnet_name | Returns the name of the subnet. + #[pallet::storage] // --- MAP ( netuid ) --> subnet_name | Returns the name of the subnet. pub type SubnetName = StorageMap<_, Identity, u16, Vec, ValueQuery, DefaultUnicodeVecU8>; @@ -1279,49 +1279,49 @@ pub mod pallet { pub type Keys = StorageDoubleMap<_, Identity, u16, Identity, u16, T::AccountId, ValueQuery, DefaultKey>; #[pallet::storage] - /// --- DMAP ( netuid ) --> (hotkey, se, ve) + /// --- MAP ( netuid ) --> (hotkey, se, ve) pub type LoadedEmission = StorageMap<_, Identity, u16, Vec<(T::AccountId, u64, u64)>, OptionQuery>; #[pallet::storage] - /// --- DMAP ( netuid ) --> active + /// --- MAP ( netuid ) --> active pub type Active = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyBoolVec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> rank + /// --- MAP ( netuid ) --> rank pub type Rank = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> trust + /// --- MAP ( netuid ) --> trust pub type Trust = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> consensus + /// --- MAP ( netuid ) --> consensus pub type Consensus = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> incentive + /// --- MAP ( netuid ) --> incentive pub type Incentive = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> dividends + /// --- MAP ( netuid ) --> dividends pub type Dividends = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> emission + /// --- MAP ( netuid ) --> emission pub type Emission = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU64Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> last_update + /// --- MAP ( netuid ) --> last_update pub type LastUpdate = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU64Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> validator_trust + /// --- MAP ( netuid ) --> validator_trust pub type ValidatorTrust = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> pruning_scores + /// --- MAP ( netuid ) --> pruning_scores pub type PruningScores = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyU16Vec>; #[pallet::storage] - /// --- DMAP ( netuid ) --> validator_permit + /// --- MAP ( netuid ) --> validator_permit pub type ValidatorPermit = StorageMap<_, Identity, u16, Vec, ValueQuery, EmptyBoolVec>; #[pallet::storage]