@deriverse/kit 1.0.25 → 1.0.26
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/index.js +24 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2254,13 +2254,16 @@ class Engine {
|
|
|
2254
2254
|
tag: types_1.AccountType.PERP_CLIENT_INFOS5
|
|
2255
2255
|
}), role: kit_1.AccountRole.WRITABLE
|
|
2256
2256
|
},
|
|
2257
|
+
/*
|
|
2257
2258
|
{
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2259
|
+
address: await this.getInstrAccountByTag(
|
|
2260
|
+
{
|
|
2261
|
+
assetTokenId: instr.header.assetTokenId,
|
|
2262
|
+
crncyTokenId: instr.header.crncyTokenId,
|
|
2263
|
+
tag: AccountType.PERP_CLIENT_ACCOUNTS
|
|
2264
|
+
}), role: AccountRole.WRITABLE
|
|
2263
2265
|
},
|
|
2266
|
+
*/
|
|
2264
2267
|
{
|
|
2265
2268
|
address: yield this.getInstrAccountByTag({
|
|
2266
2269
|
assetTokenId: instr.header.assetTokenId,
|
|
@@ -2282,13 +2285,16 @@ class Engine {
|
|
|
2282
2285
|
tag: types_1.AccountType.PERP_REBALANCE_TIME_TREE
|
|
2283
2286
|
}), role: kit_1.AccountRole.WRITABLE
|
|
2284
2287
|
},
|
|
2288
|
+
/*
|
|
2285
2289
|
{
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2290
|
+
address: await this.getInstrAccountByTag(
|
|
2291
|
+
{
|
|
2292
|
+
assetTokenId: instr.header.assetTokenId,
|
|
2293
|
+
crncyTokenId: instr.header.crncyTokenId,
|
|
2294
|
+
tag: AccountType.PERP_PRIORITY_TREE
|
|
2295
|
+
}), role: AccountRole.WRITABLE
|
|
2291
2296
|
},
|
|
2297
|
+
*/
|
|
2292
2298
|
];
|
|
2293
2299
|
const upgradeIx = {
|
|
2294
2300
|
accounts: keys,
|
|
@@ -2659,13 +2665,16 @@ class Engine {
|
|
|
2659
2665
|
tag: types_1.AccountType.SPOT_CLIENT_INFOS2
|
|
2660
2666
|
}), role: kit_1.AccountRole.WRITABLE
|
|
2661
2667
|
},
|
|
2668
|
+
/*
|
|
2662
2669
|
{
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2670
|
+
address: await this.getInstrAccountByTag(
|
|
2671
|
+
{
|
|
2672
|
+
assetTokenId: assetTokenId,
|
|
2673
|
+
crncyTokenId: crncyTokenId,
|
|
2674
|
+
tag: AccountType.SPOT_CLIENT_ACCOUNTS
|
|
2675
|
+
}), role: AccountRole.WRITABLE
|
|
2668
2676
|
},
|
|
2677
|
+
*/
|
|
2669
2678
|
{
|
|
2670
2679
|
address: yield this.getInstrAccountByTag({
|
|
2671
2680
|
assetTokenId: assetTokenId,
|