|
|
@ -31,7 +31,9 @@ def get_balances():
|
|
|
|
accounts = wallet.accounts()
|
|
|
|
accounts = wallet.accounts()
|
|
|
|
for acc in accounts:
|
|
|
|
for acc in accounts:
|
|
|
|
balances = wallet.balances(account=acc[0])
|
|
|
|
balances = wallet.balances(account=acc[0])
|
|
|
|
click.echo(f'wallet {acc[0]} ({acc[1][0:12]}) - {float(balances[0])} locked, {float(balances[1])} unlocked')
|
|
|
|
unlocked = balances[1]
|
|
|
|
|
|
|
|
locked = balances[0] - balances[1]
|
|
|
|
|
|
|
|
click.echo(f'wallet {acc[0]} ({acc[1][0:12]}) - {float(locked)} locked, {float(unlocked)} unlocked')
|
|
|
|
|
|
|
|
|
|
|
|
@click.command()
|
|
|
|
@click.command()
|
|
|
|
def generate_bot_help():
|
|
|
|
def generate_bot_help():
|
|
|
|