Skip to content

Commit

Permalink
chore:lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tHeMaskedMan981 committed Sep 7, 2023
1 parent 949581b commit 4cc2495
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 114 deletions.
2 changes: 1 addition & 1 deletion deployments/dev_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,4 +486,4 @@
"SocketBatcher": "0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd",
"Counter": "0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91"
}
}
}
147 changes: 37 additions & 110 deletions deployments/dev_verification.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
"0x97d796C3B7A4D7f31408B798452da6ed835358F5",
"Counter",
"contracts/examples/Counter.sol",
[
"0xe37D028a77B4e6fCb05FC75EBa845752cD62A0AA"
]
["0xe37D028a77B4e6fCb05FC75EBa845752cD62A0AA"]
],
[
"0x4026aec0321cE907e0592396282eF56e6a6FB6f1",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xd1d0f4553056E2Cd3F3b5e5796a2C1412B67848d",
Expand Down Expand Up @@ -118,43 +114,33 @@
"0xd6901Aaf406792280C9Ff28E8482BF84254E54a4",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x3c9dA57D7879182Cc51BA0c22d2382B55E56774c",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xB5E683CFe38Ea721CadE0eD9783E44C2D920B337",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"420": [
[
"0xE89A18D6eB897236BEd71e5975940DA603d80084",
"Counter",
"contracts/examples/Counter.sol",
[
"0xD97B9F7fF00E252C0abAa6ce0E13B5F6d9185202"
]
["0xD97B9F7fF00E252C0abAa6ce0E13B5F6d9185202"]
],
[
"0x998C12F1F4C7c2C8D65aF394651aEB2f1397f145",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xb2A88Dc538aF1400D77c34213d7067DD2d0C23E4",
Expand Down Expand Up @@ -231,43 +217,33 @@
"0xD9459B4C87fdA917dB9f238daf1e0fd4F02077A4",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x9e41654860221c203395b6692a3Bda4D1a76dbE4",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x1B458A51D91f179DBbBb6C43d7962Ba17CC84628",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"901": [
[
"0x571614C396B5E95Bc3373b7cC61C8e770443A0A4",
"Counter",
"contracts/examples/Counter.sol",
[
"0xa5b593aE839b3fe47983Fc28da602a6dEEfBBc9D"
]
["0xa5b593aE839b3fe47983Fc28da602a6dEEfBBc9D"]
],
[
"0x323684c3556480F94F9232A1525eAD02fde4F0d1",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x2A2d4bEA2F0b8F7AC79bf70f98D3d054aa65f461",
Expand Down Expand Up @@ -331,54 +307,41 @@
"0x98472CDb864DedcF13a560Ec2b79745a6063A3aC",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
10
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa", 10]
],
[
"0x9814d1E6751ADAE2D60fF16f987ae02a25C87224",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"42161": [
[
"0xd0015Bd355A58A10642D456eCa4B315fC634A2eE",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"80001": [
[
"0x154425b14538ca5dCE77357133CEA76DDc6650EA",
"Counter",
"contracts/examples/Counter.sol",
[
"0x718826B533DF29C30f2d3f30E585e405eeF22784"
]
["0x718826B533DF29C30f2d3f30E585e405eeF22784"]
],
[
"0x78559acfc3A2aa11142ECe5e16691D06FbB9E8e0",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xAd7ea188918F2b6732eBC8A87a7985e0eD1c371a",
Expand Down Expand Up @@ -454,43 +417,33 @@
"0xF0FB8faAf17EE870Fc9296E369F64F92E8eAc6D8",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x0e0CD33ed677a14CB134C9048a59Fc3799312404",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x79Dc67853cab8FB77f14A76116cAa7B4478B53Da",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"421613": [
[
"0xc8dD08F4f7392b4577f4D6499233792d163DA5Ee",
"Counter",
"contracts/examples/Counter.sol",
[
"0x5a90a285ab72393B2c47168374895a5C8101012c"
]
["0x5a90a285ab72393B2c47168374895a5C8101012c"]
],
[
"0xF14c3c5fFEBA923b2239959cbA4d7EdE43D0ADb4",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x46Ffe7d8c87176DbC87adF59DD8d75116C835007",
Expand Down Expand Up @@ -565,43 +518,33 @@
"0xe1f7dB73d6e27dd256396adEeD8df6909c96798a",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x164a9e444e4f1EF4f8C9D47F27A11e6E160e1caE",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x353287093b3C9f5842396a6fc9704766aA5409c7",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"11155111": [
[
"0x918ECe20236B9d8C2AA1742540246D6F9a9eB081",
"Counter",
"contracts/examples/Counter.sol",
[
"0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"
]
["0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"]
],
[
"0xA53185E856916228505372F1E3333BbbB4AC2063",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xaE51c633fb58df92FCcBb0694EA22E060d29F5F7",
Expand Down Expand Up @@ -665,43 +608,33 @@
"0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x85778A90ec60249f10d7AEe06484ffC290d5Efd8",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x6f6f4C24bE59c42F524b133d623170376b8Eed64",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"11155112": [
[
"0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91",
"Counter",
"contracts/examples/Counter.sol",
[
"0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a"
]
["0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a"]
],
[
"0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d",
Expand Down Expand Up @@ -765,25 +698,19 @@
"0x68e0B4C64F427D3a3526e6088bA52e2003426303",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xA90d1A1C11807c3632d7E227d2b055DD38AD3659",
"Hasher",
"contracts/utils/Hasher.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x1d7C105919E4D75e30581D4a5B3724F8D6159251",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"
]
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
]
}
}
2 changes: 1 addition & 1 deletion scripts/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function getJsonRpcUrl(chain: ChainKey): string {
case ChainKey.LYRA_TESTNET:
jsonRpcUrl = process.env.LYRA_TESTNET_RPC as string;
break;

case ChainKey.LYRA:
jsonRpcUrl = process.env.LYRA_RPC as string;
break;
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const MainnetIds: ChainSlug[] = [
ChainSlug.OPTIMISM,
ChainSlug.BSC,
ChainSlug.AEVO,
ChainSlug.LYRA
ChainSlug.LYRA,
];

export const L1Ids: ChainSlug[] = [ChainSlug.MAINNET, ChainSlug.GOERLI];
Expand All @@ -117,7 +117,7 @@ export const L2Ids: ChainSlug[] = [
ChainSlug.AEVO,
ChainSlug.AEVO_TESTNET,
ChainSlug.LYRA_TESTNET,
ChainSlug.LYRA
ChainSlug.LYRA,
];

export enum NativeSwitchboard {
Expand Down

0 comments on commit 4cc2495

Please sign in to comment.