Commit d1f13662 authored by Maurelian's avatar Maurelian

bmon: Update scaffolding

parent e25e163b
CHAINID=
L1_RPC_URL=
export CHAINID=
export L1_RPC_URL=
SEQUENCER_ADDRESS=
SEQUENCER_WARNING_THRESHOLD=
SEQUENCER_DANGER_THRESHOLD=
# Prepopulated with test values.
export SEQUENCER_ADDRESS=0xabba
export SEQUENCER_WARNING_THRESHOLD=1000
export SEQUENCER_DANGER_THRESHOLD=100
PROPOSER_ADDRESS=
PROPOSER_WARNING_THRESHOLD=
PROPOSER_DANGER_THRESHOLD=
export PROPOSER_ADDRESS=0xacdc
export PROPOSER_WARNING_THRESHOLD=2000
export PROPOSER_DANGER_THRESHOLD=200
{
"name": "minimum-balance-agent",
"name": "@eth-optimism/minimum-balance-agent",
"version": "0.0.1",
"description": "Forta Agent that reports whether certain accounts have fallen below some balance",
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/balance-monitor#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"scripts": {
"build": "echo 'todo'",
"build": "tsc -p tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"start": "yarn run start:dev",
"start:dev": "nodemon --watch src --watch forta.config.json -e js,ts,json --exec 'yarn run build && forta-agent run'",
"start:prod": "forta-agent run --prod",
"tx": "yarn run build && forta-agent run --tx",
"block": "yarn run build && forta-agent run --block",
"range": "yarn run build && forta-agent run --range",
"test": "echo 'todo'"
"test": "/bin/sh . .env.example && yarn ts-mocha src/*.spec.ts",
"test:coverage": "echo 'todo: configure test coverage' && yarn test",
"lint:check": "eslint . --max-warnings=0",
"lint:fix": "yarn lint:check --fix",
"lint": "yarn lint:fix && yarn lint:check"
},
"dependencies": {
"ethers": "^5.7.2",
"forta-agent": "^0.1.1"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/nodemon": "^1.19.0",
"jest": "^27.0.6",
"nodemon": "^2.0.8",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment