Commit 7c17cfc6 authored by Moody Salem's avatar Moody Salem

bump and use the unchecked trade creation method

parent 7f61b679
...@@ -83,7 +83,7 @@ export function useBestV3TradeExactIn( ...@@ -83,7 +83,7 @@ export function useBestV3TradeExactIn(
return { return {
state: V3TradeState.VALID, state: V3TradeState.VALID,
trade: new Trade({ trade: Trade.createUncheckedTrade({
route: bestRoute, route: bestRoute,
tradeType: TradeType.EXACT_INPUT, tradeType: TradeType.EXACT_INPUT,
inputAmount: amountIn, inputAmount: amountIn,
...@@ -165,7 +165,7 @@ export function useBestV3TradeExactOut( ...@@ -165,7 +165,7 @@ export function useBestV3TradeExactOut(
return { return {
state: V3TradeState.VALID, state: V3TradeState.VALID,
trade: new Trade({ trade: Trade.createUncheckedTrade({
route: bestRoute, route: bestRoute,
tradeType: TradeType.EXACT_INPUT, tradeType: TradeType.EXACT_INPUT,
inputAmount: inputAmount:
......
...@@ -4158,10 +4158,10 @@ ...@@ -4158,10 +4158,10 @@
"@uniswap/v2-core" "1.0.1" "@uniswap/v2-core" "1.0.1"
"@uniswap/v3-core" "1.0.0-rc.2" "@uniswap/v3-core" "1.0.0-rc.2"
"@uniswap/v3-sdk@^1.0.0-alpha.20": "@uniswap/v3-sdk@^1.0.0-alpha.21":
version "1.0.0-alpha.20" version "1.0.0-alpha.21"
resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-1.0.0-alpha.20.tgz#4f58fac3cd89060f6523a56e8de950493527b48f" resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-1.0.0-alpha.21.tgz#f035f96f922680f92b3af71bbe6bec3d9966c0a2"
integrity sha512-a3kzKA32XC/HhXYV2moMMPJkoQJw8mnBKza4aFTvFCSjn281+GzNjdydao8aLJIEjU+wkQWy5GYZ/kAkU45xuQ== integrity sha512-hhsJZwn0pooyjajKPZ0O5AR4asXZUVDwqqwXlWWvxFZtvetwhZ/AXxIllYcLUXoc3cJOQvfGzjkhXq0be35RDA==
dependencies: dependencies:
"@ethersproject/abi" "^5.0.12" "@ethersproject/abi" "^5.0.12"
"@ethersproject/solidity" "^5.0.9" "@ethersproject/solidity" "^5.0.9"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment