Add unused diagram showing how to get escrow sequence

This commit is contained in:
mDuo13
2025-12-05 16:57:17 -08:00
parent 22c883fd67
commit e871db3940

View File

@@ -0,0 +1,262 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.2">
<zoom_level>10</zoom_level>
<element>
<id>UMLObject</id>
<coordinates>
<x>90</x>
<y>100</y>
<w>160</w>
<h>80</h>
</coordinates>
<panel_attributes>Escrow ledger entry
--
PreviousTxnID field
...</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>240</x>
<y>130</y>
<w>210</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;.
look up transaction
by Previous TxnID</panel_attributes>
<additional_attributes>190.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>UMLObject</id>
<coordinates>
<x>430</x>
<y>100</y>
<w>160</w>
<h>140</h>
</coordinates>
<panel_attributes>Transaction
--
tx_json
TransactionType
Sequence
...
meta
AffectedNodes
...
halign=left</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>490</x>
<y>320</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes>type=decision</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>500</x>
<y>230</y>
<w>270</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;-
Is TransactionType == EscrowCreate?</panel_attributes>
<additional_attributes>10.0;90.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>520</x>
<y>320</y>
<w>120</w>
<h>40</h>
</coordinates>
<panel_attributes>lt=&lt;-
Yes</panel_attributes>
<additional_attributes>100.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>680</x>
<y>680</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>type=final
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>370</x>
<y>320</y>
<w>140</w>
<h>40</h>
</coordinates>
<panel_attributes>lt=&lt;-
No</panel_attributes>
<additional_attributes>10.0;20.0;120.0;20.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>230</x>
<y>290</y>
<w>150</w>
<h>100</h>
</coordinates>
<panel_attributes>Check metadata for the same Escrow.
Get the prior PreviousTxnID.
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>260</x>
<y>140</y>
<w>30</w>
<h>170</h>
</coordinates>
<panel_attributes>lt=.&gt;</panel_attributes>
<additional_attributes>10.0;150.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>500</x>
<y>540</y>
<w>170</w>
<h>80</h>
</coordinates>
<panel_attributes>Use this transaction's Sequence number to finish or cancel the escrow.
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>570</x>
<y>610</y>
<w>130</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>110.0;80.0;10.0;80.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>150</x>
<y>50</y>
<w>30</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>10.0;50.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>150</x>
<y>40</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>type=initial</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>670</x>
<y>440</y>
<w>40</w>
<h>40</h>
</coordinates>
<panel_attributes>type=decision</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>620</x>
<y>300</y>
<w>150</w>
<h>90</h>
</coordinates>
<panel_attributes>This is the transaction that created the escrow.
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>680</x>
<y>380</y>
<w>140</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-
Is Sequence == 0?</panel_attributes>
<additional_attributes>10.0;60.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>570</x>
<y>440</y>
<w>120</w>
<h>120</h>
</coordinates>
<panel_attributes>lt=&lt;-
r2=No</panel_attributes>
<additional_attributes>10.0;100.0;10.0;20.0;100.0;20.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>710</x>
<y>540</y>
<w>170</w>
<h>80</h>
</coordinates>
<panel_attributes>Use this transaction's TicketSequence number to finish or cancel the escrow.
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>700</x>
<y>440</y>
<w>120</w>
<h>120</h>
</coordinates>
<panel_attributes>lt=&lt;-
r2=Yes</panel_attributes>
<additional_attributes>100.0;100.0;100.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>690</x>
<y>610</y>
<w>130</w>
<h>100</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>10.0;80.0;110.0;80.0;110.0;10.0</additional_attributes>
</element>
</diagram>