-
Notifications
You must be signed in to change notification settings - Fork 105
/
index.js
86 lines (82 loc) · 2.63 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import { aethirAirdropChecker } from "./checkers/aethir.js"
import { aiarenaAirdropChecker } from "./checkers/aiarena.js"
import { carvAirdropChecker } from "./checkers/carv.js"
import { debridgeAirdropChecker } from "./checkers/debridge.js"
import { eigenlayerAirdropChecker } from "./checkers/eigenlayer.js"
import { energyAirdropChecker } from "./checkers/energy.js"
import { grassAirdropChecker } from "./checkers/grass.js"
import { ionetAirdropChecker } from "./checkers/ionet.js"
import { kreskoAirdropChecker } from "./checkers/kresko.js"
import { layerzeroAirdropChecker } from "./checkers/layerzero.js"
import { optimismAirdropChecker } from "./checkers/optimism.js"
import { orderlyAirdropChecker } from "./checkers/orderly.js"
import { scrollPumpAirdropChecker } from "./checkers/scroll-pump.js"
import { scrollAirdropChecker } from "./checkers/scroll.js"
import { spectralAirdropChecker } from "./checkers/spectral.js"
import { taikoAirdropChecker } from "./checkers/taiko.js"
import { zksyncAirdropChecker } from "./checkers/zksync.js"
import { entryPoint } from "./utils/common.js"
async function startMenu(menu) {
let startOver = true
if (menu === undefined) {
mode = await entryPoint()
} else {
startOver = false
}
switch (mode) {
case "scroll":
scrollAirdropChecker()
break
case "carv":
carvAirdropChecker()
break
case "optimism":
optimismAirdropChecker()
break
case "scroll-pump":
scrollPumpAirdropChecker()
break
case "energy":
energyAirdropChecker()
break
case "grass":
grassAirdropChecker()
break
case "debridge":
debridgeAirdropChecker()
break
case "eigenlayer":
eigenlayerAirdropChecker()
break
case "layerzero":
layerzeroAirdropChecker()
break
case "orderly":
orderlyAirdropChecker()
break
case "aiarena":
aiarenaAirdropChecker()
break
case "aethir":
aethirAirdropChecker()
break
case "zksync":
zksyncAirdropChecker()
break
case "kresko":
kreskoAirdropChecker()
break
case "taiko":
taikoAirdropChecker()
break
case "ionet":
ionetAirdropChecker()
break
case "spectral":
spectralAirdropChecker()
break
}
}
const args = process.argv.slice(2)
let mode = args[0]
await startMenu(mode)