Skip to content

Commit b236ac0

Browse files
committed
Remove nip33 references
1 parent 118e5cd commit b236ac0

15 files changed

+68
-60
lines changed

admin_cancel_order.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
195195
}
196196
}
197197
</code></pre>
198-
<h2 id="mostro-updates-nip-33-events"><a class="header" href="#mostro-updates-nip-33-events">Mostro updates nip 33 events</a></h2>
199-
<p>Mostro will publish two nip33 messages, one for the order to update the status to <code>canceled-by-admin</code>, this means that the hold invoice was canceled and the seller's funds were returned:</p>
198+
<h2 id="mostro-updates-parameterized-replaceable-events"><a class="header" href="#mostro-updates-parameterized-replaceable-events">Mostro updates parameterized replaceable events</a></h2>
199+
<p>Mostro will publish two parameterized replaceable events, one for the order to update the status to <code>canceled-by-admin</code>, this means that the hold invoice was canceled and the seller's funds were returned:</p>
200200
<pre><code class="language-json">[
201201
&quot;EVENT&quot;,
202202
&quot;RAND&quot;,
@@ -222,7 +222,7 @@ <h2 id="mostro-updates-nip-33-events"><a class="header" href="#mostro-updates-ni
222222
}
223223
]
224224
</code></pre>
225-
<p>And updates nip33 dispute event with status <code>seller-refunded</code>:</p>
225+
<p>And updates parameterized replaceable dispute event with status <code>seller-refunded</code>:</p>
226226
<pre><code class="language-json">[
227227
&quot;EVENT&quot;,
228228
&quot;RAND&quot;,

admin_settle_order.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
195195
}
196196
}
197197
</code></pre>
198-
<h2 id="mostro-updates-nip-33-events"><a class="header" href="#mostro-updates-nip-33-events">Mostro updates nip 33 events</a></h2>
199-
<p>Mostro will publish two nip33 messages, one for the order to update the status to <code>settled-by-admin</code>, this means that the hold invoice paid by the seller was settled:</p>
198+
<h2 id="mostro-updates-parameterized-replaceable-events"><a class="header" href="#mostro-updates-parameterized-replaceable-events">Mostro updates parameterized replaceable events</a></h2>
199+
<p>Mostro will publish two parameterized replaceable messages, one for the order to update the status to <code>settled-by-admin</code>, this means that the hold invoice paid by the seller was settled:</p>
200200
<pre><code class="language-json">[
201201
&quot;EVENT&quot;,
202202
&quot;RAND&quot;,
@@ -222,7 +222,7 @@ <h2 id="mostro-updates-nip-33-events"><a class="header" href="#mostro-updates-ni
222222
}
223223
]
224224
</code></pre>
225-
<p>And updates nip33 dispute event with status <code>settled</code>:</p>
225+
<p>And updates parameterized replaceable dispute event with status <code>settled</code>:</p>
226226
<pre><code class="language-json">[
227227
&quot;EVENT&quot;,
228228
&quot;RAND&quot;,
@@ -243,7 +243,7 @@ <h2 id="mostro-updates-nip-33-events"><a class="header" href="#mostro-updates-ni
243243
]
244244
</code></pre>
245245
<h2 id="payment-of-the-buyers-invoice"><a class="header" href="#payment-of-the-buyers-invoice">Payment of the buyer's invoice</a></h2>
246-
<p>At this point Mostro is trying to pay the buyer's invoice, right after complete the payment Mostro will update the status of the order nip33 event to <code>success</code>:</p>
246+
<p>At this point Mostro is trying to pay the buyer's invoice, right after complete the payment Mostro will update the status of the order parameterized replaceable event to <code>success</code>:</p>
247247
<pre><code class="language-json">[
248248
&quot;EVENT&quot;,
249249
&quot;RAND&quot;,

cancel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
195195
}
196196
}
197197
</code></pre>
198-
<p>Mostro updates the nip 33 event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>canceled</code>:</p>
198+
<p>Mostro updates the parameterized replaceable event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>canceled</code>:</p>
199199
<pre><code class="language-json">[
200200
&quot;EVENT&quot;,
201201
&quot;RAND&quot;,
@@ -258,7 +258,7 @@ <h2 id="cancel-cooperatively"><a class="header" href="#cancel-cooperatively">Can
258258
}
259259
}
260260
</code></pre>
261-
<p>Mostro updates the nip 33 event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>cooperatively-canceled</code>:</p>
261+
<p>Mostro updates the parameterized replaceable event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>cooperatively-canceled</code>:</p>
262262
<pre><code class="language-json">[
263263
&quot;EVENT&quot;,
264264
&quot;RAND&quot;,

dispute.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
191191
&quot;id&quot;: &quot;ede61c96-4c13-4519-bf3a-dcf7f1e9d842&quot;,
192192
&quot;pubkey&quot;: null,
193193
&quot;action&quot;: &quot;dispute-initiated-by-you&quot;,
194-
&quot;content&quot;: null
194+
&quot;content&quot;: {
195+
&quot;dispute&quot;: &quot;efc75871-2568-40b9-a6ee-c382d4d6de01&quot;
196+
}
195197
}
196198
}
197199
</code></pre>
@@ -202,13 +204,15 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
202204
&quot;id&quot;: &quot;ede61c96-4c13-4519-bf3a-dcf7f1e9d842&quot;,
203205
&quot;pubkey&quot;: null,
204206
&quot;action&quot;: &quot;dispute-initiated-by-peer&quot;,
205-
&quot;content&quot;: null
207+
&quot;content&quot;: {
208+
&quot;dispute&quot;: &quot;efc75871-2568-40b9-a6ee-c382d4d6de01&quot;
209+
}
206210
}
207211
}
208212
</code></pre>
209-
<p>Mostro will not update the nip 33 event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>dispute</code>, this is because the order is still active, the dispute is just a way to let the admins and the other party know that there is a problem with the order.</p>
210-
<h2 id="mostro-send-a-nip-33-event-to-show-the-dispute"><a class="header" href="#mostro-send-a-nip-33-event-to-show-the-dispute">Mostro send a nip 33 event to show the dispute</a></h2>
211-
<p>Here is an example of the nip 33 event sent by Mostro:</p>
213+
<p>Mostro will not update the parameterized replaceable event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>dispute</code>, this is because the order is still active, the dispute is just a way to let the admins and the other party know that there is a problem with the order.</p>
214+
<h2 id="mostro-send-a-parameterized-replaceable-event-to-show-the-dispute"><a class="header" href="#mostro-send-a-parameterized-replaceable-event-to-show-the-dispute">Mostro send a parameterized replaceable event to show the dispute</a></h2>
215+
<p>Here is an example of the event sent by Mostro:</p>
212216
<pre><code class="language-json">[
213217
&quot;EVENT&quot;,
214218
&quot;RAND&quot;,
@@ -251,7 +255,7 @@ <h2 id="mostro-send-a-nip-33-event-to-show-the-dispute"><a class="header" href="
251255
&quot;id&quot;: &quot;ede61c96-4c13-4519-bf3a-dcf7f1e9d842&quot;,
252256
&quot;kind&quot;: &quot;sell&quot;,
253257
&quot;status&quot;: &quot;active&quot;,
254-
&quot;amount&quot;: 0,
258+
&quot;amount&quot;: 3333,
255259
&quot;fiat_code&quot;: &quot;VES&quot;,
256260
&quot;fiat_amount&quot;: 100,
257261
&quot;payment_method&quot;: &quot;face to face&quot;,
@@ -265,7 +269,7 @@ <h2 id="mostro-send-a-nip-33-event-to-show-the-dispute"><a class="header" href="
265269
}
266270
}
267271
</code></pre>
268-
<p>Also Mostro will broadcast a new nip33 dispute event to update the Dispute <code>status</code> to <code>in-progress</code>:</p>
272+
<p>Also Mostro will broadcast a new parameterized replaceable dispute event to update the Dispute <code>status</code> to <code>in-progress</code>:</p>
269273
<pre><code class="language-json">[
270274
&quot;EVENT&quot;,
271275
&quot;RAND&quot;,

fiatsent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon
227227
}
228228
}
229229
</code></pre>
230-
<p>Mostro updates the nip 33 event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>fiat-sent</code>:</p>
230+
<p>Mostro updates the parameterized replaceable event with <code>d</code> tag <code>ede61c96-4c13-4519-bf3a-dcf7f1e9d842</code> to change the status to <code>fiat-sent</code>:</p>
231231
<pre><code class="language-json">[
232232
&quot;EVENT&quot;,
233233
&quot;RAND&quot;,

0 commit comments

Comments
 (0)