@@ -291,7 +291,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
291291 )
292292 _add_token_identifier_arg (sub )
293293 sub .add_argument ("--token-nonce" , required = True , type = int , help = "The nonce of the token as decimal value" )
294- sub .add_argument ("--quantity" , required = True , type = str , help = "The quantity to add" )
294+ sub .add_argument ("--quantity" , required = True , type = int , help = "The quantity to add" )
295295 add_common_args (args , sub )
296296 sub .set_defaults (func = add_quantity )
297297
@@ -303,7 +303,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
303303 )
304304 _add_token_identifier_arg (sub )
305305 sub .add_argument ("--token-nonce" , required = True , type = int , help = "The nonce of the token as decimal value" )
306- sub .add_argument ("--quantity" , required = True , type = str , help = "The quantity to burn" )
306+ sub .add_argument ("--quantity" , required = True , type = int , help = "The quantity to burn" )
307307 add_common_args (args , sub )
308308 sub .set_defaults (func = burn_quantity )
309309
@@ -315,7 +315,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
315315 )
316316 _add_token_identifier_arg (sub )
317317 sub .add_argument ("--token-nonce" , required = True , type = int , help = "The nonce of the token as decimal value" )
318- sub .add_argument ("--royalties" , required = True , type = str , help = "The new token royalties (e.g. 1234 for 12.34%)" )
318+ sub .add_argument ("--royalties" , required = True , type = int , help = "The new token royalties (e.g. 1234 for 12.34%)" )
319319 add_common_args (args , sub )
320320 sub .set_defaults (func = modify_royalties )
321321
@@ -351,7 +351,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
351351 _add_token_identifier_arg (sub )
352352 sub .add_argument ("--token-nonce" , required = True , type = int , help = "The nonce of the token as decimal value" )
353353 sub .add_argument ("--token-name" , required = True , type = str , help = "The new name of the token" )
354- sub .add_argument ("--royalties" , required = True , type = int , help = "The new token royalties (e.g. 1234 for 12.34%)" )
354+ sub .add_argument ("--royalties" , required = True , type = int , help = "The new token royalties (e.g. 1234 for 12.34%% )" )
355355 sub .add_argument ("--hash" , required = True , type = str , help = "The new hash of the token" )
356356 sub .add_argument (
357357 "--attributes" , required = True , type = str , help = "The new attributes of the token as a hex-encoded string"
@@ -369,7 +369,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
369369 _add_token_identifier_arg (sub )
370370 sub .add_argument ("--token-nonce" , required = True , type = int , help = "The nonce of the token as decimal value" )
371371 sub .add_argument ("--token-name" , required = True , type = str , help = "The new name of the token" )
372- sub .add_argument ("--royalties" , required = True , type = int , help = "The new token royalties (e.g. 1234 for 12.34%)" )
372+ sub .add_argument ("--royalties" , required = True , type = int , help = "The new token royalties (e.g. 1234 for 12.34%% )" )
373373 sub .add_argument ("--hash" , required = True , type = str , help = "The new hash of the token" )
374374 sub .add_argument (
375375 "--attributes" , required = True , type = str , help = "The new attributes of the token as a hex-encoded string"
@@ -401,7 +401,7 @@ def setup_parser(args: list[str], subparsers: Any) -> Any:
401401 sub = cli_shared .add_command_subparser (
402402 subparsers ,
403403 "token" ,
404- "register-dynamic-token " ,
404+ "register-dynamic" ,
405405 "Register a dynamic token." ,
406406 )
407407 sub .add_argument ("--token-name" , type = str , required = True , help = "The token name" )
0 commit comments