@typus/typus-sdk 1.2.38-exp → 1.2.39-exp

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.
@@ -145,7 +145,12 @@ function getSwitchNftTx(gasBudget, nftPackageId, registry, kiosk, kiosk_cap, nft
145
145
  tx.moveCall({
146
146
  target: "".concat(nftPackageId, "::tails_staking::claim_profit_sharing"),
147
147
  typeArguments: typeArguments,
148
- arguments: [tx.object(registry)],
148
+ arguments: [tx.object(registry), tx.pure("dice_profit")],
149
+ });
150
+ tx.moveCall({
151
+ target: "".concat(nftPackageId, "::tails_staking::claim_profit_sharing"),
152
+ typeArguments: typeArguments,
153
+ arguments: [tx.object(registry), tx.pure("exp_profit")],
149
154
  });
150
155
  tx.moveCall({
151
156
  target: "".concat(nftPackageId, "::tails_staking::switch_nft"),
@@ -207,7 +212,12 @@ function getUnstakeNftTx(gasBudget, nftPackageId, registry, kiosk, kiosk_cap, ty
207
212
  tx.moveCall({
208
213
  target: "".concat(nftPackageId, "::tails_staking::claim_profit_sharing"),
209
214
  typeArguments: typeArguments,
210
- arguments: [tx.object(registry)],
215
+ arguments: [tx.object(registry), tx.pure("dice_profit")],
216
+ });
217
+ tx.moveCall({
218
+ target: "".concat(nftPackageId, "::tails_staking::claim_profit_sharing"),
219
+ typeArguments: typeArguments,
220
+ arguments: [tx.object(registry), tx.pure("exp_profit")],
211
221
  });
212
222
  tx.moveCall({
213
223
  target: "".concat(nftPackageId, "::tails_staking::unstake_nft"),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.2.38-exp",
5
+ "version": "1.2.39-exp",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.7.3",
8
8
  "@mysten/kiosk": "0.7.12",