Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2a7d869
feat(platform)!: destroy a frozen identity's escrowed listings with i…
QuantumExplorer Oct 21, 2026
b0ad84b
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
be47ffe
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
086cbf0
fix(drive): delete a frozen identity's listings in one batch-aware op…
QuantumExplorer Oct 22, 2026
a1bdd65
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
afcfa47
fix(drive): build each operation of a protocol 15 batch against the b…
QuantumExplorer Oct 22, 2026
7e89edd
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
ca118a6
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
5429998
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
def042b
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
3dace61
fix(drive): protocol 15 batches drain shared index groups; grouped op…
QuantumExplorer Oct 22, 2026
c557b4f
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
56bd477
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
90b47d9
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
61023ba
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
2464e98
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
185ab58
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
9e14a54
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
df0bcd1
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
c832240
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
b313168
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 22, 2026
c8c9b65
fix(drive): the raw batch converter builds each operation against the…
QuantumExplorer Oct 22, 2026
9f5c02f
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
aaddedc
fix(drive): the shared token history builder records a destroy's list…
QuantumExplorer Oct 23, 2026
abb253f
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
ea6abc7
test(drive-abci): the shared-index destroy regression requires a posi…
QuantumExplorer Oct 23, 2026
4fb947d
test(drive-abci): a frozen identity's offer keeps its stored credit e…
QuantumExplorer Oct 23, 2026
e56eca7
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
d82f362
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
9f5cab6
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
0f79744
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
cabf5d9
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
c9db21e
test(drive-abci): a frozen destroy leaves other holders' and other to…
QuantumExplorer Oct 23, 2026
6190db2
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
a22dd93
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
1a31c9f
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 23, 2026
76c7c8b
fix(drive): contested and withdrawal inserts see the batch's earlier …
QuantumExplorer Oct 24, 2026
d40f57a
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
548512b
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
ab5f6d4
docs(platform-version): renumber the Frozen listings note after the m…
QuantumExplorer Oct 25, 2026
7e0b7ca
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
09dd130
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
414ab4c
refactor(drive): each destroyed-amount generation lives in its own mo…
QuantumExplorer Oct 25, 2026
741d996
docs(platform-version): indent the continuation of note 12
QuantumExplorer Oct 25, 2026
114fc75
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
55f462d
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 25, 2026
cbf4448
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
8355a63
fix(drive): the frozen-listing read fails closed before protocol vers…
QuantumExplorer Oct 26, 2026
74249a4
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
5b7c63b
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
0ef5022
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
dce4817
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
fdbbcc0
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
cdd288e
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
b79668c
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 26, 2026
71d3911
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 27, 2026
ec02ad6
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 27, 2026
348e12d
test(platform): frozen listing fixtures name no minimum fill or decimals
QuantumExplorer Oct 27, 2026
2729ce7
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 27, 2026
d35f57e
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 27, 2026
06ac436
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 27, 2026
ba04d79
docs(changelog): list the drive API changes of the frozen listings de…
QuantumExplorer Oct 27, 2026
47357f9
docs(changelog): list the platform-version fields of the frozen listi…
QuantumExplorer Oct 27, 2026
ca5e98f
test(drive-abci): a cancel between a group destroy's signatures only …
QuantumExplorer Oct 27, 2026
5d18348
fix(drive): the protocol 15 raw converter refuses repeated token writ…
QuantumExplorer Oct 27, 2026
3a04710
Merge branch 'claude/token-market-history' into claude/token-market-f…
QuantumExplorer Oct 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,21 @@
gains `DataContractCompiledMaxSizeExceededError` and `ProtocolValidationOperation`
gains `ContractCompiledSizeValidation`, so struct literals and exhaustive matches
need them. See [#5579](https://github.com/dashpay/platform/pull/5579).
- **drive (Rust API migration):** destroying a frozen identity's funds also destroys
its escrowed token listings from protocol version 15.
`TokenTransitionAction::associated_token_event` takes `&PlatformVersion` and returns
`Result<TokenEvent, Error>`. `TokenDestroyFrozenFundsTransitionActionV0` gains
`escrowed_listings` and `token_market_contract`; struct literals set them to an empty
`Vec` and `None` before protocol version 15. `DocumentOperationType` gains
`DeleteDocuments` and `TokenOperationType` gains `TokenDestroyFrozenHolding`; neither
enum is `#[non_exhaustive]`, so exhaustive matches need new arms. See
[#5532](https://github.com/dashpay/platform/pull/5532).
- **platform-version (Rust API migration):** `DriveTokenOrderEscrowMethodVersions` gains
`fetch_frozen_listings` (`None` before protocol version 15, `Some(0)` from 15) and
`SystemLimits` gains `max_frozen_listings_destroyed_per_transition` (16 in every table;
nothing before protocol version 15 reads it). Struct literals of either, such as a
custom or test `PlatformVersion`, need the new field. See
[#5532](https://github.com/dashpay/platform/pull/5532).

### [5.0.1](https://github.com/dashpay/platform/compare/v5.0.0...v5.0.1) (2026-10-27)

Expand Down
16 changes: 16 additions & 0 deletions book/src/data-model/token-marketplace.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,22 @@ that the escrow is what the offer holds after its sales (`TokenOrder::escrow_aft
is worth at its decimals, rounded up, less what its sellers were paid). A `TokenFillBid` is proven
by the seller's token balance.

## Frozen accounts

A frozen account's open listings cannot be filled, and the tokens they hold sit in escrow, out of
the frozen balance. From protocol version 15 a `TokenDestroyFrozenFunds` destroys them with the
balance: it reads the frozen identity's open listings of the token, oldest first, at most
`max_frozen_listings_destroyed_per_transition` (16), destroys what they hold in escrow, deletes
their `ask` documents and records the whole amount destroyed in its `destroyFrozenFunds` history
document. A frozen identity with more listings needs one more destroy per 16. Its offers hold
credits, which are not the token's to destroy, and stay; it can still withdraw them.

```text
Frozen identity: balance 5,000, listings of 3,000 and 2,000
Before (protocol version 14 rules): the destroy burns 5,000; the 5,000 in escrow stays
From protocol version 15: the destroy burns all 10,000 and deletes both listings
```

## History

A token that keeps transfer history (`keepsHistory.keepsTransferHistory`, the default) also
Expand Down
Loading
Loading