@scallop-io/sui-scallop-sdk 2.1.3-merge-split-ve-sca-alpha.1 → 2.1.3-merge-split-ve-sca-alpha.3
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +14 -14
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
- package/src/builders/loyaltyProgramBuilder.ts +18 -2
- package/src/builders/vescaBuilder.ts +7 -2
- package/src/constants/testAddress.ts +5 -5
- package/src/queries/loyaltyProgramQuery.ts +15 -2
- package/src/types/builder/vesca.ts +1 -0
- package/src/types/query/loyaltyProgram.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -1882,7 +1882,7 @@ type VeScaQuickMethods = {
|
|
|
1882
1882
|
* @param lockPeriodInDays
|
|
1883
1883
|
* @param autoCheck
|
|
1884
1884
|
*/
|
|
1885
|
-
lockScaQuick(amountOrCoin?: SuiObjectArg | number, lockPeriodInDays?: number, autoCheck?: boolean): Promise<void>;
|
|
1885
|
+
lockScaQuick(amountOrCoin?: SuiObjectArg | number, lockPeriodInDays?: number, veScaKey?: SuiObjectArg, autoCheck?: boolean): Promise<void>;
|
|
1886
1886
|
extendLockPeriodQuick: (lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1887
1887
|
extendLockAmountQuick: (scaAmount: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1888
1888
|
renewExpiredVeScaQuick: (scaAmount: number, lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
@@ -2594,6 +2594,7 @@ type LoyaltyProgramInfo = {
|
|
|
2594
2594
|
};
|
|
2595
2595
|
type VeScaLoyaltyProgramInfo = {
|
|
2596
2596
|
pendingVeScaReward: number;
|
|
2597
|
+
pendingScaReward: number;
|
|
2597
2598
|
totalPoolReward: number;
|
|
2598
2599
|
isClaimEnabled: boolean;
|
|
2599
2600
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1882,7 +1882,7 @@ type VeScaQuickMethods = {
|
|
|
1882
1882
|
* @param lockPeriodInDays
|
|
1883
1883
|
* @param autoCheck
|
|
1884
1884
|
*/
|
|
1885
|
-
lockScaQuick(amountOrCoin?: SuiObjectArg | number, lockPeriodInDays?: number, autoCheck?: boolean): Promise<void>;
|
|
1885
|
+
lockScaQuick(amountOrCoin?: SuiObjectArg | number, lockPeriodInDays?: number, veScaKey?: SuiObjectArg, autoCheck?: boolean): Promise<void>;
|
|
1886
1886
|
extendLockPeriodQuick: (lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1887
1887
|
extendLockAmountQuick: (scaAmount: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
1888
1888
|
renewExpiredVeScaQuick: (scaAmount: number, lockPeriodInDays: number, veScaKey?: SuiObjectArg, autoCheck?: boolean) => Promise<void>;
|
|
@@ -2594,6 +2594,7 @@ type LoyaltyProgramInfo = {
|
|
|
2594
2594
|
};
|
|
2595
2595
|
type VeScaLoyaltyProgramInfo = {
|
|
2596
2596
|
pendingVeScaReward: number;
|
|
2597
|
+
pendingScaReward: number;
|
|
2597
2598
|
totalPoolReward: number;
|
|
2598
2599
|
isClaimEnabled: boolean;
|
|
2599
2600
|
};
|