@typus/typus-perp-sdk 1.1.17 → 1.1.19-stake-pool-v2-a
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/src/api/sentio.d.ts +2 -0
- package/dist/src/api/sentio.js +2 -2
- package/dist/src/fetch.d.ts +2 -2
- package/dist/src/fetch.js +40 -38
- package/dist/src/index.js +1 -1
- package/dist/src/typus_stake_pool/admin/functions.d.ts +22 -22
- package/dist/src/typus_stake_pool/admin/functions.js +56 -56
- package/dist/src/typus_stake_pool/admin/structs.d.ts +216 -208
- package/dist/src/typus_stake_pool/admin/structs.js +286 -254
- package/dist/src/typus_stake_pool/init.js +18 -15
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +135 -113
- package/dist/src/typus_stake_pool/stake-pool/functions.js +202 -173
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +1393 -1243
- package/dist/src/typus_stake_pool/stake-pool/structs.js +2488 -2098
- package/dist/src/user/tlp.d.ts +1 -0
- package/dist/src/user/tlp.js +3 -3
- package/package.json +1 -1
package/dist/src/user/tlp.d.ts
CHANGED
package/dist/src/user/tlp.js
CHANGED
|
@@ -157,7 +157,7 @@ function mintStakeLp(config, tx, pythClient, input) {
|
|
|
157
157
|
index: BigInt(0),
|
|
158
158
|
lpToken: lpCoin,
|
|
159
159
|
clock: constants_1.CLOCK,
|
|
160
|
-
|
|
160
|
+
isAutoCompound: input.isAutoCompound ? BigInt(1) : null,
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
@@ -188,7 +188,7 @@ function stakeLp(config, tx, input) {
|
|
|
188
188
|
index: BigInt(0),
|
|
189
189
|
lpToken: coin,
|
|
190
190
|
clock: constants_1.CLOCK,
|
|
191
|
-
|
|
191
|
+
isAutoCompound: null,
|
|
192
192
|
});
|
|
193
193
|
return [2 /*return*/, tx];
|
|
194
194
|
});
|
|
@@ -472,7 +472,7 @@ function harvestStakeReward(config, tx, input) {
|
|
|
472
472
|
index: BigInt(0),
|
|
473
473
|
lpToken: iCoin,
|
|
474
474
|
clock: constants_1.CLOCK,
|
|
475
|
-
|
|
475
|
+
isAutoCompound: null,
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
else {
|