Skip to content

Commit

Permalink
Add gnosis sgyd pool (#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyDelott authored Nov 21, 2024
1 parent 2a08253 commit 678a10f
Show file tree
Hide file tree
Showing 7 changed files with 346 additions and 254 deletions.
18 changes: 11 additions & 7 deletions apps/hyperdrive-trading/src/ui/markets/PoolRow/LpApyStat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,17 @@ export function LpApyStat({
const { rewards: appConfigRewards } = useRewards(hyperdrive);
const { lpApy } = useLpApy({ chainId, hyperdriveAddress });

const baseApyLabel = lpApy?.lpApy ? formatRate({ rate: lpApy.lpApy }) : null;
const netApyLabel = lpApy?.netLpApy
? formatRate({
rate: lpApy.netLpApy,
includePercentSign: false,
})
: null;
// Explicit check against undefined, since we still want to show zero if the
// LP APY is zero
const baseApyLabel =
lpApy?.lpApy !== undefined ? formatRate({ rate: lpApy.lpApy }) : null;
const netApyLabel =
lpApy?.netLpApy !== undefined
? formatRate({
rate: lpApy.netLpApy,
includePercentSign: false,
})
: null;

if (!appConfigRewards?.length && netApyLabel) {
return <PercentLabel value={netApyLabel} />;
Expand Down
3 changes: 2 additions & 1 deletion apps/hyperdrive-trading/src/ui/markets/PoolsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const PINNED_POOLS = [
// Pin the 182d Savings GYD pool to the top of the list
// Remove this pinning on Wednesday, December 4, 2024
// https://github.com/delvtech/hyperdrive-frontend/issues/1663
"0xf1232Dc21eADAf503D82f1e1361CfF2BBf40394D",
"0xf1232Dc21eADAf503D82f1e1361CfF2BBf40394D", // mainnet
"0x9248f874AaA2c53AD9324d7A2D033ea133443874", // gnosis
];

export function PoolsList(): ReactElement {
Expand Down
286 changes: 165 additions & 121 deletions packages/hyperdrive-appconfig/src/generated/all.appconfig.ts

Large diffs are not rendered by default.

236 changes: 140 additions & 96 deletions packages/hyperdrive-appconfig/src/generated/mainnet.appconfig.ts

Large diffs are not rendered by default.

51 changes: 26 additions & 25 deletions packages/hyperdrive-appconfig/src/generated/testnet.appconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,63 +436,63 @@ export const testnetAppConfig: AppConfig = {
],
tokens: [
{
address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
chainId: 11155111,
name: "Ether",
symbol: "ETH",
address: "0xe8b99bF4249D90C0eB900651F92485F7160A0513",
decimals: 18,
places: 4,
tags: [],
places: 2,
name: "DAI",
symbol: "DAI",
iconUrl:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMqADAAQAAAABAAAAMgAAAAB1y6+rAAAFjUlEQVRYCaVZW28TRxT2em3HGEqcBERERQEVEWipCKiRKrUSaaU+8xeo1If+gfBUCfWHtK88IcEbFaIg1KhURU3SCnEppiE32a7jmMR2fNlLv9nxzo53x7Mzy8qyz56Zc86353x7ZnZtfHOjmkp2uDBzU4bhWeObnAeHi6F0WBkMx0iw1Dq42EAywAQPnJ76I0O+EhA1D11YNDeaQTz0WpZKsIyUlk8xaJoxRUcxsAxyoYbLyiGOqKH1yxkDTwYLSXIJLXxXGtFjp7ryCoyCRaBoJenz2fz509lYOGyC71x8zUJYmBqTZOadCkeK6avzhdmzuVxGz9ALJEAmhKXrOnV1/uCRopnLGhdnciHECqeCcGFY8pILYyBVqCAd+uh0dnrKFE6TKKNBh2GRggtSKvGIoevXivyEi2e1E+aFHYo7DEuQTj6iQEaeUD5+ANnS4v7ANlgwiIKDpb9EUKbzmKiciPu4y4KEcbCG8UaDRTWU6VF9Mu5jbWeufFiJUsWYztwxIRn3mbkPSz9VIaYzj0xIwH3PlpSSwNLPVCrKdIaGCcm4T/lFYOlmahTTGSAmJOA+7WF+EZknBWEU06OmybgPP2nuroy6FWj4ni4YjqiScN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gBBOG0C+wBG1WLM2OQCvHc30QRwbLWwfkeILRe4/18gQ+0YYeuOAkWRH9ig+zkTN+B1GGCW5lsPyo9E8D/+zdfv13a4LC8Y5VYJElHTbePxq8rZ7s5Rw9Uyn3SrBofA6ckmtqhanYOJEvch6TJGqCbxnl2SRe4HlK8uclko82gAxGAwRdaIfWFd7ZSPl/Ad8oNMb3hysAAAAASUVORK5CYII=",
"https://cryptologos.cc/logos/multi-collateral-dai-dai-logo.png?v=029",
tags: ["stablecoin"],
priceOracle: "defillama",
},
{
chainId: 11155111,
address: "0x7c485f458aD1F32FF66BC45306fd32974C963c32",
address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
decimals: 18,
places: 4,
name: "Liquid staked Ether 2.0",
symbol: "stETH",
name: "Ethereum",
symbol: "ETH",
iconUrl:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNTYgNTEyQzM5Ny4zODUgNTEyIDUxMiAzOTcuMzg1IDUxMiAyNTZDNTEyIDExNC42MTUgMzk3LjM4NSAwIDI1NiAwQzExNC42MTUgMCAwIDExNC42MTUgMCAyNTZDMCAzOTcuMzg1IDExNC42MTUgNTEyIDI1NiA1MTJaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTUwLjk4OCAyMzcuODEyTDE0OC4xMjIgMjQyLjIwOUMxMTUuNzk2IDI5MS43OTggMTIzLjAxNiAzNTYuNzQyIDE2NS40OCAzOTguMzQ4QzE5MC40NjEgNDIyLjgyNiAyMjMuMjAyIDQzNS4wNjYgMjU1Ljk0NCA0MzUuMDY5QzI1NS45NDQgNDM1LjA2OSAyNTUuOTQ0IDQzNS4wNjkgMTUwLjk4OCAyMzcuODEyWiIgZ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ti1W2gBBOG0C+wBG1WLM2OQCvHc30QRwbLWwfkeILRe4/18gQ+0YYeuOAkWRH9ig+zkTN+B1GGCW5lsPyo9E8D/+zdfv13a4LC8Y5VYJElHTbePxq8rZ7s5Rw9Uyn3SrBofA6ckmtqhanYOJEvch6TJGqCbxnl2SRe4HlK8uclko82gAxGAwRdaIfWFd7ZSPl/Ad8oNMb3hysAAAAASUVORK5CYII=",
tags: [],
priceOracle: "defillama",
},
{
chainId: 11155111,
address: "0x4713c86d0e467064A4CD2a974b7fDA79F7efc338",
address: "0xDD0D63E304F3D9d9E54d8945bE95011867c80E4f",
decimals: 18,
places: 4,
name: "RocketPool ETH",
symbol: "RETH",
name: "Renzo ezETH",
symbol: "ezETH",
iconUrl:
"https://cryptologos.cc/logos/rocket-pool-eth-reth-logo.svg?v=031",
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjI1MCIgdmlld0JveD0iMCAwIDI1MCAyNTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF85MDZfMTgwNikiPgo8Y2lyY2xlIGN4PSIxMjUiIGN5PSIxMjUiIHI9IjExMSIgc3Ryb2tlPSIjQTNEQTJGIiBzdHJva2Utd2lkdGg9IjgiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMjUuNSA0MC41QzEyNC41MDMgNjAuNjU5OCAxMjQuMTcgODAuOTkzMSAxMjQuNSAxMDEuNUMxMjMuNTA4IDEwMS4zMjggMTIyLjg0MiAxMDEuNjYyIDEyMi41IDEwMi41QzEwNi4wNyAxMDkuNTQ3IDg5LjczNjUgMTE2Ljg4IDczLjUgMTI0LjVDNzIuODkzMyAxMjQuMzc2IDcyLjU2IDEyNC4wNDMgNzIuNSAxMjMuNUM4OS4xNTI5IDk0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yNC41IDIwOC41QzEyNC41IDE5NC41IDEyNC41IDE4MC41IDEyNC41IDE2Ni41QzE0MS44NzkgMTU1LjgzNSAxNTkuMjEzIDE0NS44MzUgMTc2LjUgMTM2LjVDMTU5LjQ5NyAxNjAuODIxIDE0Mi4xNjQgMTg0LjgyMSAxMjQuNSAyMDguNVoiIGZpbGw9IiM2RDhFMjEiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF85MDZfMTgwNiI+CjxyZWN0IHdpZHRoPSIyNTAiIGhlaWdodD0iMjUwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",
tags: ["liquidStakingToken"],
priceOracle: "defillama",
},
{
chainId: 11155111,
address: "0xDD0D63E304F3D9d9E54d8945bE95011867c80E4f",
address: "0x7c485f458aD1F32FF66BC45306fd32974C963c32",
decimals: 18,
places: 4,
name: "Renzo ezETH",
symbol: "ezETH",
name: "Liquid staked Ether 2.0",
symbol: "stETH",
iconUrl:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjI1MCIgdmlld0JveD0iMCAwIDI1MCAyNTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF85MDZfMTgwNikiPgo8Y2lyY2xlIGN4PSIxMjUiIGN5PSIxMjUiIHI9IjExMSIgc3Ryb2tlPSIjQTNEQTJGIiBzdHJva2Utd2lkdGg9IjgiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMjUuNSA0MC41QzEyNC41MDMgNjAuNjU5OCAxMjQuMTcgODAuOTkzMSAxMjQuNSAxMDEuNUMxMjMuNTA4IDEwMS4zMjggMTIyLjg0MiAxMDEuNjYyIDEyMi41IDEwMi41QzEwNi4w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uMjMzVjE2My44MzNaIiBmaWxsPSIjMDBBM0ZGIi8+CjxwYXRoIGQ9Ik0yNTYuMDU2IDc2Ljg3NUwxNjUuNTgzIDIxNS41OTlMMjU2LjA1NiAxNjMuNzIyVjc2Ljg3NVoiIGZpbGw9IiMwMEEzRkYiLz4KPHBhdGggb3BhY2l0eT0iMC42IiBkPSJNMjU2LjA4MyAxNjMuNzA2TDM0Ni41NiAyMTUuNTg1TDI1Ni4wODMgNzYuNzkxN1YxNjMuNzA2WiIgZmlsbD0iIzAwQTNGRiIvPgo8L3N2Zz4K",
tags: ["liquidStakingToken"],
priceOracle: "defillama",
},
{
chainId: 11155111,
address: "0xe8b99bF4249D90C0eB900651F92485F7160A0513",
address: "0x4713c86d0e467064A4CD2a974b7fDA79F7efc338",
decimals: 18,
places: 2,
name: "DAI",
symbol: "DAI",
places: 4,
name: "RocketPool ETH",
symbol: "RETH",
iconUrl:
"https://cryptologos.cc/logos/multi-collateral-dai-dai-logo.png?v=029",
tags: ["stablecoin"],
"https://cryptologos.cc/logos/rocket-pool-eth-reth-logo.svg?v=031",
tags: ["liquidStakingToken"],
priceOracle: "defillama",
},
{
Expand Down Expand Up @@ -798,6 +798,7 @@ export const testnetAppConfig: AppConfig = {
shortName: "Savings GYD",
protocol: "gyroscope",
historicalRatePeriod: 1,
rewardsFn: "fetchGyroscopeRewards",
},
},
chains: {
Expand Down
5 changes: 1 addition & 4 deletions packages/hyperdrive-appconfig/src/scripts/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ interface ChainInitializationConfig {

// This array should usually be empty. It's used for pools that have been added to the registry
// but we don't want to generate app configs for, or show in the UI.
const registryAddressesToSkip = [
// Gnosis sGYD
"0x9248f874AaA2c53AD9324d7A2D033ea133443874",
];
const registryAddressesToSkip: Address[] = [];

const chainConfigs: ChainInitializationConfig[] = [
// Testnet chains
Expand Down
1 change: 1 addition & 0 deletions packages/hyperdrive-appconfig/src/yieldSources/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ export const gnosisSgyd: YieldSourceConfig = {
shortName: "Savings GYD",
protocol: "gyroscope",
historicalRatePeriod: 1,
rewardsFn: "fetchGyroscopeRewards",
};

0 comments on commit 678a10f

Please sign in to comment.