Skip to content

Apply pledge spend rules before the first note and cover descendant Takebacks - #199

Merged
AdamSpitz merged 3 commits into
devfrom
feature/pledge-list-before-first-note
Sep 27, 2026
Merged

AdamSpitz merged 3 commits into
devfrom
feature/pledge-list-before-first-note

Conversation

@AdamSpitz

Copy link
Copy Markdown
Owner

A new standing pledge now stores its spend wait, listed payees, and shorter listed-payee wait before minting its first note. The deposit and pledge screens expose those rules, and Takeback can cover active receipt and refund notes descended from the selected note. Review also restored the recurring pledge fine-list getter name expected by the SDK and indexer ABIs.

Validation: targeted Hardhat pledge/refund tests passed; pre-commit lint, build, and fast tests passed.

Creation writes the list and the shorter delay before minting, and both deposit paths collect names that can be paid immediately. The pledge page edits what future notes inherit.
revokeMany skips notes that are already gone. The client walks that closure from the logs and confirms which delegated notes to revoke. A purchase or refund copies the source note's spend rules onto the new note.

@AdamSpitz AdamSpitz left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review receipt.

Reviewed the pledge policy initialization, receipt and refund policy copying, revocation closure, UI flows, and regression tests. The fine-list getter ABI mismatch was fixed before this review; no remaining findings.

Reviewed-with: codex
Reviewed-files: 47
Reviewed-commit: f47312b

@AdamSpitz
AdamSpitz merged commit 51f8e58 into dev Sep 27, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant