IntersectMBO / IntersectMBO/formal-ledger-specifications

[Dijkstra] Document ENTITIES/SUBENTITIES

Open
#1,257 0 comments 0 reactions 0 assignees View on GitHub
documentation era: dijkstra
Dominant language
Agda
Stars
52
Forks
20
Avg merge
6d 14h
Merged PRs (30d)
7

Description

1. Precondition `∙ filter isKeyHash wdrlCreds ⊆ dom voteDelegs₀` is dropped from Conway (see [CIP-0181](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0181), and issue [#5910](https://github.com/IntersectMBO/cardano-ledger/issues/5910))
2. Withdrawals from subtransactions are only allowed from pre-transaction registered accounts.
3. Aggregated withdrawals must no exceed the pre-transaction account balance. (see [phantom asset attack](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0159#partial-withdrawals-and-native-asset-withdrawals))
4. Withdrawals are applied before CERTS and direct deposits after CERTS
5. In legacy mode, the top-level transaction can withdraw from an account registered (and deposited onto) by a subtransaction.
6. In legacy mode, the top-level transaction can only do a full withdrawal.

Contributor guide

Open the contributing guide

Research direction

Locate the Dijkstra ENTITIES/SUBENTITIES material referenced by the issue and read the surrounding formal specification. Document the six listed withdrawal and registration rules, including the Conway changes and legacy-mode distinctions, with the linked CIP references preserved; done means each stated behavior is represented clearly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.