Perishable Goods should be stateful #126
Labels
Difficulty: Starter
Good First Issue
Good for newcomers
Help Wanted 🆘
Extra attention is needed
Type: Feature Request 🛍️
New feature or request
We should re-implement the Perishable-Goods template to be stateful. This would allow sensor readings to be submitted one by one (or in small batches). The min/max values would be kept in state. When the shipment is received a payment obligation is emitted and the contract state is set to COMPLETED. If sensor readings are received after the due date of the contract notifications can be emitted that the contract is late.
The text was updated successfully, but these errors were encountered: