Is refunded gas for "freed" storage given to the contract, the "allocator", or the "deleter"?
Suppose a contract allocates some storage. This storage is paid for by the sender of the transaction that does the allocation, right?
Now, when this storage is "freed" by
delete operator in Solidity, who gets the refund and how is the refund computed?
Is it the contract that gets the refund, the sender ("allocator") of the allocating transaction, or the sender ("deleter") of the deleting transaction? In particular, what gas price is used to compute the refund?