One thing I love about Ethereum is the art of optimization. I'm pretty proud of this bit packing that we use for glass.
11 May 2023, 02:21
One thing I love about Ethereum is the art of optimization.
I'm pretty proud of this bit packing that we use for glass.
In a single byte32 slot we store:
- token symbol
- created time
- hidden/frozen/nsfw/directory flags
- copyright license
- mime type
- 7 tags for discovery