Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rays #136

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Rays #136

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions configs/rays/getProducts.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
import {TokenSymbol} from "🤝";

export const getProducts = () => ({
borrow: {
ethereum: [
{
label: 'WSTETH/USDC', tokens: [TokenSymbol.WSTETH, TokenSymbol.USDC], link: '/ethereum/morphoblue/borrow/WSTETH-USDC'
},
{
label: 'ETH/DAI', tokens: [TokenSymbol.ETH, TokenSymbol.DAI], link: '/ethereum/aave/v3/borrow/ETH-DAI'
},
{
label: 'WBTC/DAI', tokens: [TokenSymbol.WBTC, TokenSymbol.DAI], link: '/ethereum/spark/borrow/WBTC-DAI'
},
],
base: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/base/aave/v3/borrow/ETH-USDC'
},
{
label: 'CBETH/USDC', tokens: [TokenSymbol.CBETH, TokenSymbol.USDC], link: '/base/aave/v3/borrow/CBETH-USDC'
},
],
arbitrum: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/arbitrum/aave/v3/borrow/ETH-USDC'
},
{
label: 'WSTETH/USDC', tokens: [TokenSymbol.WSTETH, TokenSymbol.USDC], link: '/arbitrum/aave/v3/borrow/WSTETH-USDC'
},
{
label: 'WBTC/USDC', tokens: [TokenSymbol.WBTC, TokenSymbol.USDC], link: '/arbitrum/aave/v3/borrow/WBTC-USDC'
},
],
optimism: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/optimism/aave/v3/borrow/ETH-USDC'
},
{
label: 'WSTETH/USDC', tokens: [TokenSymbol.WSTETH, TokenSymbol.USDC], link: '/optimism/aave/v3/borrow/WSTETH-USDC'
},
{
label: 'WBTC/USDC', tokens: [TokenSymbol.WBTC, TokenSymbol.USDC], link: '/optimism/aave/v3/borrow/WBTC-USDC'
},
],
},
multiply: {
ethereum: [
{
label: 'WSTETH/USDC', tokens: [TokenSymbol.WSTETH, TokenSymbol.USDC], link: '/ethereum/morphoblue/multiply/WSTETH-USDC'
},
{
label: 'ETH/DAI', tokens: [TokenSymbol.ETH, TokenSymbol.DAI], link: '/ethereum/spark/multiply/ETH-DAI'
},
{
label: 'WBTC/USDT', tokens: [TokenSymbol.WBTC, TokenSymbol.USDT], link: '/ethereum/morphoblue/multiply/WBTC-USDT'
},
],
base: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/base/aave/v3/multiply/ETH-USDC'
},
{
label: 'CBETH/USDC', tokens: [TokenSymbol.CBETH, TokenSymbol.USDC], link: '/base/aave/v3/multiply/CBETH-USDC'
},
],
arbitrum: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/arbitrum/aave/v3/multiply/ETH-USDC'
},
{
label: 'WBTC/USDC', tokens: [TokenSymbol.WBTC, TokenSymbol.USDC], link: '/arbitrum/aave/v3/multiply/WBTC-USDC'
},
{
label: 'WSTETH/USDC', tokens: [TokenSymbol.WSTETH, TokenSymbol.USDC], link: '/arbitrum/aave/v3/multiply/WSTETH-USDC'
},
],
optimism: [
{
label: 'ETH/USDC', tokens: [TokenSymbol.ETH, TokenSymbol.USDC], link: '/optimism/aave/v3/multiply/ETH-USDC'
},
{
label: 'WBTC/USDC', tokens: [TokenSymbol.WBTC, TokenSymbol.USDC], link: '/optimism/aave/v3/multiply/WBTC-USDC'
},
{
label: 'WBTC/DAI', tokens: [TokenSymbol.WBTC, TokenSymbol.DAI], link: '/optimism/aave/v3/multiply/WBTC-DAI'
},
],
},
earn: {
ethereum: [
{
label: 'USDC Steakhouse', tokens: [TokenSymbol.USDC], link: '/ethereum/erc-4626/earn/steakhouse-USDC'
},
{
label: 'WSTETH/ETH Yield Loop', tokens: [TokenSymbol.WSTETH, TokenSymbol.ETH], link: '/ethereum/spark/multiply/WSTETH-ETH'
},
{
label: 'ETH Flagship', tokens: [TokenSymbol.ETH], link: '/ethereum/erc-4626/earn/flagship-ETH'
},
],
base: [
{
label: 'CBETH/ETH Yield Loop', tokens: [TokenSymbol.CBETH, TokenSymbol.ETH], link: '/base/aave/v3/multiply/CBETH-ETH'
},
{
label: 'WSTETH/ETH LP', tokens: [TokenSymbol.WSTETH, TokenSymbol.ETH], link: '/base/ajna/earn/WSTETH-ETH#setup'
},
],
arbitrum: [
{
label: 'WSTETH/ETH Yield Loop', tokens: [TokenSymbol.WSTETH, TokenSymbol.ETH], link: '/arbitrum/aave/v3/multiply/WSTETH-ETH'
},
{
label: 'RETH/ETH Yield Loop', tokens: [TokenSymbol.RETH, TokenSymbol.ETH], link: '/arbitrum/aave/v3/multiply/RETH-ETH'
},
],
optimism: [
{
label: 'WSTETH/ETH Yield Loop', tokens: [TokenSymbol.WSTETH, TokenSymbol.ETH], link: '/optimism/aave/v3/multiply/WSTETH-ETH'
},
],
},
})
8 changes: 8 additions & 0 deletions configs/rays/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ConfigHelperType } from "⌨️";
import { getProducts } from "./getProducts";

export default function (_: ConfigHelperType) {
return {
products: getProducts(),
};
}
Loading