Skip to content

Commit

Permalink
feat: add missing defi protocol to evm defi protocol list value (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabkk authored Jun 24, 2024
1 parent 461eb53 commit 4f50dae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/poor-carpets-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@moralisweb3/common-evm-utils': patch
'moralis': patch
---

Update defi protocol list adding eigenlayer
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// $ref: #/components/schemas/defiProtocolList
// typeName: defiProtocolList

export type EvmDefiProtocolListJSON = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao";
export type EvmDefiProtocolListInput = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao";
export type EvmDefiProtocolListValue = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao";
export type EvmDefiProtocolListJSON = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao" | "eigenlayer";
export type EvmDefiProtocolListInput = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao" | "eigenlayer";
export type EvmDefiProtocolListValue = "uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao" | "eigenlayer";

export abstract class EvmDefiProtocolList {
public static create(input: EvmDefiProtocolListInput | EvmDefiProtocolListValue): EvmDefiProtocolListValue {
Expand Down

1 comment on commit 4f50dae

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage

Title Lines Statements Branches Functions
api-utils Coverage: 20%
20.6% (61/296) 20.48% (17/83) 19.04% (12/63)
auth Coverage: 89%
92.45% (98/106) 83.33% (20/24) 86.66% (26/30)
evm-api Coverage: 79%
80.35% (90/112) 66.66% (6/9) 71.79% (56/78)
common-aptos-utils Coverage: 4%
4.56% (151/3306) 4.49% (25/556) 5.53% (45/813)
common-evm-utils Coverage: 55%
56.75% (2108/3714) 17.37% (172/990) 37.95% (476/1254)
sol-api Coverage: 97%
97.56% (40/41) 66.66% (6/9) 93.75% (15/16)
common-sol-utils Coverage: 64%
65.42% (229/350) 41.86% (18/43) 50.89% (57/112)
common-streams-utils Coverage: 90%
90.73% (1204/1327) 73.63% (363/493) 82.07% (444/541)
streams Coverage: 91%
90.54% (603/666) 72.34% (68/94) 90.97% (131/144)

Please sign in to comment.