diff --git a/makefile b/makefile index f184d44..36a3463 100644 --- a/makefile +++ b/makefile @@ -399,3 +399,12 @@ full-check: fmt build test-coverage gas-snapshot analyze ## Complete code qualit emergency-pause: ## Emergency pause contract (requires CONTRACT_ADDRESS) @echo "$(RED)🚨 EMERGENCY PAUSE$(RESET)" cast send $(CONTRACT_ADDRESS) "pause()" --rpc-url $(MAINNET_RPC_URL) --private-key $(PRIVATE_KEY) + +emergency-unpause: ## Emergency unpause contract + @echo "$(YELLOW)⚠️ Unpausing contract$(RESET)" + cast send $(CONTRACT_ADDRESS) "unpause()" --rpc-url $(MAINNET_RPC_URL) --private-key $(PRIVATE_KEY) + +emergency-withdraw: ## Emergency withdraw (requires EMERGENCY_TOKEN) + @echo "$(RED)🚨 EMERGENCY WITHDRAWAL$(RESET)" + cast send $(CONTRACT_ADDRESS) "emergencyWithdraw(address,uint256)" $(EMERGENCY_TOKEN) 0 \ + --rpc-url $(MAINNET_RPC_URL) --private-key $(PRIVATE_KEY)