@main.command()<EOL>@click.pass_context<EOL>@onlineChain<EOL>def assets(ctx):
MAX_ASSET = <NUM_LIT><EOL>assets = []<EOL>for i in range(<NUM_LIT:0>, MAX_ASSET):<EOL><INDENT>try: <EOL><INDENT>assets.append(Asset("<STR_LIT>".format(i)))<EOL><DEDENT>except AssetDoesNotExistsException:<EOL><INDENT>break<EOL><DEDENT><DEDENT>assetTable = PrettyTable()<EOL>assetTable.field_names = ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]<EOL>for i in range (<NUM_LIT:0>, len(assets)):<EOL><INDENT>try: <EOL><INDENT>description = assets[i].description<EOL>if description == "<STR_LIT>":<EOL><INDENT>description = "<STR_LIT>"<EOL><DEDENT><DEDENT>except AttributeError:<EOL><INDENT>description = "<STR_LIT>"<EOL><DEDENT>assetTable.add_row([assets[i].id, assets[i].symbol, assets[i].precision, description, assets[i].max_supply["<STR_LIT>"]])<EOL><DEDENT>click.echo(assetTable)<EOL>
List Assets