Interactions
Pike extends the standard OpenZeppelin Timelock by introducing emergency execution functions, allowing immediate action in critical situations without following the standard proposal and delay mechanism. These functions are restricted to the Emergency Executor role and are designed for executing single or batch transactions during emergencies.
Refer to the OpenZeppelin Timelock documentation for standard interaction details.
emergencyExecute
Executes a single emergency transaction without requiring the standard proposal and delay mechanism. This function is designed for urgent situations where immediate action is necessary.
function emergencyExecute(address target, uint256 value, bytes calldata payload)
public
payable
onlyRole(EMERGENCY_EXECUTOR_ROLE);
emergencyExecuteBatch
Executes a batch of emergency transactions in a single operation, bypassing the standard governance delay. This function is intended for critical situations requiring immediate action.
function emergencyExecuteBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads
) public payable onlyRole(EMERGENCY_EXECUTOR_ROLE);
Last updated