ウォレットとセキュリティ

Remaining token allowance

定義

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.

この項目は英語で表示しています。

Remaining token allowanceの仕組み

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.

具体例

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.

よくある失敗

  • Reading the allowance as an immediate transfer of the whole amount.