Skip to content

Commit

Permalink
chore: chain-mon refactoring the code + dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom authored and Ethnical committed Apr 22, 2024
1 parent eab3ee8 commit 2cb9ea6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 21 deletions.
4 changes: 2 additions & 2 deletions packages/chain-mon/internal/multisig-mon/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
import { Provider } from '@ethersproject/abstract-provider'
import { ethers } from 'ethers'

import Safe from '../abi/IGnosisSafe.0.8.19.json'
import OptimismPortal from '../abi/OptimismPortal.json'
import Safe from '../../src/abi/IGnosisSafe.0.8.19.json'
import OptimismPortal from '../../src/abi/OptimismPortal.json'
import { version } from '../../package.json'

type MultisigMonOptions = {
Expand Down
26 changes: 13 additions & 13 deletions packages/chain-mon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
"dist/*"
],
"scripts": {
"dev:balance-mon": "tsx watch ./src/balance-mon/service.ts",
"dev:drippie-mon": "tsx watch ./src/drippie-mon/service.ts",
"dev:balance-mon": "tsx watch ./internal/balance-mon/service.ts",
"dev:drippie-mon": "tsx watch ./contrib/drippie/service.ts",
"dev:fault-mon": "tsx watch ./src/fault-mon/service.ts",
"dev:multisig-mon": "tsx watch ./src/multisig-mon/service.ts",
"dev:replica-mon": "tsx watch ./src/replica-mon/service.ts",
"dev:wallet-mon": "tsx watch ./src/wallet-mon/service.ts",
"dev:multisig-mon": "tsx watch ./internal/multisig-mon/service.ts",
"dev:replica-mon": "tsx watch ./contrib/replica-mon/service.ts",
"dev:wallet-mon": "tsx watch ./contrib/wallet-mon/service.ts",
"dev:wd-mon": "tsx watch ./src/wd-mon/service.ts",
"dev:initialized-upgraded-mon": "tsx watch ./src/initialized-upgraded-mon/service.ts",
"start:balance-mon": "tsx ./src/balance-mon/service.ts",
"start:drippie-mon": "tsx ./src/drippie-mon/service.ts",
"dev:initialized-upgraded-mon": "tsx watch ./contrib/initialized-upgraded-mon/service.ts",
"start:balance-mon": "tsx ./internal/balance-mon/service.ts",
"start:drippie-mon": "tsx ./contrib/drippie/service.ts",
"start:fault-mon": "tsx ./src/fault-mon/service.ts",
"start:multisig-mon": "tsx ./src/multisig-mon/service.ts",
"start:replica-mon": "tsx ./src/replica-mon/service.ts",
"start:wallet-mon": "tsx ./src/wallet-mon/service.ts",
"start:multisig-mon": "tsx ./internal/multisig-mon/service.ts",
"start:replica-mon": "tsx ./contrib/replica-mon/service.ts",
"start:wallet-mon": "tsx ./contrib/wallet-mon/service.ts",
"start:wd-mon": "tsx ./src/wd-mon/service.ts",
"start:initialized-upgraded-mon": "tsx ./src/initialized-upgraded-mon/service.ts",
"start:initialized-upgraded-mon": "tsx ./contrib/initialized-upgraded-mon/service.ts",
"test": "hardhat test",
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"build": "tsc -p ./tsconfig.json",
Expand Down Expand Up @@ -66,4 +66,4 @@
"ts-node": "^10.9.2",
"tsx": "^4.7.0"
}
}
}
10 changes: 5 additions & 5 deletions packages/chain-mon/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from './balance-mon/service'
export * from './drippie-mon/service'
export * from '../internal/balance-mon/service'
export * from '../contrib/drippie-mon/service'
export * from './fault-mon/index'
export * from './multisig-mon/service'
export * from '../internal/multisig-mon/service'
export * from './wd-mon/service'
export * from './wallet-mon/service'
export * from './initialized-upgraded-mon/service'
export * from '../contrib/wallet-mon/service'
export * from '../contrib/initialized-upgraded-mon/service'
4 changes: 3 additions & 1 deletion packages/chain-mon/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"package.json",
"src/abi/IGnosisSafe.0.8.19.json",
"src/abi/OptimismPortal.json",
"src/**/*"
"src/**/*",
"contrib/**/*",
"internal/**/*"
]
}

0 comments on commit 2cb9ea6

Please sign in to comment.