Change state
State Change Process
1. Function Signature
function _changeState(bytes32 lawHash, bytes memory stateChange) internal virtual2. Implementation Requirements
Virtual Function
State Change Data
Implementation Guidelines
1. State Change Safety
2. Gas Optimization
3. Security
Example Implementation
Best Practices
Common Pitfalls
State Change Flow
Last updated