Macros

Create a const fn which will return an array with all state changes.