Exact-amount approval
Định nghĩa
An exact-amount approval sets spending permission to a chosen transaction amount rather than granting a larger standing allowance.
Mục này đang hiển thị bằng tiếng Anh.
Exact-amount approval hoạt động thế nào
An exact-amount approval sets spending permission to a chosen transaction amount rather than granting a larger standing allowance.
Limit an authorization to the amount your intended action needs.
Ví dụ
A swap needs 32 tokens while the proposed allowance is 120: 120 - 32 = 88 tokens of excess authorization to reconsider. This exact-amount approval example uses hypothetical inputs.
Lỗi thường gặp
- Assuming a smaller allowance makes a malicious contract safe.