Content
@
0 reply
0 recast
2 reactions
0age
@0age
any solidity libraries or general resources anyone can recommend for working with sorted list insertion / deletion? i've seen a few for sorting arrays in memory and such, but not a whole lot for operating on storage in an effective manner
3 replies
13 recasts
79 reactions
maurelian
@maurelian.eth
https://github.com/Modular-Network/ethereum-libraries/blob/master/CrowdsaleLib/IICOLib/truffle/contracts/LinkedListLib.sol Very old and not much used afaik. It’s a linked list with getSortedSpot() utility for identifying the correct insertion point. Glanced at it for a minute before sharing.
0 reply
0 recast
2 reactions