This is a discussion thread for an informational EIP describing how token allowances can have a time-limit and auto-expire.
The basic idea is to extend approve() and allowance() in EIP-20 so that they use a _maxBlock parameter.
The proposal will be something like this:
approve becomes:
function approve(address _spender, uint256 _value, uint256 _maxblock) public returns (bool success)
and allowance() returns 0 if current block > _maxblock.
The idea is that most users pay attention to what happens when they approve an allowance, but forget about them after some time. This proposal will make allowances auto-expire, saving users the hassle to deal with old approvals and also spare them the gas needed to cancel them.
Is this something worth submitting an EIP?