@@ -45,6 +45,7 @@ mod root;
4545mod serving;
4646mod staking;
4747mod swap;
48+ mod swap_hotkey;
4849mod uids;
4950mod utils;
5051mod weights;
@@ -272,7 +273,7 @@ pub mod pallet {
272273 }
273274
274275 #[ pallet:: storage]
275- pub ( super ) type SenateRequiredStakePercentage < T > =
276+ pub type SenateRequiredStakePercentage < T > =
276277 StorageValue < _ , u64 , ValueQuery , DefaultSenateRequiredStakePercentage < T > > ;
277278
278279 /// ============================
@@ -796,15 +797,15 @@ pub mod pallet {
796797 }
797798
798799 #[ pallet:: storage] // --- ITEM ( tx_rate_limit )
799- pub ( super ) type TxRateLimit < T > = StorageValue < _ , u64 , ValueQuery , DefaultTxRateLimit < T > > ;
800+ pub type TxRateLimit < T > = StorageValue < _ , u64 , ValueQuery , DefaultTxRateLimit < T > > ;
800801 #[ pallet:: storage] // --- ITEM ( tx_rate_limit )
801- pub ( super ) type TxDelegateTakeRateLimit < T > =
802+ pub type TxDelegateTakeRateLimit < T > =
802803 StorageValue < _ , u64 , ValueQuery , DefaultTxDelegateTakeRateLimit < T > > ;
803804 #[ pallet:: storage] // --- MAP ( key ) --> last_block
804805 pub type LastTxBlock < T : Config > =
805806 StorageMap < _ , Identity , T :: AccountId , u64 , ValueQuery , DefaultLastTxBlock < T > > ;
806807 #[ pallet:: storage] // --- MAP ( key ) --> last_block
807- pub ( super ) type LastTxBlockDelegateTake < T : Config > =
808+ pub type LastTxBlockDelegateTake < T : Config > =
808809 StorageMap < _ , Identity , T :: AccountId , u64 , ValueQuery , DefaultLastTxBlock < T > > ;
809810
810811 /// Default value for serving rate limit.
@@ -1084,41 +1085,41 @@ pub mod pallet {
10841085 StorageMap < _ , Identity , u16 , Vec < ( T :: AccountId , u64 , u64 ) > , OptionQuery > ;
10851086
10861087 #[ pallet:: storage] // --- DMAP ( netuid ) --> active
1087- pub ( super ) type Active < T : Config > =
1088+ pub type Active < T : Config > =
10881089 StorageMap < _ , Identity , u16 , Vec < bool > , ValueQuery , EmptyBoolVec < T > > ;
10891090 #[ pallet:: storage] // --- DMAP ( netuid ) --> rank
1090- pub ( super ) type Rank < T : Config > =
1091+ pub type Rank < T : Config > =
10911092 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
10921093 #[ pallet:: storage] // --- DMAP ( netuid ) --> trust
1093- pub ( super ) type Trust < T : Config > =
1094+ pub type Trust < T : Config > =
10941095 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
10951096 #[ pallet:: storage] // --- DMAP ( netuid ) --> consensus
1096- pub ( super ) type Consensus < T : Config > =
1097+ pub type Consensus < T : Config > =
10971098 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
10981099 #[ pallet:: storage] // --- DMAP ( netuid ) --> incentive
1099- pub ( super ) type Incentive < T : Config > =
1100+ pub type Incentive < T : Config > =
11001101 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
11011102 #[ pallet:: storage] // --- DMAP ( netuid ) --> dividends
1102- pub ( super ) type Dividends < T : Config > =
1103+ pub type Dividends < T : Config > =
11031104 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
11041105 #[ pallet:: storage] // --- DMAP ( netuid ) --> emission
1105- pub ( super ) type Emission < T : Config > =
1106+ pub type Emission < T : Config > =
11061107 StorageMap < _ , Identity , u16 , Vec < u64 > , ValueQuery , EmptyU64Vec < T > > ;
11071108 #[ pallet:: storage] // --- DMAP ( netuid ) --> last_update
1108- pub ( super ) type LastUpdate < T : Config > =
1109+ pub type LastUpdate < T : Config > =
11091110 StorageMap < _ , Identity , u16 , Vec < u64 > , ValueQuery , EmptyU64Vec < T > > ;
11101111 #[ pallet:: storage] // --- DMAP ( netuid ) --> validator_trust
1111- pub ( super ) type ValidatorTrust < T : Config > =
1112+ pub type ValidatorTrust < T : Config > =
11121113 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
11131114 #[ pallet:: storage] // --- DMAP ( netuid ) --> pruning_scores
1114- pub ( super ) type PruningScores < T : Config > =
1115+ pub type PruningScores < T : Config > =
11151116 StorageMap < _ , Identity , u16 , Vec < u16 > , ValueQuery , EmptyU16Vec < T > > ;
11161117 #[ pallet:: storage] // --- DMAP ( netuid ) --> validator_permit
1117- pub ( super ) type ValidatorPermit < T : Config > =
1118+ pub type ValidatorPermit < T : Config > =
11181119 StorageMap < _ , Identity , u16 , Vec < bool > , ValueQuery , EmptyBoolVec < T > > ;
11191120
11201121 #[ pallet:: storage] // --- DMAP ( netuid, uid ) --> weights
1121- pub ( super ) type Weights < T : Config > = StorageDoubleMap <
1122+ pub type Weights < T : Config > = StorageDoubleMap <
11221123 _ ,
11231124 Identity ,
11241125 u16 ,
@@ -1129,7 +1130,7 @@ pub mod pallet {
11291130 DefaultWeights < T > ,
11301131 > ;
11311132 #[ pallet:: storage] // --- DMAP ( netuid, uid ) --> bonds
1132- pub ( super ) type Bonds < T : Config > = StorageDoubleMap <
1133+ pub type Bonds < T : Config > = StorageDoubleMap <
11331134 _ ,
11341135 Identity ,
11351136 u16 ,
0 commit comments