PresetActions_OnOwnPowers
PresetActions_OnOwnPowers is an executive mandate that executes a fixed set of internal governance calls, all targeting the Powers contract that the mandate belongs to. The calls are fully defined at configuration time.
Overview
Section titled “Overview”This mandate is similar to PresetActions but is specifically designed for actions that modify the Powers contract’s own state — such as assigning roles, revoking mandates, or updating governance settings. All targets are automatically set to the Powers contract address; the configuration only needs to specify the encoded calldata for each call.
Configuration
Section titled “Configuration”When adopting a PresetActions_OnOwnPowers instance, the following parameter is required:
callDatas(bytes[]): An array of encoded function calls to execute on the Powers contract. Each entry should be a full ABI-encoded call including the function selector.
Proposing an Action
Section titled “Proposing an Action”This mandate does not require any input parameters. The caller simply submits the action — the full execution payload is defined by the configuration.
Execution Flow
Section titled “Execution Flow”-
Retrieval
- Reads the pre-configured
callDatasarray from the mandate’s stored configuration.
- Reads the pre-configured
-
Execution
- Sets every target to the Powers contract address.
- Returns the assembled targets and calldatas for execution. No values (ETH) are sent.
Technical Specifications
Section titled “Technical Specifications”Functions
Section titled “Functions”handleRequest
Section titled “handleRequest”function handleRequest(...) public view override returns (...)- Reads the
callDatasarray from config. - Sets all targets to the Powers contract address.
- Returns the assembled arrays for execution.
Error Conditions
Section titled “Error Conditions”This mandate has no explicit error conditions. Failures will occur if any of the pre-configured calls are invalid or rejected by the Powers contract at execution time.
Current Deployments
Section titled “Current Deployments”| Chain ID | Chain Name | Address |
|---|---|---|