Update module name to github.com/fraktal/mev-beta and fix channel closing issues in pipeline stages
This commit is contained in:
@@ -8,12 +8,12 @@ import (
|
||||
"syscall"
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
"github.com/your-username/mev-beta/internal/config"
|
||||
"github.com/your-username/mev-beta/internal/logger"
|
||||
"github.com/your-username/mev-beta/internal/ratelimit"
|
||||
"github.com/your-username/mev-beta/pkg/market"
|
||||
"github.com/your-username/mev-beta/pkg/monitor"
|
||||
"github.com/your-username/mev-beta/pkg/scanner"
|
||||
"github.com/fraktal/mev-beta/internal/config"
|
||||
"github.com/fraktal/mev-beta/internal/logger"
|
||||
"github.com/fraktal/mev-beta/internal/ratelimit"
|
||||
"github.com/fraktal/mev-beta/pkg/market"
|
||||
"github.com/fraktal/mev-beta/pkg/monitor"
|
||||
"github.com/fraktal/mev-beta/pkg/scanner"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -32,9 +32,7 @@ func main() {
|
||||
Name: "scan",
|
||||
Usage: "Scan for potential arbitrage opportunities",
|
||||
Action: func(c *cli.Context) error {
|
||||
fmt.Println("Scanning for arbitrage opportunities...")
|
||||
// TODO: Implement scanning logic
|
||||
return nil
|
||||
return scanOpportunities()
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -112,4 +110,10 @@ func startBot() error {
|
||||
|
||||
log.Info("MEV bot stopped.")
|
||||
return nil
|
||||
}
|
||||
|
||||
func scanOpportunities() error {
|
||||
fmt.Println("Scanning for arbitrage opportunities...")
|
||||
// TODO: Implement scanning logic
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user