Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,14 @@ Records a full or partial payment for a funded invoice.
- `platform_fee_updated`
- `distributor_updated`
- `paused_updated`


<!-- ### Events
- `escrow_created`
- `escrow_funded`
- `payment_settled`
- `escrow_refunded`
- `escrow_cancelled`
- `platform_fee_updated`
- `distributor_updated`
- `paused_updated` -->
8 changes: 8 additions & 0 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@ This document describes the multi-contract architecture powering the StellarSett
- Error codes: [`docs/error_catalog.md`](error_catalog.md)
- Gas benchmarks: [`docs/benchmarks.md`](benchmarks.md)
- Threat model: [`docs/threat_model.md`](threat_model.md)


<!-- ## References

- State transitions: [`docs/state-machine.md`](state-machine.md)
- Error codes: [`docs/error_catalog.md`](error_catalog.md)
- Gas benchmarks: [`docs/benchmarks.md`](benchmarks.md)
- Threat model: [`docs/threat_model.md`](threat_model.md) -->
4 changes: 4 additions & 0 deletions docs/error_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ This document catalogues all contract error codes, root cause failure conditions
| 13 | `Overflow` | Checked math arithmetic overflow/underflow. | Verify transaction amounts fit within standard i128 range. |
| 14 | `InvalidDueDate` | Due date timestamp is in the past or zero. | Provide Unix timestamp strictly greater than current ledger time. |
| 15 | `InvalidPayer` | Payer address does not match authorized debtor. | Execute payment using debtor account. |


<!-- ledger time. |
| 15 | `InvalidPayer` | Payer address does not match authorized debtor. | Execute payment using debtor account. | -->