@@ -3785,6 +3785,7 @@ async def add_liquidity(
3785
3785
liquidity : Balance ,
3786
3786
price_low : Balance ,
3787
3787
price_high : Balance ,
3788
+ hotkey : Optional [str ] = None ,
3788
3789
wait_for_inclusion : bool = True ,
3789
3790
wait_for_finalization : bool = False ,
3790
3791
period : Optional [int ] = None ,
@@ -3798,6 +3799,8 @@ async def add_liquidity(
3798
3799
liquidity: The amount of liquidity to be added.
3799
3800
price_low: The lower bound of the price tick range. In TAO.
3800
3801
price_high: The upper bound of the price tick range. In TAO.
3802
+ hotkey: The hotkey with staked TAO in Alpha. If not passed then the wallet hotkey is used. Defaults to
3803
+ `None`.
3801
3804
wait_for_inclusion: Whether to wait for the extrinsic to be included in a block. Defaults to True.
3802
3805
wait_for_finalization: Whether to wait for finalization of the extrinsic. Defaults to False.
3803
3806
period: The number of blocks during which the transaction will remain valid after it's submitted. If
@@ -3819,6 +3822,7 @@ async def add_liquidity(
3819
3822
liquidity = liquidity ,
3820
3823
price_low = price_low ,
3821
3824
price_high = price_high ,
3825
+ hotkey = hotkey ,
3822
3826
wait_for_inclusion = wait_for_inclusion ,
3823
3827
wait_for_finalization = wait_for_finalization ,
3824
3828
period = period ,
@@ -3992,6 +3996,7 @@ async def modify_liquidity(
3992
3996
netuid : int ,
3993
3997
position_id : int ,
3994
3998
liquidity_delta : Balance ,
3999
+ hotkey : Optional [str ] = None ,
3995
4000
wait_for_inclusion : bool = True ,
3996
4001
wait_for_finalization : bool = False ,
3997
4002
period : Optional [int ] = None ,
@@ -4003,6 +4008,8 @@ async def modify_liquidity(
4003
4008
netuid: The UID of the target subnet for which the call is being initiated.
4004
4009
position_id: The id of the position record in the pool.
4005
4010
liquidity_delta: The amount of liquidity to be added or removed (add if positive or remove if negative).
4011
+ hotkey: The hotkey with staked TAO in Alpha. If not passed then the wallet hotkey is used. Defaults to
4012
+ `None`.
4006
4013
wait_for_inclusion: Whether to wait for the extrinsic to be included in a block. Defaults to True.
4007
4014
wait_for_finalization: Whether to wait for finalization of the extrinsic. Defaults to False.
4008
4015
period: The number of blocks during which the transaction will remain valid after it's submitted. If
@@ -4049,6 +4056,7 @@ async def modify_liquidity(
4049
4056
netuid = netuid ,
4050
4057
position_id = position_id ,
4051
4058
liquidity_delta = liquidity_delta ,
4059
+ hotkey = hotkey ,
4052
4060
wait_for_inclusion = wait_for_inclusion ,
4053
4061
wait_for_finalization = wait_for_finalization ,
4054
4062
period = period ,
@@ -4200,6 +4208,7 @@ async def remove_liquidity(
4200
4208
wallet : "Wallet" ,
4201
4209
netuid : int ,
4202
4210
position_id : int ,
4211
+ hotkey : Optional [str ] = None ,
4203
4212
wait_for_inclusion : bool = True ,
4204
4213
wait_for_finalization : bool = False ,
4205
4214
period : Optional [int ] = None ,
@@ -4210,6 +4219,8 @@ async def remove_liquidity(
4210
4219
wallet: The wallet used to sign the extrinsic (must be unlocked).
4211
4220
netuid: The UID of the target subnet for which the call is being initiated.
4212
4221
position_id: The id of the position record in the pool.
4222
+ hotkey: The hotkey with staked TAO in Alpha. If not passed then the wallet hotkey is used. Defaults to
4223
+ `None`.
4213
4224
wait_for_inclusion: Whether to wait for the extrinsic to be included in a block. Defaults to True.
4214
4225
wait_for_finalization: Whether to wait for finalization of the extrinsic. Defaults to False.
4215
4226
period: The number of blocks during which the transaction will remain valid after it's submitted. If
@@ -4231,6 +4242,7 @@ async def remove_liquidity(
4231
4242
wallet = wallet ,
4232
4243
netuid = netuid ,
4233
4244
position_id = position_id ,
4245
+ hotkey = hotkey ,
4234
4246
wait_for_inclusion = wait_for_inclusion ,
4235
4247
wait_for_finalization = wait_for_finalization ,
4236
4248
period = period ,
0 commit comments