@@ -422,7 +422,7 @@ pub enum CastSubcommand {
422422 #[ command( visible_alias = "ca" ) ]
423423 ComputeAddress {
424424 /// The deployer address.
425- address : Option < String > ,
425+ address : Option < Address > ,
426426
427427 /// The nonce of the deployer address.
428428 #[ arg( long) ]
@@ -432,11 +432,11 @@ pub enum CastSubcommand {
432432 rpc : RpcOpts ,
433433 } ,
434434
435- /// Disassembles hex encoded bytecode into individual / human readable opcodes
435+ /// Disassembles a hex- encoded bytecode into a human- readable representation.
436436 #[ command( visible_alias = "da" ) ]
437437 Disassemble {
438- /// The hex encoded bytecode.
439- bytecode : String ,
438+ /// The hex- encoded bytecode.
439+ bytecode : Option < String > ,
440440 } ,
441441
442442 /// Build and sign a transaction.
@@ -754,7 +754,7 @@ pub enum CastSubcommand {
754754 #[ arg( value_parser = NameOrAddress :: from_str) ]
755755 who : NameOrAddress ,
756756
757- /// Disassemble bytecodes into individual opcodes .
757+ /// Disassemble bytecodes.
758758 #[ arg( long, short) ]
759759 disassemble : bool ,
760760
@@ -1030,8 +1030,8 @@ pub enum CastSubcommand {
10301030 /// Extracts function selectors and arguments from bytecode
10311031 #[ command( visible_alias = "sel" ) ]
10321032 Selectors {
1033- /// The hex encoded bytecode.
1034- bytecode : String ,
1033+ /// The hex- encoded bytecode.
1034+ bytecode : Option < String > ,
10351035
10361036 /// Resolve the function signatures for the extracted selectors using https://openchain.xyz
10371037 #[ arg( long, short) ]
0 commit comments