|
|
|
@ -59,11 +59,11 @@ database = parser.add_argument_group('local contracts database') |
|
|
|
|
database.add_argument('--init-db', action='store_true', help='initialize the contract database') |
|
|
|
|
database.add_argument('-s', '--search', help='search the contract database', metavar='EXPRESSION') |
|
|
|
|
|
|
|
|
|
utils = parser.add_argument_group('utilities') |
|
|
|
|
utils.add_argument('-d', '--disassemble', action='store_true', help='print disassembly') |
|
|
|
|
utils.add_argument('--xrefs', action='store_true', help='get xrefs from a contract') |
|
|
|
|
utils.add_argument('--hash', help='calculate function signature hash', metavar='SIGNATURE') |
|
|
|
|
utils.add_argument('--storage', help='read state variables from storage index, use with -a', metavar='INDEX,NUM_SLOTS,[array]') |
|
|
|
|
utilities = parser.add_argument_group('utilities') |
|
|
|
|
utilities.add_argument('-d', '--disassemble', action='store_true', help='print disassembly') |
|
|
|
|
utilities.add_argument('--xrefs', action='store_true', help='get xrefs from a contract') |
|
|
|
|
utilities.add_argument('--hash', help='calculate function signature hash', metavar='SIGNATURE') |
|
|
|
|
utilities.add_argument('--storage', help='read state variables from storage index, use with -a', metavar='INDEX,NUM_SLOTS,[array]') |
|
|
|
|
|
|
|
|
|
options = parser.add_argument_group('options') |
|
|
|
|
options.add_argument('--sync-all', action='store_true', help='Also sync contracts with zero balance') |
|
|
|
|