Can a contract be self-funding, i.e. by imposing fees upon prospective users based upon its own ether cost?
For example: I would like to make a lottery contract. The contract accepts ether. At a pre-determined time interval a random sender is selected and the sum of the inputs thus far is sent to that sender--minus the cost necessary to store the addresses of the senders, process the code used to select a winner, etc.
Now I know that ECLL is turing-complete, but can it refer to such variables? I'm still researching the language so forgive me if this is obvious; then again, maybe some documentation needs to be written (and I'd love to help.)