Skip to content

Commit

Permalink
feat: add router for okx aggregator (#867)
Browse files Browse the repository at this point in the history
* feat: add router for okx aggregator

* fix: add signature for OKX aggregator
  • Loading branch information
myz1237 authored Nov 25, 2024
1 parent 98da226 commit 6dabea3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 18 deletions.
51 changes: 34 additions & 17 deletions config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"0x19dBa5df5383168f760617aaDD23322BC5F9Ff7b",
"0x827179dD56d07A7eeA32e3873493835da2866976",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0x7d0ccaa3fac1e5a943c5168b6ced828691b46b36"
],
"arbitrum": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down Expand Up @@ -85,7 +86,8 @@
"0x9c6522117e2ed1fE5bdb72bb0eD5E3f2bdE7DBe0",
"0xfc506AaA1340b4dedFfd88bE278bEe058952D674",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0xf332761c673b59b21ff6dfa8ada44d78c12def09"
],
"aurora": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down Expand Up @@ -147,7 +149,8 @@
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0x400d75dAb26bBc18D163AEA3e83D9Ea68F6c1804",
"0x717b7948AA264DeCf4D780aa6914482e5F46Da3e",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55"
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x1dac23e41fc8ce857e86fd8c1ae5b6121c67d96d"
],
"base": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand All @@ -172,7 +175,8 @@
"0x0000000000001ff3684f28c67538d4d072c22734",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"blast": [
"0x6352a56caadC4F1E25CD6c75970Fa768A3304e64",
Expand All @@ -187,7 +191,8 @@
"0xCdBCd51a5E8728E0AF4895ce5771b7d17fF71959",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0x2e86f54943fafd2cb62958c3deed36c879e3e944"
],
"boba": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down Expand Up @@ -255,7 +260,8 @@
"0x7cf167390E2526Bc03F3CF6852A7AF1CEC3e243d",
"0x400d75dAb26bBc18D163AEA3e83D9Ea68F6c1804",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0x9333c74bdd1e118634fe5664aca7a9710b108bab"
],
"celo": [
"0xC85c2B19958D116d79C654ecE73b359c08802A76",
Expand Down Expand Up @@ -299,7 +305,8 @@
"0x70D6cFE9146D6B6ebEb88BcB22fa220E78058D6F",
"0x11d40Dc8Ff0CE92F54A315aD8e674a55a866cBEe",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x3a629404258dF01bef29Dd5d428508D92e207bD0"
"0x3a629404258dF01bef29Dd5d428508D92e207bD0",
"0xf332761c673b59b21ff6dfa8ada44d78c12def09"
],
"evmos": [
"0xdFC2983401614118E1F2D5A5FD93C17Fecf8BdC6",
Expand Down Expand Up @@ -348,7 +355,8 @@
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0x3D2f8ae0344d38525d2AE96Ab750B83480c0844F",
"0x2214A42d8e2A1d20635c2cb0664422c528B6A432",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55"
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xf332761c673b59b21ff6dfa8ada44d78c12def09"
],
"fuse": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down Expand Up @@ -473,7 +481,8 @@
"0x46b3fdf7b5cde91ac049936bf0bdb12c5d22202e",
"0x000000000000175a8b9bc6d539b3708eed92ea6c",
"0xcaA342e4f781d63EF41E220D7622B97E66BAEcF3",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55"
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"mantle": [
"0xD9F4e85489aDCD0bAF0Cd63b4231c6af58c26745",
Expand All @@ -484,14 +493,16 @@
"0xF2ee649caB7a0edEdED7a27821B0aCDF77778aeD",
"0x0263180888007D45340F86eC0b610d250BbDcB23",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0x6131b5fae19ea4f9d964eac0408e4408b66337b5"
"0x6131b5fae19ea4f9d964eac0408e4408b66337b5",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"metis": [
"0x6352a56caadc4f1e25cd6c75970fa768a3304e64",
"0x27f0e36dE6B1BA8232f6c2e87E00A50731048C6B",
"0xB45e53277a7e0F1D35f2a77160e91e25507f1763",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x9E4c63c9a0EDE2Ca2e772ee48C819Ca5CB4529AC"
"0x9E4c63c9a0EDE2Ca2e772ee48C819Ca5CB4529AC",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"mode": [
"0x7E15EB462cdc67Cf92Af1f7102465a8F8c784874",
Expand Down Expand Up @@ -617,7 +628,8 @@
"0x96E04591579f298681361C6122Dc4Ef405c19385",
"0x4C5D5234f232BD2D76B96aA33F5AE4FCF0E4BFAb",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0xf332761c673b59b21ff6dfa8ada44d78c12def09"
],
"opbnb": [
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
Expand Down Expand Up @@ -672,7 +684,8 @@
"0x0dc8E47a1196bcB590485eE8bF832c5c68A52f4B",
"0x0a6e511Fe663827b9cA7e2D2542b20B37fC217A6",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0xa748d6573aca135af68f2635be60cb80278bd855"
],
"polygonzkevm": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand All @@ -694,7 +707,8 @@
"0xc8a21fcd5a100c3ecc037c97e2f9c53a8d3a02a1",
"0x2f686751b19a9d91cc3d57d90150Bc767f050066",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc"
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"rootstock": [
"0x6352A56caaDc4F1e25cd6c75970fA768A3304E64",
Expand Down Expand Up @@ -723,7 +737,8 @@
"0xbfe03c9e20a9fc0b37de01a172f207004935e0b1",
"0x0000000000005e88410ccdfade4a5efae4b49562",
"0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"taiko": [
"0xDd8A081efC90DFFD79940948a1528C51793C4B03",
Expand All @@ -747,7 +762,8 @@
"0xC69994fd72824ca98F8a0B1E2ABc954E65a91cf4",
"0x12904D12A84702f9F079E1e393fdAbD313496e97",
"0x833Be894C596b15FAe740C2D522d660084c48B05",
"0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54"
"0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54",
"0x127a986ce31aa2ea8e1a6a0f0d5b7e5dbad7b0be"
],
"worldchain": [
"0x50D5a8aCFAe13Dceb217E9a071F6c6Bd5bDB4155",
Expand All @@ -770,7 +786,8 @@
"0xe832e655E4C3c36b2be5256915ECF8536a642f59",
"0x6fd4383cb451173d5f9304f041c7bcbf27d561ff",
"0x1F683faf1E2a770aa75f7B2e92117A5c11183E9C",
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F"
"0xbbbbbBB520d69a9775E85b458C58c648259FAD5F",
"0xb9061e38fee7d30134f56aef7117e2f6d1580666"
],
"---------------FROM HERE ON JUST OLD NETWORKS - PLEASE ADD NEW NETWORKS ABOVE IN ALPHABETICAL ORDER ^^^^ ----------": [],
"goerli": [
Expand Down
3 changes: 2 additions & 1 deletion config/sigs.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
"0x47f8bd41",
"0x6678ec1f",
"0x30eef8bd",
"0x4dcebcba"
"0x4dcebcba",
"0xb80c2f09"
]
}

0 comments on commit 6dabea3

Please sign in to comment.