Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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));
        }