@centurion_project/v3-sdk 3.30.0-ctn.1 → 3.30.1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChainId } from '@centurion_project/sdk-core';
|
|
2
|
-
export declare const FACTORY_ADDRESS = "
|
|
2
|
+
export declare const FACTORY_ADDRESS = "0x36F90aBE929a77B009635fB1B141dD8bD5011160";
|
|
3
3
|
export declare const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000";
|
|
4
|
-
export declare const POOL_INIT_CODE_HASH = "
|
|
4
|
+
export declare const POOL_INIT_CODE_HASH = "0x2e2f617739ab33ea115885d88343f15c31fdc261e0d11094691633c94f389a30";
|
|
5
5
|
export declare function poolInitCodeHash(chainId?: ChainId): string;
|
|
6
6
|
/**
|
|
7
7
|
* The default factory enabled fee amounts, denominated in hundredths of bips.
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TICK_SPACINGS = exports.FeeAmount = exports.poolInitCodeHash = exports.POOL_INIT_CODE_HASH = exports.ADDRESS_ZERO = exports.FACTORY_ADDRESS = void 0;
|
|
4
4
|
const sdk_core_1 = require("@centurion_project/sdk-core");
|
|
5
|
-
exports.FACTORY_ADDRESS = '
|
|
5
|
+
exports.FACTORY_ADDRESS = '0x36F90aBE929a77B009635fB1B141dD8bD5011160';
|
|
6
6
|
exports.ADDRESS_ZERO = '0x0000000000000000000000000000000000000000';
|
|
7
7
|
// @deprecated please use poolInitCodeHash(chainId: ChainId)
|
|
8
|
-
exports.POOL_INIT_CODE_HASH = '
|
|
8
|
+
exports.POOL_INIT_CODE_HASH = '0x2e2f617739ab33ea115885d88343f15c31fdc261e0d11094691633c94f389a30';
|
|
9
9
|
function poolInitCodeHash(chainId) {
|
|
10
10
|
switch (chainId) {
|
|
11
11
|
case sdk_core_1.ChainId.ZKSYNC:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChainId } from '@centurion_project/sdk-core';
|
|
2
|
-
export declare const FACTORY_ADDRESS = "
|
|
2
|
+
export declare const FACTORY_ADDRESS = "0x36F90aBE929a77B009635fB1B141dD8bD5011160";
|
|
3
3
|
export declare const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000";
|
|
4
|
-
export declare const POOL_INIT_CODE_HASH = "
|
|
4
|
+
export declare const POOL_INIT_CODE_HASH = "0x2e2f617739ab33ea115885d88343f15c31fdc261e0d11094691633c94f389a30";
|
|
5
5
|
export declare function poolInitCodeHash(chainId?: ChainId): string;
|
|
6
6
|
/**
|
|
7
7
|
* The default factory enabled fee amounts, denominated in hundredths of bips.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChainId } from '@centurion_project/sdk-core';
|
|
2
|
-
export const FACTORY_ADDRESS = '
|
|
2
|
+
export const FACTORY_ADDRESS = '0x36F90aBE929a77B009635fB1B141dD8bD5011160';
|
|
3
3
|
export const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000';
|
|
4
4
|
// @deprecated please use poolInitCodeHash(chainId: ChainId)
|
|
5
|
-
export const POOL_INIT_CODE_HASH = '
|
|
5
|
+
export const POOL_INIT_CODE_HASH = '0x2e2f617739ab33ea115885d88343f15c31fdc261e0d11094691633c94f389a30';
|
|
6
6
|
export function poolInitCodeHash(chainId) {
|
|
7
7
|
switch (chainId) {
|
|
8
8
|
case ChainId.ZKSYNC:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChainId } from '@centurion_project/sdk-core';
|
|
2
|
-
export declare const FACTORY_ADDRESS = "
|
|
2
|
+
export declare const FACTORY_ADDRESS = "0x36F90aBE929a77B009635fB1B141dD8bD5011160";
|
|
3
3
|
export declare const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000";
|
|
4
|
-
export declare const POOL_INIT_CODE_HASH = "
|
|
4
|
+
export declare const POOL_INIT_CODE_HASH = "0x2e2f617739ab33ea115885d88343f15c31fdc261e0d11094691633c94f389a30";
|
|
5
5
|
export declare function poolInitCodeHash(chainId?: ChainId): string;
|
|
6
6
|
/**
|
|
7
7
|
* The default factory enabled fee amounts, denominated in hundredths of bips.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centurion_project/v3-sdk",
|
|
3
|
-
"version": "3.30.
|
|
3
|
+
"version": "3.30.1",
|
|
4
4
|
"description": "Centurion V3 SDK",
|
|
5
5
|
"repository": "https://github.com/CenturionDEX/centurion-dex-sdks",
|
|
6
6
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"tiny-invariant": "^1.1.0",
|
|
43
43
|
"tiny-warning": "^1.0.3",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
|
-
"@centurion_project/sdk-core": "^7.13.0
|
|
45
|
+
"@centurion_project/sdk-core": "^7.13.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@typescript-eslint/parser": "^5.0.0",
|