Skip to content

Commit

Permalink
chore: add kybeswap attackers address to reserved list
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Nov 23, 2023
1 parent a2f83b2 commit cdb1778
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
14 changes: 14 additions & 0 deletions src/config/utils/reservedAddresses/11232023.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const kybeSwapRevervedList: string[] = [
"0x50275E0B7261559cE1644014d4b78D4AA63BE836",
"0xC9B826BAD20872EB29f9b1D8af4BefE8460b50c6",
"0xae7e16cAa7a4d572FfF09924Bf077a89485850Cb", // new
"0xa4c92d7482066878bb1e2c0510f42b20d79a7ea9", // new
"0xd01896e3D4F130Ffd6f6a5A9d6780bbd7008d71d", // new
"0x9296fa3246f478e32b05d4dde35176d927be703f", // new
// Suspected attacker addresses:
"0x98d69d3ea5f7e03098400a5bedfbe49f2b0b88d3",
"0x84e66f86c28502c0fc8613e1d9cbbed806f7adb4",
"0x5E42DD64266C3852cad3d294f71b171459Cf0a48", // edited
];

export default kybeSwapRevervedList;
10 changes: 6 additions & 4 deletions src/config/utils/reservedAddresses/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { toLower } from "rambda";

import list1 from "./10202023";
import list2 from "./11232023";
import originalList from "./originalList";

const normalized = [
...originalList,
...list1.map((item) => item.toLowerCase()),
];
const additionalList = [list1, list2].flatMap(toLower);

const normalized = [...originalList, ...additionalList];

export default JSON.stringify(normalized);

0 comments on commit cdb1778

Please sign in to comment.