Пример #1
0
        public override OwningRental GetOwningRental(Empty input)
        {
            var owingRental = new OwningRental();

            foreach (var symbol in Context.Variables.SymbolListToPayRental)
            {
                owingRental.ResourceAmount[symbol] = State.OwningRental[symbol];
            }

            return(owingRental);
        }
Пример #2
0
        public override OwningRental GetOwningRental(Empty input)
        {
            var owingRental = new OwningRental();

            foreach (var symbol in Context.Variables.GetStringArray(TokenContractConstants.PayRentalSymbolListName))
            {
                owingRental.ResourceAmount[symbol] = State.OwningRental[symbol];
            }

            return(owingRental);
        }