diff --git a/.env b/.env index 9ac00825..0ccd7af7 100644 --- a/.env +++ b/.env @@ -103,7 +103,7 @@ TOKEN_SYMBOL=DRAG TOKEN_META=origin fire,lifetime infinite CONTRACT_NAME=UniSwapRouter -CONTRACT_HASH=88b7a94e1fa619fcc500e506c27965ff9bf91b7afb433930a6c265b347299498 +CONTRACT_HASH=493fc8e66c2f1049b28fa661c65a2668c4e9e9e023447349fc9145c82304a65a PACKAGE_HASH=3de805e07efbc2cd9c5d323ab4fe5f2f0c1c5da33aec527d73de34a1fc9d3735 INSTALL_PAYMENT_AMOUNT=300000000000 MINT_ONE_PAYMENT_AMOUNT=2000000000 diff --git a/JsClients/ROUTER/wasm/uniswap-v2-router.wasm b/JsClients/ROUTER/wasm/uniswap-v2-router.wasm index 8217b2a2..b56ec72e 100644 Binary files a/JsClients/ROUTER/wasm/uniswap-v2-router.wasm and b/JsClients/ROUTER/wasm/uniswap-v2-router.wasm differ diff --git a/routes/deploypair.js b/routes/deploypair.js index 5e848ba2..8f026297 100644 --- a/routes/deploypair.js +++ b/routes/deploypair.js @@ -147,10 +147,17 @@ router.route("/getpairagainstuser").post(async function (req, res, next) { message: "This user has not added liquidity against any pair.", }); } else { + let pairsdata=[]; + for(var i=0;i