Signature-based permit
Definition
A signature-based permit grants token spending rights through a signed message rather than an ordinary approval transaction alone.
How signature-based permit works
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.
Example
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.
Common mistakes
- Treating a message as harmless because it is not presented as a transfer.