Ví & bảo mật

Signature-based permit

Định nghĩa

A signature-based permit grants token spending rights through a signed message rather than an ordinary approval transaction alone.

Mục này đang hiển thị bằng tiếng Anh.

Signature-based permit hoạt động thế nào

A signature-based permit grants token spending rights through a signed message rather than an ordinary approval transaction alone.

Read a message signature for the spending rights it can convey.

Ví dụ

A signed permit covers 70 tokens although the intended purchase needs 18: 70 - 18 = 52 tokens beyond the intended amount. This signature-based permit example uses hypothetical inputs.

Lỗi thường gặp

  • Treating a message as harmless because it is not presented as a transfer.