validate_eip712_permit
Validate EIP-2612 permits by checking owner, spender, value, nonce, and deadline are well-formed and the deadline is not before a provided timestamp. Returns is_valid and violations.
Instructions
Validate an EIP-2612 permit: owner/spender/value/nonce/deadline must be present and well-formed, and deadline must not be before the caller-supplied now_timestamp. Returns is_valid and any violations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permit | Yes | An EIP-2612 permit: owner, spender, value, nonce, deadline. | |
| now_timestamp | Yes | Current time to evaluate deadline, epoch secs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||