Skip to content

Commit

Permalink
Add trader joe applicaiton and remove fee
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Dec 11, 2023
1 parent 073c51f commit 27090f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ export const FluidifyForm = ({

const tokenIsFluid = !!assetToken.isFluidOf;

const fee = !tokenIsFluid ? Zero : swapAmount.mul(FeeDenom).div(Thousand);

const swapAmountAfterFee = swapAmount.sub(fee);

return (
<div className={"fluidify-form"}>
<Text size="lg" prominent>
Expand Down Expand Up @@ -189,7 +185,7 @@ export const FluidifyForm = ({

{/* Creating / Remaining Tokens */}
<Text>
Creating {addDecimalToBn(swapAmountAfterFee, toToken.decimals)}{" "}
Creating {addDecimalToBn(swapAmount, toToken.decimals)}{" "}
{toToken.symbol || ""}
</Text>
{/* Tokens User Holds */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export type EthereumApplication =
| "dodo_v2"
| "curve"
| "multichain"
| "xy_finance";
| "xy_finance"
| "trader_joe";

export type SolanaApplication =
| "spl"
Expand Down

0 comments on commit 27090f7

Please sign in to comment.