Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions foundry.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"lib/balancer-v2-monorepo": {
"rev": "36d282374b457dddea828be7884ee0d185db06ba"
},
"lib/forge-std": {
"rev": "b93cf4bc34ff214c099dc970b153f85ade8c9f66"
},
"lib/openzeppelin-contracts": {
"rev": "281550b71c3df9a83e6b80ceefc700852c287570"
},
"lib/v3-core": {
"rev": "e3589b192d0be27e100cd0daaf6c97204fdb1899"
},
"lib/v3-periphery": {
"rev": "80f26c86c57b8a5e4b913f42844d4c8bd274d058"
}
}
28 changes: 28 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,31 @@ mythril: ## Run mythril security analysis
myth analyze src/ImprovedFlashArbitrageV3.sol

audit-prep: fmt build analyze ## Prepare for security audit

# ================================================================
# DEPLOYMENT SCRIPTS
# ================================================================

# Local deployment
deploy-local: ## Deploy to local anvil network
@echo "$(BLUE)🚀 Deploying to local network...$(RESET)"
forge script script/Deploy.s.sol:DeployScript --rpc-url http://localhost:8545 --broadcast

# Testnet deployments
deploy-sepolia: ## Deploy to Sepolia testnet
@echo "$(BLUE)🚀 Deploying to Sepolia...$(RESET)"
forge script script/Deploy.s.sol:DeployScript \
--rpc-url $(SEPOLIA_RPC_URL) \
--broadcast \
--verify \
--etherscan-api-key $(ETHERSCAN_API_KEY) \
--gas-limit $(GAS_LIMIT) \
--gas-price $(GAS_PRICE)

deploy-goerli: ## Deploy to Goerli testnet
@echo "$(BLUE)🚀 Deploying to Goerli...$(RESET)"
forge script script/Deploy.s.sol:DeployScript \
--rpc-url $(GOERLI_RPC_URL) \
--broadcast \
--verify \
--etherscan-api-key $(ETHERSCAN_API_KEY)
Loading