トークン承認で許可される操作
ERC-20の承認枠、署名済みpermit、ERC-721の運用者権限を理解し、確認や取り消しに役立てます。
本文は英語でご覧いただけます。
ERC-20 allowance
An ERC-20 approval specifies a spender and an amount for one token contract. A spender can call transferFrom within the current allowance, subject to the contract's rules. An unlimited allowance for that token contract can persist across visits until it changes.
ERC-2612 and ERC-721 permissions
Under ERC-2612, a compatible token can accept a signed permit to set an allowance. Under ERC-721, setApprovalForAll can authorize one operator to manage the owner's NFTs within that token contract. The scope depends on the standard and permission requested.
Find and remove unused permissions
Review approvals on the networks and accounts you actually use. An approval manager can display the spender and allowance and help you submit a revocation where supported. Check that the network confirms the change.
Limit the scope before you sign
When the application and token support it, choose an amount appropriate to the intended operation and review the spender address. A recorded allowance persists after you disconnect your wallet. Read the transaction or message request and check which address it authorizes.