@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/dist/constants.d.ts +4 -4
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/constants.ts +5 -5
- package/src/vortex.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -26,10 +26,10 @@ export declare const ERROR_CODES: {
|
|
|
26
26
|
13: string;
|
|
27
27
|
14: string;
|
|
28
28
|
};
|
|
29
|
-
export declare const VORTEX_PACKAGE_ID = "
|
|
30
|
-
export declare const UPGRADE_CAP = "
|
|
31
|
-
export declare const REGISTRY_OBJECT_ID = "
|
|
32
|
-
export declare const INITIAL_SHARED_VERSION = "
|
|
29
|
+
export declare const VORTEX_PACKAGE_ID = "0x083c6d01af7707749d6c93e54deae4ef582ef71306f8faade671e9255ad4494c";
|
|
30
|
+
export declare const UPGRADE_CAP = "0xc51649a7ecd42fff5bdf56ff6f7c9f0cad9cdb15c0c0ed4ce464314df821dfb4";
|
|
31
|
+
export declare const REGISTRY_OBJECT_ID = "0x4189526def3e9af0a5cd5f24c3a1d736fff7792bbc6f320d02db6f15e47577ba";
|
|
32
|
+
export declare const INITIAL_SHARED_VERSION = "395367340";
|
|
33
33
|
export declare const LSK_FETCH_OFFSET = "fetch_offset";
|
|
34
34
|
export declare const LSK_ENCRYPTED_OUTPUTS = "encrypted_outputs";
|
|
35
35
|
export declare const VORTEX_SIGNATURE_DOMAIN = "VORTEXFI.XYZ";
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,iFACgD,CAAC;AAGjF,eAAO,MAAM,UAA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ACyC,CAAC;AAGvE,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,eAAO,MAAM,YAAY,SAAU,CAAC;AAEpC,eAAO,MAAM,eAAe;;CAG3B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3372,10 +3372,10 @@ const ERROR_CODES = {
|
|
|
3372
3372
|
13: 'Invalid relayer',
|
|
3373
3373
|
14: 'Invalid output flag',
|
|
3374
3374
|
};
|
|
3375
|
-
const VORTEX_PACKAGE_ID = '
|
|
3376
|
-
const UPGRADE_CAP = '
|
|
3377
|
-
const REGISTRY_OBJECT_ID = '
|
|
3378
|
-
const INITIAL_SHARED_VERSION = '
|
|
3375
|
+
const VORTEX_PACKAGE_ID = '0x083c6d01af7707749d6c93e54deae4ef582ef71306f8faade671e9255ad4494c';
|
|
3376
|
+
const UPGRADE_CAP = '0xc51649a7ecd42fff5bdf56ff6f7c9f0cad9cdb15c0c0ed4ce464314df821dfb4';
|
|
3377
|
+
const REGISTRY_OBJECT_ID = '0x4189526def3e9af0a5cd5f24c3a1d736fff7792bbc6f320d02db6f15e47577ba';
|
|
3378
|
+
const INITIAL_SHARED_VERSION = '395367340';
|
|
3379
3379
|
const LSK_FETCH_OFFSET = 'fetch_offset';
|
|
3380
3380
|
const LSK_ENCRYPTED_OUTPUTS = 'encrypted_outputs';
|
|
3381
3381
|
const VORTEX_SIGNATURE_DOMAIN = 'VORTEXFI.XYZ';
|
|
@@ -3384,7 +3384,7 @@ const TREASURY_ADDRESS = '0x894261575b948c035d002adc3ca4d73c683c01a1bfafac183870
|
|
|
3384
3384
|
const DEPOSIT_FEE_IN_BASIS_POINTS = 50n;
|
|
3385
3385
|
const BASIS_POINTS = 10000n;
|
|
3386
3386
|
const VORTEX_POOL_IDS = {
|
|
3387
|
-
[SUI_TYPE_ARG]: '
|
|
3387
|
+
[SUI_TYPE_ARG]: '0x31d848dbd5a19cbfa99f880023cab2533766cca30267e9f45665acf9cfc9cc8c',
|
|
3388
3388
|
};
|
|
3389
3389
|
|
|
3390
3390
|
/******************************************************************************
|
|
@@ -39599,7 +39599,7 @@ const vortexSDK = new Vortex({
|
|
|
39599
39599
|
objectId: REGISTRY_OBJECT_ID,
|
|
39600
39600
|
initialSharedVersion: INITIAL_SHARED_VERSION,
|
|
39601
39601
|
},
|
|
39602
|
-
fullNodeUrl: getFullnodeUrl('
|
|
39602
|
+
fullNodeUrl: getFullnodeUrl('testnet'),
|
|
39603
39603
|
});
|
|
39604
39604
|
|
|
39605
39605
|
// packages/vortex/src/entities/merkle-tree.ts
|