-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added categories to existing protocols (#70)
* add category to protocol config (#69) * add category to protocol config * update readme --------- Co-authored-by: Manh Cao <[email protected]> Co-authored-by: Manh Cao <[email protected]> * Merge JSON files * added categories to existing protocols * added categories to existing protocols * case insensitive and force user to enter category * update config.json main --------- Co-authored-by: manh-pendle <[email protected]> Co-authored-by: Manh Cao <[email protected]> Co-authored-by: Manh Cao <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
53e6345
commit 68be2e3
Showing
20 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
const DEFAULT_PROTOCOL_CATEGORY = 'others'; | ||
const PROTOCOL_CATEGORIES = ['money market', 'vault', 'liquid locker']; | ||
// categories need to be lowercase strings | ||
const PROTOCOL_CATEGORIES = ['money market', 'yield strategy', 'liquid locker', 'others']; | ||
|
||
module.exports = { | ||
DEFAULT_PROTOCOL_CATEGORY, | ||
PROTOCOL_CATEGORIES, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Beefy | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: [] | ||
yt: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Cega | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: [] | ||
yt: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Contango | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Euler | ||
icon: logo.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Form | ||
icon: logo.png | ||
category: Others | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Index Coop | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Marginly | ||
icon: marginly-logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Morpho | ||
icon: logo.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Origami | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Pichi | ||
icon: logo.png | ||
category: Others | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Silo | ||
icon: logo.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Timeswap | ||
icon: logo.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 42161 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Venus Protocol | ||
icon: venus.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: yearn | ||
icon: logo.png | ||
category: Yield Strategy | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: ZeroLend | ||
icon: logo.png | ||
category: Money Market | ||
metadata: | ||
pt: | ||
- chainId: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters