Skip to content

Commit

Permalink
Update product list
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Sep 30, 2024
1 parent d5b5bb2 commit c39dbb9
Show file tree
Hide file tree
Showing 17 changed files with 1,687 additions and 1,650 deletions.
7 changes: 6 additions & 1 deletion bin/check-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,18 @@ async function main() {

const targetFile = `./data/${chain}_data.json`
const dataFileContent = dataFileContentPerChain[chain]
const existingDataFileContentIfAny = fs.existsSync(targetFile) ? require(targetFile) : { old_vaults: [], old_boosts: [] }
const existingDataFileContentIfAny = fs.existsSync(targetFile)
? JSON.parse(fs.readFileSync(targetFile, "utf8"))
: { old_vaults: [], old_boosts: [] }

dataFileContent.old_vaults = dataFileContent.old_vaults.concat(existingDataFileContentIfAny.old_vaults)
dataFileContent.old_boosts = dataFileContent.old_boosts.concat(existingDataFileContentIfAny.old_boosts)
dataFileContent.old_vaults = Array.from(new Set(dataFileContent.old_vaults))
dataFileContent.old_boosts = Array.from(new Set(dataFileContent.old_boosts))

dataFileContent.old_vaults.sort()
dataFileContent.old_boosts.sort()

fs.writeFileSync(targetFile, JSON.stringify(dataFileContent, null, 2))
}

