Skip to content

Commit

Permalink
doc: add pending coupon payment error
Browse files Browse the repository at this point in the history
  • Loading branch information
cusma committed Jan 7, 2025
1 parent 609cdd9 commit 4458f39
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/include/interface.update-coupon-rates.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
{
"code": "INVALID_PAST_RATE",
"message": "Due coupon rates can not be modified"
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "Pending due coupon payment"
}
]
}
4 changes: 4 additions & 0 deletions docs/include/interface.update-global-unit-value.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
{
"code": "SUSPENDED",
"message": "Asset operations are suspended"
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "Pending due coupon payment"
}
]
}
2 changes: 1 addition & 1 deletion docs/include/interface.update-interest-rate.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "ending due coupon payment"
"message": "Pending due coupon payment"
}
]
}
4 changes: 4 additions & 0 deletions docs/include/interface.update-time-events.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
{
"code": "INVALID_PAST_EVENT",
"message": "Past time events can not be modified"
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "Pending due coupon payment"
}
]
}
4 changes: 4 additions & 0 deletions docs/include/interface.update-time-periods.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
{
"code": "INVALID_TIME_PERIOD",
"message": "Time period durations must be greater than zero"
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "Pending due coupon payment"
}
]
}
4 changes: 4 additions & 0 deletions docs/include/interface.update-total-units.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
{
"code": "SUSPENDED",
"message": "Asset operations are suspended"
},
{
"code": "PENDING_COUPON_PAYMENT",
"message": "Pending due coupon payment"
}
]
}
3 changes: 3 additions & 0 deletions docs/interface-update-coupon-rates.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ length of the *coupon rates* is not equal to *total_coupons*.

The call **MUST** fail with the `INVALID_PAST_RATE` error code if a due coupon rate
is modified.

The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
any due coupon still to be paid.
3 changes: 3 additions & 0 deletions docs/interface-update-global-unit-value.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ caller.
The call **MUST** fail with the `DEFAULTED` error code if the asset is defaulted.

The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.

The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
any due coupon still to be paid.
3 changes: 3 additions & 0 deletions docs/interface-update-time-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ are not sorted in strictly ascending order.

The call **MUST** fail with the `INVALID_PAST_EVENT` error code if a past event
is modified.

The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
any due coupon still to be paid.
3 changes: 3 additions & 0 deletions docs/interface-update-time-periods.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.

The call **MUST** fail with the `INVALID_TIME_PERIOD` error code if the *time period
durations* are not strictly greater than zero.

The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
any due coupon still to be paid.
3 changes: 3 additions & 0 deletions docs/interface-update-total-units.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ caller.
The call **MUST** fail with the `DEFAULTED` error code if the asset is defaulted.

The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.

The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
any due coupon still to be paid.

0 comments on commit 4458f39

Please sign in to comment.