cairo-contracts
cairo-contracts copied to clipboard
Enumerable Map
Apologies if this is not the best place for feature requests :).
🧐 Motivation
At yagi.fi, we need an enumerable map to maintain a list of keepers. This enumerable map will be able to enumerate keeper account addresses and also help recover state associated with an individual keeper based on their address.
📝 Details
Something like OpenZeppelin EnumerableMap would be great here: https://docs.openzeppelin.com/contracts/3.x/api/utils#EnumerableMap.
FYI - this may be useful input to make the map generic: https://twitter.com/fuxeto/status/1531629924959780864