Expand Down
76 changes: 39 additions & 37 deletions data/arbitrum_data.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,52 @@
{
"old_vaults": [
"0x6443ac40dcd204739b8127f1aaec53071bbca7df",
"0x07db98358d58ba9be90cd0a18cd86af807ac3b4e",
"0x0b7ea1b9fbc9860f4a508e9d0dde04f2552d2ade",
"0x14555a3dd091aa0bd4657591b843ea4c2f83e6ef",
"0x149f3ddeb5ff9be7342d07c35d6da19df3f790af",
"0x14d07853560436aee38be12dd66d944b07d5e59f",
"0x225555f86f6b0fa4f418f41a4865c66096b7452e",
"0x26854016eac6362b6e3c7963ce7e13cacfb7bd86",
"0x2aa134990140f9b558f4127af267f5240c1fb2b1",
"0x3af3563ba5c68eb7dcbadd2df0fce4cc9818e75c",
"0x965637e84b451badc3e7d90989f9639d1c1a3242",
"0x55bcfeb93bfbc6b4d7339da7284f4c7f5358ba51",
"0x41ca66f328a589249212e5dcf924a7d363682d56",
"0x53d21768d5f45607d0557a38f59b4a61f4cfd51e",
"0xe2fc3cb368c6cde774c1f42ee543513ad104db13",
"0x26854016eac6362b6e3c7963ce7e13cacfb7bd86",
"0xbd1b9288491c41d029a0d1806e2a5795938a3abf",
"0x55bcfeb93bfbc6b4d7339da7284f4c7f5358ba51",
"0x562ae83d17590d9681d5445ecfc0f56517e49f24",
"0x5b904f19fb9ccf493b623e5c8ce91603665788b0",
"0x6138fae8c4a97f68ccae16d6ceea6535510fb1e4",
"0x6443ac40dcd204739b8127f1aaec53071bbca7df",
"0x6e2dcebf8c14c72329f224a26edfd547d3c3e09c",
"0x78ab636351c1c5f117c1442b82d14ab3a92f8464",
"0x80514cfb7cb438f1f997ab62ffd1314c1a1c0f12",
"0x8cbaac87fdd9bb6c3fdb5b3c870b2443d0284fa6",
"0x8f6ea594baada4ca19cb055eee8996e3bb260b55",
"0x965637e84b451badc3e7d90989f9639d1c1a3242",
"0x96e23b0d217894b8da9e149f0ca1a97b9b7c77b2",
"0x6e2dcebf8c14c72329f224a26edfd547d3c3e09c",
"0xb1bfc21bee2b2dda4728481dbf52edc3b9f5fb79",
"0x6138fae8c4a97f68ccae16d6ceea6535510fb1e4",
"0xd319b477131c789857ea3a2cc5f04c9ddaa1f207",
"0xe63acebe35265896cc6e8bdb8ecc0640a1807141",
"0xf6dc553658eaca3f58ff46b612b0a75a86e38431",
"0x2aa134990140f9b558f4127af267f5240c1fb2b1",
"0x9b40e357937bce323b1eb3832173b3d028520708",
"0x9e75f8298e458b76382870982788988a0799195b",
"0x9dbbbaecacedf53d5caa295b8293c1def2055adc",
"0x5b904f19fb9ccf493b623e5c8ce91603665788b0",
"0x562ae83d17590d9681d5445ecfc0f56517e49f24",
"0x225555f86f6b0fa4f418f41a4865c66096b7452e",
"0x41ca66f328a589249212e5dcf924a7d363682d56",
"0x14555a3dd091aa0bd4657591b843ea4c2f83e6ef",
"0xd496ea90a454ea49e30a8fd9e053c186d4fc897d",
"0xc7024b02a3c3893c482f5dd03193cfd1dbec604f",
"0xc14844ac5c0e7e96f678c75308d3fde1fa36e22f",
"0x9e75f8298e458b76382870982788988a0799195b",
"0xb1bfc21bee2b2dda4728481dbf52edc3b9f5fb79",
"0xb8ff233d024277b0e188a478c18e9263330a1b51",
"0x0b7ea1b9fbc9860f4a508e9d0dde04f2552d2ade",
"0xba5041b1c06e8c9cfb5ddb4b82bdc52e41ea5fc5",
"0xbd1b9288491c41d029a0d1806e2a5795938a3abf",
"0xc14844ac5c0e7e96f678c75308d3fde1fa36e22f",
"0xc7024b02a3c3893c482f5dd03193cfd1dbec604f",
"0xcbab6076b4b0c482e7127a201b79a13d117e2b53",
"0xd295d690b9bf17bd217b94bc50c12729762c1862",
"0xd319b477131c789857ea3a2cc5f04c9ddaa1f207",
"0xd496ea90a454ea49e30a8fd9e053c186d4fc897d",
"0xda2307a45d298e855415675bf388e2bd64351d5b",
"0x149f3ddeb5ff9be7342d07c35d6da19df3f790af",
"0x80514cfb7cb438f1f997ab62ffd1314c1a1c0f12",
"0x07db98358d58ba9be90cd0a18cd86af807ac3b4e",
"0xf26c10811d602e39580c9448944ddae7b183fd95",
"0xec7c0205a6f426c2cb1667d783b5b4fd2f875434",
"0x14d07853560436aee38be12dd66d944b07d5e59f",
"0xfcdd5a02c611ba6fe2802f885281500ec95805d7",
"0xba5041b1c06e8c9cfb5ddb4b82bdc52e41ea5fc5",
"0xe2fc3cb368c6cde774c1f42ee543513ad104db13",
"0xe63acebe35265896cc6e8bdb8ecc0640a1807141",
"0xe99c8a590c98c7ae9fb3b7ecbc115d2ebd533b50",
"0x78ab636351c1c5f117c1442b82d14ab3a92f8464",
"0x8cbaac87fdd9bb6c3fdb5b3c870b2443d0284fa6",
"0xd295d690b9bf17bd217b94bc50c12729762c1862",
"0xf785ef43a082c85abbe19ca888f91748aa604ac5"
"0xec7c0205a6f426c2cb1667d783b5b4fd2f875434",
"0xf26c10811d602e39580c9448944ddae7b183fd95",
"0xf6dc553658eaca3f58ff46b612b0a75a86e38431",
"0xf785ef43a082c85abbe19ca888f91748aa604ac5",
"0xfcdd5a02c611ba6fe2802f885281500ec95805d7"
],
"old_boosts": ["0x13ad51ed4f1b7e9dc168d8a00cb3f4ddd85efa60"]
}
"old_boosts": [
"0x13ad51ed4f1b7e9dc168d8a00cb3f4ddd85efa60"
]
}
Loading

0 comments on commit c39dbb9

Please sign in to comment.