OpenZeppelin / OpenZeppelin/cairo-contracts

Enumerable Map

Open
#196 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
909
Forks
397
Avg merge
2d 4h
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; start by reading the linked OpenZeppelin EnumerableMap API and locating the relevant collection and state-management entry points. Done means an enumerable map can list keeper addresses and recover state for an individual address, with tests covering both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.