Source: src/core/GovernanceExecutor.sol
Executes typed governance plans for a venture after market settlement.
- Entry point called by
UmiaMarketCore.executeWinningProposal. - Decodes and validates
ExecutionPlanV1viaGovernancePayloadValidator, dispatches actions viaGovernanceActions.
- Caller must be
HUB.umiaMarketCore(). - Executor instance must match
HUB.governanceExecutor(venture). - Payload must be non-empty.
- venture liquidation must not already be active.
- Plan version must be
1.
- Validates plan via
GovernancePayloadValidator.decodeAndValidatePayload. - Iterates actions in order, executing each via
GovernanceActions.executeActionV1. LIQUIDATE_TREASURYmust be the final action (enforced inGovernancePayloadValidator.validatePlanV1).
GovernanceActionExecuted(...)per actionGovernancePlanExecuted(...)withplanHash = keccak256(executionPayload)