From 6f16f650cd3925fc353ec4879c9051df25a25452 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Tue, 31 Dec 2024 15:18:06 +0700 Subject: [PATCH 1/2] update contract racks --- packages/oraidex-common/package.json | 2 +- packages/oraidex-common/src/constant.ts | 4 +-- .../src/supported/supported-reader.ts | 2 +- yarn.lock | 25 +++++++++++++++++++ 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/packages/oraidex-common/package.json b/packages/oraidex-common/package.json index 81ffe75d..accd03b1 100644 --- a/packages/oraidex-common/package.json +++ b/packages/oraidex-common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-common", - "version": "2.0.6", + "version": "2.0.7", "main": "./build/index.js", "module": "./build/index.js", "types": "./build/index.d.ts", diff --git a/packages/oraidex-common/src/constant.ts b/packages/oraidex-common/src/constant.ts index bdddbf2b..e3e47ac1 100644 --- a/packages/oraidex-common/src/constant.ts +++ b/packages/oraidex-common/src/constant.ts @@ -118,11 +118,11 @@ export const WSOL_WORMHOLE_BNB_ORAICHAIN_DENOM = export const MAX_ORAICHAIN_DENOM = "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/oraim8c9d1nkfuQk9EzGYEUGxqL3MHQYndRw1huVo5h"; export const RACKS_ORAICHAIN_DENOM = - "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/oraigyiRnYoCgFiaLnpiaPvJjZbs5zzmWHp4sxBgZq3"; + "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/D7yP4ycfsRWUGYionGpi64sLF2ddZ2JXxuRAti2M7uck"; // config solana export const MAX_SOL_CONTRACT_ADDRESS = "oraim8c9d1nkfuQk9EzGYEUGxqL3MHQYndRw1huVo5h"; -export const RACKS_SOL_CONTRACT_ADDRESS = "oraigyiRnYoCgFiaLnpiaPvJjZbs5zzmWHp4sxBgZq3"; +export const RACKS_SOL_CONTRACT_ADDRESS = "D7yP4ycfsRWUGYionGpi64sLF2ddZ2JXxuRAti2M7uck"; export const ORAI_SOL_CONTRACT_ADDRESS = "oraiyuR7hz6h7ApC56mb52CJjPZBB34USTjzaELoaPk"; export const SOLANA_RPC = "https://swr.xnftdata.com/rpc-proxy/"; export const SOLANA_WEBSOCKET = "wss://go.getblock.io/52d75331a9b74f9fa4a0056f15a1c022"; diff --git a/packages/oraidex-common/src/supported/supported-reader.ts b/packages/oraidex-common/src/supported/supported-reader.ts index 297f4f14..3f5792de 100644 --- a/packages/oraidex-common/src/supported/supported-reader.ts +++ b/packages/oraidex-common/src/supported/supported-reader.ts @@ -4,7 +4,7 @@ import oraidexJson from "./config/oraidex.json"; // BASE_URL: "https://raw.githubusercontent.com/oraidex/oraidex-sdk", // SUPPORTED_INFO: "/packages/oraidex-common/src/supported/config/" const ORAIDEX_API_ENDPOINTS = { - BASE_URL: "https://oraicommon-staging.oraidex.io", + BASE_URL: "https://oraicommon.oraidex.io", SUPPORTED_INFO: "/api/v1/supported-tokens/oraidex" }; diff --git a/yarn.lock b/yarn.lock index 0440aea7..d1b7d604 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3820,6 +3820,31 @@ resolved "https://registry.yarnpkg.com/@oraichain/immutable/-/immutable-4.3.9.tgz#ff8d5a7b39b5b01f3f72a902cffbfea32ccb20c3" integrity sha512-INpHnhL970OCkR7I71Kssb2aLl2l4Y/x8W6FlyRO0KmC8GHjxc/hlNB1t44BiI7lkOYmcWMRQoC8dwParsp1RQ== +"@oraichain/oraidex-common@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-2.0.5.tgz#5075a28e6b94af05f64d419fcf8bfbd75ba824a1" + integrity sha512-oWH1Ywx6Hbb8cW23zTMlQbz93saE6+enFptmd6CNUvJPwVoM42464jBR/bIN6D2Y168q88cD7ST/y+YQc3DiXg== + dependencies: + "@cosmjs/amino" "^0.32.4" + "@cosmjs/cosmwasm-stargate" "^0.32.4" + "@cosmjs/crypto" "^0.32.4" + "@cosmjs/proto-signing" "^0.32.4" + "@cosmjs/stargate" "^0.32.4" + "@cosmjs/tendermint-rpc" "^0.32.4" + "@ethersproject/providers" "^5.0.10" + "@injectivelabs/sdk-ts" "1.12.1" + "@keplr-wallet/types" "^0.11.38" + "@oraichain/common" "1.2.7" + "@oraichain/oraidex-contracts-sdk" latest + "@ton/core" "0.56.3" + "@ton/crypto" "3.3.0" + axios "1.7.2" + axios-extensions "3.1.7" + bignumber.js "^9.1.2" + cosmjs-types "^0.9.0" + ethers "^5.0.15" + tronweb "6.0.0-beta.4" + "@oraichain/oraidex-common@^1.1.34": version "1.1.34" resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-1.1.34.tgz#257d25408450c438dc2bf0870fa8de9125af92ed" From b533c88c76ee41ebcbb110a4c7d06163c9150c3d Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Tue, 31 Dec 2024 15:25:21 +0700 Subject: [PATCH 2/2] update contract racks --- packages/oraiswap-v3/package.json | 2 +- packages/universal-swap/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/oraiswap-v3/package.json b/packages/oraiswap-v3/package.json index 16324c51..b0665947 100644 --- a/packages/oraiswap-v3/package.json +++ b/packages/oraiswap-v3/package.json @@ -13,6 +13,6 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.4", "@oraichain/oraidex-contracts-sdk": "^1.0.54", - "@oraichain/oraidex-common": "2.0.5" + "@oraichain/oraidex-common": "2.0.6" } } diff --git a/packages/universal-swap/package.json b/packages/universal-swap/package.json index 18e78f78..1b4744a6 100644 --- a/packages/universal-swap/package.json +++ b/packages/universal-swap/package.json @@ -11,7 +11,7 @@ }, "license": "MIT", "dependencies": { - "@oraichain/oraidex-common": "2.0.5", + "@oraichain/oraidex-common": "2.0.6", "@oraichain/oraidex-contracts-sdk": "^1.0.49", "bech32": "1.1.4", "ethers": "^5.0.15", diff --git a/yarn.lock b/yarn.lock index d1b7d604..17c437fc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3820,10 +3820,10 @@ resolved "https://registry.yarnpkg.com/@oraichain/immutable/-/immutable-4.3.9.tgz#ff8d5a7b39b5b01f3f72a902cffbfea32ccb20c3" integrity sha512-INpHnhL970OCkR7I71Kssb2aLl2l4Y/x8W6FlyRO0KmC8GHjxc/hlNB1t44BiI7lkOYmcWMRQoC8dwParsp1RQ== -"@oraichain/oraidex-common@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-2.0.5.tgz#5075a28e6b94af05f64d419fcf8bfbd75ba824a1" - integrity sha512-oWH1Ywx6Hbb8cW23zTMlQbz93saE6+enFptmd6CNUvJPwVoM42464jBR/bIN6D2Y168q88cD7ST/y+YQc3DiXg== +"@oraichain/oraidex-common@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-2.0.6.tgz#948acc4f93fd51365f2015be55a2d8a9dedb6309" + integrity sha512-S8Qtu6ajmrGQemPjcO2BzUx1zs0eqRKcxG17pnZXpZOX4mbI4GefwCTSUyBliSOms7ltMmZp9Xes/su7nVkhPg== dependencies: "@cosmjs/amino" "^0.32.4" "@cosmjs/cosmwasm-stargate" "^0.32.4"