@@ -103,6 +103,7 @@ where
103103 }
104104
105105 #[ precompile:: public( "removeStake(bytes32,uint256,uint256)" ) ]
106+ #[ precompile:: payable]
106107 fn remove_stake (
107108 handle : & mut impl PrecompileHandle ,
108109 address : H256 ,
@@ -141,6 +142,7 @@ where
141142 }
142143
143144 #[ precompile:: public( "removeStakeFull(bytes32,uint256)" ) ]
145+ #[ precompile:: payable]
144146 fn remove_stake_full (
145147 handle : & mut impl PrecompileHandle ,
146148 hotkey : H256 ,
@@ -150,6 +152,7 @@ where
150152 }
151153
152154 #[ precompile:: public( "removeStakeFullLimit(bytes32,uint256,uint256)" ) ]
155+ #[ precompile:: payable]
153156 fn remove_stake_full_limit (
154157 handle : & mut impl PrecompileHandle ,
155158 hotkey : H256 ,
@@ -161,6 +164,7 @@ where
161164 }
162165
163166 #[ precompile:: public( "moveStake(bytes32,bytes32,uint256,uint256,uint256)" ) ]
167+ #[ precompile:: payable]
164168 fn move_stake (
165169 handle : & mut impl PrecompileHandle ,
166170 origin_hotkey : H256 ,
@@ -187,6 +191,7 @@ where
187191 }
188192
189193 #[ precompile:: public( "transferStake(bytes32,bytes32,uint256,uint256,uint256)" ) ]
194+ #[ precompile:: payable]
190195 fn transfer_stake (
191196 handle : & mut impl PrecompileHandle ,
192197 destination_coldkey : H256 ,
@@ -301,6 +306,7 @@ where
301306 }
302307
303308 #[ precompile:: public( "addProxy(bytes32)" ) ]
309+ #[ precompile:: payable]
304310 fn add_proxy ( handle : & mut impl PrecompileHandle , delegate : H256 ) -> EvmResult < ( ) > {
305311 let account_id = handle. caller_account_id :: < R > ( ) ;
306312 let delegate = R :: AccountId :: from ( delegate. 0 ) ;
@@ -315,6 +321,7 @@ where
315321 }
316322
317323 #[ precompile:: public( "removeProxy(bytes32)" ) ]
324+ #[ precompile:: payable]
318325 fn remove_proxy ( handle : & mut impl PrecompileHandle , delegate : H256 ) -> EvmResult < ( ) > {
319326 let account_id = handle. caller_account_id :: < R > ( ) ;
320327 let delegate = R :: AccountId :: from ( delegate. 0 ) ;
@@ -329,6 +336,7 @@ where
329336 }
330337
331338 #[ precompile:: public( "addStakeLimit(bytes32,uint256,uint256,bool,uint256)" ) ]
339+ #[ precompile:: payable]
332340 fn add_stake_limit (
333341 handle : & mut impl PrecompileHandle ,
334342 address : H256 ,
@@ -354,6 +362,7 @@ where
354362 }
355363
356364 #[ precompile:: public( "removeStakeLimit(bytes32,uint256,uint256,bool,uint256)" ) ]
365+ #[ precompile:: payable]
357366 fn remove_stake_limit (
358367 handle : & mut impl PrecompileHandle ,
359368 address : H256 ,
@@ -444,6 +453,7 @@ where
444453 }
445454
446455 #[ precompile:: public( "removeStake(bytes32,uint256,uint256)" ) ]
456+ #[ precompile:: payable]
447457 fn remove_stake (
448458 handle : & mut impl PrecompileHandle ,
449459 address : H256 ,
@@ -532,6 +542,7 @@ where
532542 }
533543
534544 #[ precompile:: public( "addProxy(bytes32)" ) ]
545+ #[ precompile:: payable]
535546 fn add_proxy ( handle : & mut impl PrecompileHandle , delegate : H256 ) -> EvmResult < ( ) > {
536547 let account_id = handle. caller_account_id :: < R > ( ) ;
537548 let delegate = R :: AccountId :: from ( delegate. 0 ) ;
@@ -546,6 +557,7 @@ where
546557 }
547558
548559 #[ precompile:: public( "removeProxy(bytes32)" ) ]
560+ #[ precompile:: payable]
549561 fn remove_proxy ( handle : & mut impl PrecompileHandle , delegate : H256 ) -> EvmResult < ( ) > {
550562 let account_id = handle. caller_account_id :: < R > ( ) ;
551563 let delegate = R :: AccountId :: from ( delegate. 0 ) ;
0 commit comments