Remaining token allowance
Definition
Remaining token allowance is the unspent portion of an approval after an authorized spender uses part of it, where the token reduces allowance as spending occurs.
This entry is shown in English.
How Remaining token allowance works
Remaining token allowance is the unspent portion of an approval after an authorized spender uses part of it, where the token reduces allowance as spending occurs.
Work out what spending permission is left after an approved transfer.
Example
An allowance is 90 tokens and the spender uses 25 under a simple decrementing allowance: 90 - 25 = 65 tokens remain authorized. This token allowance example uses hypothetical inputs.
Common mistakes
- Reading the allowance as an immediate transfer of the whole amount.