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); }
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); }