# 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
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- blockchain
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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']}")
- Ngôn ngữ chính
- Go
- Star
- 334
- Fork
- 503
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipfs/ipfs-docs
-
kind/suggestion need/triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
IPFS - Abuse Report Help?Đang mởneed/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
-
Digital Bayanihan ChainĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 15/100
-
better gov phĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
Tất cả issue của ipfs/ipfs-docs
Issue tương tự
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
harvester/harvester#12311 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsĐang mởbug effort:s impact:low raised-by:desk risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
medici-finance/assay#6580 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
blinklabs-io/gouroboros#3026 ·
Maintainer thường phản hồi trong vòng 1 ngày