...
Second option might be interesting for permission-ed blockchains.
Categories
By wake up condition:
- Have the following Triggers categories:
- Time-based
- Block number-based
- Transaction-based (can have a condition of whether they need to execute, similar to Oracle `when` condition)
- Triggers that are triggered by specific ISI call - ExecuteTrigger(Params)
- Have an ability to configure trigger order for Transaction Based triggers:
- Before (transaction execution) - have the ability to check and fail or allow transaction
- After (transaction execution)
By purpose:
- System Level - Influence the whole blockchain system rules and features
- User Level - Provide services to users and other apps
Permissions
Persistent State
...