Skip to content

Commit

Permalink
feat: enable odos scroll (#683)
Browse files Browse the repository at this point in the history
* feat: enable odos scroll

* fix: revert yarn.lock changes

* do not add constructor

---------

Co-authored-by: Ed Zynda <[email protected]>
Co-authored-by: Ed Zynda <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent 217f45d commit 539bdf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@
"0x98565FcAD2080C5c19C3136fa367cE371cD40bD6",
"0x6131b5fae19ea4f9d964eac0408e4408b66337b5",
"0x5215E9fd223BC909083fbdB2860213873046e45d",
"0xc02FFcdD914DbA646704439c6090BAbaD521d04C"
"0xc02FFcdD914DbA646704439c6090BAbaD521d04C",
"0xbfe03c9e20a9fc0b37de01a172f207004935e0b1"
],
"goerli": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down
12 changes: 7 additions & 5 deletions tasks/generateDiamondABI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ task(
// Filters by checking if the name and type of the
// function already exists in another ABI fragment
const cleanAbi = <Fragment[]>(
abi.filter(
(item, index, self) =>
index ===
self.findIndex((t) => t.name === item.name && t.type === item.type)
)
abi
.filter(
(item, index, self) =>
index ===
self.findIndex((t) => t.name === item.name && t.type === item.type)
)
.filter((item) => item.type !== 'constructor')
)

// Write the final ABI to a file
Expand Down

0 comments on commit 539bdf8

Please sign in to comment.