encifher-health 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -2
- package/package.json +4 -1
package/index.js
CHANGED
|
@@ -9,7 +9,9 @@ const defaultConfig = {
|
|
|
9
9
|
eusdcWrapper: "0xC97100472255aB79b7858139056f2cbA37f67252",
|
|
10
10
|
orderManager: "0x2602931AF6848e7e657b2840c1E8507C112c6129",
|
|
11
11
|
faucet: "0x2381aa52cFB6eB752d72F4A611ec43CC718ed206",
|
|
12
|
-
|
|
12
|
+
relayer: "0x42ed70a51d0f4ff03ac3085c3021fc79c332f5a0",
|
|
13
|
+
fakeOrder: "0x1f17f200dee330956ba0b39d648c3aa1218ee8b4",
|
|
14
|
+
customAddress: ""
|
|
13
15
|
};
|
|
14
16
|
let config = defaultConfig;
|
|
15
17
|
const args = process.argv.slice(2);
|
|
@@ -40,7 +42,7 @@ if (configFilePath) {
|
|
|
40
42
|
if (customAddressArg) {
|
|
41
43
|
config.customAddress = customAddressArg;
|
|
42
44
|
}
|
|
43
|
-
const { eusdc, usdc, eusdcWrapper, orderManager, faucet, customAddress } = config;
|
|
45
|
+
const { eusdc, usdc, eusdcWrapper, orderManager, faucet, relayer, fakeOrder, customAddress } = config;
|
|
44
46
|
const networks = {
|
|
45
47
|
baseSepolia: 'https://sepolia.base.org',
|
|
46
48
|
}
|
|
@@ -162,6 +164,10 @@ async function main() {
|
|
|
162
164
|
await logBalance(faucet, false);
|
|
163
165
|
ColoredLogger.log('\nOrder manager health', 'yellow')
|
|
164
166
|
await logBalance(orderManager);
|
|
167
|
+
ColoredLogger.log('\nRelayer health', 'yellow')
|
|
168
|
+
await logBalance(relayer, false);
|
|
169
|
+
ColoredLogger.log('\nFake order health', 'yellow')
|
|
170
|
+
await logBalance(fakeOrder, false);
|
|
165
171
|
ColoredLogger.log('\nCustom address health', 'yellow')
|
|
166
172
|
await logBalance(customAddress, false);
|
|
167
173
|
ColoredLogger.log('\nEUSDC wrapper health', 'yellow')
|