Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
d1f13662
Commit
d1f13662
authored
Dec 21, 2022
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bmon: Update scaffolding
parent
e25e163b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1665 additions
and
31 deletions
+1665
-31
.env.example
packages/balance-monitor/.env.example
+9
-8
package.json
packages/balance-monitor/package.json
+18
-3
yarn.lock
yarn.lock
+1638
-20
No files found.
packages/balance-monitor/.env.example
View file @
d1f13662
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
packages/balance-monitor/package.json
View file @
d1f13662
{
{
"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"
}
}
}
}
yarn.lock
View file @
d1f13662
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment