Skip to content

Commit

Permalink
Merge pull request #2472 from fluidity-money/develop-fix-airdrop-lang…
Browse files Browse the repository at this point in the history
…uage

Change links on Solana page
  • Loading branch information
af-afk authored Dec 22, 2023
2 parents daf130c + df8122e commit 4af6aed
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export type SolanaApplication =
| "aldrinv1"
| "aldrinv2"
| "lifinity"
| "mercurial";
| "mercurial"
| "meteora";

export type Application = EthereumApplication | SolanaApplication;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,22 +628,37 @@ export default function Rewards() {
</CardCarousel.Slide>
<CardCarousel.Slide className={isMobile ? "compactSlide" : ""}>
<div className={`rewards-cta-providers ${isMobile ? "compact" : ""}`}>
<a href="https://app.sushi.com/swap?inputCurrency=ETH&outputCurrency=0x9d1089802eE608BA84C5c98211afE5f37F96B36C&chainId=1">
{/* <BloomEffect type="static" color={"red"} width={80}/> */}
<ProviderIcon provider="Sushiswap" />
</a>
<a href="https://app.uniswap.org/#/swap?outputCurrency=0x9d1089802eE608BA84C5c98211afE5f37F96B36C">
{/* <BloomEffect type="static" color={"red"} width={80}/> */}
<ProviderIcon provider="Uniswap" />
</a>
<a href="#">
{/* <BloomEffect type="static" color={"red"} width={80}/> */}
<ProviderIcon provider="Multichain" />
</a>
<a href="https://app.dodoex.io/?network=mainnet&from=0x9d1089802eE608BA84C5c98211afE5f37F96B36C&to=ETH">
{/* <BloomEffect type="static" color={"red"} width={80}/> */}
<ProviderIcon provider="Dodo" />
</a>
{ network == "arbitrum" ?
<>
<a href="https://app.sushi.com/swap?inputCurrency=ETH&outputCurrency=0x9d1089802eE608BA84C5c98211afE5f37F96B36C&chainId=1">
<ProviderIcon provider="Sushiswap" />
</a>
<a href="https://app.uniswap.org/#/swap?outputCurrency=0x9d1089802eE608BA84C5c98211afE5f37F96B36C">
<ProviderIcon provider="Uniswap" />
</a>
<a href="#">
<ProviderIcon provider="Multichain" />
</a>
<a href="https://app.dodoex.io/?network=mainnet&from=0x9d1089802eE608BA84C5c98211afE5f37F96B36C&to=ETH">
<ProviderIcon provider="Dodo" />
</a>
</>
:
<>
<a href="https://www.meteora.ag/">
<ProviderIcon provider="Meteora" />
</a>
<a href="https://www.orca.so/">
<ProviderIcon provider="Orca" />
</a>
<a href="https://mercurial.finance">
<ProviderIcon provider="Mercurial" />
</a>
<a href="https://saber.so">
<ProviderIcon provider="Saber" />
</a>
</>
}
</div>
<Display size="xxxs">Swap To Earn</Display>
{!isMobile && <Text>Swap Fluid Assets to generate yield.</Text>}
Expand Down
2 changes: 2 additions & 0 deletions web/app.fluidity.money/app/util/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export const getProviderDisplayName = (name?: string): Provider => {
return "Mercurial";
case "trader_joe":
return "Trader Joe";
case "meteora":
return "Meteora";
case "fluidity":
case "spl":
case "none":
Expand Down
14 changes: 7 additions & 7 deletions web/app.fluidity.money/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -328,22 +328,22 @@ fUSDT = "https://www.solend.fi/"
name= "orca"

[liquidity_providers.solana.providers.link]
fUSDC = "https://www.orca.so/"
fUSDC = "https://v1.orca.so/liquidity/browse?tokenMint=Ez2zVjw85tZan1ycnJ5PywNNxR6Gm4jbXQtZKyQNu3Lv"
fUSDT = "https://www.orca.so/"

[[liquidity_providers.solana.providers]]
name= "saber"
name= "jupiter"

[liquidity_providers.solana.providers.link]
fUSDC = "https://www.saber.so/"
fUSDT = "https://www.saber.so/"
fUSDC = "https://www.jup.ag/"
fUSDT = "https://www.jup.ag/"

[[liquidity_providers.solana.providers]]
name= "jupiter"
name= "Meteora"

[liquidity_providers.solana.providers.link]
fUSDC = "https://www.jup.ag/"
fUSDT = "https://www.jup.ag/"
fUSDC = "https://app.meteora.ag/pools/67rm8swU7MZAekKwnPWGufWwfasqUAJkjaAYZK55SNmK"
fUSDT = "https://app.meteora.ag"

[liquidity_providers.arbitrum]

Expand Down
3 changes: 2 additions & 1 deletion web/surfing/src/types/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ export type Provider =
| "Sushiswap"
| "Trader Joe"
| "Uniswap"
| "XY Finance";
| "XY Finance"
| "Meteora";
1 change: 1 addition & 0 deletions web/surfing/src/util/liquidityProviders/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ const providerImgNames: { [K in Provider]: string } = {
"Trader Joe": "trader_joe.svg",
Uniswap: "Uniswap.svg",
"XY Finance": "xy.png",
"Meteora": "Meteora.svg"
};

0 comments on commit 4af6aed

Please sign in to comment.