You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original contract was missing pauseRebalancing(), unpauseRebalancing(), and resetCircuitBreaker() functions that exist in the jBTCi reference implementation.
Root Cause
Functions were defined in jBTCi but not ported to jETHs during initial development.
Resolution
// Added Jan 24, 2026function pauseRebalancing() external onlyManagement {
if (rebalancingPaused) revertAlreadyPaused();
rebalancingPaused =true;
emitEmergencyAction("Paused", block.timestamp);
}
function unpauseRebalancing() external onlyManagement {
if (!rebalancingPaused) revertNotPaused();
rebalancingPaused =false;
emitEmergencyAction("Unpaused", block.timestamp);
}
function resetCircuitBreaker() external onlyManagement {
if (block.timestamp< lastFailedRebalance + circuitBreakerCooldown)
revertBelowMinimum();
circuitBreakerTriggered =false;
failedRebalanceCount =0;
emitCircuitBreakerReset(block.timestamp);
}