Skip to content

Commit

Permalink
Cowswap protocol parser (#40)
Browse files Browse the repository at this point in the history
* Initial commit

* feat: implement Cowswap protocol parser and add transaction handling

* feat: add Cowswap protocol support with transaction parsing and event handling

* feat: update recipient address parsing in Cowswap protocol and adjust test data

* feat: update identifier and name for Oneinch protocol in configuration

* feat: remove Oneinch protocol support and related files

* feat: improve token address handling and recipient parsing in Cowswap protocol

* feat: update Cowswap tests to parse v2 transactions and remove Oneinch protocol tests

---------

Co-authored-by: “Subham-Satapathy” <“subhamsatapathy515@gmail.com”>
  • Loading branch information
Subham-Satapathy and “Subham-Satapathy” authored Feb 8, 2025
1 parent b74c515 commit 86896ee
Show file tree
Hide file tree
Showing 8 changed files with 702 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/config/protocols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,12 @@ export const protocols: IProtocolDefinitionMap = {
twitter: "https://x.com/PancakeSwap",
logo: "https://storage-mercle-prod.s3.amazonaws.com/public/protocol-logos/pancakeswap.png",
website: "https://pancakeswap.finance/",
}
},
cowswap: {
identifier: "cowswap",
name: "Cowswap",
twitter: "https://x.com/CoWSwap",
logo: "https://storage-mercle-prod.s3.amazonaws.com/public/protocol-logos/cowswap.png",
website: "https://swap.cow.fi/",
},
};
Loading

0 comments on commit 86896ee

Please sign in to comment.