Skip to content

Commit

Permalink
Fix action book link (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch authored Nov 14, 2023
1 parent 5d83774 commit d56dab5
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- [Rate user](./user_rating.md)
- [Cancel](./cancel.md)
- [Dispute](./dispute.md)
- [Actions](https://docs.rs/mostro-core/latest/mostro_core/enum.Action.html)
- [Actions](./actions.md)
- [Order](./new_order.md)
- [TakeSell](./take_sell.md)
- [AddInvoice](./take_sell.md)
Expand Down
40 changes: 40 additions & 0 deletions book/src/actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Actions

## mostro_core::Action

Action is used to identify each message between Mostro and users

```rust
pub enum Action {
Order,
TakeSell,
TakeBuy,
PayInvoice,
FiatSent,
Release,
Cancel,
CooperativeCancelInitiatedByYou,
CooperativeCancelInitiatedByPeer,
DisputeInitiatedByYou,
DisputeInitiatedByPeer,
CooperativeCancelAccepted,
BuyerInvoiceAccepted,
SaleCompleted,
PurchaseCompleted,
HoldInvoicePaymentAccepted,
HoldInvoicePaymentSettled,
HoldInvoicePaymentCanceled,
WaitingSellerToPay,
WaitingBuyerInvoice,
AddInvoice,
BuyerTookOrder,
RateUser,
CantDo,
Received,
Dispute,
AdminCancel,
AdminSettle,
AdminAddSolver,
AdminTakeDispute,
}
```

This file was deleted.

0 comments on commit d56dab5

Please sign in to comment.