solidstate-solidity
solidstate-solidity copied to clipboard
Linked List
SolidState needs libraries for working with singly and doubly linked lists.
Consider using a linked list for the ERC1155Enumerable
features.
Differentiate between linked list of unique values and linked list of repeatable values. The former includes constant-time lookups by default, but is not as widely applicable as a standard linked list.
Implementation here: https://github.com/vittominacori/solidity-linked-list
If possible, the SolidState implementation should support multiple underlying data types and expose an interface for each, like with EnumerableSet
.