Wallet & keamanan

Signature-based permit

Definisi

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

Entri ini ditampilkan dalam bahasa Inggris.

Cara kerja Signature-based permit

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.

Contoh

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.

Kesalahan umum

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