@d8x/perpetuals-sdk 2.2.2 → 2.3.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.
@@ -9,7 +9,8 @@
9
9
  "shareTokenABILocation": "./abi/ShareToken.json",
10
10
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
11
11
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
12
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
12
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
13
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
13
14
  },
14
15
  {
15
16
  "name": "x1",
@@ -21,7 +22,8 @@
21
22
  "shareTokenABILocation": "./abi/ShareToken.json",
22
23
  "proxyABILocation": "./abi/IPerpetualManager.json",
23
24
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
24
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
25
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
26
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
25
27
  },
26
28
  {
27
29
  "name": "x1",
@@ -33,43 +35,8 @@
33
35
  "shareTokenABILocation": "./abi/ShareToken.json",
34
36
  "proxyABILocation": "./abi/IPerpetualManager.json",
35
37
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
36
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
37
- },
38
- {
39
- "name": "cardona",
40
- "chainId": 2442,
41
- "version": 1,
42
- "proxyAddr": "0x70212F1E2eB66C82990312FA5AB3f851706fD1E1",
43
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
44
- "priceFeedConfigNetwork": "odin",
45
- "shareTokenABILocation": "./abi/ShareToken.json",
46
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
47
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
48
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
49
- },
50
- {
51
- "name": "cardona",
52
- "chainId": 2442,
53
- "version": 2,
54
- "proxyAddr": "0xef64b7A00AFf37ECbf85eD8EB355395B72FDBCF0",
55
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
56
- "priceFeedConfigNetwork": "odin",
57
- "shareTokenABILocation": "./abi/ShareToken.json",
58
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
59
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
60
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
61
- },
62
- {
63
- "name": "cardona",
64
- "chainId": 2442,
65
- "version": 3,
66
- "proxyAddr": "0x36ce59a9cC9b0cBc68B19143240357a0b51E70c6",
67
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
68
- "priceFeedConfigNetwork": "odin",
69
- "shareTokenABILocation": "./abi/ShareToken.json",
70
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
71
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
72
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
38
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
39
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
73
40
  },
74
41
  {
75
42
  "name": "arbitrumSepolia",
@@ -81,7 +48,8 @@
81
48
  "shareTokenABILocation": "./abi/ShareToken.json",
82
49
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
83
50
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
84
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
51
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
52
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
85
53
  },
86
54
  {
87
55
  "name": "arbitrumSepolia",
@@ -107,7 +75,8 @@
107
75
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
108
76
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
109
77
  "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
110
- "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125"
78
+ "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125",
79
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
111
80
  },
112
81
  {
113
82
  "name": "arbitrum",
@@ -158,18 +127,20 @@
158
127
  "shareTokenABILocation": "./abi/ShareToken.json",
159
128
  "proxyABILocation": "./abi/IPerpetualManager.json",
160
129
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
161
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
130
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
131
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
162
132
  },
163
133
  {
164
134
  "name": "zkevm",
165
135
  "chainId": 1101,
166
136
  "version": 1,
167
- "proxyAddr": "0xaB7794EcD2c8e9Decc6B577864b40eBf9204720f",
137
+ "proxyAddr": "0x900DfC161C34656a9D9c43307F92255C2aa06162",
168
138
  "nodeURL": "https://zkevm-rpc.com",
169
139
  "priceFeedConfigNetwork": "mainnet",
170
140
  "shareTokenABILocation": "./abi/ShareToken.json",
171
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
141
+ "proxyABILocation": "./abi/IPerpetualManager.json",
172
142
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
173
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
143
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
144
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
174
145
  }
175
146
  ]
@@ -1 +1 @@
1
- export declare const D8X_SDK_VERSION = "2.2.2";
1
+ export declare const D8X_SDK_VERSION = "2.3.1";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.D8X_SDK_VERSION = void 0;
4
- exports.D8X_SDK_VERSION = "2.2.2";
4
+ exports.D8X_SDK_VERSION = "2.3.1";
5
5
  //# sourceMappingURL=version.js.map
@@ -9,7 +9,8 @@
9
9
  "shareTokenABILocation": "./abi/ShareToken.json",
