Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Loading