Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add event handlers

未关闭
#9 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript
领域
blockchain

调研方向

先从剩余的事件处理器条目 #18 和 #19 开始,然后阅读 src/lens-hub.ts 以及 subgraph.yaml 中对应的条目。使用链接的 Lens 事件文档来确定所需的事件字段,并与现有处理器进行比较。完成的标准是定义剩余的两个处理器,并将它们注册到 subgraph 配置中。

由索引模型根据 Issue 内容生成。

描述

You can find the list of event handlers emitted by the lens contract here. As of now, only one event handler is done, all others have remained. Following is the list of event handlers that need to be added for a usable MVP.

  • #14
  • #15
  • #16
  • #17
  • #18
  • #19

Feel free to suggest an addition/deletion of any event handler. Steps to add an eventHandler:

  1. Define a function to handle any event in the src/lens-hub.ts file in our project as it is defined here. You can get the details about the event fields from the lens-docs. Also, you can use this tool called tenderly if you have an address of that particular transaction and this tool will provide you with all the information regarding the events emitted.
  2. Once the event handler is defined in the lens-hub.ts file, add that event handler in the subgraph.yml file as shown here
主要语言
TypeScript
星标
54
派生
14
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Developer-DAO/Lens-Graph-Subgraph 的其他 Issue

查看 Developer-DAO/Lens-Graph-Subgraph 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。