@dolomite-exchange/zap-sdk 0.1.41 → 0.1.43
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/lib/Constants.js +21 -21
- package/package.json +2 -2
package/dist/lib/Constants.js
CHANGED
|
@@ -115,81 +115,81 @@ var GLP_ISOLATION_MODE_MAP = (_t = {},
|
|
|
115
115
|
exports.ISOLATION_MODE_CONVERSION_MARKET_ID_MAP = (_u = {},
|
|
116
116
|
_u[ApiTypes_1.Network.ARBITRUM_ONE] = (_v = {},
|
|
117
117
|
_v[GLP_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
118
|
-
unwrapper: Deployments.
|
|
119
|
-
wrapper: Deployments.
|
|
118
|
+
unwrapper: Deployments.GLPIsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
119
|
+
wrapper: Deployments.GLPIsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
120
120
|
unwrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
121
121
|
wrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
122
122
|
unwrapperReadableName: 'GLP Isolation Mode Unwrapper',
|
|
123
123
|
wrapperReadableName: 'GLP Isolation Mode Wrapper',
|
|
124
124
|
},
|
|
125
125
|
_v[PLV_GLP_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
126
|
-
unwrapper: Deployments.
|
|
127
|
-
wrapper: Deployments.
|
|
126
|
+
unwrapper: Deployments.PlutusVaultGLPIsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
127
|
+
wrapper: Deployments.PlutusVaultGLPIsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
128
128
|
unwrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
129
129
|
wrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
130
130
|
unwrapperReadableName: 'plvGLP Isolation Mode Unwrapper',
|
|
131
131
|
wrapperReadableName: 'plvGLP Isolation Mode Wrapper',
|
|
132
132
|
},
|
|
133
133
|
_v[JONES_USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
134
|
-
unwrapper: Deployments.
|
|
135
|
-
unwrapperForLiquidation: Deployments.
|
|
136
|
-
wrapper: Deployments.
|
|
134
|
+
unwrapper: Deployments.JonesUSDCIsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
135
|
+
unwrapperForLiquidation: Deployments.JonesUSDCIsolationModeUnwrapperTraderV4ForLiquidation[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
136
|
+
wrapper: Deployments.JonesUSDCIsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
137
137
|
unwrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
138
138
|
wrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
139
139
|
unwrapperReadableName: 'jUSDC Isolation Mode Unwrapper',
|
|
140
140
|
wrapperReadableName: 'jUSDC Isolation Mode Wrapper',
|
|
141
141
|
},
|
|
142
142
|
_v[PENDLE_PT_GLP_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
143
|
-
unwrapper: Deployments.
|
|
144
|
-
wrapper: Deployments.
|
|
143
|
+
unwrapper: Deployments.PendlePtGLP2024IsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
144
|
+
wrapper: Deployments.PendlePtGLP2024IsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
145
145
|
unwrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
146
146
|
wrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
147
147
|
unwrapperReadableName: 'PT-GLP Isolation Mode Unwrapper',
|
|
148
148
|
wrapperReadableName: 'PT-GLP Isolation Mode Wrapper',
|
|
149
149
|
},
|
|
150
150
|
_v[PENDLE_YT_GLP_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
151
|
-
unwrapper: Deployments.
|
|
152
|
-
wrapper: Deployments.
|
|
151
|
+
unwrapper: Deployments.PendleYtGLP2024IsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
152
|
+
wrapper: Deployments.PendleYtGLP2024IsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
153
153
|
unwrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
154
154
|
wrapperMarketId: USDC_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
155
155
|
unwrapperReadableName: 'YT-GLP Isolation Mode Unwrapper',
|
|
156
156
|
wrapperReadableName: 'YT-GLP Isolation Mode Wrapper',
|
|
157
157
|
},
|
|
158
158
|
_v[PENDLE_PT_RETH_JUN_2025_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
159
|
-
unwrapper: Deployments.
|
|
160
|
-
wrapper: Deployments.
|
|
159
|
+
unwrapper: Deployments.PendlePtREthJun2025IsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
160
|
+
wrapper: Deployments.PendlePtREthJun2025IsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
161
161
|
unwrapperMarketId: R_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
162
162
|
wrapperMarketId: R_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
163
163
|
unwrapperReadableName: 'PT-rETH Isolation Mode Unwrapper',
|
|
164
164
|
wrapperReadableName: 'PT-rETH Isolation Mode Wrapper',
|
|
165
165
|
},
|
|
166
166
|
_v[PENDLE_PT_WST_ETH_JUN_2024_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
167
|
-
unwrapper: Deployments.
|
|
168
|
-
wrapper: Deployments.
|
|
167
|
+
unwrapper: Deployments.PendlePtWstEthJun2024IsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
168
|
+
wrapper: Deployments.PendlePtWstEthJun2024IsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
169
169
|
unwrapperMarketId: WST_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
170
170
|
wrapperMarketId: WST_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
171
171
|
unwrapperReadableName: 'PT-wstETH Isolation Mode Unwrapper',
|
|
172
172
|
wrapperReadableName: 'PT-wstETH Isolation Mode Wrapper',
|
|
173
173
|
},
|
|
174
174
|
_v[PENDLE_PT_WST_ETH_JUN_2025_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
175
|
-
unwrapper: Deployments.
|
|
176
|
-
wrapper: Deployments.
|
|
175
|
+
unwrapper: Deployments.PendlePtWstEthJun2025IsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
176
|
+
wrapper: Deployments.PendlePtWstEthJun2025IsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
177
177
|
unwrapperMarketId: WST_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
178
178
|
wrapperMarketId: WST_ETH_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
179
179
|
unwrapperReadableName: 'PT-wstETH Isolation Mode Unwrapper',
|
|
180
180
|
wrapperReadableName: 'PT-wstETH Isolation Mode Wrapper',
|
|
181
181
|
},
|
|
182
182
|
_v[ARB_ISOLATED_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
183
|
-
unwrapper: Deployments.
|
|
184
|
-
wrapper: Deployments.
|
|
183
|
+
unwrapper: Deployments.ARBIsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
184
|
+
wrapper: Deployments.ARBIsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
185
185
|
unwrapperMarketId: ARB_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
186
186
|
wrapperMarketId: ARB_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
187
187
|
unwrapperReadableName: 'ARB Isolation Mode Unwrapper',
|
|
188
188
|
wrapperReadableName: 'ARB Isolation Mode Wrapper',
|
|
189
189
|
},
|
|
190
190
|
_v[GMX_ISOLATED_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE].toFixed()] = {
|
|
191
|
-
unwrapper: Deployments.
|
|
192
|
-
wrapper: Deployments.
|
|
191
|
+
unwrapper: Deployments.GMXIsolationModeUnwrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
192
|
+
wrapper: Deployments.GMXIsolationModeWrapperTraderV4[ApiTypes_1.Network.ARBITRUM_ONE].address,
|
|
193
193
|
unwrapperMarketId: GMX_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
194
194
|
wrapperMarketId: GMX_MARKET_ID_MAP[ApiTypes_1.Network.ARBITRUM_ONE],
|
|
195
195
|
unwrapperReadableName: 'GMX Isolation Mode Unwrapper',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dolomite-exchange/zap-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
4
4
|
"description": "SDK for zapping any asset to any asset on Dolomite.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "NODE_ENV=test jest --runInBand",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"main": "dist/index.js",
|
|
28
28
|
"types": "dist/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@dolomite-exchange/dolomite-margin-modules": "0.0.
|
|
30
|
+
"@dolomite-exchange/dolomite-margin-modules": "0.0.13",
|
|
31
31
|
"@pendle/sdk-v2": "^2.8.2",
|
|
32
32
|
"axios": "^1.6.2",
|
|
33
33
|
"bignumber.js": "^9.1.1",
|