From cb0fca3983b8584156d1f2b12d5a4d92e9e9214f Mon Sep 17 00:00:00 2001 From: Red Swan Date: Tue, 20 Jan 2026 23:36:28 -0700 Subject: [PATCH] Changed 721 to 712 721 is the NFT EIP, 712 is the EIP used here (about signing over structs) --- docs/contracts/permit2/reference/signature-transfer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts/permit2/reference/signature-transfer.md b/docs/contracts/permit2/reference/signature-transfer.md index 8403071ac..cae8c175d 100644 --- a/docs/contracts/permit2/reference/signature-transfer.md +++ b/docs/contracts/permit2/reference/signature-transfer.md @@ -200,7 +200,7 @@ And the `witnessTypeString` to be passed in should be: string constant witnessTypeString = "ExampleTrade witness)ExampleTrade(address exampleTokenAddress,uint256 exampleMinimumAmountOut)TokenPermissions(address token,uint256 amount)" ``` -It’s important to note that when hashing multiple typed structs, the ordering of the structs in the type string matters. Referencing EIP-721: +It’s important to note that when hashing multiple typed structs, the ordering of the structs in the type string matters. Referencing EIP-712: > If the struct type references other struct types (and these in turn reference even more struct types), then the set of referenced struct types is collected, sorted by name and appended to the encoding. An example encoding is `Transaction(Person from,Person to,Asset tx)Asset(address token,uint256 amount)Person(address wallet,string name)` >