feat(tasks): Sprint 1 M9 — ERC-20余额、EIP-2612 permit、x402收据#279
Open
fanhousanbu wants to merge 1 commit intofeat/m7-guardian-tier-recoveryfrom
Open
feat(tasks): Sprint 1 M9 — ERC-20余额、EIP-2612 permit、x402收据#279fanhousanbu wants to merge 1 commit intofeat/m7-guardian-tier-recoveryfrom
fanhousanbu wants to merge 1 commit intofeat/m7-guardian-tier-recoveryfrom
Conversation
…ipts T01: 积分余额展示 - TaskContext 新增 taskTokenBalance / loadTaskTokenBalance - Dashboard 新增 Task Reward Balance 卡片,实时读取 ERC-20 余额 T02: createTaskWithPermit - TASK_ESCROW_ABI 补充 createTaskWithPermit / ERC20 nonces / name / permit - 创建任务时优先走 EIP-2612 permit(单 tx 无需 approve) - permit 失败自动降级为 approve + createTask T06: linkReceipt 前端 - ABI 补充 linkReceipt / getTaskReceipts - TaskContext 新增 getTaskReceipts / linkReceipt - 任务详情页新增 x402 Receipts 区域:显示已绑定收据,参与方可手动 link
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changed Files
lib/contracts/task-escrow-abi.tscreateTaskWithPermit、linkReceipt、getTaskReceipts;ERC20 补充name、nonces、permitcontexts/TaskContext.tsxtaskTokenBalance、loadTaskTokenBalance、getTaskReceipts、linkReceiptapp/dashboard/page.tsxapp/tasks/create/page.tsxapp/tasks/[taskId]/page.tsxTest Plan
linkReceipt后刷新页面,收据 ID 出现在 x402 Receipts 区域