10
10
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
11
11
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
12
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
12
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
13
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
13
14
  },
14
15
  {
15
16
  "name": "x1",
@@ -21,7 +22,8 @@
21
22
  "shareTokenABILocation": "./abi/ShareToken.json",
22
23
  "proxyABILocation": "./abi/IPerpetualManager.json",
23
24
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
24
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
25
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
26
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
25
27
  },
26
28
  {
27
29
  "name": "x1",
@@ -33,43 +35,8 @@
33
35
  "shareTokenABILocation": "./abi/ShareToken.json",
34
36
  "proxyABILocation": "./abi/IPerpetualManager.json",
35
37
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
36
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
37
- },
38
- {
39
- "name": "cardona",
40
- "chainId": 2442,
41
- "version": 1,
42
- "proxyAddr": "0x70212F1E2eB66C82990312FA5AB3f851706fD1E1",
43
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
44
- "priceFeedConfigNetwork": "odin",
45
- "shareTokenABILocation": "./abi/ShareToken.json",
46
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
47
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
48
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
49
- },
50
- {
51
- "name": "cardona",
52
- "chainId": 2442,
53
- "version": 2,
54
- "proxyAddr": "0xef64b7A00AFf37ECbf85eD8EB355395B72FDBCF0",
55
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
56
- "priceFeedConfigNetwork": "odin",
57
- "shareTokenABILocation": "./abi/ShareToken.json",
58
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
59
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
60
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
61
- },
62
- {
63
- "name": "cardona",
64
- "chainId": 2442,
65
- "version": 3,
66
- "proxyAddr": "0x36ce59a9cC9b0cBc68B19143240357a0b51E70c6",
67
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
68
- "priceFeedConfigNetwork": "odin",
69
- "shareTokenABILocation": "./abi/ShareToken.json",
70
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
71
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
72
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
38
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
39
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
73
40
  },
74
41
  {
75
42
  "name": "arbitrumSepolia",
@@ -81,7 +48,8 @@
81
48
  "shareTokenABILocation": "./abi/ShareToken.json",
82
49
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
83
50
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
84
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
51
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
52
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
85
53
  },
86
54
  {
87
55
  "name": "arbitrumSepolia",
@@ -107,7 +75,8 @@
107
75
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
108
76
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
109
77
  "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
110
- "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125"
78
+ "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125",
79
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
111
80
  },
112
81
  {
113
82
  "name": "arbitrum",
@@ -158,18 +127,20 @@
158
127
  "shareTokenABILocation": "./abi/ShareToken.json",
159
128
  "proxyABILocation": "./abi/IPerpetualManager.json",
160
129
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
161
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
130
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
131
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
162
132
  },
163
133
  {
164
134
  "name": "zkevm",
165
135
  "chainId": 1101,
166
136
  "version": 1,
167
- "proxyAddr": "0xaB7794EcD2c8e9Decc6B577864b40eBf9204720f",
137
+ "proxyAddr": "0x900DfC161C34656a9D9c43307F92255C2aa06162",
168
138
  "nodeURL": "https://zkevm-rpc.com",
169
139
  "priceFeedConfigNetwork": "mainnet",
170
140
  "shareTokenABILocation": "./abi/ShareToken.json",
171
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
141
+ "proxyABILocation": "./abi/IPerpetualManager.json",
172
142
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
173
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
143
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
144
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
174
145
  }
175
146
  ]
@@ -1 +1 @@
1
- export declare const D8X_SDK_VERSION = "2.2.2";
1
+ export declare const D8X_SDK_VERSION = "2.3.1";
@@ -1,2 +1,2 @@
1
- export const D8X_SDK_VERSION = "2.2.2";
1
+ export const D8X_SDK_VERSION = "2.3.1";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d8x/perpetuals-sdk",
3
- "version": "2.2.2",
3
+ "version": "2.3.1",
4
4
  "description": "Node TypeScript SDK for D8X Perpetual Futures",
5
5
  "author": "D8X",
6
6
  "homepage": "https://github.com/D8-X/d8x-futures-node-sdk#readme",
@@ -9,7 +9,8 @@
9
9
  "shareTokenABILocation": "./abi/ShareToken.json",
