Skip to content

Instantly share code, notes, and snippets.

@frozeman
Last active May 26, 2022 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frozeman/36c8a0fa0834f440deda34d3428a1a79 to your computer and use it in GitHub Desktop.
Save frozeman/36c8a0fa0834f440deda34d3428a1a79 to your computer and use it in GitHub Desktop.
LSP2 improvements
Mapping
bytes10 + bytes2(0) + <whatever> (bytes20) or bytes20 //
0x112233445566778899001122 0000 000000000000112233445566778899001122
MappingWithGrouping
bytes6 + <whatever> (max bytes4) or bytes4 + bytes2(0) + <whatever> or bytes20 (max bytes20)
0x112233445566 11223344 0000 00000000000000000001122334455667788
@frozeman
Copy link
Author

frozeman commented May 25, 2022

Mapping:
LSP12Thingy:SecondWord
LSP12Thingy:<address>

@frozeman
Copy link
Author

LSP12Thingy:<bytes4>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment