@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"),
|