From 682a199905b57643cb30c82e59bdfe256e81f1a9 Mon Sep 17 00:00:00 2001 From: malgus01 Date: Tue, 23 Sep 2025 09:45:42 -0700 Subject: [PATCH 1/4] feat: Add Advanced Features Natspec Header Section --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index 0157511..c39dbf1 100644 --- a/makefile +++ b/makefile @@ -362,3 +362,7 @@ ci-build: ## Build in CI environment forge build --optimize ci-full: ci-build ci-test ci-coverage fmt-check ## Full CI pipeline + +# ================================================================ +# ADVANCED FEATURES +# ================================================================ \ No newline at end of file From 4a0a9d7d3b1a502828fd4cbcd0f037f0669c3b16 Mon Sep 17 00:00:00 2001 From: malgus01 Date: Tue, 23 Sep 2025 09:46:05 -0700 Subject: [PATCH 2/4] feat: Add Simulate arbitrage opportunities --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index c39dbf1..87b3e61 100644 --- a/makefile +++ b/makefile @@ -365,4 +365,8 @@ ci-full: ci-build ci-test ci-coverage fmt-check ## Full CI pipeline # ================================================================ # ADVANCED FEATURES -# ================================================================ \ No newline at end of file +# ================================================================ + +simulate: ## Simulate arbitrage opportunities + @echo "$(BLUE)🔮 Simulating arbitrage opportunities...$(RESET)" + forge script script/Simulate.s.sol:SimulationScript --rpc-url $(MAINNET_RPC_URL) From a857949241624cd8c63dbe5757f91dae614d88a3 Mon Sep 17 00:00:00 2001 From: malgus01 Date: Tue, 23 Sep 2025 09:46:22 -0700 Subject: [PATCH 3/4] feat: Add Monitor contract events --- makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makefile b/makefile index 87b3e61..5452a7c 100644 --- a/makefile +++ b/makefile @@ -370,3 +370,8 @@ ci-full: ci-build ci-test ci-coverage fmt-check ## Full CI pipeline simulate: ## Simulate arbitrage opportunities @echo "$(BLUE)🔮 Simulating arbitrage opportunities...$(RESET)" forge script script/Simulate.s.sol:SimulationScript --rpc-url $(MAINNET_RPC_URL) + +monitor: ## Monitor contract events + @echo "$(BLUE)👁️ Monitoring contract events...$(RESET)" + cast logs --rpc-url $(MAINNET_RPC_URL) --address $(CONTRACT_ADDRESS) + From 231560371baa8706a1924f917bcd70ed6e9d31b3 Mon Sep 17 00:00:00 2001 From: malgus01 Date: Tue, 23 Sep 2025 09:46:39 -0700 Subject: [PATCH 4/4] feat: Add Check contract balance --- makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefile b/makefile index 5452a7c..8c09c9c 100644 --- a/makefile +++ b/makefile @@ -375,3 +375,6 @@ monitor: ## Monitor contract events @echo "$(BLUE)👁️ Monitoring contract events...$(RESET)" cast logs --rpc-url $(MAINNET_RPC_URL) --address $(CONTRACT_ADDRESS) +balance: ## Check contract balance + @echo "$(BLUE)💰 Checking contract balance...$(RESET)" + cast balance $(CONTRACT_ADDRESS) --rpc-url $(MAINNET_RPC_URL) \ No newline at end of file