-
Notifications
You must be signed in to change notification settings - Fork 0
/
verify.ts
27 lines (22 loc) · 1015 Bytes
/
verify.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Configure } from "./configure";
import { ChainManager } from "./chain";
import { BridgeManager } from "./bridge";
async function main() {
const c = new Configure();
const bridgeInfos = c.bridgeInfos();
const v3bridgeInfos = c.v3bridgeInfos();
const chainInfos = c.chainInfos();
const chainManager = new ChainManager(Array.from(chainInfos.values()));
await chainManager.checkProxyAdminDao();
//await chainManager.checkMessagerDao();
const bridgeManager = new BridgeManager(Array.from(bridgeInfos.values()), Array.from(v3bridgeInfos.values()), chainManager);
//await bridgeManager.checkBridgeDao('v2');
//await bridgeManager.checkBridgeOperator('v2');
//await bridgeManager.checkProxyAdmin();
//await bridgeManager.checkMessagerService();
//await bridgeManager.checkBridgeDao('v3');
//await bridgeManager.checkProxyAdmin("v3");
//await bridgeManager.checkv3MessagerService();
//await bridgeManager.checkv3TokenRegisterInfos();
}
main();