From ae4934eeeb3036ce5248e4016f05984bd0341eb9 Mon Sep 17 00:00:00 2001 From: avernikoz Date: Thu, 24 Sep 2026 22:50:04 +0300 Subject: [PATCH 1/2] chore: point deeptrade-core IDs at mainnet package v2 Update Published.toml published-at/version and examples package ID after upgrade HxPt1AAwMj8vV5HmzSfy978hmxD46Hzzxzyc33vuWuCo. Co-authored-by: Cursor --- README.md | 1 + examples/constants.ts | 2 +- packages/deeptrade-core/Published.toml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 595eb68..2bd38f6 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Discounts from the [Loyalty Program](docs/loyalty.md) also apply to swap fees. 0x03aafc54af513d592bcb91136d61b94ea40b0f9b50477f24a3a9a38fca625174 0x232b6dccf004919ce5deb1a7ee3d0e9f1c71170c9402ec1918aa212754baadb3 0xc10d536b6580d809711b9bb8eee3945d5e96f92a346c84d74ff7a0697e664695 +0xda5b27f23ac02c1f9acec07a32baf6523a381d7df9b00d99c99e3f9b41b1285f ``` ## Upgrade Cap: diff --git a/examples/constants.ts b/examples/constants.ts index 87d18b9..42b2cfc 100644 --- a/examples/constants.ts +++ b/examples/constants.ts @@ -1,5 +1,5 @@ // Deeptrade Core package data -export const DEEPTRADE_CORE_PACKAGE_ID = "0xc10d536b6580d809711b9bb8eee3945d5e96f92a346c84d74ff7a0697e664695"; +export const DEEPTRADE_CORE_PACKAGE_ID = "0xda5b27f23ac02c1f9acec07a32baf6523a381d7df9b00d99c99e3f9b41b1285f"; export const ADMIN_CAP_OBJECT_ID = "0xe92f79ac54409c9eecfd77ce1089edd9b424b87c6cba8aa99c8fedb64d0e0b8b"; export const TREASURY_OBJECT_ID = "0xb90e2d3de41817016b7d39f49c724c5b0616bd30f1d5e6383048efafabe6232b"; export const UPGRADE_CAP_OBJECT_ID = "0x331c41b3587619223c8ccf44b2aa9ad683fae7b536d6b5ed96fc94fe9a8d4278"; diff --git a/packages/deeptrade-core/Published.toml b/packages/deeptrade-core/Published.toml index bb707e6..a373afc 100644 --- a/packages/deeptrade-core/Published.toml +++ b/packages/deeptrade-core/Published.toml @@ -9,9 +9,9 @@ [published.mainnet] chain-id = "35834a8a" -published-at = "0xc10d536b6580d809711b9bb8eee3945d5e96f92a346c84d74ff7a0697e664695" +published-at = "0xda5b27f23ac02c1f9acec07a32baf6523a381d7df9b00d99c99e3f9b41b1285f" original-id = "0xc10d536b6580d809711b9bb8eee3945d5e96f92a346c84d74ff7a0697e664695" -version = 1 +version = 2 upgrade-capability = "0x331c41b3587619223c8ccf44b2aa9ad683fae7b536d6b5ed96fc94fe9a8d4278" toolchain-version = "1.80.1" build-config = { flavor = "sui", edition = "2024.alpha" } From 9042960fed89d12780a258fc1573298c8973182c Mon Sep 17 00:00:00 2001 From: avernikoz Date: Thu, 24 Sep 2026 22:51:53 +0300 Subject: [PATCH 2/2] chore: add DEEPTRADE_CORE_PACKAGE_ID_ORIGINAL for type queries Keep the fixed original-id alongside the latest moveCall package ID. Co-authored-by: Cursor --- examples/constants.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/constants.ts b/examples/constants.ts index 42b2cfc..3974b92 100644 --- a/examples/constants.ts +++ b/examples/constants.ts @@ -1,5 +1,8 @@ // Deeptrade Core package data +// Latest package (moveCall targets). Original stays fixed for type queries / original-id. export const DEEPTRADE_CORE_PACKAGE_ID = "0xda5b27f23ac02c1f9acec07a32baf6523a381d7df9b00d99c99e3f9b41b1285f"; +export const DEEPTRADE_CORE_PACKAGE_ID_ORIGINAL = + "0xc10d536b6580d809711b9bb8eee3945d5e96f92a346c84d74ff7a0697e664695"; export const ADMIN_CAP_OBJECT_ID = "0xe92f79ac54409c9eecfd77ce1089edd9b424b87c6cba8aa99c8fedb64d0e0b8b"; export const TREASURY_OBJECT_ID = "0xb90e2d3de41817016b7d39f49c724c5b0616bd30f1d5e6383048efafabe6232b"; export const UPGRADE_CAP_OBJECT_ID = "0x331c41b3587619223c8ccf44b2aa9ad683fae7b536d6b5ed96fc94fe9a8d4278";