지갑과 보안

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.