Uniswap / permit2

🔑🔑🔑 next generation token approvals mechanism

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questions about Nonce Schema Encoding

hcheng826 opened this issue · comments

commented

Regarding to the documentation, the encoding of nonce should be uint248 wordPos and uint8 bitPos. I'm confused why they are all uint256s in the code implementation? Thanks!

See #106, this was a gas improvement because the values dont have to be cleaned/recasted later when used for lookups