10
10
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
11
11
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
12
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
12
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
13
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
13
14
  },
14
15
  {
15
16
  "name": "x1",
@@ -21,7 +22,8 @@
21
22
  "shareTokenABILocation": "./abi/ShareToken.json",
22
23
  "proxyABILocation": "./abi/IPerpetualManager.json",
23
24
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
24
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
25
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
26
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
25
27
  },
26
28
  {
27
29
  "name": "x1",
@@ -33,43 +35,8 @@
33
35
  "shareTokenABILocation": "./abi/ShareToken.json",
34
36
  "proxyABILocation": "./abi/IPerpetualManager.json",
35
37
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
36
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
37
- },
38
- {
39
- "name": "cardona",
40
- "chainId": 2442,
41
- "version": 1,
42
- "proxyAddr": "0x70212F1E2eB66C82990312FA5AB3f851706fD1E1",
43
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
44
- "priceFeedConfigNetwork": "odin",
45
- "shareTokenABILocation": "./abi/ShareToken.json",
46
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
47
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
48
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
49
- },
50
- {
51
- "name": "cardona",
52
- "chainId": 2442,
53
- "version": 2,
54
- "proxyAddr": "0xef64b7A00AFf37ECbf85eD8EB355395B72FDBCF0",
55
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
56
- "priceFeedConfigNetwork": "odin",
57
- "shareTokenABILocation": "./abi/ShareToken.json",
58
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
59
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
60
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
61
- },
62
- {
63
- "name": "cardona",
64
- "chainId": 2442,
65
- "version": 3,
66
- "proxyAddr": "0x36ce59a9cC9b0cBc68B19143240357a0b51E70c6",
67
- "nodeURL": "https://rpc.cardona.zkevm-rpc.com",
68
- "priceFeedConfigNetwork": "odin",
69
- "shareTokenABILocation": "./abi/ShareToken.json",
70
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
71
- "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
72
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
38
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
39
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
73
40
  },
74
41
  {
75
42
  "name": "arbitrumSepolia",
@@ -81,7 +48,8 @@
81
48
  "shareTokenABILocation": "./abi/ShareToken.json",
82
49
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
83
50
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
84
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
51
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
52
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
85
53
  },
86
54
  {
87
55
  "name": "arbitrumSepolia",
@@ -107,7 +75,8 @@
107
75
  "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
108
76
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
109
77
  "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
110
- "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125"
78
+ "multicall": "0x9d1dB8253105b007DDDE65Ce262f701814B91125",
79
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
111
80
  },
112
81
  {
113
82
  "name": "arbitrum",
@@ -158,18 +127,20 @@
158
127
  "shareTokenABILocation": "./abi/ShareToken.json",
159
128
  "proxyABILocation": "./abi/IPerpetualManager.json",
160
129
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
161
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
130
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
131
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
162
132
  },
163
133
  {
164
134
  "name": "zkevm",
165
135
  "chainId": 1101,
166
136
  "version": 1,
167
- "proxyAddr": "0xaB7794EcD2c8e9Decc6B577864b40eBf9204720f",
137
+ "proxyAddr": "0x900DfC161C34656a9D9c43307F92255C2aa06162",
168
138
  "nodeURL": "https://zkevm-rpc.com",
169
139
  "priceFeedConfigNetwork": "mainnet",
170
140
  "shareTokenABILocation": "./abi/ShareToken.json",
171
- "proxyABILocation": "./abi-zkevm/IPerpetualManager.json",
141
+ "proxyABILocation": "./abi/IPerpetualManager.json",
172
142
  "limitOrderBookFactoryABILocation": "./abi/LimitOrderBookFactory.json",
173
- "limitOrderBookABILocation": "./abi/LimitOrderBook.json"
143
+ "limitOrderBookABILocation": "./abi/LimitOrderBook.json",
144
+ "configSource": "https://raw.githubusercontent.com/D8-X/sync-hub/main/d8x-futures-node-sdk/"
174
145
  }
175
146
  ]
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const D8X_SDK_VERSION = "2.2.2";
1
+ export const D8X_SDK_VERSION = "2.3.1";