# Query the blockchain events filtering specifically for the OSEC reference budget_events = contract.events.BudgetLogged().get_logs( fromBlock=0, toBlock="latest" ) print(f"--- Searching Logs for Allotment: OSEC-2026-06248 ---") for event in budget_events: # Check if the text metadata contains your specific DBM/DPWH routing number if "OSEC-2026-06248" in event['args']['pdfSource'] or "OSEC-2026-06248" in event['args']['expenseType']: print(f"Transaction Found! Block: {event['blockNu
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- blockchain
调研方向
The issue only provides a Python query using contract.events.BudgetLogged().get_logs() and filters event args for an OSEC reference. Start by clarifying the requested change and the relevant repository entry point; no completion criteria or file, test, or expected output is provided.
由索引模型根据 Issue 内容生成。
描述
Query the blockchain events filtering specifically for the OSEC reference
budget_events = contract.events.BudgetLogged().get_logs(
fromBlock=0,
toBlock="latest"
)
print(f"--- Searching Logs for Allotment: OSEC-2026-06248 ---")
for event in budget_events:
# Check if the text metadata contains your specific DBM/DPWH routing number
if "OSEC-2026-06248" in event['args']['pdfSource'] or "OSEC-2026-06248" in event['args']['expenseType']:
print(f"Transaction Found! Block: {event['blockNumber']}")
print(f"Tx Hash: {event['transactionHash'].hex()}")
print(f"Linked IPFS Folder Hash: ipfs://{event['args']['uri']}")
- 主要语言
- Go
- 星标
- 334
- 派生
- 503
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ipfs/ipfs-docs 的其他 Issue
-
kind/suggestion need/triage
难度 1/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
need/triage
难度 5/5 一周以上 新手友好度 5/100
-
难度 3/5 1-2 天 新手友好度 15/100
-
better gov ph未关闭
难度 5/5 一周以上 新手友好度 10/100
相似的 Issue
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
harvester/harvester#12311 · 1 条评论 ·
维护者通常 1 天内回复
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path credits未关闭bug effort:s impact:low raised-by:desk risk:low
难度 2/5 1-3 小时 新手友好度 62/100
medici-finance/assay#6580 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
blinklabs-io/gouroboros#3026 ·
维护者通常 1 天内回复