Commit d1f13662 authored by Maurelian's avatar Maurelian

bmon: Update scaffolding

parent e25e163b
CHAINID= export CHAINID=
L1_RPC_URL= export L1_RPC_URL=
SEQUENCER_ADDRESS= # Prepopulated with test values.
SEQUENCER_WARNING_THRESHOLD= export SEQUENCER_ADDRESS=0xabba
SEQUENCER_DANGER_THRESHOLD= export SEQUENCER_WARNING_THRESHOLD=1000
export SEQUENCER_DANGER_THRESHOLD=100
PROPOSER_ADDRESS= export PROPOSER_ADDRESS=0xacdc
PROPOSER_WARNING_THRESHOLD= export PROPOSER_WARNING_THRESHOLD=2000
PROPOSER_DANGER_THRESHOLD= export PROPOSER_DANGER_THRESHOLD=200
{ {
"name": "minimum-balance-agent", "name": "@eth-optimism/minimum-balance-agent",
"version": "0.0.1", "version": "0.0.1",
"description": "Forta Agent that reports whether certain accounts have fallen below some balance", "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": { "scripts": {
"build": "echo 'todo'", "build": "tsc -p tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"start": "yarn run start:dev", "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: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", "start:prod": "forta-agent run --prod",
"tx": "yarn run build && forta-agent run --tx", "tx": "yarn run build && forta-agent run --tx",
"block": "yarn run build && forta-agent run --block", "block": "yarn run build && forta-agent run --block",
"range": "yarn run build && forta-agent run --range", "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": { "dependencies": {
"ethers": "^5.7.2", "ethers": "^5.7.2",
"forta-agent": "^0.1.1" "forta-agent": "^0.1.1"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^26.0.23",
"@types/nodemon": "^1.19.0", "@types/nodemon": "^1.19.0",
"jest": "^27.0.6",
"nodemon": "^2.0.8", "nodemon": "^2.0.8",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4" "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