@interest-protocol/vortex-sdk 4.3.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interest-protocol/vortex-sdk",
3
- "version": "4.3.0",
3
+ "version": "5.0.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "./dist/index.mjs",
@@ -37,8 +37,8 @@
37
37
  "rimraf": "^6.0.1",
38
38
  "ts-jest": "^29.1.1",
39
39
  "tsup": "^8.3.5",
40
- "@interest-protocol/prettier-config": "1.0.0",
41
- "@interest-protocol/typescript-config": "1.0.0"
40
+ "@interest-protocol/typescript-config": "1.0.0",
41
+ "@interest-protocol/prettier-config": "1.0.0"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",
package/src/constants.ts CHANGED
@@ -73,15 +73,15 @@ export const ERROR_CODES = {
73
73
  };
74
74
 
75
75
  export const VORTEX_PACKAGE_ID =
76
- '0x4d505443700db57e664f024b4cdfe315a6b80ddc4d6b9f1013c7b68682edd4ab';
76
+ '0x083c6d01af7707749d6c93e54deae4ef582ef71306f8faade671e9255ad4494c';
77
77
 
78
78
  export const UPGRADE_CAP =
79
- '0x6c4464ca68d4bcd0c0626dcbb7c2b7ec37cb65a6cc74ffb2c16cd8cff3184004';
79
+ '0xc51649a7ecd42fff5bdf56ff6f7c9f0cad9cdb15c0c0ed4ce464314df821dfb4';
80
80
 
81
81
  export const REGISTRY_OBJECT_ID =
82
- '0x58bde5ffed343073d012d28c6955a8ee50caaefd085196e837150bc810e996c0';
82
+ '0x4189526def3e9af0a5cd5f24c3a1d736fff7792bbc6f320d02db6f15e47577ba';
83
83
 
84
- export const INITIAL_SHARED_VERSION = '4';
84
+ export const INITIAL_SHARED_VERSION = '395367340';
85
85
 
86
86
  export const LSK_FETCH_OFFSET = 'fetch_offset';
87
87
 
@@ -99,5 +99,5 @@ export const BASIS_POINTS = 10_000n;
99
99
 
100
100
  export const VORTEX_POOL_IDS = {
101
101
  [SUI_TYPE_ARG]:
102
- '0x1d8ddda4727146fd39f8181578ae71cd0f828039c68b4bfdba8a7499dda1d84d',
102
+ '0x31d848dbd5a19cbfa99f880023cab2533766cca30267e9f45665acf9cfc9cc8c',
103
103
  };
package/src/vortex.ts CHANGED
@@ -445,5 +445,5 @@ export const vortexSDK = new Vortex({
445
445
  objectId: REGISTRY_OBJECT_ID,
446
446
  initialSharedVersion: INITIAL_SHARED_VERSION,
447
447
  },
448
- fullNodeUrl: getFullnodeUrl('devnet'),
448
+ fullNodeUrl: getFullnodeUrl('testnet'),
449
449
  });