Skip to content

Commit

Permalink
[GSW-463] feat: Calculate the Price Range of Liquidity
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Nov 12, 2023
1 parent a43e68e commit 23f3c77
Show file tree
Hide file tree
Showing 29 changed files with 1,182 additions and 2,232 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,22 @@ interface LiquidityEnterAmountsProps {
tokenBInput: TokenAmountInputModel;
changeTokenA: (token: TokenModel) => void;
changeTokenB: (token: TokenModel) => void;
changeTokenAAmount: (amount: string) => void;
changeTokenBAmount: (amount: string) => void;
}

const LiquidityEnterAmounts: React.FC<LiquidityEnterAmountsProps> = ({
tokenAInput,
tokenBInput,
changeTokenA,
changeTokenB,
changeTokenAAmount,
changeTokenBAmount,
}) => {

return (
<LiquidityEnterAmountsWrapper>
<TokenAmountInput changeToken={changeTokenA} {...tokenAInput} />
<TokenAmountInput changeToken={changeTokenB} {...tokenBInput} />
<TokenAmountInput changeToken={changeTokenA} {...tokenAInput} changeAmount={changeTokenAAmount} />
<TokenAmountInput changeToken={changeTokenB} {...tokenBInput} changeAmount={changeTokenBAmount} />
<div className="arrow">
<div className="shape">
<IconAdd className="add-icon" />
Expand Down
Loading

0 comments on commit 23f3c77

Please sign in to comment.