Skip to content

Commit

Permalink
Fixes #100 - add components to all jars
Browse files Browse the repository at this point in the history
Signed-off-by: bwar <[email protected]>
  • Loading branch information
rawbdor committed Mar 28, 2022
1 parent 4ddbfda commit cc48dd5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/model/JarsAndFarms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const JAR_sCRV: JarDefinition = {
addr: "0xC25a3A3b969415c80451098fa907EC722572917F",
name: "Curve sCRV",
link: "https://www.curve.fi/susdv2/deposit",
components: ["dai", "usdc", "usdt", "susd"]
},
rewardTokens: ["crv", "snx"],
enablement: AssetEnablement.DISABLED,
Expand All @@ -68,6 +69,7 @@ export const JAR_renCRV: JarDefinition = {
addr: "0x49849C98ae39Fff122806C06791Fa73784FB3675",
name: "Curve REN/BTC",
link: "https://www.curve.fi/ren/deposit",
components: ["renbtc", "wbtc"],
},
rewardTokens: ["crv"],
enablement: AssetEnablement.DISABLED,
Expand All @@ -89,6 +91,7 @@ export const JAR_3CRV: JarDefinition = {
addr: "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490",
name: "Curve 3pool",
link: "https://www.curve.fi/3pool/deposit",
components: ["dai", "usdc", "usdt"],
},
rewardTokens: ["crv"],
enablement: AssetEnablement.ENABLED,
Expand All @@ -114,6 +117,7 @@ export const JAR_steCRV: JarDefinition = {
addr: "0x06325440D014e39736583c165C2963BA99fAf14E",
name: "Curve ETH/stETH",
link: "https://www.curve.fi/steth/deposit",
components: ['weth', 'steth']
},
rewardTokens: ["cvx", "crv", "ldo"],
enablement: AssetEnablement.ENABLED,
Expand Down Expand Up @@ -215,6 +219,7 @@ export const JAR_pDAI: JarDefinition = {
addr: "0x6b175474e89094c44da98b954eedeac495271d0f",
name: "DAI",
link: "https://etherscan.io/token/0x6b175474e89094c44da98b954eedeac495271d0f",
components: ["dai"],
},
rewardTokens: ["comp"],
enablement: AssetEnablement.PERMANENTLY_DISABLED,
Expand Down Expand Up @@ -261,6 +266,7 @@ export const JAR_LQTY: JarDefinition = {
addr: "0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D",
name: "LQTY",
link: "https://app.uniswap.org/#/swap?inputCurrency=ETH&outputCurrency=0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d",
components: ["lqty"],
},
rewardTokens: ["weth", "lusd"],
enablement: AssetEnablement.ENABLED,
Expand Down Expand Up @@ -1308,6 +1314,7 @@ export const JAR_LOOKS: JarDefinition = {
addr: "0xf4d2888d29D722226FafA5d9B24F9164c092421E",
name: "LOOKS",
link: "https://app.uniswap.org/#/swap?inputCurrency=ETH&outputCurrency=0xf4d2888d29d722226fafa5d9b24f9164c092421e",
components: ["looks"],
},
rewardTokens: ["weth"],
enablement: AssetEnablement.ENABLED,
Expand Down
8 changes: 8 additions & 0 deletions src/price/ExternalTokenModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ export class ExternalTokenModel {
18,
ExternalTokenFetchStyle.BOTH,
);
this.addToken(
ChainNetwork.Ethereum,
"steth",
"staked-ether",
"0xae7ab96520de3a18e5e111b5eaab095312d7fe84".toLowerCase(),
18,
ExternalTokenFetchStyle.BOTH,
);
this.addToken(
ChainNetwork.Ethereum,
"uni",
Expand Down

0 comments on commit cc48dd5

Please sign in to comment.