10 UMLClass 140 110 220 120 Offer -- Buy: 100 FOO.WayGate Spend: 1000 XRP -.. (Exchange rate: 10.0 XRP/FOO.WayGate) UMLClass 610 120 210 30 1 XRP for 2 FOO UMLClass 610 150 210 30 10 XRP for 15 FOO UMLClass 610 210 210 30 20000 XRP for 1000 FOO Relation 580 110 40 120 lt=.. 20.0;100.0;10.0;100.0;10.0;10.0;20.0;10.0 UMLClass 610 180 210 30 20 XRP for 5 FOO UMLClass 610 240 210 30 ... Text 460 120 130 90 These Offers match because their exchange rates are equal or better. style=wordwrap halign=right Text 820 90 120 30 Exchange Rate Relation 360 150 110 30 lt=->>> 10.0;10.0;90.0;10.0 UMLActor 40 110 60 110 Tran Relation 70 130 80 30 lt=->>> 10.0;10.0;60.0;10.0 UMLActor 60 340 60 110 Tran Relation 110 190 410 210 lt=->>> 390.0;10.0;10.0;190.0 Text 300 300 150 80 Tran receives a total of 22 FOO.WayGate from the other traders. style=wordwrap Relation 710 270 30 100 lt=->>> 10.0;10.0;10.0;80.0 Text 210 500 200 90 The remainder of Tran's Offer is added to the opposite order book at its original exchange rate. style=wordwrap UMLClass 610 60 490 210 Order Book: XRP:FOO.WayGate -- Text 680 90 80 30 Amount Text 990 90 70 30 Owner UMLActor 1290 110 60 110 Brad UMLActor 1350 60 60 110 Amy UMLActor 1300 220 60 110 David UMLClass 940 120 160 30 Amy UMLClass 940 150 160 30 Brad UMLClass 940 180 160 30 Omar UMLClass 940 210 160 30 David UMLActor 1360 170 60 110 Omar UMLClass 940 240 160 30 ... UMLClass 820 240 120 30 ≥20 UMLClass 820 210 120 30 20.0 UMLClass 820 180 120 30 4.0 UMLClass 820 150 120 30 0.667 UMLClass 820 120 120 30 0.5 Relation 1110 160 180 30 lt=->>> 10.0;10.0;160.0;10.0 Text 1120 180 180 90 The owners of the matching Offers receive a total of 31 XRP from Tran. style=wordwrap UMLClass 610 430 210 30 20000 XRP for 1000 FOO UMLClass 610 460 210 30 ... Text 820 400 120 30 Exchange Rate UMLClass 610 370 490 120 Order Book: XRP:FOO.WayGate -- Text 680 400 80 30 Amount Text 990 400 70 30 Owner UMLClass 940 430 160 30 David UMLClass 940 460 160 30 ... UMLClass 820 460 120 30 ≥20 UMLClass 820 430 120 30 20.0 UMLClass 610 620 210 30 ... Text 820 560 120 30 Exchange Rate UMLClass 610 530 490 120 Order Book: FOO.WayGate:XRP -- Text 660 560 80 30 Amount Text 940 560 70 30 Owner UMLClass 940 590 160 30 Tran bg=green transparency=0 UMLClass 940 620 160 30 ... UMLClass 820 620 120 30 ... UMLClass 820 590 120 30 0.1 bg=green transparency=0 UMLClass 610 590 210 30 78 FOO for 780 XRP bg=green transparency=0 Text 90 40 270 60 Tran places an Offer to buy 100 FOO issued by WayGate, by spending up to 1000 XRP. style=wordwrap Relation 130 410 470 170 lt=->>> 10.0;10.0;450.0;150.0 Text 760 280 140 80 Consumed Offers are removed from the order book. style=wordwrap