private bool OnShowGasCommand(string[] args) { if (NoWallet()) { return(true); } Coins coins = new Coins(Program.Wallet, system); Console.WriteLine($"unavailable: {coins.UnavailableBonus().ToString()}"); Console.WriteLine($" available: {coins.AvailableBonus().ToString()}"); return(true); }
private bool OnShowGasCommand(string[] args) { if (Program.Wallet == null) { Console.WriteLine($"Please open a wallet"); return(true); } Coins coins = new Coins(Program.Wallet, LocalNode); Console.WriteLine($"unavailable: {coins.UnavailableBonus().ToString()}"); Console.WriteLine($" available: {coins.AvailableBonus().ToString()}"); return(true); }
private bool OnShowGasCommand(string[] args) { TR.Enter(); if (NoWallet()) { return(TR.Exit(true)); } Coins coins = new Coins(Program.Wallet, LocalNode); Console.WriteLine($"unavailable: {coins.UnavailableBonus().ToString()}"); Console.WriteLine($" available: {coins.AvailableBonus().ToString()}"); return(TR.Exit(true)); }