-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
107 lines (107 loc) · 2.76 KB
/
package.json
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "attack-simulation-bot",
"version": "0.0.20",
"description": "The bot detects the deployment of smart contracts that contain exploit functions by simulating their execution within a sandbox environment.",
"repository": {
"type": "git",
"url": "https://github.com/kovart/forta-attack-simulation"
},
"chainIds": [
1,
56,
137,
43114,
42161,
10,
250
],
"chainSettings": {
"1": {
"shards": 1,
"target": 22
},
"10": {
"shards": 1,
"target": 20
},
"56": {
"shards": 1,
"target": 20
},
"137": {
"shards": 1,
"target": 20
},
"250": {
"shards": 1,
"target": 22
},
"42161": {
"shards": 1,
"target": 22
},
"43114": {
"shards": 1,
"target": 22
},
"default": {
"shards": 1,
"target": 20
}
},
"scripts": {
"build": "tsc",
"start": "npm run start:dev",
"start:dev": "nodemon --watch src --watch forta.config.json -e js,ts,json --exec \"npm run build && forta-agent run\"",
"start:prod": "NODE_ENV=production forta-agent run --prod",
"start:docker": "docker run --rm -it $(docker build -q .)",
"publish": "forta-agent publish",
"publish:targeted": "bash ./build_custom.bash",
"tx": "npm run build && cross-env DEBUG=1 forta-agent run --tx",
"block": "npm run build && cross-env DEBUG=1 forta-agent run --block",
"range": "npm run build && cross-env DEBUG=1 forta-agent run --range",
"file": "npm run build && cross-env DEBUG=1 forta-agent run --file",
"info": "forta-agent info",
"logs": "forta-agent logs",
"push": "forta-agent push",
"disable": "forta-agent disable",
"enable": "forta-agent enable",
"keyfile": "forta-agent keyfile",
"test": "jest",
"test:real-world": "jest src/tests/agent.real.spec.ts",
"lint": "eslint src/"
},
"dependencies": {
"async": "^3.2.4",
"axios": "^1.1.3",
"bignumber.js": "^9.0.2",
"dotenv": "^16.0.3",
"ethers": "5.7.1",
"evm": "^0.2.0",
"forta-agent": "^0.1.26",
"forta-bot-analytics": "^0.0.4",
"forta-helpers": "^1.0.9",
"forta-sharding": "^1.0.0",
"ganache": "^7.5.0",
"js-combinatorics": "^2.1.1",
"lru-cache": "^7.14.0",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"@openzeppelin/contracts": "^4.7.0",
"@types/async": "^3.2.14",
"@types/jest": "^29.2.0",
"@types/nodemon": "^1.19.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"forta-agent-tools": "^2.3.1",
"jest": "^29.2.2",
"nodemon": "^2.0.8",
"prettier": "^2.7.1",
"solc": "^0.8.15",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}