@scallop-io/sui-scallop-sdk 0.44.25 → 0.44.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/builders/vescaBuilder.d.ts +3 -2
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/builder/borrowIncentive.d.ts +10 -9
- package/dist/types/builder/vesca.d.ts +9 -9
- package/package.json +1 -1
- package/src/builders/borrowIncentiveBuilder.ts +16 -3
- package/src/builders/vescaBuilder.ts +5 -6
- package/src/types/builder/borrowIncentive.ts +19 -18
- package/src/types/builder/vesca.ts +8 -9
package/dist/index.mjs
CHANGED
|
@@ -4980,6 +4980,19 @@ var generateBorrowIncentiveNormalMethod = ({ builder, txBlock }) => {
|
|
|
4980
4980
|
],
|
|
4981
4981
|
[rewardType]
|
|
4982
4982
|
);
|
|
4983
|
+
},
|
|
4984
|
+
deactivateBoost: (obligation, veScaKey) => {
|
|
4985
|
+
return txBlock.moveCall(
|
|
4986
|
+
`${borrowIncentiveIds.borrowIncentivePkg}::user::deactivate_boost`,
|
|
4987
|
+
[
|
|
4988
|
+
borrowIncentiveIds.config,
|
|
4989
|
+
borrowIncentiveIds.incentivePools,
|
|
4990
|
+
borrowIncentiveIds.incentiveAccounts,
|
|
4991
|
+
obligation,
|
|
4992
|
+
veScaKey,
|
|
4993
|
+
SUI_CLOCK_OBJECT_ID5
|
|
4994
|
+
]
|
|
4995
|
+
);
|
|
4983
4996
|
}
|
|
4984
4997
|
};
|
|
4985
4998
|
};
|